]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: multiarch ceil/ceilf for PowerPC64
[thirdparty/glibc.git] / ChangeLog
CommitLineData
96770f12
AZ
12013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4 multiarch implementation.
5 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6 file.
7 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8 file.
9 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10 file.
11 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12 file.
13 multiarch llround for PPC64.
14 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15 multiarch ceil for PPC64.
16 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17 multiarch ceilf for PPC64.
18
c3627f6e
AZ
192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20
21 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22 multiarch implementation.
23 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24 file.
25 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26 file.
27 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
28 file.
29 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
30 multiarch llround for PPC64.
31 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
32 multiarch lround for PPC64.
33
b2284ad7
AZ
342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35
36 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37 multiarch implementation.
38 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
39 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
40 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
41 file.
42 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
44 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
45 multiarch isnan for PPC64.
46 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
47 multiarch isnanf for PPC64.
48
69bbc63d
AZ
492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50
51 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
52 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
53 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
54 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
55 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
56 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
57
c24517c9
AZ
582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59
60 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
61 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
62 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64
a52374e8
AZ
652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66
67 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
68 multiarch implementations.
69 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
70 (__libc_ifunc_impl_list): Likewise.
71 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
72 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
73 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
74 multiarch stpcpy for PPC64.
75
7f5ec113
AZ
762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77
78 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
79 multiarch implementations.
80 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
81 (__libc_ifunc_impl_list): Likewise.
82 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
83 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
84 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
85 multiarch strcpy for PPC64.
86
e28bcd42
AZ
872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88
89 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
90 redefine function name.
91 (_wordcopy_fwd_dest_aligned): Likewise.
92 (_wordcopy_bwd_aligned): Likewise.
93 (_wordcopy_bwd_dest_aligned): Likewise.
94 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
95 multiarch implementations.
96 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
97 (__libc_ifunc_impl_list): Likewise.
98 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
99 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
100 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
101 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
102 multiarch wcscpy for PPC64.
103
92cacfce
AZ
1042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
105
106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
107 multiarch implementations.
108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
109 (__libc_ifunc_impl_list): Likewise.
110 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
111 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
112 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
113 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
114 multiarch wcscpy for PPC64.
115
7b714620
AZ
1162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
117
118 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
119 multiarch implementations.
120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
121 (__libc_ifunc_impl_list): Likewise.
122 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
123 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
124 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
125 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
126 multiarch wcsrchr for PPC64.
127
16fd2ae3
AZ
1282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
129
130 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
131 multiarch implementations.
132 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
133 (__libc_ifunc_impl_list): Likewise.
134 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
135 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
136 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
137 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
138 multiarch wcschr for PPC64.
139
9ee2969b
AZ
1402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
141
142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
143 multiarch implementations.
144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
145 (__libc_ifunc_impl_list): Likewise.
146 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
147 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
148 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
149 multiarch strchrnul for PPC64.
150
372dc060
AZ
1512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
152
153 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
154 implementations.
155 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
156 (__libc_ifunc_impl_list): Likewise.
157 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
158 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
159 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
160 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
161 strchr for PPC64.
162
24c2c3b9
AZ
1632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
164
165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
166 implementations.
167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
168 (__libc_ifunc_impl_list): Likewise.
169 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
170 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
171 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
172 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
173 strncmp for PPC64.
174
1c92d9a0
AZ
1752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
176
177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
178 multiarch implementations.
179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
180 (__libc_ifunc_impl_list): Likewise.
181 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
182 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
183 strncasecmp for PPC64.
184 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
185 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
186 multiarch strncasecmp_l for PPC64.
187
17de3ee3
AZ
1882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
189
190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
191 multiarch implementations.
192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
193 (__libc_ifunc_impl_list): Likewise.
194 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
195 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
196 multiarch strcasecmp for PPC64.
197 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
198 file.
199 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
200 multiarch strcasecmp_l for PPC64.
201
62982bf9
AZ
2022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
203
204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
205 implementations.
206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
207 (__libc_ifunc_impl_list): Likewise.
208 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
209 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
210 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
211 strnlen for PPC64.
212
a65f4904
AZ
2132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
214
215 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
216 implementations.
217 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
218 (__libc_ifunc_impl_list): Likewise.
219 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
220 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
221 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
222 strlen for PPC64.
223
1fd005ad
AZ
2242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
225
226 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
227 implementations.
228 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
229 (__libc_ifunc_impl_list): Likewise.
230 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
231 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
232 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
233 rawmemrchr for PPC64.
234
cd05ba91
AZ
2352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
236
237 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
238 implementation.
239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
240 (__libc_ifunc_impl_list): Likewise.
241 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
242 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
243 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
244 memrchr for PPC64.
245
870f8676
AZ
2462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
247
248 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
249 implementation.
250 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
251 (__libc_ifunc_impl_list): Likewise.
252 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
253 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
254 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
255 memchr for PPC64.
256
f00be62b
AZ
2572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
258
259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
260 implementation.
261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
262 (__libc_ifunc_impl_list): Likewise.
263 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
264 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
265 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
266 mempcpy for PPC64.
267
8a29a3d0
AZ
2682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
269
270 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
271 avoid cretion of __bzero symbol.
272 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
273 Likewise.
274 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
275 Likewise.
276 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
277 Likewise.
278 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
279 multiarch implementations.
280 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
281 (__libc_ifunc_impl_list): Likewise.
282 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
283 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
284 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
285 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
286 bzero for PPC32.
287 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
288 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
289 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
290 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
291 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
292 memset for PPC64.
293 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
294
07253fcf
AZ
2952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
296
297 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
298 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
299 implementations.
300 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
301 (__libc_ifunc_impl_list): Likewise.
302 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
303 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
304 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
305 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
306 memcmp for PPC64.
307
b5beafbc
AZ
3082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
309
310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
311 multiarch for POWER/PPC64.
312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
313 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
314 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
315 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
316 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
317 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
318 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
319 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
320 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
321 memcpy for PPC64.
322
5e6a4d4b
AZ
3232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
324
325 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
326 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
327 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
328 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
329 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
330 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
331 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
332 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
333 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
334 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
335 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
336 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
337 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
338 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
339 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
347
ddfab6dc
KK
3482013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
349
350 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
351
19b5525e
SP
3522013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
353
354 * benchtests/Makefile (bench): Add exp2 and log2.
355 (LDLIBS-bench-exp2): Add -lm.
356 (LDLIBS-bench-log2): Likewise.
357 * benchtests/exp2-inputs: New inputs file.
358 * benchtests/log2-inputs: New inputs file.
359 * benchtests/log-inputs: Add new inputs.
360 * benchtests/tan-inputs: Likewise.
361
196f7f5d
SP
3622013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
363
7a74607f
SP
364 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
365 definition...
366 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
367 csloww1, csloww2): ... from here.
368
196f7f5d
SP
369 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
370 instead of structures.
371 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
372 (POLYNOMIAL): Likewise.
373 (TAYLOR_SLOW): Likewise.
374 (__sin): Likewise.
375 (__cos): Likewise.
376 (slow1): Likewise.
377 (slow2): Likewise.
378 (sloww): Likewise.
379 (sloww1); Likewise.
380 (sloww2): Likewise.
381 (bsloww1): Likewise.
382 (bsloww2): Likewise.
383 (cslow2): Likewise.
384 (csloww): Likewise.
385 (csloww1): Likewise.
386 (csloww2): Likewise.
387
0dfa665c
OB
3882013-12-10 Ondřej Bílka <neleai@seznam.cz>
389
390 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
391 (__malloc_assert, __libc_realloc, __libc_calloc,
392 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
393 memcpy and memset.
394 * malloc/hooks.c (realloc_check): Likewise.
395
5782a80f
OB
3962013-12-10 Ondřej Bílka <neleai@seznam.cz>
397
398 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
399 * malloc/arena.c: Remove PER_THREAD conditional.
400 [!PER_THREAD]: Remove code.
401 (ptmalloc_unlock_all2): Likewise.
402 (ptmalloc_init): Likewise.
403 (_int_new_arena): Likewise.
404 (arena_get2): Likewise.
405 * malloc/hooks.c (__malloc_get_state): Likewise.
406 (__malloc_set_state): Likewise.
407 * malloc/malloc.c: Likewise.
408 (struct malloc_state): Likewise.
409 (struct malloc_par): Likewise.
410 (__libc_realloc): Likewise.
411 (__libc_mallopt): Likewise.
412
aeb95445
AZ
4132013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
414
415 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
416
e8349efd
OB
4172013-12-09 Ondřej Bílka <neleai@seznam.cz>
418
419 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
420 macro to a function. Check for zero perturb_byte.
421 (_int_malloc, _int_free): Remove zero perturb_byte checks.
422
f3eeb3fc
OB
4232013-12-09 Ondřej Bílka <neleai@seznam.cz>
424
425 * malloc/malloc.c: (force_reg): Remove.
426 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
427 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
428 force_reg by atomic_forced_read.
429 * malloc/arena.c (ptmalloc_init): Likewise.
430 * malloc/hooks.c (top_check): Likewise.
431
be2f9009
AZ
4322013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
433
434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
435
e7b914bd
MT
4362013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
437
438 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
439
9f0be4f8
JM
4402013-12-08 Joseph Myers <joseph@codesourcery.com>
441
442 * math/auto-libm-test-in: Add tests of lgamma.
443 * math/auto-libm-test-out: Regenerated.
444 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
445 (M_LOG_2_SQRT_PIl): Likewise.
446 (lgamma_test_data): Use AUTO_TESTS_f_f1.
447 * math/gen-auto-libm-tests.c (func_calc_method): Add value
448 mpfr_f_f1.
449 (func_calc_desc): Add mpfr_f_f1 union field.
450 (ARGS1): New macro.
451 (ARGS2): Likewise.
452 (ARGS3): Likewise.
453 (ARGS4): Likewise.
454 (RET1): Likewise.
455 (RET2): Likewise.
456 (CALC): Likewise.
457 (FUNC): Likewise.
458 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
459 (test_functions): Add lgamma.
460 (calc_generic_results): Handle mpfr_f_f1.
461 * sysdeps/i386/fpu/libm-test-ulps: Update.
462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
463
24eeafdb
AZ
4642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
465
466 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
467 __mpn_add_n for PowerPC64/POWER7.
468 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
469 __mpn_sub_n for PowerPC64/POWER7.
470
4a2c0fd4
AZ
4712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
472
473 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
474 __mpn_addmul_1 for PowerPC64.
475 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
476 __mpn_submul_1 for PowerPC64.
477 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
478 for PowerPC64.
479 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
480 for PowerPC64.
481
4b5b548c
FS
4822013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
483
484 [BZ #15089]
485 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
486
0a3ac0aa
AZ
4872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
488
489 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
490
ccdc8438
AZ
4912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
492
493 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
494 add multiarch folders.
495 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
496 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
497 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
498 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
499 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
500 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
501 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
502 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
503 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
504 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
505 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
512
2e973d99
AZ
5132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
514
515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
516 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
518 New file.
519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
520 New file.
521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
522 multiarch __ieee754_hypot for PowerPC32.
523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
524 New file.
525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
526 New file.
527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
528 multiarch __ieee754_hypotf for PowerPC32.
529
2d9470b2
AZ
5302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
531
532 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
533 long_double_symbol only if __logbl is defined.
534 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
535 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
536 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
537 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
538 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
539 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
540 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
541 path for implementation.
542 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
543 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
545 logb, and logbl multiarch implementations for PowerPC32.
546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
547 file.
548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
549 file.
550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
551 multiarch logb for PowerPC32.
552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
553 file.
554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
555 file.
556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
557 multiarch logbf for PowerPC32.
558 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
560 file.
561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
562 multiarch logbl implementation for PowerPC32.
563
5212ffce
AZ
5642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
565
566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
567 and modff multiarch implementations.
568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
569 New file.
570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
571 New file.
572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
573 multiarch modf for PowerPC32.
574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
575 New file.
576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
577 New file.
578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
579 multiarch modff for PowerPC32.
580
79dccf31
AZ
5812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
582
583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
584 and lrintf multiarch implementations.
585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
586 New file.
587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
588 New file.
589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
590 multiarch lrint for PowerPC32.
591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
592 file: multiarch lrintf for PowerPC32.
593
deb66480
AZ
5942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
595
596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
597 and lroundf multiarch implementations.
598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
599 New file.
600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
601 New file.
602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
603 New file.
604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
605 multiarch lround for PowerPC32.
606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
607 file: multiarch lroundf for PowerPC32.
608
264b036b
AZ
6092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
610
611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
612 copysign and copysignf multiarch implementations.
613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
614 New file.
615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
616 New file.
617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
618 file: multiarch copysign for PowerPC32.
619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
620 file: multiarch copysignf for PowerPC32.
621
d47db6c9
AZ
6222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
623
624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
625 and truncf multiarch implementations.
626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
627 New file.
628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
629 file.
630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
631 multiarch trunc for PowerPC32.
632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
633 New file.
634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
635 New file.
636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
637 multiarch truncf for PowerPC32.
638
ddb60b5a
AZ
6392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
640
641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
642 and roundf multiarch implementations.
643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
644 New file.
645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
646 file.
647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
648 multiarch round for PowerPC32.
649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
650 New file.
651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
652 New file.
653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
654 multiarch roundf for PowerPC32.
655
bedcf49b
AZ
6562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
657
658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
659 and floorf multiarch implementations.
660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
661 New file.
662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
663 file.
664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
665 multiarch floor for PowerPC32.
666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
667 New file.
668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
669 New file.
670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
671 multiarch floorf for PowerPC32.
672
35ae5b40
AZ
6732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
674
675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
676 and ceilf multiarch implementations.
677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
678 New file.
679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
680 file.
681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
682 multiarch ceil for PowerPC32.
683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
684 New file.
685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
686 file.
687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
688 multiarch ceilf for PowerPC32.
689
ae1a4cd9
AZ
6902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
691
692 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
693 is defined.
694 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
695 FINITEF is defined.
696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
697 and finitef multiarch implementations.
698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
699 New file.
700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
701 file.
702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
703 multiarch finite for PowerPC32.
704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
705 New file.
706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
707 file: multiarch finitef for PowerPC32.
708
64fffd65
AZ
7092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
710
711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
712 and isinff multiarch implementations.
713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
714 file.
715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
716 file.
717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
718 multiarch isinf for PowerPC32.
719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
720 New file.
721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
722 multiarch isinff for PowerPC32.
723
8e4e7ba2
AZ
7242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
725
726 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
727 alias when __isnan is defined.
728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
729 and isnanf multiarch implementations.
730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
731 file.
732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
733 file.
734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
735 file.
736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
737 file.
738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
739 multiarch isnan for PowerPC32.
740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
741 New file.
742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
743 New file.
744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
745 multiarch isnanf for PowerPC32.
746
ddba588e
AZ
7472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
748
749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
750 and sqrtf multiarch implementations.
751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
752 file.
753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
754 file.
755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
756 multiarch sqrt for PowerPC32.
757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
758 file.
759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
760 file.
761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
762 multiarch sqrtf for PowerPC32.
763
0f96a2f0
AZ
7642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
765
766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
767 and llroundf multiarch implementations.
768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
769 New file.
770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
771 New file.
772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
773 New file.
774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
775 file: multiarch llround for PowerPC32.
776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
777 file: multiarch llroundf for PowerPC32.
778
c9b5d79e
AZ
7792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
780
781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
782 multiarch PowerPC32 fpu implementations.
783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
784 New file.
785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
786 New file.
787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
788 multiarch llrint for PowerPC32.
789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
790 New file.
791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
792 New file.
793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
794 file.
795
9cbb3aab
AZ
7962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
797
798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
799
ea5a72f8
AZ
8002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
801
802 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
803 file.
804 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
805 file.
806 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
807 file.
808 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
809 multiarch wordcopy for PPC32.
810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
811 wordcopy objects.
812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
813 (__libc_ifunc_impl_list): Likewise.
814 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
815 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
816 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
817 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
818 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
819 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
820
93be09e7
AZ
8212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
822
823 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
824 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
825 file.
826 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
827 file.
828 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
829 file.
830 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
831 multiarch wcscpy for PPC32.
832 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
833 multiarch objects.
834 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
835 (__libc_ifunc_impl_list): Likewise.
836 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
837 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
838 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
839 sysdeps/powerpc/power6/wcscpy.c.
840
bb04e529
AZ
8412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
842
843 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
844 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
845 file.
846 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
847 file.
848 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
849 file.
850 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
851 multiarch wcsrchr for PPC32.
852 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
853 multiarch objects.
854 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
855 (__libc_ifunc_impl_list): Likewise.
856 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
857 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
858 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
859 sysdeps/powerpc/power6/wcsrchr.c.
860
05b5cd1c
AZ
8612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
862
863 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
864 file.
865 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
866 file.
867 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
868 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
869 multiarch wcschr for PPc32.
870 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
871 multiarch objects.
872 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
873 (__libc_ifunc_impl_list): Likewise.
874 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
875 * sysdeps/powerpc/power6/wcschr.c: ... to here.
876 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
877 sysdeps/powerpc/power6/wcschr.c.
878
ba964147
AZ
8792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
880
881 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
882 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
883 file.
884 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
885 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
886 file: multiarch strchr for PPC32.
887 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
888 multiarch objects.
889 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
890 (__libc_ifunc_impl_list): Likewise.
891
31c81aaa
AZ
8922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
893
894 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
895 name.
896 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
897 file.
898 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
899 file.
900 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
901 multiarch strchrnul for PPC32.
902 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
903 multiarch objects.
904 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
905 (__libc_ifunc_impl_list): Likewise.
906
0d0607d9
AZ
9072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
908
909 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
910 file.
911 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
912 multiarch strncasecmp for PPC32.
913 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
914 file.
915 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
916 multiarch strncasecmp_l for PPC32.
917 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
918 strncasecmp multiarch objects.
919 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
920 (__libc_ifunc_impl_list): Likewise.
921
4dfd5c86
AZ
9222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
923
924 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
925 file.
926 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
927 multiarch strncasecmp for PPC32.
928 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
929 New file.
930 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
931 multiarch strcasecmp_l for PPC32.
932 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
933 multiarch objects.
934 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
935 (__libc_ifunc_impl_list): Likewise.
936
a19e01a3
AZ
9372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
938
939 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
940 file.
941 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
942 file.
943 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
944 multiarch strncmp for PPC32.
945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
946 multiarch objects.
947 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
948 (__libc_ifunc_impl_list): Likewise.
949
ae9cf7a2
AZ
9502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
951
952 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
953 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
954 file.
955 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
956 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
957 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
958 multiarch objects.
959 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
960 (__libc_ifunc_impl_list): Likewise.
961
3148bb7d
AZ
9622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
963
964 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
965 file.
966 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
967 file.
968 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
969 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
970 multiarch objects.
971 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
972 (__libc_ifunc_impl_list): Likewise.
973
7af8b946
AZ
9742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
975
976 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
977 file.
978 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
979 file.
980 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
981 multiarch rawmemchr for PPC32.
982 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
983 multiarch objects.
984 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
985 (__libc_ifunc_impl_list): Likewise.
986
03a6aa6a
AZ
9872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
988
989 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
990 file.
991 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
992 file.
993 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
994 file: memrchr multiarch for PPC32.
995 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
996 multiarch objects.
997 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
998 (__libc_ifunc_impl_list): Likewise.
999
1c62e6d9
AZ
10002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1001
1002 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1003 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1004 file.
1005 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1006 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1007 multiarch memchr for PPC32.
1008 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1009 multiarch objects.
1010 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1011 (__libc_ifunc_impl_list): Likewise.
1012
87da8bdb
AZ
10132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1014
1015 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1016 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1017 file.
1018 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1019 file.
1020 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1021 file: multiarch mempcpy for PPC32.
1022 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1023 multiarch objects.
1024 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1025 (__libc_ifunc_impl_list): Likewise.
1026
20ed4714
AZ
10272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1028
1029 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1030 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1031 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1032 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1033 multiarch bzero for PPC32.
1034 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1035 file.
1036 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1037 file.
1038 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1039 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1040 file: multiarch memset for PPC32.
1041 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1042 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1043 memset multiarch objects.
1044 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1045 (__libc_ifunc_impl_list): Likewise.
1046
ab3e3a46
AZ
10472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1048
1049 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1050 file.
1051 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1052 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1053 memcmp for PPC32.
1054 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1055 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1056 multiarch objects.
1057 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1058 (__libc_ifunc_impl_list): Likewise.
1059
930de6f0
AZ
10602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1061
1062 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1063 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1064 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1065 file.
1066 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1067 file.
1068 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1069 file.
1070 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1071 multiarch memcpy for PPC32.
1072 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1073 multiarch objects.
1074 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1075 (__libc_ifunc_impl_list): Likewise.
1076
4c628e00
AZ
10772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1078
1079 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1080 support multiarch for POWER/PPC32.
1081 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1082 Likewise.
1083 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1085 Implies file to make multiarch folder appers before the fpu and
1086 default folder for power4 configuration.
1087
f4479220
SP
10882013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1089
1090 * scripts/bench.pl: Append volatile keyword to type.
1091
8517800f
KK
10922013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1093
1094 * sysdeps/sh/sotruss-lib.c: New file.
1095 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1096
180138f1
AZ
10972013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1098
1099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1100
bbf37bdc
JM
11012013-12-05 Joseph Myers <joseph@codesourcery.com>
1102
e47cc4e0
JM
1103 [BZ #6810]
1104 * math/w_tgamma.c: Include <errno.h>.
1105 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1106 * math/w_tgammaf.c: Include <errno.h>.
1107 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1108 * math/w_tgammal.c: Include <errno.h>.
1109 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1110 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1111 underflow. Add more tgamma tests.
1112 * math/auto-libm-test-out: Regenerated.
1113 * sysdeps/i386/fpu/libm-test-ulps: Update.
1114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1115
bbf37bdc
JM
1116 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1117 sin, sinh, tan, tanh, tgamma, y0 and y1.
1118 * math/auto-libm-test-out: Regenerated.
1119 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1120 (TEST_COND_x86): Likewise.
1121 (M_E2l): Remove macro.
1122 (M_E3l): Likewise.
1123 (M_2_SQRT_PIl): Likewise.
1124 (M_SQRT_PIl): Likewise.
1125 (M_1_DIV_El): Likewise.
1126 (log_test_data): Use AUTO_TESTS_f_f.
1127 (log10_test_data): Likewise.
1128 (log1p_test_data): Likewise.
1129 (log2_test_data): Likewise.
1130 (sin_test_data): Likewise.
1131 (sin_tonearest_test_data): Likewise.
1132 (sin_towardzero_test_data): Likewise.
1133 (sin_downward_test_data): Likewise.
1134 (sin_upward_test_data): Likewise.
1135 (sinh_test_data): Likewise.
1136 (sinh_tonearest_test_data): Likewise.
1137 (sinh_towardzero_test_data): Likewise.
1138 (sinh_downward_test_data): Likewise.
1139 (sinh_upward_test_data): Likewise.
1140 (tan_test_data): Likewise.
1141 (tan_tonearest_test_data): Likewise.
1142 (tan_towardzero_test_data): Likewise.
1143 (tan_downward_test_data): Likewise.
1144 (tan_upward_test_data): Likewise.
1145 (tanh_test_data): Likewise.
1146 (tgamma_test_data): Likewise.
1147 (y0_test_data): Likewise.
1148 (y1_test_data): Likewise.
1149 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1150 (special_real_inputs): Add pi/4.
1151 * sysdeps/i386/fpu/libm-test-ulps: Update.
1152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1153
eb5ad6b9
AZ
11542013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1155
1156 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1157 "longjmp_target" static probes.
1158 (__longjmp): Rename to __longjmp_symbol.
1159 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1160 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1161 on which longjmp to generate.
1162 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1163 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1164 probe.
1165 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1166 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1167 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1168 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1169 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1170 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1172 __longjmp_symbol based on which __longjmp to generate.
1173 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1174 probe.
1175 (setjmp): Rename to setjmp_symbol.
1176 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1177 (_setjmp): Rename to _setjmp_symbol.
1178 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1179 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1180 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1181 which setjmp to generate.
1182 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1183 "longjmp_target" static probes.
1184
d136c6dc
SP
11852013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1186
9298ecba
SP
1187 * benchtests/README: Add note about output arguments.
1188 * benchtests/bench-sincos.c: Remove file.
1189 * benchtests/sincos-inputs: New file.
1190 * scripts/bench.pl: Identify output arguments and define
1191 static variables for them.
1192
232983e9
SP
1193 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1194
d136c6dc
SP
1195 [BZ #15941]
1196 * Makefile (INSTALL): Add install-plain.texi as the primary
1197 dependency.
1198 * manual/install-plain.texi: New file.
1199 * manual/install.texi: Include node directive only for
1200 non-plaintext output.
1201
699ff837
JM
12022013-12-04 Joseph Myers <joseph@codesourcery.com>
1203
ab07cea8
JM
1204 * stdlib/longlong.h: Update from GCC.
1205
699ff837
JM
1206 [BZ #6807]
1207 [BZ #15901]
1208 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1209 * math/w_j0f.c (y0f): Likewise.
1210 * math/w_j0l.c (__y0l): Likewise.
1211 * math/w_j1.c (y1): Likewise.
1212 * math/w_j1f.c (y1f): Likewise.
1213 * math/w_j1l.c (__y1l): Likewise
1214 * math/w_jn.c (yn): Likewise.
1215 * math/w_jnf.c (ynf): Likewise.
1216 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1217 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1218 value for Bessel function domain errors outside _SVID_ mode.
1219 Adjust sign of return value for yn (negative integer, 0).
1220 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1221 by zero in return for negative x and set sign appropriately for
1222 negative n.
1223 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1224 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1225 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1226 expectations in error cases.
1227 (y1_test_data): Likewise.
1228 (yn_test_data): Likewise.
1229 * sysdeps/i386/fpu/libm-test-ulps: Update.
1230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1231
5b118558
UW
12322013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1233
1234 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1235 "64" to "64-v1". Add "64-v2".
1236 (abi-64-options): Rename to ...
1237 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1238 (abi-64-condition): Rename to ...
1239 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1240 (abi-64-ld-soname): Rename to ...
1241 (abi-64-v1-ld-soname): ... this.
1242 (abi-64-v2-options): Define.
1243 (abi-64-v2-condition): Likewise.
1244 (abi-64-v2-ld-soname): Likewise.
1245 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1246 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1250
61cd8fe4
UW
12512013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1252 Alan Modra <amodra@gmail.com>
1253
1254 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1255 New versions for use with the ELFv2 ABI.
1256 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1257 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1258 declaration.
1259 (struct La_ppc64v2_retval): Likewise.
1260 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1261 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1262 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1263 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1264 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1265 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1266 Do not save or restore CR.
1267 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1268 (_dl_profile_resolve): Do no save or restore CR. Support extended
1269 return values for ELFv2 ABI. Fix location of FPR return registers.
1270 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1271 updated values for _CALL_ELF == 2.
1272 (La_regs, La_retval, int_retval): Likewise.
1273
8b8a692c
UW
12742013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1275
1276 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1277 (FRAME_MIN_SIZE_PARM): Likewise.
1278 (FRAME_BACKCHAIN): Likewise.
1279 (FRAME_CR_SAVE): Likewise.
1280 (FRAME_LR_SAVE): Likewise.
1281 (FRAME_TOC_SAVE): Likewise.
1282 (FRAME_PARM_SAVE): Likewise.
1283 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1284 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1285 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1286 (call_mcount_parm_offset): New macro.
1287 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1288 (PROF): Use symbolic stack frame offsets.
1289 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1290 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1291 Redefine in terms of FRAME_MIN_SIZE.
1292 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1293 (_dl_profile_resolve): Likewise. Update comment.
1294 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1295 symbols stack frame offsets.
1296 (__sigsetjmp): Likewise.
1297 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1298 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1299 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1300 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1301
1302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1303 (FRAME_BACKCHAIN): Remove.
1304 (FRAME_CR_SAVE): Likewise.
1305 (FRAME_LR_SAVE): Likewise.
1306 (FRAME_COMPILER_DW): Likewise.
1307 (FRAME_LINKER_DW): Likewise.
1308 (FRAME_TOC_SAVE): Likewise.
1309 (FRAME_PARM_SAVE): Likewise.
1310 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1311 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1312 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1314 (CHECK_SP): Use symbolic stack frame offsets.
1315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1316 zone" instead of caller's parameter save area for temp storage.
1317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1318 Likewise. Also, use symbolic stack frame offsets.
1319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1320 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1321 our own stack frame instead of the caller's.
1322 (__socket): Use symbolic stack frame offsets.
1323
122b66de
UW
13242013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1325 Alan Modra <amodra@gmail.com>
1326
1327 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1328 Define.
1329 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1330 PPC64_LOCAL_ENTRY_OFFSET): Define.
1331 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1332 New function.
1333 (elf_machine_fixup_plt): Call it.
1334 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1335 reloc arguments.
1336 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
1337 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1338 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
1339 r2 before calling target.
1340
696caf1d
UW
13412013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1342 Alan Modra <amodra@gmail.com>
1343
1344 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1345 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1346 versions of macros to support ELFv2 ABI.
1347 (LOCALENTRY): New macro.
1348 (ENTRY, EALIGN): Use it.
1349 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1350 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1351 fall through into ENTRY entry point.
1352 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1353 Only define if _CALL_ELF != 2.
1354
1355 (elf_machine_matches_host): Verify ABI version matches.
1356 (RTLD_START): Use LOCALENTRY.
1357 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1358 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1359 (PLT_ENTRY_WORDS): New macro.
1360 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1361 (elf_machine_runtime_setup): Support ELFv2 ABI.
1362 (elf_machine_fixup_plt): Likewise.
1363 (elf_machine_plt_conflict): Likewise.
1364 (resolve_ifunc): Likewise.
1365 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1366 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1367 Likewise.
1368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1369 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1371 (makecontext): Support ELFv2 ABI.
1372 * elf/elf.h (EF_PPC64_ABI): Define.
1373
d31beafa
UW
13742013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1375
1376 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1377 New assembler macro.
1378 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1379 [ASSEMBLER] (ENTRY): ... but instead here ...
1380 [ASSEMBLER] (EALIGN): ... and here.
1381 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1382 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1383 [!ASSEMBLER] (ENTRY_2): Use it.
1384 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1385 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1386 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1387 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1388 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1390 Use PPC64_LOAD_FUNCPTR.
1391
b525166b
UW
13922013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1393
1394 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1395
7ec07d9a
AM
13962013-12-04 Alan Modra <amodra@gmail.com>
1397
1398 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1399 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1400 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1401 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1402
1403 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1404 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1405 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1406 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1407 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1408 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1409
5162e7dd
UW
14102013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1411
1412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1413 (__makecontext): Fix incorrect CFI when backtracing out of
1414 context created via makecontext.
1415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1416 (__setcontext): Fix incorrect CFI during switch to new context.
1417 (__novec_setcontext): Likewise.
1418
19e3372b
OB
14192013-12-04 Ondřej Bílka <neleai@seznam.cz>
1420
1421 [BZ #4772]
1422 * time/strptime_l.c (__strptime_internal): Allow modifiers
1423 in strptime.
1424 * time/tst-strptime.c (day_tests): Add testcase.
1425
1426
ecaf142d
SP
14272013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1428
1429 * scripts/bench.pl: Skip over blank lines.
1430
fbf964ae
PE
14312013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1432
1433 [BZ #926]
1434 * manual/time.texi (Calendar Time): Clarify what timezone functions
1435 use.
1436
fa60a674
AZ
14372013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1438
1439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1440
d674f0ef
OB
14412013-12-04 Ondřej Bílka <neleai@seznam.cz>
1442
1443 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1444 implementation.
1445 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1446 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1447 * debug/memset_chk.c (__memset_chk): Likewise.
1448 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1449 * debug/strncpy_chk.c: Likewise.
1450
17dea188
JM
14512013-12-03 Joseph Myers <joseph@codesourcery.com>
1452
749008ff
JM
1453 [BZ #15268]
1454 [BZ #15425]
1455 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1456 (__ieee754_exp): For possibly underflowing results, check size of
1457 result and force underflow exception if required.
1458 * math/auto-libm-test-in: Add more tests of exp.
1459 * math/auto-libm-test-out: Regenerated.
1460 * sysdeps/i386/fpu/libm-test-ulps: Update.
1461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1462
17dea188
JM
1463 [BZ #16283]
1464 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1465 * math/w_exp2f.c (__exp2f): Likewise.
1466 * math/w_exp2l.c (__exp2l): Likewise.
1467 * math/auto-libm-test-in: Do not allow missing errno on exp2
1468 underflow.
1469 * math/auto-libm-test-out: Regenerated.
1470
b20de2c3
OB
14712013-12-03 Ondřej Bílka <neleai@seznam.cz>
1472
1473 [BZ #16274]
1474 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1475 handle filename validation.
1476 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1477 (do_open): Delete.
1478
d8e2dbe3
JM
14792013-12-03 Joseph Myers <joseph@codesourcery.com>
1480
34e16df5
JM
1481 [BZ #6786]
1482 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1483 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1484 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1485 <float.h>.
1486 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1487 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1488 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1489 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1490 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1491 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1492 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1493 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1494 Add more erfc tests.
1495 * math/auto-libm-test-out: Regenerated.
1496 * sysdeps/i386/fpu/libm-test-ulps: Update.
1497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1498
d8e2dbe3
JM
1499 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1500 exp2, expm1, j0 and j1.
1501 * math/auto-libm-test-out: Regenerated.
1502 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1503 (erfc_test_data): Likewise.
1504 (exp_test_data): Likewise.
1505 (exp_tonearest_test_data): Likewise.
1506 (exp_towardzero_test_data): Likewise.
1507 (exp_downward_test_data): Likewise.
1508 (exp_upward_test_data): Likewise.
1509 (exp10_test_data): Likewise.
1510 (exp2_test_data): Likewise.
1511 (expm1_test_data): Likewise.
1512 (j0_test_data): Likewise.
1513 (j1_test_data): Likewise.
1514 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1515 (input_flag_type): Add flag_xfail_rounding.
1516 (input_flags): Add xfail-rounding.
1517 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1518 (output_for_one_input_case): Handle flag_xfail_rounding.
1519 * sysdeps/i386/fpu/libm-test-ulps: Update.
1520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1521
18d14251
AJ
15222013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1523
3d2e6075 1524 [BZ #16289]
18d14251
AJ
1525 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1526 division by 0.
1527
520d437b
SP
15282013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1529
1530 [BZ #16195]
1531 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1532 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1533 (STAP_PROBE0): New macro.
1534 (STAP_PROBE1): Likewise.
1535 (STAP_PROBE2): Likewise.
1536 (STAP_PROBE3): Likewise.
1537 (STAP_PROBE4): Likewise.
1538
416e0145
OB
15392013-12-02 Ondřej Bílka <neleai@seznam.cz>
1540
1541 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1542
9d17796a
SE
15432013-12-02 Steve Ellcey <sellcey@mips.com>
1544
1545 * benchtests/Makefile (bench): Add sqrt.
1546 (LDLIBS-bench-sqrt): New.
1547 * benchtests/sqrt-input: New.
1548
f524d6a8
PS
15492013-12-02 Pavel Simerda <psimerda@redhat.com>
1550
639a0ef8
PS
1551 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1552 (GAIH_EAI): Likewise.
1553 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1554 (gaih_inet): Likewise.
1555 (getaddrinfo): Don't use GAIH_EAI.
1556
f524d6a8
PS
1557 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1558 (struct gaih): Remove definition.
1559
df3aedaf
SP
15602013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1561
1562 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1563 Use HERRNOP directly.
1564
1ab19dec
AZ
15652013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1566
b42ad38d 1567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 1568
176b0c79
JM
15692013-11-30 Joseph Myers <joseph@codesourcery.com>
1570
1571 * math/gen-auto-libm-tests.c (test_functions): Add more
1572 single-argument functions.
1573 (special_fill_pi_2): New function.
1574 (special_fill_minus_pi_2): Likewise.
1575 (special_fill_pi_6): Likewise.
1576 (special_fill_minus_pi_6): Likewise.
1577 (special_fill_pi_3): Likewise.
1578 (special_fill_2pi_3): Likewise.
1579 (special_fill_e): Likewise.
1580 (special_fill_1_e): Likewise.
1581 (special_fill_e_minus_1): Likewise.
1582 (special_real_inputs): Add more special inputs.
1583 (output_for_one_input_case): Do not require ERANGE on underflow to
1584 zero if round-to-nearest result does not underflow to zero, unless
1585 exact results required.
1586 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1587 atan, atanh, cbrt, cos and cosh.
1588 * math/auto-libm-test-out: Regenerated.
1589 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1590 (acos_tonearest_test_data): Likewise.
1591 (acos_towardzero_test_data): Likewise.
1592 (acos_downward_test_data): Likewise.
1593 (acos_upward_test_data): Likewise.
1594 (acosh_test_data): Likewise.
1595 (asin_test_data): Likewise.
1596 (asin_tonearest_test_data): Likewise.
1597 (asin_towardzero_test_data): Likewise.
1598 (asin_upward_test_data): Likewise.
1599 (asinh_test_data): Likewise.
1600 (atan_test_data): Likewise.
1601 (atanh_test_data): Likewise.
1602 (cbrt_test_data): Likewise.
1603 (cos_test_data): Likewise.
1604 (cos_tonearest_test_data): Likewise.
1605 (cos_towardzero_test_data): Likewise.
1606 (cos_downward_test_data): Likewise.
1607 (cos_upward_test_data): Likewise.
1608 (cosh_test_data): Likewise.
1609 (cosh_tonearest_test_data): Likewise.
1610 (cosh_towardzero_test_data): Likewise.
1611 (cosh_downward_test_data): Likewise.
1612 (cosh_upward_test_data): Likewise.
1613 * sysdeps/i386/fpu/libm-test-ulps: Update.
1614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1615
ffb536d0
JM
16162013-11-29 Joseph Myers <joseph@codesourcery.com>
1617
2a77a467
JM
1618 [BZ #6787]
1619 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1620 * math/w_exp10f.c (__exp10f): Likewise.
1621 * math/w_exp10l.c (__exp10l): Likewise.
1622 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1623 errno settings in existing tests.
1624
ea3bc4e8
JM
1625 [BZ #14032]
1626 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1627 precision control set to double precision.
1628 * sysdeps/i386/fpu/w_sqrt.c: New file.
1629 * math/auto-libm-test-in: Add more tests.
1630 * math/auto-libm-test-out: Update.
1631
0712c9d8
JM
1632 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1633 (sqrt_test_tonearest): New function.
1634 (sqrt_towardzero_test_data): New variable.
1635 (sqrt_test_towardzero): New function.
1636 (sqrt_downward_test_data): New variable.
1637 (sqrt_test_downward): New function.
1638 (sqrt_upward_test_data): New variable.
1639 (sqrt_test_upward): New function.
1640 (main): Call the new functions.
1641
ffb536d0
JM
1642 * math/gen-auto-libm-tests.c: New file.
1643 * math/auto-libm-test-in: Likewise.
1644 * math/auto-libm-test-out: New generated file.
1645 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1646 variables.
1647 (%beautify): Add generated representations of zero.
1648 (top level): Set $auto_input and call parse_auto_input.
1649 (beautify): Remove trailing "f" from hex float constants.
1650 (parse_args): Handle XFAIL_TEST.
1651 (convert_condition): New function.
1652 (or_value): Likewise.
1653 (or_cond_value): Likewise.
1654 (generate_testfile): Handle AUTO_TESTS_* lines.
1655 (parse_auto_input): New function.
1656 * math/libm-test.inc (XFAIL_TEST): New macro.
1657 (ERRNO_UNCHANGED): Update value.
1658 (ERRNO_EDOM): Likewise.
1659 (ERRNO_ERANGE): Likewise.
1660 (IGNORE_RESULT): Likewise.
1661 (TEST_COND_flt_32): New macro.
1662 (TEST_COND_dbl_64): Likewise.
1663 (TEST_COND_ldbl_96_intel): Likewise.
1664 (TEST_COND_ldbl_96_m68k): Likewise.
1665 (TEST_COND_ldbl_128): Likewise.
1666 (TEST_COND_ldbl_128ibm): Likewise.
1667 (TEST_COND_long32): Likewise.
1668 (TEST_COND_long64): Likewise.
1669 (TEST_COND_before_rounding): Likewise.
1670 (TEST_COND_after_rounding): Likewise.
1671 (enable_test): Handle XFAIL_TEST flag.
1672 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1673 with finite results.
1674 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1675 auto-libm-test-out.
1676
acd98a8e
AK
16772013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1678 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1679
1680 [BZ #16214]
1681 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1682 __tls_get_addr_internal instead of __tls_get_offset in order to
1683 avoid GOT pointer dependency. Make rtld export
1684 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1685 __tls_get_addr since we are a __tls_get_offset platform.
1686 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1687 GOT pointer being set up before.
1688 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1689
3c1c46a6
JM
16902013-11-28 Joseph Myers <joseph@codesourcery.com>
1691
7475aef5
JM
1692 * manual/math.texi (Errors in Math Functions): Document accuracy
1693 goals.
1694
8bca7cd8
JM
1695 [BZ #15004]
1696 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1697 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1698 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1699 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1700 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1701 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1702 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1703 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1704 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1705 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1706 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1707 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1708 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1709 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1710 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1711 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1712
91a1f3fe
JM
1713 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1714 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1715 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1716 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1717 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1718 Likewise.
1719 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1720 Likewise.
1721 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1722 Likewise.
1723 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1724 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1725 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1726 atomic-feupdateenv and flt-rounds.
1727 * sysdeps/powerpc/nofpu/Versions (libc): Add
1728 __atomic_feholdexcept, __atomic_feclearexcept,
1729 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1730 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1731 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1732 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1733 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1734 here.
1735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1736 Update.
1737
c5df7609
JM
1738 * manual/arith.texi (FP Exceptions): Document that exceptions may
1739 not be raised when matherr is used.
1740 (Math Error Reporting): Document overflow in directed rounding
1741 modes. Document that errno may not be set when finite values are
1742 returned on overflow. Document intent to set errno on underflow
1743 only for underflow to zero.
1744
3c1c46a6
JM
1745 [BZ #16271]
1746 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1747 round-to-nearest then adjust result for other rounding modes.
1748 * include/fenv.h (fegetround): Use libm_hidden_proto.
1749 * math/fegetround.c (fegetround): Use libm_hidden_def.
1750 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1751 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1752 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1753 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1754 Likewise.
1755 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1756 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1757 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1758 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1759
5a4c6d53
SP
17602013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1761
1762 [BZ #16077]
1763 * nss/Versions (libnss_files): Add
1764 _nss_files_gethostbyname3_r.
1765 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1766 New function.
1767 (HOST_DB_LOOKUP): Remove macro.
1768 (_nss_files_gethostbyname_r): Implement function without the
1769 HOST_DB_LOOKUP macro.
1770 (_nss_files_gethostbyname2_r): Likewise.
1771
897b98ba
OB
17722013-11-28 Ondřej Bílka <neleai@seznam.cz>
1773
1774 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1775
6f476861
UB
17762013-11-26 Uros Bizjak <ubizjak@gmail.com>
1777
1778 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1779 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1780 warning.
1781
bd12ab55
AZ
17822013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1783
1784 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1785 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1786 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1787 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1788 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1789 __fe_nomask_env_priv and attribute_hidden.
1790 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1791 (libc_feupdateenv_test_ppc): Likewise.
1792 (libc_feresetround_ppc): Likewise.
1793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1794 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1795 compat_symbol macro.
1796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1797 (__fe_nomask_env): Likewise.
1798 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1799
52bb6543
OB
18002013-11-26 Ondřej Bílka <neleai@seznam.cz>
1801
1802 * string/Makefile: Remove ifunc tests.
1803 * string/test-string.h: Define TEST_IFUNC.
1804 * string/test-bcopy-ifunc.c: Remove.
1805 * string/test-bzero-ifunc.c: Likewise.
1806 * string/test-memccpy-ifunc.c: Likewise.
1807 * string/test-memchr-ifunc.c: Likewise.
1808 * string/test-memcmp-ifunc.c: Likewise.
1809 * string/test-memcpy-ifunc.c: Likewise.
1810 * string/test-memmem-ifunc.c: Likewise.
1811 * string/test-memmove-ifunc.c: Likewise.
1812 * string/test-mempcpy-ifunc.c: Likewise.
1813 * string/test-memrchr-ifunc.c: Likewise.
1814 * string/test-memset-ifunc.c: Likewise.
1815 * string/test-rawmemchr-ifunc.c: Likewise.
1816 * string/test-stpcpy-ifunc.c: Likewise.
1817 * string/test-stpncpy-ifunc.c: Likewise.
1818 * string/test-strcasecmp-ifunc.c: Likewise.
1819 * string/test-strcasestr-ifunc.c: Likewise.
1820 * string/test-strcat-ifunc.c: Likewise.
1821 * string/test-strchr-ifunc.c: Likewise.
1822 * string/test-strchrnul-ifunc.c: Likewise.
1823 * string/test-strcmp-ifunc.c: Likewise.
1824 * string/test-strcpy-ifunc.c: Likewise.
1825 * string/test-strcspn-ifunc.c: Likewise.
1826 * string/test-strlen-ifunc.c: Likewise.
1827 * string/test-strncasecmp-ifunc.c: Likewise.
1828 * string/test-strncat-ifunc.c: Likewise.
1829 * string/test-strncmp-ifunc.c: Likewise.
1830 * string/test-strncpy-ifunc.c: Likewise.
1831 * string/test-strnlen-ifunc.c: Likewise.
1832 * string/test-strpbrk-ifunc.c: Likewise.
1833 * string/test-strrchr-ifunc.c: Likewise.
1834 * string/test-strspn-ifunc.c: Likewise.
1835 * string/test-strstr-ifunc.c: Likewise.
1836
ab260039 18372013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
1838
1839 * benchtests/Makefile: Remove ifunc tests.
1840 * benchtests/bench-string.h: Define TEST_IFUNC.
1841 * benchtests/bench-bcopy-ifunc.c: Remove.
1842 * benchtests/bench-bzero-ifunc.c: Likewise.
1843 * benchtests/bench-memccpy-ifunc.c: Likewise.
1844 * benchtests/bench-memchr-ifunc.c: Likewise.
1845 * benchtests/bench-memcmp-ifunc.c: Likewise.
1846 * benchtests/bench-memcpy-ifunc.c: Likewise.
1847 * benchtests/bench-memmem-ifunc.c: Likewise.
1848 * benchtests/bench-memmove-ifunc.c: Likewise.
1849 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1850 * benchtests/bench-memrchr-ifunc.c: Likewise.
1851 * benchtests/bench-memset-ifunc.c: Likewise.
1852 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1853 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1854 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1855 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1856 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1857 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1858 * benchtests/bench-strcat-ifunc.c: Likewise.
1859 * benchtests/bench-strchr-ifunc.c: Likewise.
1860 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1861 * benchtests/bench-strcmp-ifunc.c: Likewise.
1862 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1863 * benchtests/bench-strcpy-ifunc.c: Likewise.
1864 * benchtests/bench-strcspn-ifunc.c: Likewise.
1865 * benchtests/bench-strlen-ifunc.c: Likewise.
1866 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1867 * benchtests/bench-strncat-ifunc.c: Likewise.
1868 * benchtests/bench-strncmp-ifunc.c: Likewise.
1869 * benchtests/bench-strncpy-ifunc.c: Likewise.
1870 * benchtests/bench-strnlen-ifunc.c: Likewise.
1871 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1872 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 1873 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
1874 * benchtests/bench-strspn-ifunc.c: Likewise.
1875 * benchtests/bench-strstr-ifunc.c: Likewise.
1876
18772013-11-26 Ondřej Bílka <neleai@seznam.cz>
1878
ab260039
OB
1879 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1880
d1d9eaf4 18812013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 1882
d1d9eaf4
OB
1883 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1884 * rt/aio.h: Likewise.
1885 * sysdeps/gnu/bits/utmp.h: Likewise.
1886 * sysdeps/gnu/bits/utmpx.h: Likewise.
1887 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1888 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1889 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1890 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1891 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1892 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1893 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1894 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1895 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1896 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1897 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1898 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1899 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1901 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1902 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1903 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1904 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1905 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1906 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1907 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1908 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1909 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1910 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1911 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1912 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1913 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1914 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1915 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1916 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1917 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1918 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1919 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1920 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1921 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1922 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1923 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1924 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1925 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1926 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1927 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1928 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1929
a7624ed9
CD
19302013-11-25 Carlos O'Donell <carlos@redhat.com>
1931
1932 [BZ #16245]
1933 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1934 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1935
63cfe52b
JM
19362013-11-25 Joseph Myers <joseph@codesourcery.com>
1937
1938 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1939 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1940 Likewise.
1941
41e8926a
AZ
19422013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1943
1944 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1945 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1946 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1947 (__fesetround): Remove define.
1948 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1949 rounding and exceptions handling.
1950 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1951 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1952 (__fe_nomask_env): Likewise.
1953 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1954 __fegetround instead of fegetround.
1955 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1956 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1957
6851bd4d
RM
19582013-11-21 Roland McGrath <roland@hack.frob.com>
1959
070906ff
RM
1960 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1961 it's there.
1962
6851bd4d
RM
1963 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1964
84ae135d
MI
19652013-11-21 Meador Inge <meadori@codesourcery.com>
1966
1967 [BZ #11157]
1968 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1969 (encrypt_r): Likewise.
1970 * malloc/obstack.h (obstack_free): Likewise.
1971 * posix/unistd.h (encrypt): Likewise.
1972
daf75146
GM
19732013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1974
1975 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1976 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1977 DL_CALL_DT_FINI() that call the functions directly.
1978 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1979 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1980 * elf/dl-fini.c: Likewise.
1981
10ad46bc
OB
19822013-11-20 Ondřej Bílka <neleai@seznam.cz>
1983
1984 * malloc/hooks.c (memalign_check): Add alignment rounding.
1985 * malloc/malloc.c (_mid_memalign): New function.
1986 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1987 Implement by calling _mid_memalign.
1988 * manual/probes.texi (Memory Allocation Probes): Remove
1989 memory_valloc_retry and memory_pvalloc_retry.
1990
f3fd2628
SP
19912013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1992
4712799f
SP
1993 * locale/programs/locarchive.c (open_archive): Add const
1994 qualifier to ARCHIVEFNAME and copy default fname to
1995 DEFAULT_FNAME.
1996
0417b20f
SP
1997 [BZ #15601]
1998 * libio/tst-widetext.input: Rename Oriya to Odia.
1999 * locale/iso-639.def: Likewise.
2000
f3fd2628
SP
2001 * manual/probes.texi (Mathematical Function Probes): Add
2002 documentation for sin, cos, asin and acos probes.
2003 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2004 (__sin32): Add slowasin probe.
2005 (__cos32): Add slowacos probe.
2006 (__mpsin): Add slowsin probe.
2007 (__mpcos): Add slowcos probe.
2008
73c1ce4f
JM
20092013-11-19 Joseph Myers <joseph@codesourcery.com>
2010
2011 [BZ #15483]
2012 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2013 thread-local __sim_exceptions_thread and global
2014 __sim_exceptions_global.
2015 (__sim_disabled_exceptions): Change to thread-local
2016 __sim_disabled_exceptions_thread and global
2017 __sim_disabled_exceptions_global.
2018 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2019 and global __sim_round_mode_global.
2020 (__simulate_exceptions): Use thread-local floating-point state and
2021 set global state from it as needed.
2022 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2023 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2024 __sim_round_mode_thread.
2025 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2026 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2027 and global __sim_exceptions_global.
2028 (__sim_disabled_exceptions): Change to thread-local
2029 __sim_disabled_exceptions_thread and global
2030 __sim_disabled_exceptions_global.
2031 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2032 and global __sim_round_mode_global.
2033 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2034 (SIM_SET_GLOBAL): Likewise.
2035 * sysdeps/powerpc/soft-fp/sfp-machine.h
2036 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2037 __sim_round_mode_thread.
2038 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2039 __sim_disabled_exceptions_thread.
2040 (__sim_exceptions): Change to __sim_exceptions_thread.
2041 (__sim_disabled_exceptions): Change to
2042 __sim_disabled_exceptions_thread.
2043 (__sim_round_mode): Change to __sim_round_mode_thread.
2044 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2045 thread-local floating-point state and set global state from it as
2046 needed.
2047 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2048 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2049 (__sim_disabled_exceptions): Remove extern declaration.
2050 (feenableexcept): Use thread-local floating-point state and set
2051 global state from it as needed.
2052 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2053 extern declaration.
2054 (__sim_disabled_exceptions): Likewise.
2055 (__sim_round_mode): Likewise.
2056 (__fegetenv): Use thread-local floating-point state.
2057 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2058 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2059 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2060 floating-point state and set global state from it as needed.
2061 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2062 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2063 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2064 Likewise.
2065 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2066 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2067 Likewise.
2068 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2069 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2070 Use __sim_round_mode_thread.
2071 * math/test-fenv-tls.c: New file.
2072 * math/Makefile (tests): Add test-fenv-tls.
2073 ($(objpfx)test-fenv-tls): Depend on
2074 $(common-objpfx)nptl/libpthread.so.
2075
b5449b12
AS
20762013-11-19 Andreas Schwab <schwab@suse.de>
2077
2078 * locale/programs/locale.c (show_info): Decode wordarray elements.
2079 * locale/categories.def (LC_MONETARY): Add element for
2080 _NL_MONETARY_CRNCYSTR.
2081 * locale/C-monetary.c (conversion_rate): New variable.
2082 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2083 element.
2084
e186536b
CM
20852013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2086
2087 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2088 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2089
5c349950
PP
20902013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2091
2092 * elf/Makefile (tst-auxv): New test.
2093 * elf/tst-auxv.c: New
2094 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2095
699df45b
JM
20962013-11-18 Joseph Myers <joseph@codesourcery.com>
2097
2098 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2099 (hidden_proto): Caller changed.
2100 (hidden_tls_proto): New macro.
2101 (libc_hidden_tls_proto): Likewise.
2102 (rtld_hidden_tls_proto): Likewise.
2103 (libm_hidden_tls_proto): Likewise.
2104 (libresolv_hidden_tls_proto): Likewise.
2105 (librt_hidden_tls_proto): Likewise.
2106 (libdl_hidden_tls_proto): Likewise.
2107 (libnss_files_hidden_tls_proto): Likewise.
2108 (libnsl_hidden_tls_proto): Likewise.
2109 (libnss_nisplus_hidden_tls_proto): Likewise.
2110 (libutil_hidden_tls_proto): Likewise.
2111
b7589107
OB
21122013-11-18 Ondřej Bílka <neleai@seznam.cz>
2113
2114 [BZ #10253]
2115 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2116 (decompose_rpath): Defer expansion to fillin_rpath.
2117 (_dl_init_paths): Pass linkmap to fillin_rpath.
2118
250c23bd
RS
21192013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2120
2121 * benchtests/Makefile: Add strsep.
2122 * benchtests/bench-strsep.c: New file: strsep benchtest.
2123 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2124
a7931fcf
AS
21252013-11-18 Andreas Schwab <schwab@suse.de>
2126
2127 * locale/programs/locale.c (show_info) [case byte]: Check for
2128 '\377' instead of '\177'.
2129 * locale/C-monetary.c (not_available): Always use "\377".
2130 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2131 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2132 detect unavailable sign_posn locale elements.
2133 * locale/localeconv.c (__localeconv): For grouping and
2134 mon_grouping handle "\177" and "\377" like no grouping.
2135 (INT_ELEM): New macro. Use it to set all numeric members.
2136 * locale/programs/ld-monetary.c (monetary_read)
2137 <tok_mon_grouping>: Normalize single -1 to the empty string.
2138 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2139 Likewise.
2140
728dab0e
OB
21412013-11-07 Ondřej Bílka <neleai@seznam.cz>
2142
2143 [BZ #16055]
2144 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2145 when we match (nil).
2146 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2147
66294491
JM
21482013-11-16 Joseph Myers <joseph@codesourcery.com>
2149
ce665817
JM
2150 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2151 (NO_TEST_INLINE): Update value.
2152 (ERRNO_UNCHANGED): Likewise.
2153 (ERRNO_EDOM): Likewise.
2154 (ERRNO_ERANGE): Likewise.
2155 (IGNORE_RESULT): Likewise.
2156 (check_float_internal): Check signs of NaN results if
2157 TEST_NAN_SIGN used.
2158 (check_complex): Pass TEST_NAN_SIGN flag through to second
2159 check_float_internal call.
2160 (copysign_test_data): Add tests with quiet NaNs as second
2161 argument. Use TEST_NAN_SIGN.
2162 (fabs_test_data): Add test of negative quiet NaN argument. Use
2163 TEST_NAN_SIGN.
2164 (signbit_test_data): Add tests of quiet NaN argument.
2165 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2166
ee1466a9
JM
2167 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2168 $ignore_result.
2169 (parse_args): Handle function results specified as IGNORE.
2170 * math/libm-test.inc (IGNORE_RESULT): New macro.
2171 (check_float_internal): Do not check numerical result if flag
2172 IGNORE_RESULT set.
2173 (check_complex): Pass through IGNORE_RESULT to second
2174 check_float_internal call.
2175 (check_int): Do not check numerical result if flag IGNORE_RESULT
2176 set.
2177 (check_long): Likewise.
2178 (check_bool): Likewise.
2179 (check_longlong): Likewise.
2180 (lrint_test_data): Add tests of infinite and NaN arguments.
2181 (lrint_tonearest_test_data): Likewise.
2182 (lrint_towardzero_test_data): Likewise.
2183 (lrint_downward_test_data): Likewise.
2184 (lrint_upward_test_data): Likewise.
2185 (llrint_test_data): Likewise.
2186 (llrint_tonearest_test_data): Likewise.
2187 (llrint_towardzero_test_data): Likewise.
2188 (llrint_downward_test_data): Likewise.
2189 (llrint_upward_test_data): Likewise.
2190 (lround_test_data): Likewise.
2191 (llround_test_data): Likewise.
2192
14407b7e
JM
2193 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2194 (ERRNO_UNCHANGED): Update value.
2195 (ERRNO_EDOM): Likewise.
2196 (ERRNO_ERANGE): Likewise.
2197 (NO_TEST_INLINE_FLOAT): New macro.
2198 (NO_TEST_INLINE_DOUBLE): Likewise.
2199 (enable_test): New function.
2200 (RUN_TEST_f_f): Check enable_test before running test.
2201 (RUN_TEST_2_f): Likewise.
2202 (RUN_TEST_fff_f): Likewise.
2203 (RUN_TEST_c_f): Likewise.
2204 (RUN_TEST_f_f1): Likewise.
2205 (RUN_TEST_fF_f1): Likewise.
2206 (RUN_TEST_fI_f1): Likewise.
2207 (RUN_TEST_ffI_f1): Likewise.
2208 (RUN_TEST_c_c): Likewise.
2209 (RUN_TEST_cc_c): Likewise.
2210 (RUN_TEST_f_i): Likewise.
2211 (RUN_TEST_f_i_tg): Likewise.
2212 (RUN_TEST_ff_i_tg): Likewise.
2213 (RUN_TEST_f_b): Likewise.
2214 (RUN_TEST_f_b_tg): Likewise.
2215 (RUN_TEST_f_l): Likewise.
2216 (RUN_TEST_f_L): Likewise.
2217 (RUN_TEST_fFF_11): Likewise.
2218 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2219 conditionals.
2220 (cosh_test_data): Likewise.
2221 (exp_test_data): Likewise.
2222 (expm1_test_data): Likewise.
2223 (hypot_test_data): Likewise.
2224 (pow_test_data): Likewise.
2225 (sinh_test_data): Likewise.
2226 (tanh_test_data): Likewise.
2227 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2228 flags argument.
2229
ca07f197
JM
2230 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2231 tests with quiet NaN input and output.
2232 (acosh_test_data): Likewise.
2233 (asin_test_data): Likewise.
2234 (asinh_test_data): Likewise.
2235 (atan_test_data): Likewise.
2236 (atanh_test_data): Likewise.
2237 (atan2_test_data): Likewise.
2238 (cbrt_test_data): Likewise.
2239 (cos_test_data): Likewise.
2240 (cosh_test_data): Likewise.
2241 (erf_test_data): Likewise.
2242 (erfc_test_data): Likewise.
2243 (exp_test_data): Likewise.
2244 (exp10_test_data): Likewise.
2245 (exp2_test_data): Likewise.
2246 (expm1_test_data): Likewise.
2247 (hypot_test_data): Likewise.
2248 (j0_test_data): Likewise.
2249 (j1_test_data): Likewise.
2250 (jn_test_data): Likewise.
2251 (lgamma_test_data): Likewise.
2252 (log_test_data): Likewise.
2253 (log10_test_data): Likewise.
2254 (log1p_test_data): Likewise.
2255 (log2_test_data): Likewise.
2256 (pow_test_data): Likewise.
2257 (scalb_test_data): Likewise.
2258 (sin_test_data): Likewise.
2259 (sincos_test_data): Likewise.
2260 (sinh_test_data): Likewise.
2261 (tan_test_data): Likewise.
2262 (tanh_test_data): Likewise.
2263 (tgamma_test_data): Likewise.
2264 (y0_test_data): Likewise.
2265 (y1_test_data): Likewise.
2266 (yn_test_data): Likewise.
2267
66294491
JM
2268 [BZ #16167]
2269 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2270 argument being NaN and avoid computations with second argument in
2271 that case.
2272 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2273 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2274 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2275
1820b143
CL
22762013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2277
2278 * locale/iso-639.def: Add Chitwani Tharu (the).
2279
714bd261
AS
22802013-11-14 Andreas Schwab <schwab@suse.de>
2281
2282 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2283 word instead of empty string.
2284
7ab44563
AZ
22852013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2286
2287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2288 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2290 (__fe_nomask_env): Likewise.
2291
e8470ea2
SE
22922013-11-13 Steve Ellcey <sellcey@mips.com>
2293
2294 * benchtests/bench-timing.h: Include time.h.
2295
17c1d9f0
L
22962013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2297
2298 [BZ #15997]
2299 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2300 to 3.4.0 for x32.
2301 * sysdeps/unix/sysv/linux/configure: Regenerated.
2302
9310c284
JM
23032013-11-13 Joseph Myers <joseph@codesourcery.com>
2304
2305 [BZ #16151]
2306 * stdlib/strtod_l.c (round_and_return): Do not consider
2307 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2308 exponent one less than half the least subnormal exponent.
2309 * stdlib/test-strtod-round-data: Add more tests.
2310 * stdlib/tst-strtod-round.c (tests): Regenerated.
2311
7a2ad8cf
AZ
23122013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2313
2314 [BZ #14143]
2315 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2316 (__fe_mask_env): Likewise.
2317 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2318 libm_hidden_proto and add function prototype.
2319 (__fe_mask_env): Add function prototype.
2320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2321 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2323 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2325 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2326
50727aa7
MS
23272013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2328
b2f386c1 2329 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
2330 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2331
a615be46
MS
23322013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2333
2334 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2335 of htab_find_slot().
2336
7ddace62
DM
23372013-11-11 David S. Miller <davem@davemloft.net>
2338
2339 [BZ #16150]
2340 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2341 symbol in the non-vis3 case in static builds.
2342 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2343 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2344 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2345 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2346
9182aa67
JK
23472013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2348
2349 [BZ #387]
2350 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2351 it is empty.
2352
450a2e2d
AZ
23532013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2354
b2f386c1
SP
2355 * benchtests/Makefile: Add bench-strtod.
2356 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 2357
8ec3f656
AS
23582013-11-11 Andreas Schwab <schwab@suse.de>
2359
2360 [BZ #16153]
2361 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2362 terminating NUL in key length.
2363
76a9b998
AZ
23642013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2365
2366 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2367 Add artificial ODP entry for vDSO symbol for PPC64.
2368 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2369 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2370
e4368156
OB
23712013-11-07 Ondřej Bílka <neleai@seznam.cz>
2372
2373 [BZ #15374]
2374 * nss/getent.c (services_keys): Recognize services starting with digit.
2375
8d6bb57c
DM
23762013-11-06 David S. Miller <davem@davemloft.net>
2377
2378 [BZ #15985]
2379 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2380 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2381
e256c421
WN
23822013-11-06 Will Newton <will.newton@linaro.org>
2383
2384 * manual/memory.texi (Malloc Examples): Remove register
2385 keyword from examples.
2386
f6e12daa 23872013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 2388
f6e12daa 2389 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 2390
9d880655
AS
23912013-11-04 Joseph Myers <joseph@codesourcery.com>
2392
2393 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2394 depending on [__GCC_IEC_559 > 0].
2395 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2396 depending on [__GCC_IEC_559_COMPLEX > 0].
2397
ae129d3c
CL
23982013-11-03 Chris Leonard <cjl@sugarlabs.org>
2399
2400 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2401 to iso-639.def.
2402
4a15c2a4 24032013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
2404
2405 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2406
8b35e35d
OB
24072013-11-01 Ondřej Bílka <neleai@seznam.cz>
2408
2409 [BZ #16112]
2410 * malloc/malloc (malloc_info): Do not handle first bin as
2411 special case.
2412
1d70fd6c
CL
24132013-11-01 Chris Leonard <cjl@sugarlabs.org>
2414
2415 * locale/iso-639.def: Add Central Nahuatl (nhn).
2416
8c5c2600
BH
24172013-11-01 Bruno Haible <bruno@clisp.org>
2418
2419 [BZ #7003]
2420 * manual/math.texi (BSD Random): Specify range upper bound as
2421 in POSIX.
2422
da5579c2
CL
24232013-10-31 Chris Leonard <cjl@sugarlabs.org>
2424
2425 * locale/iso-639.def: Add Meadow Mari (mhr).
2426
5d30d853
OB
24272013-10-31 Ondřej Bílka <neleai@seznam.cz>
2428
2429 [BZ #14752], [BZ #15763]
2430 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2431 Validate name.
2432 * rt/tst_shm.c: Add test for escaping directory.
2433
a4966c61
AS
24342013-10-31 Andreas Schwab <schwab@suse.de>
2435
8a43e768 2436 [BZ #15917]
a4966c61
AS
2437 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2438 followed by 'x' as part of digit sequence.
2439 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2440
28d708c4
MAP
24412013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2442
2443 [BZ #16037]
2444 * configure.ac: allow GNU Make 4.0 and greater.
2445 * configure: Regenerated.
2446
a56ee40b
WN
24472013-10-30 Will Newton <will.newton@linaro.org>
2448
2449 [BZ #16038]
2450 * malloc/hooks.c (memalign_check): Limit alignment to the
2451 maximum representable power of two.
2452 * malloc/malloc.c (__libc_memalign): Likewise.
2453 * malloc/tst-memalign.c (do_test): Add test for very
2454 large alignment values.
2455 * malloc/tst-posix_memalign.c (do_test): Likewise.
2456
c6e4925d
OB
24572013-10-30 Ondřej Bílka <neleai@seznam.cz>
2458
2459 [BZ #11087]
2460 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2461 (munmap_chunk): Likewise.
2462 (mremap_chunk): Likewise.
2463
24642013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 2465
8a43e768 2466 [BZ #15799]
bbea82f7
OB
2467 * stdlib/div.c (div): Remove obsolete code.
2468 * stdlib/ldiv.c (ldiv): Likewise.
2469 * stdlib/lldiv.c (lldiv): Likewise.
2470
977f4b31
SP
24712013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2472
2473 [BZ #16071]
2474 * nss/nss_files/files-XXX.c (get_contents_ret): New
2475 enumerator.
2476 (get_contents): New function.
2477 (internal_getent): Use it. Expand size of LINEBUFLEN.
2478
cb8a6dbd
MF
24792013-10-30 Mike Frysinger <vapier@gentoo.org>
2480
2481 * configure.in: Moved to ...
2482 * configure.ac: ... here. Change reference to configure.in
2483 to configure.ac.
2484 * sysdeps/arm/preconfigure.ac: ... here.
2485 configure.in to configure.ac.
2486 * sysdeps/gnu/configure.in: Moved to ...
2487 * sysdeps/gnu/configure.ac: ... here.
2488 * sysdeps/i386/configure.in: Moved to ...
2489 * sysdeps/i386/configure.ac: ... here.
2490 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2491 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2492 * sysdeps/mach/configure.in: Moved to ...
2493 * sysdeps/mach/configure.ac: ... here.
2494 * sysdeps/mach/hurd/configure.in: Moved to ...
2495 * sysdeps/mach/hurd/configure.ac: ... here.
2496 * sysdeps/powerpc/configure.in: Moved to ...
2497 * sysdeps/powerpc/configure.ac: ... here.
2498 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2499 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2500 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2501 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2502 * sysdeps/s390/s390-32/configure.in: Moved to ...
2503 * sysdeps/s390/s390-32/configure.ac: ... here.
2504 * sysdeps/s390/s390-64/configure.in: Moved to ...
2505 * sysdeps/s390/s390-64/configure.ac: ... here.
2506 * sysdeps/sh/configure.in: Moved to ...
2507 * sysdeps/sh/configure.ac: ... here.
2508 * sysdeps/sparc/configure.in: Moved to ...
2509 * sysdeps/sparc/configure.ac: ... here.
2510 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2511 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2512 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2513 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2514 * sysdeps/x86_64/configure.in: Moved to ...
2515 * sysdeps/x86_64/configure.ac: ... here.
2516 * sysdeps/x86_64/preconfigure.in: Moved to ...
2517 * sysdeps/x86_64/preconfigure.ac: ... here.
2518 * aclocal.m4: Change reference to configure.in to configure.ac.
2519 * config.h.in: Likewise.
2520 * manual/install.texi: Likewise.
2521 * manual/maint.texi: Likewise.
2522 * Makefile: Likewise.
2523 * malloc/Makefile: Likewise.
2524 * nscd/Makefile: Likewise.
2525 * Makeconfig: Change reference to configure.in and
2526 preconfigure.in to configure.ac and preconfigure.ac
2527 respectively.
2528 * INSTALL: Regenerated.
2529 * configure: Likewise.
2530 * sysdeps/gnu/configure: Likewise.
2531 * sysdeps/i386/configure: Likewise.
2532 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2533 * sysdeps/mach/configure: Likewise.
2534 * sysdeps/mach/hurd/configure: Likewise.
2535 * sysdeps/powerpc/configure: Likewise.
2536 * sysdeps/powerpc/powerpc32/configure: Likewise.
2537 * sysdeps/powerpc/powerpc64/configure: Likewise.
2538 * sysdeps/s390/s390-32/configure: Likewise.
2539 * sysdeps/s390/s390-64/configure: Likewise.
2540 * sysdeps/sh/configure: Likewise.
2541 * sysdeps/sparc/configure: Likewise.
2542 * sysdeps/unix/sysv/linux/configure: Likewise.
2543 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2544 * sysdeps/x86_64/configure: Likewise.
2545 * sysdeps/x86_64/preconfigure: Likewise.
2546
36a4953a
AS
25472013-10-29 Andreas Schwab <schwab@suse.de>
2548
2549 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2550
c79a1204
SP
25512013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2552
dfa1b402
SP
2553 * benchtests/pow-inputs: Add new inputs.
2554
54f73d9c
SP
2555 * benchtests/exp-inputs: Add new inputs.
2556
c79a1204
SP
2557 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2558 conditional check for return value.
2559 (__cos32): Likewise.
2560
67beb545 25612013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
2562
2563 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2564 to provide a boost for large inputs with word alignment.
2565 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2566 implementation based on optimized PPC64 strcpy.
2567 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2568 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2569 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2570 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2571
151659f6
OB
25722013-10-25 Ondřej Bílka <neleai@seznam.cz>
2573
482a077e 2574 [BZ #2801]
151659f6
OB
2575 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2576
10b0f26b
OB
25772013-10-25 Ondřej Bílka <neleai@seznam.cz>
2578
2579 [BZ #14876]
2580 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2581 * time/tst-strptime.c (day_tests): Add testcase.
2582
ca42d35e
OB
25832013-10-25 Ondřej Bílka <neleai@seznam.cz>
2584
482a077e 2585 [BZ #14029]
ca42d35e
OB
2586 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2587
52e6d801
FB
25882013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2589
2590 [BZ #16074]
2591 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2592 MAP_FAILED on error.
2593
7cbcdb36
SP
25942013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2595
2596 [BZ #16072]
2597 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2598 heap for large requests.
2599
894f3f10
AM
26002013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2601
2602 [BZ #9954]
2603 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2604 result if the result has no associated interface.
2605 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2606 interface for all 127.X.Y.Z addresses.
2607
b85545a6
CL
26082013-10-24 Chris Leonard <cjl@sugarlabs.org>
2609
2610 * locale/iso-639.def: Add Ligurian (lij)
2611
d1f23d46
OB
26122013-10-21 Ondřej Bílka <neleai@seznam.cz>
2613
2614 [BZ #15825]
2615 * sunrpc/rpc_main.c: Document rpcgen -5.
2616
4db5b08f
MS
26172013-10-19 Michael Stahl <mstahl@redhat.com>
2618
2619 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2620
a471e96a
OB
26212013-10-19 Ondřej Bílka <neleai@seznam.cz>
2622
d1f23d46 2623 [BZ #10278]
a471e96a
OB
2624 * posix/glob.c: Match only directories when trailing slash is present.
2625 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2626 (main): Add testcase.
2627
45c30c61
OB
26282013-10-19 Ondřej Bílka <neleai@seznam.cz>
2629
2630 [BZ #15670]
2631 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2632
484c12fb
CD
26332013-10-18 Carlos O'Donell <carlos@redhat.com>
2634
3d7dc513
CD
2635 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2636 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2637 AUTH_DES and cindex for FIPS 140-2.
2638 (DES Encryption): Add cindex FIPS 46-3.
2639
484c12fb
CD
2640 * locale/locarchive.h (struct locarhandle): Add fname.
2641 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2642 if an optional argument was specified to --list-archive,
2643 otherwise NULL.
2644 * locale/programs/locarchive.c (show_archive_content): Take new
2645 argument fname and pass it via ah.fname to open_archive.
2646 * locale/programs/localedef.h: Update decl.
2647 (open_archive): If AH->fname is non-null, open that file
2648 rather than the default file name, and don't ignore ENOENT.
2649 (create_archive): Set AH.fname to NULL.
2650 (delete_locales_from_archive): Likewise.
2651 (add_locales_to_archive): Likewise.
2652 * locale/programs/locfile.c (write_all_categories): Likewise.
2653
3c8325fb
JM
26542013-10-18 Joseph Myers <joseph@codesourcery.com>
2655 Aldy Hernandez <aldyh@redhat.com>
2656
2657 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2658 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2659 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2660 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2661 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2662 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2663 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2664 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2665 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2666 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2667 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2668 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2669 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2670 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2671 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2672 Likewise.
2673 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2674 Likewise.
2675 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2676 Likewise.
2677 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2678 Likewise.
2679 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2680 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2681 Likewise.
2682 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2683 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2684 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2685 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2686 Likewise.
2687 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2688 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2689 * sysdeps/powerpc/preconfigure: Likewise.
2690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2691 Likewise.
2692 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2693 Replace contents of file by #include of <fenv_libc.h>.
2694 * sysdeps/powerpc/soft-fp/sfp-machine.h
2695 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2696 and <sys/prctl.h>.
2697 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2698 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2699 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2700 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2701 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2702 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2703 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2704 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2705 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2706 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2707 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2708 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2710 Allow copysignl PLT reference to be missing.
2711
5abe0682
RS
27122013-10-18 Richard Sandiford <richard@codesourcery.com>
2713 Joseph Myers <joseph@codesourcery.com
2714
2715 [BZ #15948]
2716 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2717 single character.
2718 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2719
c7738d08
SP
27202013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2721
2722 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2723 * elf/tst-tls1.c: Likewise.
2724 * elf/tst-tls10.h: Likewise.
2725 * elf/tst-tls14.c: Likewise.
2726 * elf/tst-tls2.c: Likewise.
2727 * elf/tst-tls3.c: Likewise.
2728 * elf/tst-tls4.c: Likewise.
2729 * elf/tst-tls5.c: Likewise.
2730 * elf/tst-tls6.c: Likewise.
2731 * elf/tst-tls7.c: Likewise.
2732 * elf/tst-tls8.c: Likewise.
2733 * elf/tst-tls9.c: Likewise.
2734 * elf/tst-tlsmod1.c: Likewise.
2735 * elf/tst-tlsmod13.c: Likewise.
2736 * elf/tst-tlsmod13a.c: Likewise.
2737 * elf/tst-tlsmod14a.c: Likewise.
2738 * elf/tst-tlsmod16a.c: Likewise.
2739 * elf/tst-tlsmod16b.c: Likewise.
2740 * elf/tst-tlsmod2.c: Likewise.
2741 * elf/tst-tlsmod3.c: Likewise.
2742 * elf/tst-tlsmod4.c: Likewise.
2743 * elf/tst-tlsmod5.c: Likewise.
2744 * elf/tst-tlsmod6.c: Likewise.
2745
0bfcf2c7
OB
27462013-10-18 Ondřej Bílka <neleai@seznam.cz>
2747
2748 [BZ #12486]
2749 * malloc/malloc.c: remove checks for statistics.
2750
264aad1e
OB
27512013-10-17 Ondřej Bílka <neleai@seznam.cz>
2752
2753 [BZ #15277]
2754 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2755 * inet/tst-network.c: Add testcase.
2756
b957ced8
AS
27572013-10-17 Andreas Schwab <schwab@suse.de>
2758
2759 [BZ #15218]
2760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2761 to determine canonical name.
2762
c5d5d574
OB
27632013-10-17 Ondřej Bílka <neleai@seznam.cz>
2764
2765 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2766 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2767 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2768 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2769 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2770 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2771 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2772 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2773 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2774 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2775 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2776 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2777 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2778 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2779 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2780 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2781 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2782 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2783 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2784 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2785 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2786 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2787 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2788 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2789 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2790 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2791 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2792 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2793 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2794 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2795 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2796 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2797 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2798 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2799 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2800 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2801 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2802 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2803 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2804 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2805 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2806 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2807 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2808 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2809 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2810 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2811 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2812 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2813 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2814 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2815 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2816 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2817 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2818 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2819 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2820 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2821 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2822 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2823
e5c2c2d0
JM
28242013-10-17 Joseph Myers <joseph@codesourcery.com>
2825
2826 [BZ #16041]
2827 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2828 make result into a quiet NaN.
2829
51ca9e29
JM
28302013-10-16 Joseph Myers <joseph@codesourcery.com>
2831
2832 * soft-fp/adddf3.c: Fix horizontal whitespace.
2833 * soft-fp/addsf3.c: Likewise.
2834 * soft-fp/addtf3.c: Likewise.
2835 * soft-fp/divdf3.c: Likewise.
2836 * soft-fp/divsf3.c: Likewise.
2837 * soft-fp/divtf3.c: Likewise.
2838 * soft-fp/double.h: Likewise.
2839 * soft-fp/eqdf2.c: Likewise.
2840 * soft-fp/eqsf2.c: Likewise.
2841 * soft-fp/eqtf2.c: Likewise.
2842 * soft-fp/extenddftf2.c: Likewise.
2843 * soft-fp/extended.h: Likewise.
2844 * soft-fp/extendsfdf2.c: Likewise.
2845 * soft-fp/extendsftf2.c: Likewise.
2846 * soft-fp/extendxftf2.c: Likewise.
2847 * soft-fp/fixdfdi.c: Likewise.
2848 * soft-fp/fixdfsi.c: Likewise.
2849 * soft-fp/fixdfti.c: Likewise.
2850 * soft-fp/fixsfdi.c: Likewise.
2851 * soft-fp/fixsfsi.c: Likewise.
2852 * soft-fp/fixsfti.c: Likewise.
2853 * soft-fp/fixtfdi.c: Likewise.
2854 * soft-fp/fixtfsi.c: Likewise.
2855 * soft-fp/fixtfti.c: Likewise.
2856 * soft-fp/fixunsdfdi.c: Likewise.
2857 * soft-fp/fixunsdfsi.c: Likewise.
2858 * soft-fp/fixunsdfti.c: Likewise.
2859 * soft-fp/fixunssfdi.c: Likewise.
2860 * soft-fp/fixunssfsi.c: Likewise.
2861 * soft-fp/fixunssfti.c: Likewise.
2862 * soft-fp/fixunstfdi.c: Likewise.
2863 * soft-fp/fixunstfsi.c: Likewise.
2864 * soft-fp/fixunstfti.c: Likewise.
2865 * soft-fp/floatdidf.c: Likewise.
2866 * soft-fp/floatdisf.c: Likewise.
2867 * soft-fp/floatditf.c: Likewise.
2868 * soft-fp/floatsidf.c: Likewise.
2869 * soft-fp/floatsisf.c: Likewise.
2870 * soft-fp/floatsitf.c: Likewise.
2871 * soft-fp/floattidf.c: Likewise.
2872 * soft-fp/floattisf.c: Likewise.
2873 * soft-fp/floattitf.c: Likewise.
2874 * soft-fp/floatundidf.c: Likewise.
2875 * soft-fp/floatundisf.c: Likewise.
2876 * soft-fp/floatunditf.c: Likewise.
2877 * soft-fp/floatunsidf.c: Likewise.
2878 * soft-fp/floatunsisf.c: Likewise.
2879 * soft-fp/floatunsitf.c: Likewise.
2880 * soft-fp/floatuntidf.c: Likewise.
2881 * soft-fp/floatuntisf.c: Likewise.
2882 * soft-fp/floatuntitf.c: Likewise.
2883 * soft-fp/fmadf4.c: Likewise.
2884 * soft-fp/fmasf4.c: Likewise.
2885 * soft-fp/fmatf4.c: Likewise.
2886 * soft-fp/gedf2.c: Likewise.
2887 * soft-fp/gesf2.c: Likewise.
2888 * soft-fp/getf2.c: Likewise.
2889 * soft-fp/ledf2.c: Likewise.
2890 * soft-fp/lesf2.c: Likewise.
2891 * soft-fp/letf2.c: Likewise.
2892 * soft-fp/muldf3.c: Likewise.
2893 * soft-fp/mulsf3.c: Likewise.
2894 * soft-fp/multf3.c: Likewise.
2895 * soft-fp/negdf2.c: Likewise.
2896 * soft-fp/negsf2.c: Likewise.
2897 * soft-fp/negtf2.c: Likewise.
2898 * soft-fp/op-1.h: Likewise.
2899 * soft-fp/op-2.h: Likewise.
2900 * soft-fp/op-4.h: Likewise.
2901 * soft-fp/op-8.h: Likewise.
2902 * soft-fp/op-common.h: Likewise.
2903 * soft-fp/quad.h: Likewise.
2904 * soft-fp/single.h: Likewise.
2905 * soft-fp/soft-fp.h: Likewise.
2906 * soft-fp/sqrtdf2.c: Likewise.
2907 * soft-fp/sqrtsf2.c: Likewise.
2908 * soft-fp/sqrttf2.c: Likewise.
2909 * soft-fp/subdf3.c: Likewise.
2910 * soft-fp/subsf3.c: Likewise.
2911 * soft-fp/subtf3.c: Likewise.
2912 * soft-fp/truncdfsf2.c: Likewise.
2913 * soft-fp/trunctfdf2.c: Likewise.
2914 * soft-fp/trunctfsf2.c: Likewise.
2915 * soft-fp/trunctfxf2.c: Likewise.
2916 * soft-fp/unorddf2.c: Likewise.
2917 * soft-fp/unordsf2.c: Likewise.
2918 * soft-fp/unordtf2.c: Likewise.
2919
9ebb0332
JM
29202013-10-15 Joseph Myers <joseph@codesourcery.com>
2921
2922 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2923 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2924
4b1a6d8b
OB
29252013-10-15 Ondřej Bílka <neleai@seznam.cz>
2926
2927 * elf/dl-libc.c: Clear initfini list after freeing.
2928
1e145589
JM
29292013-10-14 Joseph Myers <joseph@codesourcery.com>
2930
2931 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2932 * soft-fp/addsf3.c: Likewise.
2933 * soft-fp/addtf3.c: Likewise.
2934 * soft-fp/divdf3.c: Likewise.
2935 * soft-fp/divsf3.c: Likewise.
2936 * soft-fp/divtf3.c: Likewise.
2937 * soft-fp/double.h: Likewise.
2938 * soft-fp/eqdf2.c: Likewise.
2939 * soft-fp/eqsf2.c: Likewise.
2940 * soft-fp/eqtf2.c: Likewise.
2941 * soft-fp/extenddftf2.c: Likewise.
2942 * soft-fp/extended.h: Likewise.
2943 * soft-fp/extendsfdf2.c: Likewise.
2944 * soft-fp/extendsftf2.c: Likewise.
2945 * soft-fp/extendxftf2.c: Likewise.
2946 * soft-fp/fixdfdi.c: Likewise.
2947 * soft-fp/fixdfsi.c: Likewise.
2948 * soft-fp/fixdfti.c: Likewise.
2949 * soft-fp/fixsfdi.c: Likewise.
2950 * soft-fp/fixsfsi.c: Likewise.
2951 * soft-fp/fixsfti.c: Likewise.
2952 * soft-fp/fixtfdi.c: Likewise.
2953 * soft-fp/fixtfsi.c: Likewise.
2954 * soft-fp/fixtfti.c: Likewise.
2955 * soft-fp/fixunsdfdi.c: Likewise.
2956 * soft-fp/fixunsdfsi.c: Likewise.
2957 * soft-fp/fixunsdfti.c: Likewise.
2958 * soft-fp/fixunssfdi.c: Likewise.
2959 * soft-fp/fixunssfsi.c: Likewise.
2960 * soft-fp/fixunssfti.c: Likewise.
2961 * soft-fp/fixunstfdi.c: Likewise.
2962 * soft-fp/fixunstfsi.c: Likewise.
2963 * soft-fp/fixunstfti.c: Likewise.
2964 * soft-fp/floatdidf.c: Likewise.
2965 * soft-fp/floatdisf.c: Likewise.
2966 * soft-fp/floatditf.c: Likewise.
2967 * soft-fp/floatsidf.c: Likewise.
2968 * soft-fp/floatsisf.c: Likewise.
2969 * soft-fp/floatsitf.c: Likewise.
2970 * soft-fp/floattidf.c: Likewise.
2971 * soft-fp/floattisf.c: Likewise.
2972 * soft-fp/floattitf.c: Likewise.
2973 * soft-fp/floatundidf.c: Likewise.
2974 * soft-fp/floatundisf.c: Likewise.
2975 * soft-fp/floatunsidf.c: Likewise.
2976 * soft-fp/floatunsisf.c: Likewise.
2977 * soft-fp/floatuntidf.c: Likewise.
2978 * soft-fp/floatuntisf.c: Likewise.
2979 * soft-fp/floatuntitf.c: Likewise.
2980 * soft-fp/fmadf4.c: Likewise.
2981 * soft-fp/fmasf4.c: Likewise.
2982 * soft-fp/fmatf4.c: Likewise.
2983 * soft-fp/gedf2.c: Likewise.
2984 * soft-fp/gesf2.c: Likewise.
2985 * soft-fp/getf2.c: Likewise.
2986 * soft-fp/ledf2.c: Likewise.
2987 * soft-fp/lesf2.c: Likewise.
2988 * soft-fp/letf2.c: Likewise.
2989 * soft-fp/muldf3.c: Likewise.
2990 * soft-fp/mulsf3.c: Likewise.
2991 * soft-fp/multf3.c: Likewise.
2992 * soft-fp/negdf2.c: Likewise.
2993 * soft-fp/negsf2.c: Likewise.
2994 * soft-fp/negtf2.c: Likewise.
2995 * soft-fp/op-1.h: Likewise.
2996 * soft-fp/op-2.h: Likewise.
2997 * soft-fp/op-4.h: Likewise.
2998 * soft-fp/op-8.h: Likewise.
2999 * soft-fp/op-common.h: Likewise.
3000 * soft-fp/quad.h: Likewise.
3001 * soft-fp/single.h: Likewise.
3002 * soft-fp/soft-fp.h: Likewise.
3003 * soft-fp/sqrtdf2.c: Likewise.
3004 * soft-fp/sqrtsf2.c: Likewise.
3005 * soft-fp/sqrttf2.c: Likewise.
3006 * soft-fp/subdf3.c: Likewise.
3007 * soft-fp/subsf3.c: Likewise.
3008 * soft-fp/subtf3.c: Likewise.
3009 * soft-fp/truncdfsf2.c: Likewise.
3010 * soft-fp/trunctfdf2.c: Likewise.
3011 * soft-fp/trunctfsf2.c: Likewise.
3012 * soft-fp/trunctfxf2.c: Likewise.
3013 * soft-fp/unorddf2.c: Likewise.
3014 * soft-fp/unordsf2.c: Likewise.
3015 * soft-fp/unordtf2.c: Likewise.
3016
17c48a60
OB
30172013-10-14 Ondřej Bílka <neleai@seznam.cz>
3018
3019 [BZ #15672]
3020 * misc/error.c (error_tail): Fix possible buffer overflow.
3021
cabba934
OB
30222013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3023
3024 [BZ #13028]
3025 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3026 address.
3027
94bf958a
PM
30282013-10-14 P. J. McDermott <pj@pehjota.net>
3029
3030 [BZ #832]
3031 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3032 testing pipefail option.
3033
71b4dea7
JM
30342013-10-12 Joseph Myers <joseph@codesourcery.com>
3035
3036 * soft-fp/double.h: Indent preprocessor directives inside #if.
3037 * soft-fp/extended.h: Likewise.
3038 * soft-fp/op-2.h: Likewise.
3039 * soft-fp/op-4.h: Likewise.
3040 * soft-fp/op-common.h: Likewise.
3041 * soft-fp/quad.h: Likewise.
3042 * soft-fp/single.h: Likewise.
3043 * soft-fp/soft-fp.h: Likewise.
3044
55602758
YC
30452013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3046
3047 * iconv/iconv_prog.c: Fix typos.
3048 * stdio-common/psiginfo-data.h: Likewise.
3049
9cd83302
RT
30502013-10-12 Reuben Thomas <rrt@sc3d.org>
3051
3052 [BZ #15764]
3053 * locale/setlocale.c: Fix typo.
3054
99fd9f47
JM
30552013-10-12 Joseph Myers <joseph@codesourcery.com>
3056
b7ea74f0
JM
3057 [BZ #16036]
3058 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3059 signaling NaN arguments.
3060 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3061 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3062
8a509447
JM
3063 [BZ #14910]
3064 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3065 unordered operands.
3066 * soft-fp/gesf2.c (__gesf2): Likewise.
3067 * soft-fp/getf2.c (__getf2): Likewise.
3068 * soft-fp/ledf2.c (__ledf2): Likewise.
3069 * soft-fp/lesf2.c (__lesf2): Likewise.
3070 * soft-fp/letf2.c (__letf2): Likewise.
3071
98998e9f
JM
3072 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3073 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3074 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3075 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3076 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3077 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3078 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3079 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3080 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3081 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3082 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3083 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3084 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3085 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3086 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3087 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3088 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3089 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3090 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3091 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3092 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3093 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3094 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3095 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3096 * soft-fp/floattidf.c (__floattidf): Likewise.
3097 * soft-fp/floattisf.c (__floattisf): Likewise.
3098 * soft-fp/floattitf.c (__floattitf): Likewise.
3099 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3100 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3101 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3102 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3103 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3104 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3105 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3106 * soft-fp/gesf2.c (__gesf2): Likewise.
3107 * soft-fp/getf2.c (__getf2): Likewise.
3108 * soft-fp/ledf2.c (__ledf2): Likewise.
3109 * soft-fp/lesf2.c (__lesf2): Likewise.
3110 * soft-fp/letf2.c (__letf2): Likewise.
3111
8edc4a11
JM
3112 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3113 Undefine and redefine.
3114 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3115 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3116 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3117 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3118 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3119 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3120 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3121 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3122 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3123 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3124 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3125 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3126 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3127 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3128 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3129
8399acaf
JM
3130 [BZ #16032]
3131 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3132 without decrementing exponent if mantissa >= that for the
3133 denominator, not >.
3134 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3135 denominator, not >. Decrement exponent in < case instead of
3136 incrementing in >= case.
3137 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3138 without decrementing exponent if mantissa >= that for the
3139 denominator, not >.
3140
99fd9f47
JM
3141 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3142 computing saturated result for unsigned overflow.
3143
10e1cf6b
SP
31442013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3145 Jeff Law <law@redhat.com>
3146
3147 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3148 (atan2Mp): Add systemtap probe marker.
3149 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3150 (__ieee754_log): Add systemtap probe marker.
3151 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3152 (atanMp): Add systemtap probe marker.
3153 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3154 (tanMp): Add systemtap probe marker.
3155 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3156 (__slowexp): Add systemtap probe marker.
3157 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3158 (__slowpow): Add systemtap probe marker.
3159 * manual/probes.texi: Document probes.
3160
3d110c7c
EB
31612013-10-11 Eric Biggers <ebiggers3@gmail.com>
3162
3163 [BZ #15362]
3164 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3165 written.
3166 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3167 written.
3168 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3169 written to buffer but not flushed.
3170 * libio/iofwrite_u.c: Likewise.
3171 * libio/iopadn.c: Return bytes returned even if EOF was
3172 encountered.
3173 * libio/iowpadn.c: Likewise.
3174 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3175 if _IO_padn does not write the whole buffer.
3176 [!COMPILE_WPRINTF] (PAD): Likewise.
3177
75b4202a
DM
31782013-10-10 David S. Miller <davem@davemloft.net>
3179
3180 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3181 directory block.
3182
6c6352e6
JM
31832013-10-10 Joseph Myers <joseph@codesourcery.com>
3184
33b853c3
JM
3185 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3186 instead of FSF address.
3187 * soft-fp/fixdfti.c: Likewise.
3188 * soft-fp/fixsfti.c: Likewise.
3189 * soft-fp/fixtfti.c: Likewise.
3190 * soft-fp/fixunsdfti.c: Likewise.
3191 * soft-fp/fixunssfti.c: Likewise.
3192 * soft-fp/fixunstfti.c: Likewise.
3193 * soft-fp/floattidf.c: Likewise.
3194 * soft-fp/floattisf.c: Likewise.
3195 * soft-fp/floattitf.c: Likewise.
3196 * soft-fp/floatuntidf.c: Likewise.
3197 * soft-fp/floatuntisf.c: Likewise.
3198 * soft-fp/floatuntitf.c: Likewise.
3199 * soft-fp/trunctfxf2.c: Likewise.
3200
6c6352e6
JM
3201 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3202 * soft-fp/fixdfti.c: Likewise.
3203 * soft-fp/fixsfti.c: Likewise.
3204 * soft-fp/fixtfti.c: Likewise.
3205 * soft-fp/fixunsdfti.c: Likewise.
3206 * soft-fp/fixunssfti.c: Likewise.
3207 * soft-fp/fixunstfti.c: Likewise.
3208 * soft-fp/floattidf.c: Likewise.
3209 * soft-fp/floattisf.c: Likewise.
3210 * soft-fp/floattitf.c: Likewise.
3211 * soft-fp/floatuntidf.c: Likewise.
3212 * soft-fp/floatuntisf.c: Likewise.
3213 * soft-fp/floatuntitf.c: Likewise.
3214 * soft-fp/trunctfxf2.c: Likewise.
3215
3bf78b71
DM
32162013-10-10 David S. Miller <davem@davemloft.net>
3217
3218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3219
6f10289e
JM
32202013-10-10 Joseph Myers <joseph@codsourcery.com>
3221
bd878fc0
JM
3222 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3223 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3224 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3225 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3226 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3227 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3228 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3229
6f10289e
JM
3230 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3231 for NaNs before doing comparisons on argument.
3232 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3233 Likewise.
3234
321e2684
WN
32352013-10-10 Will Newton <will.newton@linaro.org>
3236
3237 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3238 passed to _int_memalign does not overflow.
3239
40fefba1
TR
32402013-10-10 Torvald Riegel <triegel@redhat.com>
3241
3242 * scripts/bench.pl: Add include-sources directive.
3243 * benchtests/README: Update documentation.
3244
2ae21ed2
JM
32452013-10-10 Joseph Myers <joseph@codesourcery.com>
3246
dcc2dd3f
JM
3247 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3248 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3249 instead of FP_INIT_ROUNDMODE.
3250 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3251 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3252
2ae21ed2
JM
3253 [BZ #16034]
3254 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3255 copy class of input value.
3256 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3257 not handle exceptions.
3258 * soft-fp/negsf2.c (__negsf2): Likewise.
3259 * soft-fp/negtf2.c (__negtf2): Likewise.
3260 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3261
cb8f9562
JM
32622013-10-09 Joseph Myers <joseph@codesourcery.com>
3263
3264 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3265 semicolon. From Linux kernel.
3266
5b60c59d
AB
32672013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3268
3269 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3270
b86835ca
YC
32712013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3272
3273 [BZ #156]
3274 * manual/socket.texi: Added statement about buffer
3275 for gethostbyname2_r.
3276
e7044ea7
OB
32772013-10-08 Ondřej Bílka <neleai@seznam.cz>
3278
3279 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3280 Use .p2align directive instead, throughout.
3281 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3282 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3283 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3284 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3285 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3286 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3287 * sysdeps/x86_64/strchr.S: Likewise.
3288 * sysdeps/x86_64/strrchr.S: Likewise.
3289
09544cbc
SP
32902013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3291
88576635
SP
3292 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3293
e7b2d1dd
SP
3294 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3295
09544cbc
SP
3296 * sysdeps/generic/math_private.h (__mpsin1): Remove
3297 declaration.
3298 (__mpcos1): Likewise.
3299 (__mpsin): New argument __range_reduce.
3300 (__mpcos): Likewise.
3301 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3302 (slow): Use __mpsin and __mpcos.
3303 (slow1): Likewise.
3304 (slow2): Likewise.
3305 (sloww): Likewise.
3306 (sloww1): Likewise.
3307 (sloww2): Likewise.
3308 (bsloww): Likewise.
3309 (bsloww1): Likewise.
3310 (bsloww2): Likewise.
3311 (cslow2): Likewise.
3312 (csloww): Likewise.
3313 (csloww1): Likewise.
3314 (csloww2): Likewise.
3315 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3316 range_reduce. Merge in __mpsin1.
3317 (__mpcos): Likewise.
3318 (__mpsin1): Remove.
3319 (__mpcos1): Likewise.
3320
7602d070
JM
33212013-10-07 Joseph Myers <joseph@codesourcery.com>
3322
3323 * locale/loadlocale.c (_nl_intern_locale_data): Use
3324 LOCFILE_ALIGNED_P.
3325 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3326 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3327 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3328 obstack data is appropriately aligned.
3329 (obstack_int32_grow_fast): Likewise.
3330 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3331 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3332 (add_locale_uint32_array): Likewise.
3333
a357259b
SP
33342013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3335
3336 * benchtests/Makefile: Remove ARGLIST and RET variables.
3337 ($(objpfx)bench-%.c): Pass only function name to the script.
3338 * benchtests/README: Update documentation.
3339 * benchtests/acos-inputs: Add new directives.
3340 * benchtests/acosh-inputs: Likewise.
3341 * benchtests/asin-inputs: Likewise.
3342 * benchtests/asinh-inputs: Likewise.
3343 * benchtests/atan-inputs: Likewise.
3344 * benchtests/atanh-inputs: Likewise.
3345 * benchtests/cos-inputs: Likewise.
3346 * benchtests/cosh-inputs: Likewise.
3347 * benchtests/exp-inputs: Likewise.
3348 * benchtests/log-inputs: Likewise.
3349 * benchtests/pow-inputs: Likewise.
3350 * benchtests/rint-inputs: Likewise.
3351 * benchtests/sin-inputs: Likewise.
3352 * benchtests/sinh-inputs: Likewise.
3353 * benchtests/tan-inputs: Likewise.
3354 * benchtests/tanh-inputs: Likewise.
3355 * scripts/bench.pl: Add support for new directives.
3356
9ec1b13d
AM
33572013-10-07 Alan Modra <amodra@gmail.com>
3358
3359 * README: Fix careless merge.
3360
8b7d57cd
AM
33612013-10-05 Alan Modra <amodra@gmail.com>
3362
3363 * NEWS: Mention powerpc64le support and bugs fixed.
3364 * README: Both big-endian and little-endian powerpc64 supported.
3365
7b7bab13
ST
33662013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3367
3368 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3369 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3370 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3371 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3372
d39baad1
RA
33732013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3374
3375 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3376 match prototype.
3377
cd78f7e7
JM
33782013-10-04 Joseph Myers <joseph@codesourcery.com>
3379
29d73d86
JM
3380 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3381 Move -mhard-float appending from
3382 ports/sysdeps/powerpc/powerpc32/Makefile.
3383 [$(with-fp) = yes] (ASFLAGS): Likewise.
3384 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3385 * sysdeps/powerpc/nofpu: Move directory from
3386 ports/sysdeps/powerpc/nofpu.
3387 * sysdeps/powerpc/soft-fp: Move directory from
3388 ports/sysdeps/powerpc/soft-fp.
3389 * sysdeps/powerpc/powerpc32/405: Move directory from
3390 ports/sysdeps/powerpc/powerpc32/405.
3391 * sysdeps/powerpc/powerpc32/440: Move directory from
3392 ports/sysdeps/powerpc/powerpc32/440.
3393 * sysdeps/powerpc/powerpc32/464: Move directory from
3394 ports/sysdeps/powerpc/powerpc32/464.
3395 * sysdeps/powerpc/powerpc32/476: Move directory from
3396 ports/sysdeps/powerpc/powerpc32/476.
3397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3398 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3400 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3402 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3404 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3406 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3407 * README: Update for powerpc-*-linux-gnu software floating point
3408 support in libc.
3409
e246b347
JM
3410 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3411 case to powerpc/powerpc32*.
3412 * sysdeps/unix/sysv/linux/configure: Regenerated.
3413
89c2003e
JM
3414 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3415 (_FPU_MASK_OM): Define as 0x04.
3416 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3417 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3418 0x00c10080.
3419 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3420 0x0000003c.
3421 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3422
cd78f7e7
JM
3423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3424 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3425 getcontext_e500.
3426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3427 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3428 setcontext_e500.
3429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3430 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3431 and setcontext_e500.
3432
c755294d
CL
34332013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3434
3435 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3436
e16d221c
SP
34372013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3438
3439 * manual/threads.texi (Default Thread Attributes): Fix typo.
3440
215c7d43
WN
34412013-10-04 Will Newton <will.newton@linaro.org>
3442
3443 * malloc/Makefile: Add tst-memalign.
3444 * malloc/tst-memalign.c: New file.
3445
27d0461b
WN
3446 * malloc/tst-posix_memalign.c: Add comments.
3447 (do_test): Add comments and call free on all potentially
3448 allocated pointers. Add space after cast.
3449
1bc92709
WN
3450 * malloc/tst-pvalloc.c: Add comments.
3451 (do_test): Add comments and call free on all potentially
3452 allocated pointers. Remove duplicate check for NULL pointer.
3453 Add space after cast.
3454
66a9be9d
WN
3455 * malloc/tst-valloc.c: Add comments.
3456 (do_test): Add comments and call free on all potentially
3457 allocated pointers. Remove duplicate check for NULL pointer.
3458 Add space after cast.
3459
4cb81307
AM
34602013-10-04 Alan Modra <amodra@gmail.com>
3461
3462 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3463 Use stdint types in rather than __attribute__((mode())).
3464 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3465
f8e3e9f3
AM
34662013-10-04 Alan Modra <amodra@gmail.com>
3467
3468 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3469 Correct handling of unaligned relocs for little-endian.
3470 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3471
8f9ebb08
AM
34722013-10-04 Alan Modra <amodra@gmail.com>
3473
3474 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3475 * configure: Regenerate.
3476 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3477 * shlib-versions: Likewise.
3478
0edf96c2
AM
34792013-10-04 Alan Modra <amodra@gmail.com>
3480
3481 * string/tester.c (test_memrchr): Increment reported test cycle.
3482
e0f7a380
AM
34832013-10-04 Alan Modra <amodra@gmail.com>
3484
3485 * string/test-memcpy.c (do_one_test): When reporting errors, print
3486 string address and don't overrun end of string.
3487
466b0393
AM
34882013-10-04 Alan Modra <amodra@gmail.com>
3489
3490 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3491 insrdi. Make better use of reg selection to speed exit slightly.
3492 Schedule entry path a little better. Remove useless "are we done"
3493 checks on entry to main loop. Handle wrapping around zero address.
3494 Correct main loop count. Handle single left-over word from main
3495 loop inline rather than by using loop_small. Remove extra word
3496 case in loop_small caused by wrong loop count. Add little-endian
3497 support.
3498 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3499 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3500 cache hint.
3501 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3502 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3503 support. Avoid rlwimi.
3504 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3505
3be87c77
AM
35062013-10-04 Alan Modra <amodra@gmail.com>
3507
3508 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 3509 insrdi. Formatting.
3be87c77
AM
3510 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3511 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3512 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3513 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3514 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3515 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3516
759cfef3
AM
35172013-10-04 Alan Modra <amodra@gmail.com>
3518
3519 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3520 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3521 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3522 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3523 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3524 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3525 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3526 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3527 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3528 use of regs. Use power7 mtocrf. Tidy function tails.
3529
fe6e95d7
AM
35302013-10-04 Alan Modra <amodra@gmail.com>
3531
3532 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3533 Formatting. Consistently use rXXX register defines or rN defines.
3534 Use early exit labels that avoid restoring unused non-volatile regs.
3535 Make cr field use more consistent with rWORDn compares. Rename
3536 regs used as shift registers for unaligned loop, using rN defines
3537 for short lifetime/multiple use regs.
3538 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3539 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3540 addi 1,1,64 to pop stack frame. Simplify return value code.
3541 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3542
664318c3
AM
35432013-10-04 Alan Modra <amodra@gmail.com>
3544
3545 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3546 support. Correct typos, formatting. Optimize tail. Use insrdi
3547 rather than rlwimi.
3548 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3549 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3550 little-endian support. Correct typos.
3551 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3552 rather than rlwimi.
3553 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3554 in loop and entry code to keep "and." results.
3555 (strchr): Add little-endian support. Comment. Move cntlzd
3556 earlier in tail.
3557 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3558
43b84013
AM
35592013-10-04 Alan Modra <amodra@gmail.com>
3560
3561 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3562 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3563 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3564 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3565
8a7413f9
AM
35662013-10-04 Alan Modra <amodra@gmail.com>
3567
3568 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3569 (rTMP): Define as r11.
3570 (strcmp): Add little-endian support. Optimise tail.
3571 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3572 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3573 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3574 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3575 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3576 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3577 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3578
33ee81de
AM
35792013-10-04 Alan Modra <amodra@gmail.com>
3580
3581 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3582 little-endian support. Remove unnecessary "are we done" tests.
3583 Handle "s" wrapping around zero and extremely large "size".
3584 Correct main loop count. Handle single left-over word from main
3585 loop inline rather than by using small_loop. Correct comments.
3586 Delete "zero" tail, use "end_max" instead.
3587 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3588
db9b4570
AM
35892013-10-04 Alan Modra <amodra@gmail.com>
3590
3591 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3592 support. Don't branch over align.
3593 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3594 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3595 support. Rearrange tmp reg use to suit. Comment.
3596 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3597
f7c399cf
AM
35982013-10-04 Alan Modra <amodra@gmail.com>
3599
3600 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3601
0b2c2ace
AM
36022013-10-04 Alan Modra <amodra@gmail.com>
3603
3604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3605 conditional form of branch and link when obtaining pc.
3606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3607
02f04a6c
AM
36082013-10-04 Alan Modra <amodra@gmail.com>
3609
3610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3611 HIWORD/LOWORD.
3612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3614
9b874b2f
AM
36152013-10-04 Alan Modra <amodra@gmail.com>
3616
3617 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3618 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3619 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3620 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3621 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3622 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3623 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3624 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3625 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3626 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3627
be1e5d31
AB
36282013-10-04 Anton Blanchard <anton@au1.ibm.com>
3629 Alistair Popple <alistair@ozlabs.au.ibm.com>
3630 Alan Modra <amodra@gmail.com>
3631
3632 [BZ #15723]
3633 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3634 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3635 _dl_hwcap access for little-endian.
3636 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3637 destroy vmx regs when saving unaligned.
3638 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3639 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3640 destroy vmx regs when saving unaligned.
3641
fef13a78
AM
36422013-10-04 Alan Modra <amodra@gmail.com>
3643
3644 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3645 Don't use a union to pack hi/low value.
3646
76a66d51
AB
36472013-10-04 Anton Blanchard <anton@au1.ibm.com>
3648
3649 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3650 for little-endian.
3651 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3652 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3653 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3654 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3655 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3656
6a31fe7f
AM
36572013-10-04 Alan Modra <amodra@gmail.com>
3658
3659 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3660 constants to usual value for .cst8 section, and remove redundant
3661 high address load.
3662 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3663 constant for 0x1p52. Load little-endian words of double from
3664 correct stack offsets.
3665
7b88401f
AM
36662013-10-04 Alan Modra <amodra@gmail.com>
3667
3668 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3669 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3670 words of double from correct stack offsets.
3671 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3672 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3673 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3674 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3675 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3676 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3677 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3678 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3679 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3680 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3681 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3682 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3683 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3684 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3685 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3686 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3687 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3688
9c008155
AM
36892013-10-04 Alan Modra <amodra@gmail.com>
3690
3691 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3692 64-bit int/double union.
3693 (_FPU_SETCW): Likewise.
3694 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3695 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3696
da13146d
AM
36972013-10-04 Alan Modra <amodra@gmail.com>
3698
3699 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3700 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3701
603e8410
AM
37022013-10-04 Alan Modra <amodra@gmail.com>
3703
3704 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3705 use vector int constants.
3706 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3707
4a28b3ca
AB
37082013-10-04 Anton Blanchard <anton@au1.ibm.com>
3709
3710 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3711 array with long long.
3712 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3713 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3714 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3715 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3716 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3717 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3718 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3719 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3720 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3721 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3722 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3723 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3724 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3725
2ca85d2b
AB
37262013-10-04 Anton Blanchard <anton@au1.ibm.com>
3727
3728 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3729 (__signbit): Likewise. Correct for little-endian.
3730 (__signbitl): Call __signbit.
3731 (lrint): Correct for little-endian.
3732 (lrintf): Call lrint.
3733
62a728ae
AM
37342013-10-04 Alan Modra <amodra@gmail.com>
3735
3736 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3737 union 32-bit int array member with 64-bit int array.
3738 (t515, tm256): Double rather than long double.
3739 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3740
32c301df
AM
37412013-10-04 Alan Modra <amodra@gmail.com>
3742
3743 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3744 Delete.
3745 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3746 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3747 version of math_ldbl.h.
3748
650ef4bd
AM
37492013-10-04 Alan Modra <amodra@gmail.com>
3750
3751 [BZ #15734], [BZ #15735]
3752 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3753 all uses of ieee875 long double macros and unions. Simplify test
3754 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3755 ldbl_extract_mantissa value for ix,iy exponents. Properly
3756 normalize after ldbl_extract_mantissa, and don't add hidden bit
3757 already handled. Don't treat low word of ieee854 mantissa like
3758 low word of IBM long double and mask off bit when testing for
3759 zero.
3760 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3761 all uses of ieee875 long double macros and unions. Simplify tests
3762 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3763 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3764 two1022, instead use their values. Recognise that tests for large
3765 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3766 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3767 Rewrite all uses of ieee875 long double macros and unions. Simplify
3768 test for 0.0L and nan. Correct negation.
3769 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3770 ieee875 long double macros and unions. Correct output for large
3771 magnitude x. Correct absolute value calculation.
3772 (__erfcl): Likewise.
3773 * math/libm-test.inc: Add tests for errors discovered in IBM long
3774 double versions of fmodl, remainderl, erfl and erfcl.
3775
765714ca
AM
37762013-10-04 Alan Modra <amodra@gmail.com>
3777
3778 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3779 all uses of ieee854 long double macros and unions. Simplify tests
3780 for long doubles that are fully specified by the high double.
3781 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3782 Likewise.
3783 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3784 Remove dead code too.
3785 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3786 (__ieee754_ynl): Likewise.
3787 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3788 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3789 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3790 Remove dead code too.
3791 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3792 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3793 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3794 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3795 Simplify.
3796 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3797 Simplify.
3798 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3799 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3800 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3801 Comment on variable precision.
3802 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3803 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3804 Likewise.
3805 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3806 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3807 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3808 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3809 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3810
4ebd120c
AM
38112013-10-04 Alan Modra <amodra@gmail.com>
3812
3813 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3814 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3815 all uses of ieee854 long double macros and unions.
3816 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3817 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3818 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3819 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3820 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3821 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3822 Likewise.
3823 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3824 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3825 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3826 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3827 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3828 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3829 Simplify sign and nan test too.
3830 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3831 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3832 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3833 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3834 Likewise.
3835 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3836 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3837 Likewise.
3838 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3839 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3840 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3841 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3842 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3843 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3844
1b6adf88
AM
38452013-10-04 Alan Modra <amodra@gmail.com>
3846
3847 * stdio-common/printf_size.c (__printf_size): Don't use
3848 union ieee854_long_double in fpnum union.
3849 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3850 signbit macro to retrieve sign from long double.
3851 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3852 retrieve sign from long double.
3853 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3854 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3855 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3856 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3857 * math/test-misc.c (main): Don't use union ieee854_long_double.
3858
4cf69995
AM
38592013-10-04 Alan Modra <amodra@gmail.com>
3860
3861 [BZ #15680]
3862 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3863 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3864 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3865 calculation. Remove unnecessary test for denormal exponent.
3866 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3867 Correct handling of denormals. Avoid undefined shift behaviour.
3868 Correct normalisation of low mantissa when low double is denormal.
3869 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3870 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3871 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3872 Correct normalisation of low mantissa. Test for overflow of high
3873 mantissa and normalise.
3874 (ldbl_nearbyint): Use more readable constant for two52.
3875 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3876 (__mpn_construct_long_double): Fix test for overflow of high
3877 mantissa and correct normalisation. Avoid undefined shift.
3878
9605ca6c
AM
38792013-10-04 Alan Modra <amodra@gmail.com>
3880
3881 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3882 (union ibm_extended_long_double): Define as an array of ieee754_double.
3883 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3884 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3885 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3886 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3887 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3888 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3889 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3890 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3891 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3892 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3893 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3894
975569d0
JM
38952013-10-03 Joseph Myers <joseph@codesourcery.com>
3896
d3d23756
JM
3897 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3898 page size instead of calling getpagesize.
3899
975569d0
JM
3900 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3901 (LOCFILE_ALIGN_MASK): Likewise.
3902 (LOCFILE_ALIGN_UP): Likewise.
3903 (LOCFILE_ALIGNED_P): Likewise.
3904 * locale/programs/ld-collate.c (collate_output): Use the new
3905 macros instead of __alignof__ (int32_t).
3906 * locale/weight.h (findidx): Likewise.
3907
b1fe1f2b
OB
39082013-10-03 Ondřej Bílka <neleai@seznam.cz>
3909
3910 [BZ #431]
3911 * manual/string.texi: Fix strncat and wcsncat.
3912
5f855e35
BM
39132013-10-03 Brooks Moses <bmoses@google.com>
3914
3915 [BZ #15915]
3916 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3917 * Makerules: ...here, and adjust associated comments.
3918
3cef6009
WN
39192013-10-02 Will Newton <will.newton@linaro.org>
3920
3921 * malloc/Makefile: Add tst-pvalloc.
3922 * malloc/tst-pvalloc.c: New file.
3923
7815420b
WN
39242013-10-02 Will Newton <will.newton@linaro.org>
3925
3926 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3927 improve test coverage.
3928
4868b204
WN
39292013-10-02 Will Newton <will.newton@linaro.org>
3930
3931 * malloc/Makefile: Add tst-posix_memalign.
3932 * malloc/tst-posix_memalign.c: New file.
3933
29c793b3
EB
39342013-10-01 Eric Blake <eblake@redhat.com>
3935
3936 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3937 Use __THROWNL rather than __THROW on static functions.
3938
fd967522
PM
39392013-09-30 Petr Machata <pmachata@redhat.com>
3940
3941 * elf/elf.h (R_AARCH64_ABS16): New macro.
3942 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3943 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3944 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3945 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3946 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3947 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3948 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3949 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3950 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3951 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3952 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3953 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3954 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3955 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3956 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3957 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3958 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3959 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3960 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3961 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3962 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3963 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3964 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3965 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3966 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3967 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3968 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3969 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3970 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3971 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3972 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3973 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3974 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3975 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3976 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3977 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3978 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3979 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3980 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3981 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3982 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3983 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3984 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3985 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3986 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3987 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3988 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3989 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3990 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3991 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3992 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3993 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3994 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3995 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3996 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3997 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3998 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3999 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4000 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4001 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4002 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4003 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4004 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4005 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4006 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4007 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4008 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4009 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4010 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4011 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4012 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4013 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4014 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4015 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4016 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4017 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4018 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4019 (R_AARCH64_TLSDESC_LDR): Likewise.
4020 (R_AARCH64_TLSDESC_ADD): Likewise.
4021 (R_AARCH64_TLSDESC_CALL): Likewise.
4022
b2179107
AS
40232013-09-30 Andreas Schwab <schwab@suse.de>
4024
4025 [BZ #15048]
4026 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4027 the nss database lookup.
4028 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4029 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4030
47f28d0a
MF
40312013-09-28 Mike Frysinger <vapier@gentoo.org>
4032
4033 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4034
40352013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
4036
4037 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4038 ${Bash-specific parameter/pattern/string} parameter expansion.
4039 * sysdeps/unix/make-syscalls.sh: Likewise.
4040
f4518a17
KK
40412013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4042
4043 * sysdeps/sh/stackguard-macros.h: New file.
4044
dc1a95c7
OB
40452013-09-26 Ondřej Bílka <neleai@seznam.cz>
4046
4047 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4048 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4049 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4050 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4051 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4052 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4053
5ebbff8f
AZ
40542013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4055
4056 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4057 Fix thread ID register.
4058
4fd2cf9f
JM
40592013-09-25 Joseph Myers <joseph@codesourcery.com>
4060
4061 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4062 [POSIX || UNIX98]: Require rather than permitting all symbols from
4063 <time.h>.
4064 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4065 element of struct sched_param.
4066 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4067 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4068 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4069 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4070 constant.
4071
12c22bc4
OL
40722013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4073
4074 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4075 argument calculation.
4076
a03d8ea7
JM
40772013-09-24 Joseph Myers <joseph@codesourcery.com>
4078
4079 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4080 Expect macro.
4081 [POSIX] (pthread_attr_t): Do not require type.
4082 [POSIX] (pthread_cond_t): Likewise.
4083 [POSIX] (pthread_condattr_t): Likewise.
4084 [POSIX] (pthread_key_t): Likewise.
4085 [POSIX] (pthread_mutex_t): Likewise.
4086 [POSIX] (pthread_mutexattr_t): Likewise.
4087 [POSIX] (pthread_once_t): Likewise.
4088 [POSIX] (pthread_t): Likewise.
4089 [POSIX-based standards] (pthread_atfork): Expect function.
4090
6055173a
JM
40912013-09-24 Joseph Myers <joseph@codesourcery.com>
4092 Richard Sandiford <richard@codesourcery.com>
4093
4094 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4095 (swap_endianness_p): New extern variable.
4096 (set_big_endian): New inline function.
4097 (maybe_swap_uint32): Likewise.
4098 (maybe_swap_uint32_array): Likewise.
4099 (maybe_swap_uint32_obstack): Likewise.
4100 * locale/programs/locfile.c: Include <stdbool.h>.
4101 (swap_endianness_p): New variable.
4102 (add_locale_uint32): Call maybe_swap_uint32.
4103 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4104 (write_locale_data): Call maybe_swap_uint32_array.
4105 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4106 maybe_swap_uint32.
4107 (obstack_int32_grow_fast): Likewise.
4108 (output_weightwc): Call maybe_swap_uint32_obstack.
4109 (collate_output): Likewise.
4110 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4111 (OPT_LITTLE_ENDIAN): Likewise.
4112 (options): Add --little-endian and --big-endian options.
4113 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4114 * locale/programs/locarchive.c: Include "locfile.h".
4115 (GET): New macro.
4116 (SET): Likewise.
4117 (INC): Likewise.
4118 (create_archive): Use the new macros to access fields of
4119 structures directly mapped from or written to locale archives.
4120 (oldlocrecentcmp): Likewise.
4121 (enlarge_archive): Likewise.
4122 (insert_name): Likewise.
4123 (add_alias): Likewise.
4124 (add_locale): Likewise.
4125 (delete_locales_from_archive): Likewise.
4126 (show_archive_content): Likewise.
4127 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4128 locale data.
4129
39bf0bb4
RM
41302013-09-24 Roland McGrath <roland@hack.frob.com>
4131
4132 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4133 http://www.gnu.org/doc/freemanuals.texi.
4134 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4135
f02eed10
WN
41362013-09-24 Will Newton <will.newton@linaro.org>
4137
4138 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4139 macro.
4140
a3a6c312
JM
41412013-09-23 Joseph Myers <joseph@codesourcery.com>
4142
4143 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4144 unsigned char.
4145
107375ac
MR
41462013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4147
4148 * manual/threads.texi (POSIX Threads): Fix a typo.
4149
141f3a77
SP
41502013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4151
303e567a
SP
4152 [BZ #14547]
4153 * string/tst-strcoll-overflow.c: New test case.
4154 * string/Makefile (xtests): Add tst-strcoll-overflow.
4155 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4156 cache if string sizes may cause integer overflow.
4157
141f3a77
SP
4158 [BZ #14547]
4159 * string/strcoll_l.c (coll_seq): New members rule, idx,
4160 save_idx and back_us.
4161 (get_next_seq_nocache): New function.
4162 (do_compare_nocache): New function.
4163 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4164 when malloc fails.
4165
c61b4d41
CD
41662013-09-23 Carlos O'Donell <carlos@redhat.com>
4167
0b1f8e35
CD
4168 [BZ #15754]
4169 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4170 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4171 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4172
c61b4d41
CD
4173 [BZ #15754]
4174 * elf/Makefile (tests): Add tst-ptrguard1.
4175 (tests-static): Add tst-ptrguard1-static.
4176 (tst-ptrguard1-ARGS): Define.
4177 (tst-ptrguard1-static-ARGS): Define.
4178 * elf/tst-ptrguard1.c: New file.
4179 * elf/tst-ptrguard1-static.c: New file.
4180 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4181 * sysdeps/i386/stackguard-macros.h: Likewise.
4182 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4183 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4184 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4185 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4186 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4187 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4188
41892013-09-23 Hector Marco <hecmargi@upv.es>
4190 Ismael Ripoll <iripoll@disca.upv.es>
4191 Carlos O'Donell <carlos@redhat.com>
4192
4193 [BZ #15754]
4194 * sysdeps/generic/stackguard-macros.h: Define
4195 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4196 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4197 Define __pointer_chk_guard_local.
4198 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4199 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4200
f5f4e7b4
VV
42012013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4202
4203 [BZ #15859]
4204 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4205
5bb43a43
AS
42062013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4207
4208 * include/string.h (__ffs): Declare as hidden.
4209 * string/ffs.c (__ffs): Define as hidden.
4210 * sysdeps/i386/ffs.c (__ffs): Likewise.
4211 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4212 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4213 * sysdeps/s390/ffs.c (__ffs): Likewise.
4214 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4215
3ea5be54
AO
42162013-09-20 Alexandre Oliva <aoliva@redhat.com>
4217
ffb89e53
AO
4218 * NEWS: Mention malloc probes.
4219
322dea08
AO
4220 * malloc/arena.c (new_heap): New memory_heap_new probe.
4221 (grow_heap): New memory_heap_more probe.
4222 (shrink_heap): New memory_heap_less probe.
4223 (heap_trim): New memory_heap_free probe.
4224 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4225 (systrim): New memory_sbrk_less probe.
4226 * manual/probes.texi: Document them.
4227
655673f3
AO
4228 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4229 * manual/probes.texi: Document it.
4230
35fed6f1
AO
4231 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4232 (__libc_realloc): Add memory_realloc_retry probe.
4233 (__libc_memalign): Add memory_memalign_retry probe.
4234 (__libc_valloc): Add memory_valloc_retry probe.
4235 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4236 (__libc_calloc): Add memory_calloc_retry probe.
4237 * manual/probes.texi: Document them.
4238
6999d38c
AO
4239 * malloc/arena.c (get_free_list): Add probe
4240 memory_arena_reuse_free_list.
4241 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4242 and memory_arena_reuse.
4243 (arena_get2) [!PER_THREAD]: Likewise.
4244 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4245 memory_arena_reuse_realloc.
4246 * manual/probes.texi: Document them.
4247
0653427f
AO
4248 * malloc/malloc.c (__libc_free): Add
4249 memory_mallopt_free_dyn_thresholds probe.
4250 (__libc_mallopt): Add multiple memory_mallopt probes.
4251 * manual/probes.texi: Document them.
4252
3ea5be54
AO
4253 * malloc/malloc.c: Include stap-probe.h.
4254 (__libc_mallopt): Add memory_mallopt probe.
4255 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4256 * manual/probes.texi: New.
4257 * manual/Makefile (chapters): Add probes.
4258 * manual/threads.texi: Set next node.
4259
e35696c3 42602013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 4261
e35696c3
CL
4262 [BZ #15963, #13985]
4263 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4264 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4265 Add `Chinese' to `nan' entry name.
4266
4aafb73c
SP
42672013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4268
4269 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4270 (POLYNOMIAL): Likewise.
4271 (TAYLOR_SINCOS): Likewise.
4272 (TAYLOR_SLOW): Likewise.
4273 (__sin): Use TAYLOR_SINCOS.
4274 (__cos): Likewise.
4275 (slow): Use TAYLOR_SLOW.
4276 (sloww): Likewise.
4277 (bsloww): Likewise.
4278 (csloww): Likewise.
4279
d84f25c7
LD
42802013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4281
4282 * stdlib/strtod_l.c: Fix buffer overrun.
4283
5eea0404
SP
42842013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4285
7849ff93
SP
4286 * benchtests/Makefile (bench): Add sincos.
4287 * benchtests/bench-sincos.c: New file.
4288
cfa3c886
SP
4289 * math/libm-test.inc (cos_test_data): New test inputs.
4290 (sin_test_data): Likewise.
4291
b348e1e3
SP
4292 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4293 macro.
4294 (__sin): Use it.
4295 (__cos): Likewise.
4296 (slow1): Likewise.
4297 (slow2): Likewise.
4298 (sloww1): Likewise.
4299 (sloww2): Likewise.
4300 (bsloww1): Likewise.
4301 (bsloww2): Likewise.
4302 (cslow2): Likewise.
4303 (csloww1): Likewise.
4304 (csloww2): Likewise.
4305
6cce25f8
SP
4306 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4307 function.
4308 (__sin): Use it.
4309 (__cos): Likewise.
4310
5eea0404
SP
4311 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4312 gotos.
4313 (__cos): Likewise.
4314
9c21573c
MR
43152013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4316
4317 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4318 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4319 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4320 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4321 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4322 * elf/cache.c (print_entry): Handle the new cache flags.
4323
24d22e65
JM
43242013-09-18 Joseph Myers <joseph@codesourcery.com>
4325 Aldy Hernandez <aldyh@redhat.com>
4326
4327 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4328 Change condition to [_SOFT_FLOAT].
4329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4330 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4331 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4332 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4333 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4334 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4335 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4336 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4337 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4338 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4339 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4340 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4341 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4342 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4343 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4344 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4345 declaration.
4346
d13ef066
JM
43472013-09-18 Joseph Myers <joseph@codesourcery.com>
4348
2e071de0
JM
4349 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4350 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4351 (__longjmp): Use LOAD_GP to load saved GPRs.
4352 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4353 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4354 (__sigsetjmp): Use SAVE_GP to save GPRs.
4355
d13ef066
JM
4356 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4357 Do not append -msoft-float.
4358 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4359
97a0650b
SP
43602013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4361
4362 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4363
11ca09e9
JM
43642013-09-17 Joseph Myers <joseph@codesourcery.com>
4365
4366 [BZ #15966]
4367 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4368 (_FPU_GETCW): Use initial "__" on variable and field names but not
4369 on macro parameter name.
4370 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4371 parentheses around reference to macro parameter.
4372
08ffcf34
RS
43732013-09-13 Richard Sandiford <richard@codesourcery.com>
4374
4375 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4376 prototype.
4377 (ctype_startup): Use uint32_t in cast and sizeof for
4378 ctype->charnames.
4379
ae7080d3
JL
43802013-09-11 Jia Liu <proljc@gmail.com>
4381
4382 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4383 __daddr_t_defined.
4384 [__FreeBSD__]: Likewise.
4385
5905e7b3
OB
43862013-09-11 Ondřej Bílka <neleai@seznam.cz>
4387
4388 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4389 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4390 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4391 (strchr): Remove __strchr_sse42 ifunc selection.
4392 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4393 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4394
b987c776
WN
43952013-09-11 Will Newton <will.newton@linaro.org>
4396
4397 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4398 parameter to RES. Remove hardcoded 1000 value.
4399 * benchtests/bench-skeleton.c (main): Pass RES parameter
4400 to TIMING_INIT and multiply result by 1000.
4401
ddf985af
AZ
44022013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4403
4404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4405
ffdd3181
AS
44062013-09-11 Andreas Schwab <schwab@suse.de>
4407
4408 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4409 if not defined.
4410 (O_TMPFILE) [__USE_GNU]: Define.
4411 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4412 Define.
4413
b73ed247
WN
44142013-09-11 Will Newton <will.newton@linaro.org>
4415
4416 [BZ #15857]
4417 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4418 does not overflow.
4419
55e17aad
WN
44202013-09-11 Will Newton <will.newton@linaro.org>
4421
4422 [BZ #15856]
4423 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4424 does not overflow.
4425
1159a193
WN
44262013-09-11 Will Newton <will.newton@linaro.org>
4427
4428 [BZ #15855]
4429 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4430 does not overflow.
4431
5905e7b3 44322013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
4433
4434 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4435 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4436 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4437 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4438 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4439
cdfc721b
AM
44402013-09-10 Allan McRae <allan@archlinux.org>
4441
aa04af00
AM
4442 [BZ #15748]
4443 * manual/arith.texi (Parsing of Floats): Clarify
4444 cross-reference.
4445
cdfc721b
AM
4446 [BZ #15849]
4447 * manual/install.texi (Running make install): Mention
4448 --enable-pt-chown.
4449 * INSTALL: Regenerated.
4450
95e7cf29
MR
44512013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4452
4453 * csu/init-first.c (_init): Remove the !SHARED condition around
4454 FPU control word initialization.
4455 * elf/dl-support.c (_dl_fpu_control): New variable.
4456 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4457 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4458 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4459 * math/test-fpucw-static.c: New file.
4460 * math/test-fpucw-ieee.c: New file.
4461 * math/test-fpucw-ieee-static.c: New file.
4462 * math/Makefile (tests): Add `test-fpucw-ieee' and
4463 `$(tests-static)'.
4464 (tests-static): New variable.
4465 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4466 dependency to...
4467 [($(build-shared),yes)]
4468 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4469 ... this.
4470 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4471 New dependency.
4472
83e43bf0
AM
44732013-09-09 Allan McRae <allan@archlinux.org>
4474
a9f5ce09
AM
4475 [BZ #15939]
4476 * manual/string.texi (Collation Functions): Fix typo in
4477 strcoll example.
4478 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4479
34829bc2
AM
4480 [BZ #15893]
4481 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4482
3932737d
AM
4483 [BZ #15892]
4484 * libio/memstream.c (open_memstream): Fix memory leak.
4485 * libio/wmemstream.c (open_wmemstream): Likewise.
4486
83e43bf0
AM
4487 [BZ #15895]
4488 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4489
0c66b8e9
WN
44902013-09-09 Will Newton <will.newton@linaro.org>
4491
4492 * malloc/Makefile: Add tst-realloc to tests.
4493 * malloc/tst-realloc.c: New file.
4494
f6b00fd1
AM
44952013-09-09 Allan McRae <allan@archlinux.org>
4496
4497 [BZ #15844]
4498 * COPYING: Update from GNU website to fix FSF address.
4499 * COPYING.LIB: Likewise.
4500
eec55e16
DM
45012013-09-06 David S. Miller <davem@davemloft.net>
4502
4503 * po/zh_TW.po: Update Chinese (traditional) translation from
4504 translation project.
4505
1ecbb381
RS
45062013-09-06 Richard Sandiford <richard@codesourcery.com>
4507 Joseph Myers <joseph@codesourcery.com>
4508
4509 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4510 "localeinfo.h".
4511 (obstack_chunk_alloc): New macro.
4512 (obstack_chunk_free): Likewise.
4513 (record_offset): New function.
4514 (init_locale_data): Likewise.
4515 (align_locale_data): Likewise.
4516 (add_locale_empty): Likewise.
4517 (add_locale_raw_data): Likewise.
4518 (add_locale_raw_obstack): Likewise.
4519 (add_locale_string): Likewise.
4520 (add_locale_wstring): Likewise.
4521 (add_locale_uint32): Likewise.
4522 (add_locale_uint32_array): Likewise.
4523 (add_locale_char): Likewise.
4524 (start_locale_structure): Likewise.
4525 (end_locale_structure): Likewise.
4526 (start_locale_prelude): Likewise.
4527 (end_locale_prelude): Likewise.
4528 (write_locale_data): Take locale_file structure rather than an
4529 iovec.
4530 * locale/programs/locfile.h: Include "obstack.h".
4531 (struct locale_file): Change to store locale file contents instead
4532 of header.
4533 (init_locale_data): New prototype.
4534 (align_locale_data): Likewise.
4535 (add_locale_empty): Likewise.
4536 (add_locale_raw_data): Likewise.
4537 (add_locale_raw_obstack): Likewise.
4538 (add_locale_string): Likewise.
4539 (add_locale_wstring): Likewise.
4540 (add_locale_uint32): Likewise.
4541 (add_locale_uint32_array): Likewise.
4542 (add_locale_char): Likewise.
4543 (start_locale_structure): Likewise.
4544 (end_locale_structure): Likewise.
4545 (start_locale_prelude): Likewise.
4546 (end_locale_prelude): Likewise.
4547 (write_locale_data): Update prototype.
4548 * locale/programs/3level.h (struct TABLE): Remove result field.
4549 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4550 Use new locale_file interface.
4551 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4552 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4553 * locale/programs/ld-address.c (address_output): Use new
4554 locale_file interface.
4555 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4556 NO_ADD_LOCALE.
4557 (collate_finish): Don't call collseq_table_finalize.
4558 (collate_output): Use new locale_file interface.
4559 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4560 in file.
4561 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4562 (TABLE): Move defines earlier in file.
4563 (ELEMENT): Likewise.
4564 (DEFAULT): Likewise.
4565 (wctrans_table_add): Move macro and inline function earlier in
4566 file.
4567 (struct wctype_table): Move type earlier in file.
4568 (add_locale_wctype_table): New static prototype.
4569 (struct locale_ctype_t): Use logical types instead of struct iovec
4570 pointers for members.
4571 (ctype_output): Use new locale_file interface.
4572 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4573 new locale_file interface.
4574 (allocate_arrays): Update for use of new locale_file interface.
4575 * locale/programs/ld-identification.c (identification_output): Use
4576 new locale_file interface.
4577 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4578 * locale/programs/ld-messages.c (messages_output): Likewise.
4579 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4580 * locale/programs/ld-name.c (name_output): Likewise.
4581 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4582 * locale/programs/ld-paper.c (paper_output): Likewise.
4583 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4584 * locale/programs/ld-time.c (time_output): Likewise.
4585
e029e2e5
AZ
45862013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4587
4588 * benchtests/Makefile: Add memrchr benchmark.
4589 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4590 benchmark as memrchr.
4591 * benchtests/bench-memrchr-ifunc.c: New file.
4592 * benchtests/bench-memrchr.c: New file.
4593
bbf6e8e4
WN
45942013-09-06 Will Newton <will.newton@linaro.org>
4595
4596 * benchtests/Makefile (string-bench): Add memcpy.
4597
6c82a2f8
CD
45982013-09-05 Carlos O'Donell <carlos@redhat.com>
4599 Cong Wang <amwang@redhat.com>
4600
4601 * sysdeps/unix/sysv/linux/bits/in.h
4602 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4603 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4604 before __USE_KERNEL_IPV6_DEFS uses.
4605 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4606 IPPROTO_BEETPH.
4607 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4608 sockaddr_in6, or ipv6_mreq.
4609
5430fc65
AZ
46102013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4611
4612 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4613 memory access for final bytes in some large inputs.
4614 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4615
4660856c
AZ
46162013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4617
4618 * string/test-memrchr.c: New file.
4619 * string/test-memrchr-ifunc.c: New file.
4620 * string/Makefile: Add new memrchr testcase.
4621
bb8ea713
MF
46222013-09-05 Mike Frysinger <vapier@gentoo.org>
4623
4624 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4625 fanotify_init returns EPERM.
4626
b92a20b5
JM
46272013-09-04 Joseph Myers <joseph@codesourcery.com>
4628
4629 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4630 errors.
4631 (top level): Treat second token from macro or constant entries for
4632 allowed headers as allowed.
4633 * include/complex.h: Condition internal declarations on
4634 [!_ISOMAC].
4635 * include/fenv.h: Condition include of <stdbool.h> and internal
4636 declarations on [!_ISOMAC].
7447ccd9
CL
4637
46382013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4639
3e181dda 4640 [BZ #15923]
7447ccd9
CL
4641 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4642
3f2e46a4
JM
46432013-09-04 Joseph Myers <joseph@codesourcery.com>
4644
4645 * configure.in (--enable-versioning): Remove configure option.
4646 (libc_cv_asm_symver_directive): Remove configure test.
4647 (libc_cv_ld_version_script_option): Likewise.
4648 (VERSIONING): Remove variable and AC_SUBST.
4649 (DO_VERSIONING): Remove AC_DEFINE.
4650 * configure: Regenerated.
4651 * config.h.in (DO_VERSIONING): Remove macro.
4652 * Makerules [$(versioning) = yes]: Change conditionals to
4653 [$(build-shared) = yes].
4654 * config.make.in (versioning): Remove variable.
4655 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4656 [$(build-shared) = yes].
4657 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4658 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4659 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4660 [$(build-shared) = yes].
4661 * extra-lib.mk [$(versioning) = yes]: Likewise.
4662 * hurd/Makefile [$(versioning) = yes]: Likewise.
4663 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4664 [SHARED].
4665 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4666 [SHARED].
4667 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4668 [SHARED && !NO_HIDDEN].
4669 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4670 [SHARED].
4671 [SHARED && DO_VERSIONING]: Likewise..
4672 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4673 [$(build-shared) = yes].
4674 * manual/install.texi (--disable-versioning): Remove
4675 documentation.
4676 * INSTALL: Regenerated.
4677 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4678 to [SHARED].
4679 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4680 [$(build-shared) = yes].
4681 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4682 * sysdeps/i386/i686/multiarch/strstr-c.c
4683 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4684 [SHARED && !NO_HIDDEN].
4685 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4686 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4687 * sysdeps/powerpc/powerpc32/dl-machine.c
4688 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4689 * sysdeps/powerpc/powerpc32/sysdep.h
4690 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4691 to [SHARED && PIC && !NO_HIDDEN].
4692 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4693 conditional to [SHARED].
4694
44558701
WN
46952013-09-04 Will Newton <will.newton@linaro.org>
4696
4697 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4698 * benchtests/bench-string.h: Include bench-timing.h instead
4699 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4700 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4701 call to HP_TIMING_DIFF_INIT.
4702 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4703 instead of hp-timing.h macros.
4704 * benchtests/bench-memchr.c: Likewise.
4705 * benchtests/bench-memcmp.c: Likewise.
4706 * benchtests/bench-memcpy.c: Likewise.
4707 * benchtests/bench-memmem.c: Likewise.
4708 * benchtests/bench-memmove.c: Likewise.
4709 * benchtests/bench-memset.c: Likewise.
4710 * benchtests/bench-rawmemchr.c: Likewise.
4711 * benchtests/bench-strcasecmp.c: Likewise.
4712 * benchtests/bench-strcasestr.c: Likewise.
4713 * benchtests/bench-strcat.c: Likewise.
4714 * benchtests/bench-strchr.c: Likewise.
4715 * benchtests/bench-strcmp.c: Likewise.
4716 * benchtests/bench-strcpy.c: Likewise.
4717 * benchtests/bench-strcpy_chk.c: Likewise.
4718 * benchtests/bench-strlen.c: Likewise.
4719 * benchtests/bench-strncasecmp.c: Likewise.
4720 * benchtests/bench-strncat.c: Likewise.
4721 * benchtests/bench-strncmp.c: Likewise.
4722 * benchtests/bench-strncpy.c: Likewise.
4723 * benchtests/bench-strnlen.c: Likewise.
4724 * benchtests/bench-strpbrk.c: Likewise.
4725 * benchtests/bench-strrchr.c: Likewise.
4726 * benchtests/bench-strspn.c: Likewise.
4727 * benchtests/bench-strstr.c: Likewise.
4728
cae16d66
WN
47292013-09-04 Will Newton <will.newton@linaro.org>
4730
4731 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4732
ffa3cd7f
JM
47332013-09-03 Joseph Myers <joseph@codesourcery.com>
4734
4735 [BZ #15427]
4736 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4737 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4738 * math/libm-test.inc (lgamma_test_data): Add more tests.
4739 * sysdeps/i386/fpu/libm-test-ulps: Update.
4740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4741
8f02859f
OB
47422013-09-03 Ondřej Bílka <neleai@seznam.cz>
4743
4744 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4745 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4746 Add ifunc.
4747 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4748 Add strcmp-sse2-unaligned
4749 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4750
18d43716
MF
47512013-09-02 Mike Frysinger <vapier@gentoo.org>
4752
4753 * Versions.def (libc): Add GLIBC_2.19.
4754
ac444012
MF
47552013-09-02 Mike Frysinger <vapier@gentoo.org>
4756
4757 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4758 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4759
b7835e32
JM
47602013-09-02 Joseph Myers <joseph@codesourcery.com>
4761
4762 [BZ #14155]
4763 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4764 intermediate calculations in recurrence.
4765 (__ieee754_ynf): Likewise.
4766 * math/libm-test.inc (jn_test_data): Do not allow spurious
4767 underflow exception. Add more tests.
4768 (yn_test_data): Add more tests.
4769 * sysdeps/i386/fpu/libm-test-ulps: Update.
4770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4771
8220f4f0
OB
47722013-09-02 Ondřej Bílka <neleai@seznam.cz>
4773
4774 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4775
f24a6d08
OB
47762013-08-30 Ondřej Bílka <neleai@seznam.cz>
4777
4778 * csu/init-first.c: Fix then/than typos.
4779 * locale/programs/ld-collate.c: Likewise.
4780 * locale/programs/linereader.h: Likewise.
4781 * manual/charset.texi: Likewise.
4782 * manual/filesys.texi: Likewise.
4783 * manual/stdio.texi: Likewise.
4784 * manual/string.texi: Likewise.
4785 * stdlib/fmtmsg.c: Likewise.
4786 * sysdeps/i386/stpncpy.S: Likewise.
4787 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4788 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4789 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4790 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4791
382466e0
OB
47922013-08-30 Ondřej Bílka <neleai@seznam.cz>
4793
4794 * elf/dl-open.c: Fix typos.
4795 * iconvdata/gbbig5.c: Likewise.
4796 * iconvdata/iso-2022-jp.c: Likewise.
4797 * iconv/gconv_int.h: Likewise.
4798 * iconv/loop.c: Likewise.
4799 * nis/rpcsvc/nis.h: Likewise.
4800 * resolv/ns_name.c: Likewise.
4801 * stdio-common/vfscanf.c: Likewise.
4802 * streams/stropts.h: Likewise.
4803 * sunrpc/rpc_thread.c: Likewise.
4804 * sysdeps/i386/strpbrk.S: Likewise.
4805 * sysdeps/ieee754/k_standard.c: Likewise.
4806 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4807 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4808 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4809 * sysdeps/mach/hurd/profil.c: Likewise.
4810 * sysdeps/s390/dl-procinfo.h: Likewise.
4811 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4812 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4813 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4814 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4815 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4816
0186c6e9
OB
48172013-08-30 Ondřej Bílka <neleai@seznam.cz>
4818
4819 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4820 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4821
d4e16af1
OB
48222013-08-29 Ondřej Bílka <neleai@seznam.cz>
4823
4824 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4825 aix specific files.
4826 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4827 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4828 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4829 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4830 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4831 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4832 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4833 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4834
88335980
TS
48352013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4836 Roland McGrath <roland@hack.frob.com>
4837
4838 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4839 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4840
ed479b02
ST
48412013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4842
4843 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4844 __executable_start symbol instead of _start.
4845
f1cc4c86
TS
48462013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4847
d821f07c
TS
4848 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4849 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4850 Move macros to...
4851 * sysdeps/gnu/ldsodefs.h: ... this new file.
4852
c54290cf
TS
4853 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4854 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4855 instead of ELFOSABI_LINUX.
4856
0007fc9b 4857 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
4858 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4859 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4860 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4861 Likewise.
4862 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4863 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4864 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4865 Likewise.
4866 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4867 (ibm_extended_long_double): Add ieee_nan member.
4868 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4869 (do_test): New function.
4870
f1cc4c86
TS
4871 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4872 TEST_TRUNC.
4873 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4874 functions, renamed from truncdfsf_test, trunctfsf_test,
4875 trunctfdf_test.
4876 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4877 functions.
4878 (do_test): Run all these.
4879
6f65e668
OB
48802013-08-29 Ondřej Bílka <neleai@seznam.cz>
4881
4882 * argp/argp-help.c: Fix typos.
4883 * argp/argp-parse.c: Likewise.
4884 * debug/backtracesyms.c: Likewise.
4885 * elf/elf.h: Likewise.
4886 * malloc/malloc.c: Likewise.
4887 * nis/nis_print.c: Likewise.
4888 * resolv/res_comp.c: Likewise.
4889 * stdlib/stdlib.h: Likewise.
4890 * sunrpc/clnt_tcp.c: Likewise.
4891 * sunrpc/clnt_udp.c: Likewise.
4892 * sunrpc/clnt_unix.c: Likewise.
4893 * sysdeps/unix/bsd/ptsname.c: Likewise.
4894 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4895 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
4896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4897 Likewise.
4898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4899 Likewise.
4900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4901 Likewise.
6f65e668
OB
4902 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4903
3a309239
SP
49042013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4905
4906 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4907 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4908
3b813b29
MF
49092013-08-27 Mike Frysinger <vapier@gentoo.org>
4910
4911 [BZ #15897]
4912 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4913 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4914 ($(objpfx)bug-dl-leaf): New rule.
4915 ($(objpfx)bug-dl-leaf.so): Likewise.
4916 ($(objpfx)bug-dl-leaf.out): Likewise.
4917 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4918 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4919 * dlfcn/bug-dl-leaf.c: New test.
4920 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4921 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4922 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4923 (dlclose): Likewise.
4924 (dlmopen): Likewise.
4925
8cc3269f
RM
49262013-08-27 Roland McGrath <roland@hack.frob.com>
4927
7f9d0034
RM
4928 * include/netdb.h [!_ISOMAC]:
4929 Don't include <tls.h>.
4930 (h_errno, __libc_h_errno): Move declaration and macros out of
4931 [_LIBC_REENTRANT].
4932
fb431262
RM
4933 * include/resolv.h [_RESOLV_H_]:
4934 Don't include <tls.h>.
4935 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4936 * resolv/res_libc.c: Don't include <tls.h>.
4937 (_res): Use __attribute__ ((nocommon)) in place of
4938 __attribute__ ((section (".bss"))).
4939
bd81123a
RM
4940 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4941 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4942
c4e42566
RM
4943 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4944
f890a59b
RM
4945 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4946 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4947
4948 * resolv/res_mkquery.c: Include <sys/time.h>.
4949
5d1f0a09
RM
4950 * inet/ifreq.c: Moved to ...
4951 * sysdeps/unix/ifreq.c: ... here.
4952 * inet/ifreq.c: New file, true stub version.
4953
6fcf28b3
RM
4954 * socket/sa_len.c: New file.
4955 * socket/Makefile (aux): Add it.
4956 * sysdeps/unix/sysv/linux/Makefile
4957 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4958 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4959 and #include <socket/sa_len.c>.
4960 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4961 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4962
e041fb8b
RM
4963 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4964 * bits/socket.h: ... here.
4965
8cc3269f
RM
4966 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4967 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4968 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4969
5d228a43
AS
49702013-08-27 Andreas Schwab <schwab@suse.de>
4971
45b8accc
AS
4972 [BZ #15736]
4973 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4974 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4975 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4976 * string/test-strcasecmp.c (test_main): Run tests in several
4977 locales.
4978 * string/test-strncasecmp.c (test_main): Likewise.
4979
5d228a43
AS
4980 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4981 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4982 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4983 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4984 (__strncasecmp_ssse3) [PIC]: Likewise.
4985
59d112a4
RM
49862013-08-26 Roland McGrath <roland@hack.frob.com>
4987
53234cc3
RM
4988 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4989
59d112a4
RM
4990 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4991 instead of explicitly declaring xdecrypt.
4992 * nis/nss_nis/nis-publickey.c: Likewise.
4993
595aba70
SP
49942013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4995
4996 [BZ #15890]
4997 * nscd/aicache.c: Include res_hconf.h.
4998 (addhstaiX): Initialize res_hconf.
4999
ffabd393
AS
50002013-08-26 Andreas Schwab <schwab@suse.de>
5001
5002 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5003 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5004
e0a69f5c
SP
50052013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5006
5007 * nscd/aicache.c (addhstaiX): Fix indentation.
5008
8c12f01d
MF
50092013-08-25 Mike Frysinger <vapier@gentoo.org>
5010
5011 * configure.ac: Quote $build_pt_chown test.
5012 * configure: Regenerated.
5013
8fe89494
JM
50142013-08-23 Joseph Myers <joseph@codesourcery.com>
5015
5016 [BZ #15532]
5017 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5018 * math/s_cexpf.c (__cexpf): Likewise.
5019 * math/s_cexpl.c (__cexpl): Likewise.
5020 * math/libm-test.inc (cexp_test_data): Correct expected return
5021 value for NaN + i0. Add another test.
5022
75b181d6
DM
50232013-08-22 David S. Miller <davem@davemloft.net>
5024
5025 * po/ca.po: Update Catalan translation from translation project.
936241e4 5026 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 5027
acd06bb1
JM
50282013-08-21 Joseph Myers <joseph@codesourcery.com>
5029
5030 [BZ #15797]
5031 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5032 is infinite, not alongside NaN test.
5033 * math/s_fdimf.c (__fdimf): Likewise.
5034 * math/s_fdiml.c (__fdiml): Likewise.
5035 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5036 errno is unchanged.
5037
c0c3f78a
OB
50382013-08-21 Ondřej Bílka <neleai@seznam.cz>
5039
5040 * argp/argp-help.c: Fix typos.
5041 * crypt/speeds.c: Likewise.
5042 * csu/check_fds.c: Likewise.
5043 * elf/dl-load.c: Likewise.
5044 * elf/dl-open.c: Likewise.
5045 * elf/reldep3.c: Likewise.
5046 * elf/reldep.c: Likewise.
5047 * elf/sprof.c: Likewise.
5048 * iconv/iconv_charmap.c: Likewise.
5049 * iconv/skeleton.c: Likewise.
5050 * iconv/strtab.c: Likewise.
5051 * io/lockf64.c: Likewise.
5052 * libio/libioP.h: Likewise.
5053 * resolv/gai_notify.c: Likewise.
5054 * resolv/ns_name.c: Likewise.
5055 * resolv/ns_samedomain.c: Likewise.
5056 * resolv/res_send.c: Likewise.
5057 * stdlib/random.c: Likewise.
5058 * sunrpc/rpc/xdr.h: Likewise.
5059 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5060 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5061 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5062 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5063 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5064 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5065 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5066 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5067 * sysdeps/mach/hurd/check_fds.c: Likewise.
5068 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5069 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5070 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5071 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5072 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5073 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5074 * sysdeps/pthread/aio_notify.c: Likewise.
5075 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5076 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5077 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5078 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5079 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5080
46ed1038
LD
50812013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5082
5083 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5084 version if bit_Slow_SSE4_2 is set.
5085 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5086 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5087
d400dcac
AZ
50882013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5089
5090 [BZ #15867]
5091 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5092 trampoline stack frame information.
5093 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5094 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5095 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5096 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5097 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5098 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5099 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5100 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5101 sa_flags value.
5102 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5103 interrupting a syscall and set with option SA_SIGINFO.
5104
42c8fdd8
JM
51052013-08-20 Joseph Myers <joseph@codesourcery.com>
5106
c980f2f4
JM
5107 [BZ #15531]
5108 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5109 argument is infinite.
5110 * math/s_cprojf.c (__cprojf): Likewise.
5111 * math/s_cprojl.c (__cprojl): Likewise.
5112 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5113 * math/libm-test.inc (cproj_test_data): Add more tests.
5114
0716c4fc
JM
5115 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5116
42c8fdd8
JM
5117 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5118 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5119 size. Use __ffs to determine corresponding shift.
5120
b31469d0
JM
51212013-08-20 Joseph Myers <joseph@codesourcery.com>
5122 Roland McGrath <roland@hack.frob.com>
5123
5124 * Makefile (INSTALL): Remove trailing blank lines from output of
5125 makeinfo.
5126
4e39af6e
AK
51272013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5128
5129 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5130 Align 32 bit compat elf_greg to 8 bytes.
5131
f315524e
AA
51322013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5133
5134 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5135
1326ba1a
SP
51362013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5137
5138 * string/strcoll_l.c (coll_seq): New structure.
5139 (get_next_seq_cached): New function.
5140 (get_next_seq): New function.
5141 (do_compare): New function.
5142 (STRCOLL): Use GNU style definition. Simplify implementation
5143 by using get_next_seq, get_next_seq_cached and do_compare.
5144
91ce4085
FW
51452013-08-16 Florian Weimer <fweimer@redhat.com>
5146
5147 [BZ #14699]
5148 CVE-2013-4237
5149 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5150 member.
5151 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5152 member.
5153 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5154 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5155 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5156 conditional.
5157 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5158 GETDENTS_64BIT_ALIGNED.
5159 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5160 * manual/filesys.texi (Reading/Closing Directory): Document
5161 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5162 strongly.
5163 * manual/conf.texi (Limits for Files): Add portability note to
5164 NAME_MAX, PATH_MAX.
5165 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5166
ca0a6bc4
AS
51672013-08-13 Andreas Schwab <schwab@suse.de>
5168
5169 [BZ #15749]
5170 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5171 of fabs.
5172 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5173 LDBL_MAX_EXP >= 16384]: Add tests for it.
5174
6c1fd795
DM
51752013-08-12 David S. Miller <davem@davemloft.net>
5176
5177 * version.h (RELEASE): Set to "development".
5178 (VERSION): Set to "2.18.90".
5179 * NEWS: Add 2.19 section.
5180
31ad488d
DM
51812013-08-03 David S. Miller <davem@davemloft.net>
5182
5183 * po/ko.po: Update Korean translation from translation project.
5184
db24e684
DM
51852013-08-01 David S. Miller <davem@davemloft.net>
5186
5187 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5188 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5189 Bilka.
5190
f723285b
DM
51912013-07-30 David S. Miller <davem@davemloft.net>
5192
5193 * po/fr.po: Update French translation from translation project.
5194
3cbc52db
DM
51952013-07-28 David S. Miller <davem@davemloft.net>
5196
30bbc0cc
DM
5197 * po/cs.po: Update Czech translation from translation project.
5198
3cbc52db
DM
5199 * po/sv.po: Update Swedish translation from translation project.
5200
d492e6d0
DM
52012013-07-27 David S. Miller <davem@davemloft.net>
5202
f1a7f492
DM
5203 * po/eo.po: Update Esperanto translation from translation project.
5204
90e62a4a
DM
5205 * po/vi.po: Update Vietnamese translation from translation project.
5206
d492e6d0
DM
5207 * po/de.po: Update German translation from translation project.
5208
d4baa62d
DM
52092013-07-26 David S. Miller <davem@davemloft.net>
5210
641aa7b4
DM
5211 * po/bg.po: Update Bulgarian translation from translation project.
5212
d4baa62d
DM
5213 * po/nl.po: Update Dutch translation from translation project.
5214 * po/pl.po: Update Polish translation from translation project.
5215 * po/ru.po: Update Russian translation from translation project.
5216
61a9dcb9
DM
52172013-07-24 David S. Miller <davem@davemloft.net>
5218
5219 * po/libc.pot: Update.
5220
7b1f8b58
AZ
52212013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5222
5223 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5224 variable page size.
5225 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5226 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5227 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5228
a8fc7a03
AK
52292013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5230
5231 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5232
e4608715
CD
52332013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5234 Andreas Schwab <schwab@suse.de>
5235 Roland McGrath <roland@hack.frob.com>
5236 Joseph Myers <joseph@codesourcery.com>
5237 Carlos O'Donell <carlos@redhat.com>
5238
5239 [BZ #15755]
5240 * config.h.in: Define HAVE_PT_CHOWN.
5241 * config.make.in (build-pt-chown): New variable.
5242 * configure.in (--enable-pt_chown): New configure option.
5243 * configure: Regenerate.
5244 * login/Makefile: Include Makeconfig. Build pt_chown only if
5245 build-pt-chown is enabled.
5246 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5247 pt_chown to fix pty ownership.
5248 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5249 CLOSE_ALL_FDS.
5250 * manual/install.texi (Configuring and compiling): Mention
5251 --enable-pt_chown. Add @findex for grantpt.
5252 * INSTALL: Regenerate.
5253
da2d62df
DM
52542013-07-20 David S. Miller <davem@davemloft.net>
5255
5256 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5257 difference between 32-bit and 64-bit.
5258
d7e06450
CD
52592013-07-15 Carlos O'Donell <carlos@redhat.com>
5260
5261 [BZ #15711]
5262 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5263 Avoid system header dependency with -ffreestanding.
5264 ($(objpfx)bits/syscall%d): Likewise.
5265
f959cfd7
DM
52662013-07-13 David S. Miller <davem@davemloft.net>
5267
5268 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5269 underflows from atanl/atan2l due to bug 15319.
5270 (casinh_test_data): Likewise.
5271
c61f8513
DM
52722013-07-07 David S. Miller <davem@davemloft.net>
5273
5274 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5275
72c90ed0
JA
52762013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5277
5278 * sysdeps/i386/fpu/libm-test-ulps: Update.
5279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5280
52dfbe13
SP
52812013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5282
5283 * configure.in (--enable-lock-elision): Fix message text.
5284 * INSTALL: Regenerate.
5285 * configure: Regenerate.
5286
3f169543
AZ
52872013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5288
5289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5290
521c6785
AJ
52912013-07-03 Andreas Jaeger <aj@suse.de>
5292
5293 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5294 define.
5295 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5296 (ptrace_peeksiginfo_args): Add.
5297 (__ptrace_peeksiginfo_flags): Add.
5298 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5299 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5300 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5301
d2cc15cb
AM
53022013-07-03 Allan McRae <allan@archlinux.org>
5303
5304 * sysdeps/i386/fpu/libm-test-ulps: Update.
5305
3aaeeca7
DM
53062013-07-02 David S. Miller <davem@davemloft.net>
5307
5308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5309
5314ed1a
MT
53102013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5311
5312 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5313
67338156
JM
53142013-07-02 Joseph Myers <joseph@codesourcery.com>
5315
5316 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5318
1717da59
AK
53192013-07-02 Andi Kleen <ak@linux.intel.com>
5320
5321 * config.h.in (ENABLE_LOCK_ELISION): Add.
5322 * configure.in (--enable-lock-elision): Add option.
5323 * manual/install.texi: Document --enable lock elision.
5324 * configure: Regenerate
5325 * INSTALL: Regenerate.
5326
1c81621c
L
53272013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5328
5329 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5330 SSE4.2 strcasecmp for libc.a.
5331 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5332
77f01ab5
JM
53332013-07-02 Joseph Myers <joseph@codesourcery.com>
5334
5335 [BZ #13304]
5336 * soft-fp/op-common.h (_FP_FMA): New macro.
5337 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5338 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5339 (_FP_MUL_MEAT_1_imm): ... here.
5340 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5341 (_FP_MUL_MEAT_1_wide): ... here.
5342 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5343 (_FP_MUL_MEAT_1_hard): ... here.
5344 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5345 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5346 (_FP_MUL_MEAT_2_wide): ... here.
5347 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5348 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5349 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5350 (_FP_MUL_MEAT_2_gmp): ... here.
5351 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5352 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5353 (_FP_MUL_MEAT_4_wide): ... here.
5354 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5355 (_FP_MUL_MEAT_4_gmp): ... here.
5356 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5357 (_FP_WFRACBITS_DW_S): Likewise.
5358 (_FP_WFRACXBITS_DW_S): Likewise.
5359 (_FP_HIGHBIT_DW_S): Likewise.
5360 (FP_FMA_S): Likewise.
5361 (_FP_FRAC_HIGH_DW_S): Likewise.
5362 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5363 (_FP_WFRACBITS_DW_D): Likewise.
5364 (_FP_WFRACXBITS_DW_D): Likewise.
5365 (_FP_HIGHBIT_DW_D): Likewise.
5366 (FP_FMA_D): Likewise.
5367 (_FP_FRAC_HIGH_DW_D): Likewise.
5368 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5369 (_FP_WFRACBITS_DW_E): Likewise.
5370 (_FP_WFRACXBITS_DW_E): Likewise.
5371 (_FP_HIGHBIT_DW_E): Likewise.
5372 (FP_FMA_E): Likewise.
5373 (_FP_FRAC_HIGH_DW_E): Likewise.
5374 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5375 (_FP_WFRACBITS_DW_Q): Likewise.
5376 (_FP_WFRACXBITS_DW_Q): Likewise.
5377 (_FP_HIGHBIT_DW_Q): Likewise.
5378 (FP_FMA_Q): Likewise.
5379 (_FP_FRAC_HIGH_DW_Q): Likewise.
5380 * soft-fp/fmasf4.c: New file.
5381 * soft-fp/fmadf4.c: Likewise.
5382 * soft-fp/fmatf4.c: Likewise.
5383
6308fd9a
LD
53842013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5385
5386 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5387 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5388 Silvermont.
5389 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5390 macro.
5391 (index_Slow_SSE4_2): Likewise.
5392 (index_Prefer_PMINUB_for_stringop): Likewise.
5393 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5394 bit_Slow_SSE4_2 is set.
5395 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5396 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5397
89cd9569
RA
53982013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5399
5400 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5401 rtld_global._dl_hwcap2.
5402 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5403 POWER8.
5404 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5405 POWER8 feature descriptions defined in _dl_hwcap2.
5406 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5407 string handling for POWER8 feature bits.
5408 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5409 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5410 _dl_powerpc_cap_flags.
5411 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5412 * sysdeps/powerpc/rtld-global-offsets.sym
5413 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5414 _dl_hwcap2 in the rtld_global_ro structure.
5415
1ae8bfe0
RA
54162013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5417
5418 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5419 hardware capabilities in support of AT_HWCAP2.
5420 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5421 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5422 GLRO(dl_hwcap2).
5423 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5424 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5425 explicitly the unknown a_type display mechanism is used.
5426 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5427 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5428 struct member.
5429 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5430 to macro prototype for AT_HWCAP2 support.
5431 * sysdeps/i386/dl-procinfo.h: Likewise.
5432 * sysdeps/s390/dl-procinfo.h: Likewise.
5433 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5434 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5435 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5436 return -1 for unknown a_type display fallback.
5437 * sysdeps/sparc/dl-procinfo.h: Likewise.
5438 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5439 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5440
8fbec010
JM
54412013-06-28 Joseph Myers <joseph@codesourcery.com>
5442
5443 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5444 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5445
0432680e
PY
54462013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5447
5448 [BZ #12492]
5449 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5450 mprotect making __stack_prot writable.
5451
ce61a2ad
NF
54522013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5453 Joseph Myers <joseph@codesourcery.com>
5454
5455 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5456 as being properly aligned.
5457
f91f1c0f
MR
54582013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5459
3d0f5d0c
MR
5460 * dlfcn/modstatic5.c: New file.
5461 * dlfcn/tststatic5.c: New file.
5462 * dlfcn/Makefile (tests): Add tststatic5.
5463 (tests-static): Likewise.
5464 (modules-names): Add modstatic5.
5465 (tststatic5-ENV): New variable.
5466 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5467
f91f1c0f
MR
5468 [BZ #15022]
5469 * elf/dl-support.c (_dl_main_map): New variable.
5470 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5471 (_dl_nns, _dl_load_adds): Set to 1.
5472 (_dl_initial_searchlist): Refer to _dl_main_map.
5473 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5474 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5475 call to _dl_get_origin.
5476 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5477 around call_map.
5478 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5479 * dlfcn/modstatic3.c: New file.
5480 * dlfcn/tststatic3.c: New file.
5481 * dlfcn/tststatic4.c: New file.
5482 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5483 (tests-static): Likewise.
5484 (modules-names): Add modstatic3.
5485 (tststatic3-ENV, tststatic4-ENV): New variables.
5486 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5487 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5488
cbe7d24b
JM
54892013-06-26 Joseph Myers <joseph@codesourcery.com>
5490
5491 * configure.in (CC): Require GCC version 4.4 or later.
5492 * configure: Regenerated.
5493 * manual/install.texi (Tools for Compilation): Update GCC version
5494 requirement.
5495 * INSTALL: Regenerated.
5496
11b8a0e1
LD
54972013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5498
5499 [BZ #15674]
bb5bb87c
L
5500 * string/test-memcmp.c (check2): New.
5501 (main): Call check2.
5502
11b8a0e1
LD
5503 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5504
b0037103
MR
55052013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5506
5507 [BZ #15022]
5508 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5509 over to...
5510 (dl_open_worker) [!SHARED]: ... here.
5511
c18c701d
RA
55122013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5513
5514 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5515
1d17fa5f
RH
55162013-06-25 Richard Henderson <rth@redhat.com>
5517
5518 * locale/programs/locarchive.c: Include <libc-internal.h>
5519
8fcb833a
JM
55202013-06-25 Joseph Myers <joseph@codesourcery.com>
5521
5522 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5523 trailing whitespace removed.
5524
17db6e8d
MF
55252013-06-24 Mike Frysinger <vapier@gentoo.org>
5526
5527 [BZ #10283]
17db6e8d
MF
5528 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5529 * locale/programs/locarchive.c: Include libc-mmap.h.
5530 (prepare_address_space): Take two new outputs (the mmap base and len).
5531 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5532 values.
5533 (create_archive): Declare new mmap base and len values for
5534 prepare_address_space, and store the result in ah.
5535 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5536 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5537 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5538 Declare new mmap base and len values for
5539 prepare_address_space, and store the result in new_ah.
5540 (open_archive): Declare new mmap base and len values for
5541 prepare_address_space, and store the result in ah.
5542 (close_archive): If ah->mmap_base is not NULL, use that and
5543 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5544 * sysdeps/generic/libc-mmap.h: New file.
5545
d605071e
MF
55462013-06-24 Mike Frysinger <vapier@gentoo.org>
5547
5548 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5549 (ALIGN_UP): Likewise.
5550 (PTR_ALIGN_DOWN): Likewise.
5551 (PTR_ALIGN_UP): Likewise.
5552
2f063a6e
RA
55532013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5554
5555 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5556 entry mapped to PPC_PLATFORM_POWER8.
5557 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5558 POWER8.
5559 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5560 (_dl_string_platform): Add case for exporting platform position for
5561 POWER8.
5562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5563 search path to sysdeps/powerpc/powerpc32/power8 directory.
5564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5565 search path to sysdeps/powerpc/powerpc64/power8 directory.
5566 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5567 power7 directories.
5568 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5569 power7 directories.
5570
a31ee4b3
SP
55712013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5572
a74ca98f
SP
5573 * INSTALL: Regenerate.
5574
a31ee4b3
SP
5575 * nscd/connections.c (nscd_init): Fix comment.
5576
695c378f
JM
55772013-06-22 Joseph Myers <joseph@codesourcery.com>
5578
d8412221
JM
5579 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5580
695c378f
JM
5581 [BZ #15667]
5582 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5583 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5584
d1d54715
MR
55852013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5586
5587 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5588 DL_DST_REQ_STATIC.
5589 (DL_DST_REQ_STATIC): Remove macro.
5590
8fdda7af
JM
55912013-06-21 Joseph Myers <joseph@codesourcery.com>
5592
5593 [BZ #7006]
5594 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5595 with a shift of 0 bits.
5596
f3bc5e5a
MR
55972013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5598
5599 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5600 $(tststatic-ENV).
5601
be09e8c9
KK
56022013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5603
5604 [BZ #15655]
5605 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5606
85c2e611
AZ
56072013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5608
5609 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5610 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5611 accepts -fno-tree-loop-distribute-patterns.
5612 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5613 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5614 recursive call.
5615 * string/memset.c (memset): Likewise.
5616 * string/test-memmove.c (simple_memmove): Disable loop transformation
5617 to library calls.
5618 * string/test-memset.c (simple_memset): Likewise.
5619 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5620 * benchtests/bench-memset.c (simple_memset): Likewise.
5621 * configure: Regenerated.
5622
c91e0825
JM
56232013-06-20 Joseph Myers <joseph@codesourcery.com>
5624
b8c792af
JM
5625 * math/test-misc.c (main): Ignore fesetround failure when failures
5626 of subsequent rounding tests would be ignored.
5627
c91e0825
JM
5628 [BZ #15654]
5629 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5630 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5631 * math/fegetenv.c (__fegetenv): Return 0.
5632 * math/fegetexcept.c (fegetexcept): Return 0.
5633 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5634 FE_TONEAREST.
5635 * math/feholdexcpt.c (feholdexcept): Return 0.
5636 * math/fesetenv.c (__fesetenv): Return 0.
5637 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5638 argument FE_TONEAREST.
5639 * math/feupdateenv.c (__feupdateenv): Return 0.
5640 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5641
bfcacbde
RM
56422013-06-18 Roland McGrath <roland@hack.frob.com>
5643
5644 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5645 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5646 ($(objpfx)rtld-%.os rules): Use them.
5647
e55a9b25
AZ
56482013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5649
5650 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5651 fields.
5652
346d65b3
RM
56532013-06-17 Roland McGrath <roland@hack.frob.com>
5654
12086fb4
RM
5655 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5656 length of target pattern, then descending length of dependency pattern.
5657 * configure.in (AWK): Require gawk 3.1.2 or newer.
5658 * manual/install.texi (Tools for Compilation): Say that we do.
5659 * configure: Regenerated.
5660
346d65b3
RM
5661 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5662 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5663 * scripts/sysd-rules.awk: ... this new script.
5664 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5665 than a glob-style pattern.
5666
1a846317
JM
56672013-06-17 Joseph Myers <joseph@codesourcery.com>
5668
5669 * math/test-misc.c (main): Do not treat incorrectly rounded
5670 conversions as failure unless ROUNDING_TESTS passes.
5671
8fc75e6f
JM
56722013-06-15 Joseph Myers <joseph@codesourcery.com>
5673
3711a167
JM
5674 [BZ #15631]
5675 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5676 restore exception state around main square root computation, then
5677 check for inexactness explicitly.
5678
8fc75e6f
JM
5679 * math/libm-test.inc (fma_test_data): Add another test.
5680
61dd6208
SP
56812013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5682
adf23d2c
SP
5683 * manual/threads.texi (Non-POSIX Extensions): New document
5684 node. Document pthread_getattr_default_np and
5685 pthread_setattr_default_np.
5686
61dd6208
SP
5687 * Versions.def (libpthread): Add GLIBC_2.18.
5688 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5690 Likewise.
5691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5692 Likewise.
5693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5694 Likewise.
5695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5696 Likewise.
5697 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5698 Likewise.
5699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5700 Likewise.
5701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5702 Likewise.
5703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5704 Likewise.
5705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5706 Likewise.
5707
d086fc7b
LD
57082013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5709
5710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5711 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5712
747ef469
SP
57132013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5714 H.J. Lu <hjl.tools@gmail.com>
5715
5716 [BZ #15627]
5717 * sysdeps/x86_64/rtld-memset.c: Remove file.
5718 * sysdeps/x86_64/rtld-memset.S: New file.
5719
1b2feed2
JM
57202013-06-14 Joseph Myers <joseph@codesourcery.com>
5721
5722 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5723 (test_in_one_mode): Take arguments for whether the rounding mode
5724 is supported for each floating-point type.
5725 (do_test): Pass new arguments to test_in_one_mode using
5726 ROUNDING_TESTS.
5727
a58ad3f8
RM
57282013-06-13 Roland McGrath <roland@hack.frob.com>
5729
5730 * posix/tst-waitid.c (do_test): Distinguish different instances of
5731 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5732 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5733 before entering the kernel for waitpid.
5734
c204ab28
SP
57352013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5736
5737 * NEWS: Fix note on clock function precision. Text by Roland
5738 McGrath.
5739
f4a29fba
RM
57402013-06-13 Roland McGrath <roland@hack.frob.com>
5741
5742 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5743 it into place only when and if the sanity check passes.
5744
1f24b9ad
JM
57452013-06-13 Joseph Myers <joseph@codesourcery.com>
5746
5747 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5748 output for whether conversion result is exact. Take argument
5749 indicating whether type is IBM long double.
5750 (round_for_all): Change need_exact field to ibm_ld.
5751 * stdlib/tst-strtod-round.c (struct exactness): New type.
5752 (struct test): Change bool ld_ok field to struct exactness exact.
5753 (TEST): Update all definitions for change to field.
5754 (tests): Regenerate array contents.
5755 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5756 field value. Check for IBM long double here.
5757 (do_test): Update calls to test_in_one_mode.
5758
58206c68
SP
57592013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5760
5761 [BZ #12515]
5762 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5763 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5764
2d6f4c5b 57652013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
5766
5767 [BZ #15605]
5768 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5769 generated by the compiler on loop optimizations.
5770 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5771 general definitions.
5772
94f2c076
JM
57732013-06-12 Joseph Myers <joseph@codesourcery.com>
5774
5775 * math/bug-nextafter.c: Include <math-tests.h>.
5776 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5777 the relevant type.
5778 * math/bug-nexttoward.c: Include <math-tests.h>.
5779 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5780 the relevant type.
5781 * math/test-misc.c: Include <math-tests.h>.
5782 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5783 the relevant type.
5784
e0e50a0a
AJ
57852013-06-12 Andreas Jaeger <aj@suse.de>
5786
5787 * po/ia.po: Update Interlingua translation from translation
5788 project.
5789
25061094
SP
57902013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5791
5792 * include/fenv.h: Include stdbool.h.
5793 (struct rm_ctx): New structure.
5794 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5795 Define macro.
5796 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5797 (SET_RESTORE_ROUNDF): Likewise.
5798 (SET_RESTORE_ROUNDL): Likewise.
5799 (SET_RESTORE_ROUND_NOEX): Likewise.
5800 (SET_RESTORE_ROUND_NOEXF): Likewise.
5801 (SET_RESTORE_ROUND_NOEXL): Likewise.
5802 (SET_RESTORE_ROUND_53BIT): Likewise.
5803 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5804 (libc_feresetround_noexf_ctx): Likewise.
5805 (libc_feresetround_noexl_ctx): Likewise.
5806 (libc_feholdsetround_53bit_ctx): Likewise.
5807 (libc_feresetround_53bit_ctx): Likewise.
5808 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5809 (libc_feholdexcept_setround_sse_ctx): New function.
5810 (libc_fesetenv_sse_ctx): Likewise.
5811 (libc_feupdateenv_sse_ctx): Likewise.
5812 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5813 (libc_feholdexcept_setround_387_ctx): Likewise.
5814 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5815 (libc_feholdsetround_387_prec_ctx): Likewise.
5816 (libc_feholdsetround_387_ctx): Likewise.
5817 (libc_feholdsetround_387_53bit_ctx): Likewise.
5818 (libc_feholdsetround_sse_ctx): Likewise.
5819 (libc_feresetround_sse_ctx): Likewise.
5820 (libc_feresetround_387_ctx): Likewise.
5821 (libc_feupdateenv_387_ctx): Likewise.
5822 (libc_feholdexcept_setroundf_ctx): Define macro.
5823 (libc_fesetenvf_ctx): Likewise.
5824 (libc_feupdateenvf_ctx): Likewise.
5825 (libc_feholdsetroundf_ctx): Likewise.
5826 (libc_feresetroundf_ctx): Likewise.
5827 (libc_feholdexcept_setround_ctx): Likewise.
5828 (libc_fesetenv_ctx): Likewise.
5829 (libc_feupdateenv_ctx): Likewise.
5830 (libc_feholdsetround_ctx): Likewise.
5831 (libc_feresetround_ctx): Likewise.
5832 (libc_feholdexcept_setroundl_ctx): Likewise.
5833 (libc_feupdateenvl_ctx): Likewise.
5834 (libc_feholdsetroundl_ctx): Likewise.
5835 (libc_feresetroundl_ctx): Likewise.
5836 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5837 (libc_feresetround_53bit_ctx): Likewise.
5838
59b30555
SP
58392013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5840
5841 * locale/iso-639.def: Convert to UTF-8.
5842
f1d73d30
JM
58432013-06-11 Joseph Myers <joseph@codesourcery.com>
5844
5845 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5846 (EXCEPTION_TESTS_double): Likewise.
5847 (EXCEPTION_TESTS_long_double): Likewise.
5848 (EXCEPTION_TESTS): Likewise.
5849 * math/libm-test.inc (test_exceptions): Only test exceptions if
5850 EXCEPTION_TESTS (FLOAT).
5851
94aca5e7
SP
58522013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5853
5854 * benchtests/Makefile (string-bench): Add strcpy_chk and
5855 stpcpy_chk.
5856 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5857 * benchtests/bench-stpcpy_chk.c: New file.
5858 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5859 * benchtests/bench-strcpy_chk.c: New file.
5860 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5861 code.
5862 (do_test): Likewise.
5863
fac0c5f2
RA
58642013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5865
5866 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5867 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5868 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5869 with tabs where appropriate.
5870 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5871 dl-procinfo.h.
5872 [PPC_PLATFORM_PPC440]: Likewise.
5873 [PPC_PLATFORM_PPC464]: Likewise.
5874 [PPC_PLATFORM_PPC476]: Likewise.
5875 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5876 ppc464, and ppc476 platform strings merging from ports/
5877 dl-procinfo.h.
5878
f22bc486
AS
58792013-06-11 Andreas Schwab <schwab@suse.de>
5880
5881 [BZ #14991]
5882 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5883 (from_ucs4_idx): Regenerate.
5884 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5885 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5886 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5887 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5888 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5889 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5890 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5891 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5892 from FROM_LOOP and TO_LOOP specific macros.
5893 (BODY): Handle combining characters.
5894 * iconvdata/BIG5HKSCS.irreversible: Update.
5895 * iconvdata/BIG5HKSCS.precomposed: New file.
5896 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5897 characters.
5898 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5899
c1f75dc3
SP
59002013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5901
4eacded2
SP
5902 * include/sys/time.h: Fix indentation and add copyright header.
5903
fec799f8
SP
5904 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5905 (do_test): Likewise.
5906 * string/test-memchr.c (do_one_test): Likewise.
5907 (do_test): Likewise.
5908 * string/test-memcmp.c (do_one_test): Likewise.
5909 (do_test): Likewise.
5910 * string/test-memcpy.c (do_one_test): Likewise.
5911 (do_test): Likewise.
5912 * string/test-memmem.c (do_one_test): Likewise.
5913 (do_test): Likewise.
5914 (do_random_tests): Likewise.
5915 * string/test-memmove.c (do_one_test): Likewise.
5916 (do_test): Likewise.
5917 * string/test-memset.c (do_one_test): Likewise.
5918 (do_test): Likewise.
5919 * string/test-rawmemchr.c (do_one_test): Likewise.
5920 (do_test): Likewise.
5921 * string/test-strcasecmp.c (do_one_test): Likewise.
5922 (do_test): Likewise.
5923 * string/test-strcasestr.c (do_one_test): Likewise.
5924 (do_test): Likewise.
5925 * string/test-strcat.c (do_one_test): Likewise.
5926 (do_test): Likewise.
5927 * string/test-strchr.c (do_one_test): Likewise.
5928 (do_test): Likewise.
5929 * string/test-strcmp.c (do_one_test): Likewise.
5930 (do_test): Likewise.
5931 * string/test-strcpy.c (do_one_test): Likewise.
5932 (do_test): Likewise.
5933 * string/test-string.h: Likewise.
5934 (test_init): Likewise.
5935 * string/test-strlen.c (do_one_test): Likewise.
5936 (do_test): Likewise.
5937 * string/test-strncasecmp.c (do_one_test): Likewise.
5938 (do_test): Likewise.
5939 * string/test-strncat.c (do_one_test): Likewise.
5940 (do_test): Likewise.
5941 * string/test-strncmp.c (do_one_test): Likewise.
5942 (do_test_limit): Likewise.
5943 (do_test): Likewise.
5944 * string/test-strncpy.c (do_one_test): Likewise.
5945 (do_test): Likewise.
5946 * string/test-strnlen.c (do_one_test): Likewise.
5947 (do_test): Likewise.
5948 * string/test-strpbrk.c (do_one_test): Likewise.
5949 (do_test): Likewise.
5950 * string/test-strrchr.c (do_one_test): Likewise.
5951 (do_test): Likewise.
5952 * string/test-strspn.c (do_one_test): Likewise.
5953 (do_test): Likewise.
5954 * string/test-strstr.c (do_one_test): Likewise.
5955 (do_test): Likewise.
5956
97020474
SP
5957 * benchtests/Makefile (string-bench): Add string benchmarks.
5958 * benchtests/bench-bcopy-ifunc.c: New file.
5959 * benchtests/bench-bcopy.c: New file.
5960 * benchtests/bench-bzero-ifunc.c: New file.
5961 * benchtests/bench-bzero.c: New file.
5962 * benchtests/bench-memccpy-ifunc.c: New file.
5963 * benchtests/bench-memccpy.c: New file.
5964 * benchtests/bench-memchr-ifunc.c: New file.
5965 * benchtests/bench-memchr.c: New file.
5966 * benchtests/bench-memcmp-ifunc.c: New file.
5967 * benchtests/bench-memcmp.c: New file.
5968 * benchtests/bench-memmem-ifunc.c: New file.
5969 * benchtests/bench-memmem.c: New file.
5970 * benchtests/bench-memmove-ifunc.c: New file.
5971 * benchtests/bench-memmove.c: New file.
5972 * benchtests/bench-mempcpy-ifunc.c: New file.
5973 * benchtests/bench-mempcpy.c: New file.
5974 * benchtests/bench-memset-ifunc.c: New file.
5975 * benchtests/bench-memset.c: New file.
5976 * benchtests/bench-rawmemchr-ifunc.c: New file.
5977 * benchtests/bench-rawmemchr.c: New file.
5978 * benchtests/bench-stpcpy-ifunc.c: New file.
5979 * benchtests/bench-stpcpy.c: New file.
5980 * benchtests/bench-stpncpy-ifunc.c: New file.
5981 * benchtests/bench-stpncpy.c: New file.
5982 * benchtests/bench-strcasecmp-ifunc.c: New file.
5983 * benchtests/bench-strcasecmp.c: New file.
5984 * benchtests/bench-strcasestr-ifunc.c: New file.
5985 * benchtests/bench-strcasestr.c: New file.
5986 * benchtests/bench-strcat-ifunc.c: New file.
5987 * benchtests/bench-strcat.c: New file.
5988 * benchtests/bench-strchr-ifunc.c: New file.
5989 * benchtests/bench-strchr.c: New file.
5990 * benchtests/bench-strchrnul-ifunc.c: New file.
5991 * benchtests/bench-strchrnul.c: New file.
5992 * benchtests/bench-strcmp-ifunc.c: New file.
5993 * benchtests/bench-strcmp.c: New file.
5994 * benchtests/bench-strcpy-ifunc.c: New file.
5995 * benchtests/bench-strcpy.c: New file.
5996 * benchtests/bench-strcspn-ifunc.c: New file.
5997 * benchtests/bench-strcspn.c: New file.
5998 * benchtests/bench-strlen-ifunc.c: New file.
5999 * benchtests/bench-strlen.c: New file.
6000 * benchtests/bench-strncasecmp-ifunc.c: New file.
6001 * benchtests/bench-strncasecmp.c: New file.
6002 * benchtests/bench-strncat-ifunc.c: New file.
6003 * benchtests/bench-strncat.c: New file.
6004 * benchtests/bench-strncmp-ifunc.c: New file.
6005 * benchtests/bench-strncmp.c: New file.
6006 * benchtests/bench-strncpy-ifunc.c: New file.
6007 * benchtests/bench-strncpy.c: New file.
6008 * benchtests/bench-strnlen-ifunc.c: New file.
6009 * benchtests/bench-strnlen.c: New file.
6010 * benchtests/bench-strpbrk-ifunc.c: New file.
6011 * benchtests/bench-strpbrk.c: New file.
6012 * benchtests/bench-strrchr-ifunc.c: New file.
6013 * benchtests/bench-strrchr.c: New file.
6014 * benchtests/bench-strspn-ifunc.c: New file.
6015 * benchtests/bench-strspn.c: New file.
6016 * benchtests/bench-strstr-ifunc.c: New file.
6017 * benchtests/bench-strstr.c: New file.
6018
c1f75dc3
SP
6019 * benchtests/Makefile: Disable parallel execution of targets.
6020 (string-bench): Add memcpy.
6021 (benchset): New variable to store a list of benchmark sets.
6022 (bench-func): Renamed from bench.
6023 (bench-set): New target.
6024 (bench): Depend on bench-func and bench-set.
6025 * benchtests/README: Add section on benchmark sets.
6026 * benchtests/bench-memcpy-ifunc.c: New file.
6027 * benchtests/bench-memcpy.c: New file.
6028 * benchtests/bench-string.h: New file.
6029
50fd745b
AS
60302013-06-11 Andreas Schwab <schwab@suse.de>
6031
6032 [BZ #15577]
6033 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6034 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6035 values in the triple.
6036 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6037 terminator in the group key.
6038
3ee7e9fe
AJ
60392013-06-11 Andreas Jaeger <aj@suse.de>
6040
6041 * po/zh_TW.po: Update Chinese (traditional) translation from
6042 translation project.
6043
89fb6835
SP
60442013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6045
6046 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6047 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6048 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6049 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6050 (clock_getcpuclockid): Likewise.
6051 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6052 Add weak_alias and libc_hidden_def.
6053 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6054 * rt/clock_gettime.c (clock_gettime): Rename to
6055 __clock_gettime. Add weak_alias and libc_hidden_def.
6056 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6057 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6058 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6059 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6060 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6061 Likewise.
6062 * rt/clock_settime.c (clock_settime): Rename to
6063 __clock_settime. Add weak_alias and libc_hidden_def.
6064 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6065
0efa6f8b
JM
60662013-06-10 Joseph Myers <joseph@codesourcery.com>
6067
b8c61b4b
JM
6068 * mach/err_boot.sub: Remove trailing whitespace.
6069 * mach/err_ipc.sub: Likewise.
6070 * mach/err_mach.sub: Likewise.
6071
0efa6f8b
JM
6072 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6073 (ROUNDING_TESTS_double): Likewise.
6074 (ROUNDING_TESTS_long_double): Likewise.
6075 (ROUNDING_TESTS): Likewise.
6076 * math/libm-test.inc: Include <math-tests.h>.
6077 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6078 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6079 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6080 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6081
50b818bf
SP
60822013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6083
6084 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6085 of assigning.
6086
60d2f8f3
JM
60872013-06-08 Joseph Myers <joseph@codesourcery.com>
6088
4902d2c3
JM
6089 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6090 otherwise empty TRANS lines.
6091 * sysdeps/gnu/errlist.c: Regenerated.
6092
60d2f8f3
JM
6093 * catgets/gencat.c (error_print): Use (void) in function
6094 definition.
6095 * crypt/crypt_util.c (__init_des): Likewise.
6096 * crypt/speeds.c (Stop): Likewise.
6097 (main): Likewise.
6098 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6099 * inet/ruserpass.c (token): Likewise.
6100 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6101 * intl/localealias.c (extend_alias_table): Likewise.
6102 * intl/plural-exp.c (init_germanic_plural): Likewise.
6103 * libio/fcloseall.c (__fcloseall): Likewise.
6104 * libio/genops.c (_IO_flush_all): Likewise.
6105 (_IO_flush_all_linebuffered): Likewise.
6106 (_IO_cleanup): Likewise.
6107 (_IO_iter_begin): Likewise.
6108 (_IO_iter_end): Likewise.
6109 (_IO_list_lock): Likewise.
6110 (_IO_list_unlock): Likewise.
6111 (_IO_list_resetlock): Likewise.
6112 * libio/getchar.c (getchar): Likewise.
6113 * libio/getchar_u.c (getchar_unlocked): Likewise.
6114 * libio/getwchar.c (getwchar): Likewise.
6115 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6116 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6117 * login/getpt.c (__getpt): Likewise.
6118 * login/tst-utmp.c (main): Likewise.
6119 * malloc/hooks.c (__malloc_check_init): Likewise.
6120 * malloc/malloc.c (__malloc_stats): Likewise.
6121 * malloc/mtrace.c (tr_break): Likewise.
6122 (mtrace): Likewise.
6123 (muntrace): Likewise.
6124 * misc/fstab.c (endfsent): Likewise.
6125 * misc/getclktck.c (__getclktck): Likewise.
6126 * misc/getdtsz.c (__getdtablesize): Likewise.
6127 * misc/gethostid.c (gethostid): Likewise.
6128 * misc/getpagesize.c (__getpagesize): Likewise.
6129 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6130 (__get_nprocs): Likewise.
6131 (__get_phys_pages): Likewise.
6132 (__get_avphys_pages): Likewise.
6133 * misc/getttyent.c (getttyent): Likewise.
6134 (setttyent): Likewise.
6135 (endttyent): Likewise.
6136 * misc/getusershell.c (getusershell): Likewise.
6137 (endusershell): Likewise.
6138 (setusershell): Likewise.
6139 (initshells): Likewise.
6140 * misc/hsearch.c (__hdestroy): Likewise.
6141 * misc/sync.c (sync): Likewise.
6142 * misc/syslog.c (closelog_internal): Likewise.
6143 (closelog): Likewise.
6144 * misc/ttyslot.c (ttyslot): Likewise.
6145 * misc/vhangup.c (vhangup): Likewise.
6146 * posix/fork.c (__fork): Likewise.
6147 * posix/getegid.c (__getegid): Likewise.
6148 * posix/geteuid.c (__geteuid): Likewise.
6149 * posix/getgid.c (__getgid): Likewise.
6150 * posix/getpid.c (__getpid): Likewise.
6151 * posix/getppid.c (__getppid): Likewise.
6152 * posix/getuid.c (__getuid): Likewise.
6153 * posix/pause.c (pause): Likewise.
6154 * posix/setpgrp.c (setpgrp): Likewise.
6155 * posix/setsid.c (__setsid): Likewise.
6156 * posix/test-vfork.c (noop): Likewise.
6157 * resolv/gethnamaddr.c (_endhtent): Likewise.
6158 (_gethtent): Likewise.
6159 (ht_endhostent): Likewise.
6160 (gethostent): Likewise.
6161 (dns_service): Likewise.
6162 * stdlib/drand48.c (drand48): Likewise.
6163 * stdlib/lrand48.c (lrand48): Likewise.
6164 * stdlib/mrand48.c (mrand48): Likewise.
6165 * stdlib/rand.c (rand): Likewise.
6166 * stdlib/random.c (__random): Likewise.
6167 * stdlib/setenv.c (clearenv): Likewise.
6168 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6169 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6170 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6171 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6172 (__get_nprocs): Likewise.
6173 (__get_phys_pages): Likewise.
6174 (__get_avphys_pages): Likewise.
6175 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6176 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6177 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6178 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6179 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6180 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6181 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6182 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6183 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6184 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6185 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6186 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6187 * sysdeps/posix/clock.c (clock): Likewise.
6188 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6189 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6190 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6191 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6192 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6193 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6194 (__get_nprocs_conf): Likewise.
6195 (__get_phys_pages): Likewise.
6196 (__get_avphys_pages): Likewise.
6197 * time/clock.c (clock): Likewise.
6198 * time/tzset.c (__tzname_max): Likewise.
6199
2e09a79a
JM
62002013-06-07 Joseph Myers <joseph@codesourcery.com>
6201
6202 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6203 (__bswap_32): Do not use "register".
6204 * crypt/crypt.c (_ufc_doit_r): Likewise.
6205 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6206 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6207 * gmon/gmon.c (__monstartup): Likewise.
6208 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6209 * hurd/hurdmalloc.c (more_memory): Likewise.
6210 (malloc): Likewise.
6211 (free): Likewise.
6212 (realloc): Likewise.
6213 (malloc_fork_prepare): Likewise.
6214 (malloc_fork_parent): Likewise.
6215 (malloc_fork_child): Likewise.
6216 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6217 (_svcauth_des): Likewise.
6218 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6219 * inet/inet_net.c (inet_network): Likewise.
6220 * inet/inet_netof.c (inet_netof): Likewise.
6221 * inet/rcmd.c (__validuser2_sa): Likewise.
6222 * io/fts.c (fts_open): Likewise.
6223 (fts_load): Likewise.
6224 (fts_close): Likewise.
6225 (fts_read): Likewise.
6226 (fts_children): Likewise.
6227 (fts_build): Likewise.
6228 (fts_stat): Likewise.
6229 (fts_sort): Likewise.
6230 (fts_alloc): Likewise.
6231 (fts_lfree): Likewise.
6232 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6233 (_IO_file_xsgetn): Likewise.
6234 (_IO_file_xsgetn_mmap): Likewise.
6235 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6236 (_IO_cookie_write): Likewise.
6237 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6238 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6239 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6240 * malloc/obstack.c (_obstack_begin): Likewise.
6241 (_obstack_begin_1): Likewise.
6242 (_obstack_newchunk): Likewise.
6243 (_obstack_allocated_p): Likewise.
6244 (obstack_free): Likewise.
6245 (_obstack_memory_used): Likewise.
6246 * misc/getttyent.c (getttynam): Likewise.
6247 (getttyent): Likewise.
6248 (skip): Likewise.
6249 (value): Likewise.
6250 * misc/getusershell.c (initshells): Likewise.
6251 * misc/syslog.c (__vsyslog_chk): Likewise.
6252 * misc/ttyslot.c (ttyslot): Likewise.
6253 * nis/nis_hash.c (__nis_hash): Likewise.
6254 * posix/fnmatch_loop.c (FCT): Likewise.
6255 * posix/getconf.c (print_all): Likewise.
6256 (main): Likewise.
6257 * posix/getopt.c (exchange): Likewise.
6258 * posix/glob.c (globfree): Likewise.
6259 (prefix_array): Likewise.
6260 (__glob_pattern_type): Likewise.
6261 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6262 (NS_GET32): Likewise.
6263 (NS_PUT16): Likewise.
6264 (NS_PUT32): Likewise.
6265 * resolv/gethnamaddr.c (getanswer): Likewise.
6266 (gethostbyname2): Likewise.
6267 (gethostbyaddr): Likewise.
6268 (_gethtent): Likewise.
6269 (_gethtbyname2): Likewise.
6270 (_gethtbyaddr): Likewise.
6271 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6272 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6273 * resolv/res_init.c (__res_vinit): Likewise.
6274 (net_mask): Likewise.
6275 * resolv/res_mkquery.c (outchar): Likewise.
6276 (PRINT): Likewise.
6277 * stdio-common/printf_fp.c (outchar): Likewise.
6278 (PRINT): Likewise.
6279 * stdio-common/printf_fphex.c (outchar): Likewise.
6280 (PRINT): Likewise.
6281 * stdio-common/printf_size.c (outchar): Likewise.
6282 (PRINT): Likewise.
6283 * stdio-common/test_rdwr.c (main): Likewise.
6284 * stdio-common/tfformat.c (matches): Likewise.
6285 * stdio-common/vfprintf.c (outchar): Likewise.
6286 (printf_unknown): Likewise.
6287 (buffered_vfprintf): Likewise.
6288 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6289 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6290 (ReadFile): Likewise.
6291 * stdlib/qsort.c (SWAP): Likewise.
6292 (_quicksort): Likewise.
6293 * stdlib/setenv.c (__add_to_environ): Likewise.
6294 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6295 * stdlib/strtol_l.c (__strtol_l): Likewise.
6296 * stdlib/tst-strtod.c (main): Likewise.
6297 * stdlib/tst-strtol.c (main): Likewise.
6298 * stdlib/tst-strtoll.c (main): Likewise.
6299 * string/bits/string2.h (__strcmp_cc): Likewise.
6300 (__strcmp_cg): Likewise.
6301 (__strcspn_c1): Likewise.
6302 (__strcspn_c2): Likewise.
6303 (__strcspn_c3): Likewise.
6304 (__strspn_c1): Likewise.
6305 (__strspn_c2): Likewise.
6306 (__strspn_c3): Likewise.
6307 (__strsep_1c): Likewise.
6308 (__strsep_2c): Likewise.
6309 (__strsep_3c): Likewise.
6310 * string/memccpy.c (__memccpy): Likewise.
6311 * string/stpcpy.c (__stpcpy): Likewise.
6312 * string/strcmp.c (strcmp): Likewise.
6313 * string/strrchr.c (strrchr): Likewise.
6314 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6315 Likewise.
6316 * sysdeps/mach/hurd/getcwd.c
6317 (_hurd_canonicalize_directory_name_internal): Likewise.
6318 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6319 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6320 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6321 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6322 Likewise, in both definitions.
6323 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6324 definitions.
6325 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6326 64] (__bswap_64): Likewise.
6327 * time/test_time.c (main): Likewise.
6328 * time/tzfile.c (__tzfile_read): Likewise.
6329 (__tzfile_compute): Likewise.
6330 * time/tzset.c (__tzset_parse_tz): Likewise.
6331 (tzset_internal): Likewise.
6332 (compute_change): Likewise.
6333 * wcsmbs/wcscat.c (__wcscat): Likewise.
6334 * wcsmbs/wcschr.c (wcschr): Likewise.
6335 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6336 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6337 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6338 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6339 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6340 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6341 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6342 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6343 * wcsmbs/wmemset.c (wmemset): Likewise.
6344
9e54314b
JM
63452013-06-06 Joseph Myers <joseph@codesourcery.com>
6346
6347 * scripts/config.guess: Update to version 2013-05-16.
6348 * scripts/config.sub: Update to version 2013-04-24.
6349 * scripts/install-sh: Update to version 2011-11-20.07.
6350 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6351 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6352
350635a5
OB
63532013-06-06 Ondřej Bílka <neleai@seznam.cz>
6354
6355 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6356 * elf/sln.c: Likewise.
6357 * hurd/hurd/ioctl.h: Likewise.
6358 * hurd/hurdmalloc.c: Likewise.
6359 * hurd/xattr.c: Likewise.
6360 * include/shlib-compat.h: Likewise.
6361 * inet/ruserpass.c: Likewise.
6362 * libio/iofgets_u.c: Likewise.
6363 * libio/iofgetws_u.c: Likewise.
6364 * locale/programs/ld-identification.c: Likewise.
6365 * locale/programs/ld-time.c: Likewise.
6366 * mach/msg-destroy.c: Likewise.
6367 * nss/nss_files/files-netgrp.c: Likewise.
6368 * resolv/res_data.c: Likewise.
6369 * soft-fp/op-1.h: Likewise.
6370 * soft-fp/op-2.h: Likewise.
6371 * soft-fp/op-4.h: Likewise.
6372 * soft-fp/op-common.h: Likewise.
6373 * stdio-common/printf_fphex.c: Likewise.
6374 * stdlib/strtod_l.c: Likewise.
6375 * sunrpc/rpc/clnt.h: Likewise.
6376 * sysdeps/generic/framestate.c: Likewise.
6377 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6378 * sysdeps/i386/bsd-setjmp.S: Likewise.
6379 * sysdeps/i386/__longjmp.S: Likewise.
6380 * sysdeps/i386/setjmp.S: Likewise.
6381 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6382 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6383 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6384 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6385 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6386 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6387 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6388 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6389 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6390 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6391 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6392 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6393 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6394 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6395 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6396 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6397 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6398 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6399 * sysdeps/ieee754/support.c: Likewise.
6400 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6401 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6402 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6403 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6404 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6405 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6406 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6407 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6408 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6409 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6410 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6411 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6412 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6413 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6414 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6415 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6416 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6418
44a988af
OB
64192013-06-05 Ondřej Bílka <neleai@seznam.cz>
6420
25506f09 6421 * posix/transbug.c: Remove executable mode.
44a988af 6422
9c84384c
JM
64232013-06-05 Joseph Myers <joseph@codesourcery.com>
6424
6425 * crypt/speeds.c: Remove trailing whitespace.
6426 * dlfcn/default.c: Likewise.
6427 * elf/ifuncdep2.c: Likewise.
6428 * elf/ifuncmain1.c: Likewise.
6429 * elf/ifuncmain1vis.c: Likewise.
6430 * elf/testobj.h: Likewise.
6431 * elf/tst-stackguard1.c: Likewise.
6432 * gmon/sys/gmon.h: Likewise.
6433 * hurd/hurdmsg.c: Likewise.
6434 * hurd/new-fd.c: Likewise.
6435 * hurd/ports-get.c: Likewise.
6436 * iconvdata/ibm1008_420.c: Likewise.
6437 * inet/tst-getni1.c: Likewise.
6438 * inet/tst-getni2.c: Likewise.
6439 * libio/ioungetc.c: Likewise.
6440 * libio/wfiledoalloc.c: Likewise.
6441 * manual/libm-err-tab.pl: Likewise.
6442 * math/w_dremf.c: Likewise.
6443 * misc/ftruncate.c: Likewise.
6444 * posix/bug-glob2.c: Likewise.
6445 * posix/tst-pcre.c: Likewise.
6446 * posix/wait4.c: Likewise.
6447 * resolv/README: Likewise.
6448 * resolv/res_debug.h: Likewise.
6449 * resolv/tst-inet_ntop.c: Likewise.
6450 * setjmp/bug269-setjmp.c: Likewise.
6451 * soft-fp/extended.h: Likewise.
6452 * soft-fp/op-1.h: Likewise.
6453 * soft-fp/op-2.h: Likewise.
6454 * soft-fp/op-4.h: Likewise.
6455 * soft-fp/op-8.h: Likewise.
6456 * soft-fp/testit.c: Likewise.
6457 * stdio-common/bug16.c: Likewise.
6458 * stdlib/random.c: Likewise.
6459 * sunrpc/rpcsvc/rquota.x: Likewise.
6460 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6461 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6462 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6463 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6464 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6465 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6466 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6467 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6468 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6469 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6470 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6471 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6472 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6473 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6474 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6475 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6476 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6477 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6478 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6479 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6480 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6481 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6482 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6483 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6484 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6485 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6486 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6487 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6488 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6489 * sysdeps/ieee754/s_lib_version.c: Likewise.
6490 * sysdeps/mach/hurd/check_fds.c: Likewise.
6491 * sysdeps/mach/hurd/getsockname.c: Likewise.
6492 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6493 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6494 * sysdeps/powerpc/bits/link.h: Likewise.
6495 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6496 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6497 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6498 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6499 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6500 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6501 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6502 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6503 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6504 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6505 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6506 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6507 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6508 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6509 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6510 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6511 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6512 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6513 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6514 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6515 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6516 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6517 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6518 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6519 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6520 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6521 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6522 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6523 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6524 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6525 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6526 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6527 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6528 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6529 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6530 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6531 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6532 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6533 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6534 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6535 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6536 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6537 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6538 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6539 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6540 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6541 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6542 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6543 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6544 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6545 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6546 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6547 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6548 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6549 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6550 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6551 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6552 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6553 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6554 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6555 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6556 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6557 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6558 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6559 * sysdeps/powerpc/sysdep.h: Likewise.
6560 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6561 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6562 * sysdeps/sh/dl-trampoline.S: Likewise.
6563 * sysdeps/sh/memset.S: Likewise.
6564 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6565 * sysdeps/sh/strlen.S: Likewise.
6566 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6567 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6568 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6569 * sysdeps/sparc/sparc32/rem.S: Likewise.
6570 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6571 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6572 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6573 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6574 * sysdeps/sparc/sparc32/urem.S: Likewise.
6575 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6576 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6577 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6578 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6579 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6580 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6581 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6582 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6583 * sysdeps/unix/bsd/times.c: Likewise.
6584 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6585 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6589 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6590 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6591 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6592 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6593 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6594 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6595 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6596 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6597 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6598 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6599 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6600 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6601 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6602 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6603 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6604 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6605 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6606 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6607 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6608 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6609 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6610 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6611 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6612 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6613 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6614 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6615 * sysdeps/x86_64/strcspn.S: Likewise.
6616
869378a5
RA
66172013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6618
6619 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6620 generated file. Regenerate properly from gen-translit.pl.
6621 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6622 locale/C-translit.h.
6623
840e2943
AS
66242013-06-05 Andreas Schwab <schwab@suse.de>
6625
6626 [BZ #15100]
6627 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6628 week as 6 instead of -1.
6629 * time/tst-strptime.c (day_tests): Add test case.
6630
4c60cb0c
SP
66312013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6632
6633 * sysdeps/generic/math_private.h
6634 (libc_feholdexcept_setround_53bit): Replace with
6635 libc_feholdsetround_53bit.
6636 (libc_feupdateenv_53bit): Replace with
6637 libc_feresetround_53bit.
6638 (SET_RESTORE_ROUND_53BIT): Adjust.
6639
d180203e
SP
66402013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6641
96df079a
SP
6642 * string/test-strchrnul.c: Add copyright header.
6643
d180203e
SP
6644 * posix/tst-getaddrinfo4.c: Increase test timeout.
6645
8b0ccb2d
CD
66462013-06-03 Carlos O'Donell <carlos@redhat.com>
6647
6648 [BZ #15536]
6649 * math/libm-test.inc (MAX_EXP): Remove
6650 (MIN_EXP): Define.
6651 (ulp): Use MIN_EXP - MANT_DIG.
6652 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6653
3b3c4d40
CD
66542013-05-31 Carlos O'Donell <carlos@redhat.com>
6655
6656 * po/be.po: Revert last change.
6657 * po/zh_CN.po: Likewise.
6658 * po/header.pot: Likewise.
6659
fab7ce3f
JM
66602013-05-31 Joseph Myers <joseph@codesourcery.com>
6661
6662 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6663 link-libc-deps to empty as target-specific variable.
6664 * Makerules (link-libc-args): New variable.
6665 (libc-for-link): Likewise.
6666 (link-libc-deps): Likewise.
6667 (lib%.so): Depend on $(link-libc-deps). Link with
6668 $(link-libc-args).
6669 (build-module): Link with $(link-libc-args).
6670 (build-module-asneeded): Likewise.
6671 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6672 list of objects.
6673 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6674 target-specific variable.
6675 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6676 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6677 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6678 libc.
6679 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6680 libc and ld.so.
6681 ($(objpfx)libpcprofile.so): Likewise.
6682 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6683 libc_nonshared.a.
6684 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6685 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6686 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6687 $(link-libc-deps).
6688 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6689 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6690 * login/Makefile ($(objpfx)libutil.so): Likewise.
6691 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6692 * math/Makefile ($(objpfx)libm.so): Likewise.
6693 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6694 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6695 variable instead of depending directly on libc.
6696 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6697 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6698 $(link-libc-deps).
6699 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6700 libc.
6701 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6702 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6703 ($(objpfx)libanl.so): Likewise.
6704 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6705 ld.so.
6706 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6707 $(link-libc-deps).
6708 * sysdeps/i386/fpu/Makefile: Remove file.
6709 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6710 ($(objpfx)libm.so): Remove dependency on ld.so.
6711
eca5920c
PF
67122013-05-30 Patsy Franklin <pfrankli@redhat.com>
6713
6714 [BZ # 15553]
6715 * nis/yp_xdr.c (XDRMAXNAME): Define.
6716 (XDRMAXRECORD): Define.
6717 (xdr_domainname): Use XDRMAXNAME.
6718 (xdr_mapname): Likewise.
6719 (xdr_peername): Likewise.
6720 (xdr_keydat): Use XDRMAXRECORD.
6721 (xdr_valdat): Likewise.
6722
67232013-05-30 Jeff Law <law@redhat.com>
96945714
JL
6724
6725 [BZ #14256]
6726 * manual/errno.texi (ESTALE): Update to account for more than
6727 just NFS file systems.
6728 * sysdeps/gnu/errlist.c: Regenerated.
6729
b9375348
SP
67302013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6731
6732 [BZ #15465]
6733 * elf/Makefile (tests): Add tst-null-argv.
6734 (modules-names): Add tst-null-argv-lib.
6735 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6736 (tst-null-argv-ENV): Set environment for tst-null-argv.
6737 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6738 (RTLD_PROGNAME): New macro.
6739 * elf/tst-null-argv.c: New test case.
6740 * elf/tst-null-argv-lib.c: Library for test case.
6741 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6742 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6743 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6744 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6745 * elf/dl-init.c (call_init): Likewise.
6746 (_dl_init): Likewise.
6747 * elf/dl-load.c (print_search_path): Likewise.
6748 (_dl_map_object): Likewise.
6749 * elf/dl-lookup.c (do_lookup_x): Likewise.
6750 (add_dependency): Likewise.
6751 (_dl_lookup_symbol_x): Likewise.
6752 (_dl_debug_bindings): Likewise.
6753 * elf/dl-open.c (_dl_show_scope): Likewise.
6754 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6755 * elf/dl-version.c (match_symbol): Likewise.
6756 (_dl_check_map_versions): Likewise.
6757 * elf/rtld.c (dl_main): Likewise.
6758 (print_unresolved): Use RTLD_PROGNAME.
6759 (print_missing_version): Likewise.
6760 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6761 (elf_machine_rela): Likewise.
6762 * sysdeps/powerpc/powerpc32/dl-machine.c
6763 (__process_machine_rela): Likewise.
6764 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6765 Likewise.
6766 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6767 Likewise.
6768 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6769 Likewise.
6770 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6771 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6772 Likewise.
6773 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6774 Likewise.
6775 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6776
8a9f20c8
CD
67772013-05-28 Carlos O'Donell <carlos@redhat.com>
6778
6779 * po/be.po: Add descriptive title.
6780 * po/zh_CN.po: Likewise.
6781 * po/header.pot: Likewise.
6782
0e60d68e
MF
67832013-05-28 Mike Frysinger <vapier@gentoo.org>
6784
6785 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6786 error message.
6787 (enlarge_archive): Likewise.
6788
56b672e9
BN
67892013-05-28 Ben North <ben@redfrontdoor.org>
6790
6791 * manual/arith.texi (frexp): It is the magnitude of the return
6792 value which lies in [0.5, 1), not the return value itself.
6793
5e056687
AZ
67942013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6795
6796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6797
2b66ef5d
TS
67982013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6799
528c2405
TS
6800 * stdio-common/bug26.c (main): Correct fscanf template.
6801
07b4c13d
TS
6802 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6803 declare _dl_skip_args.
6804
ec9dd97c
TS
6805 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6806 Don't declare.
6807
2b66ef5d
TS
6808 * manual/platform.texi: Add missing @end deftypefun.
6809
4f8dfe27
JM
68102013-05-24 Joseph Myers <joseph@codesourcery.com>
6811
0323d086
JM
6812 [BZ #15529]
6813 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6814 bit of mantissa of 2^16382.
6815 * math/libm-test.inc (hypot_test_data): Add more tests.
6816
dd4259b9
JM
6817 * math/libm-test.inc: Add drem and pow10 to list of tested
6818 functions.
6819 (pow10_test): New function.
6820 (drem_test): Likewise.
6821 (drem_test_tonearest): Likewise.
6822 (drem_test_towardzero): Likewise.
6823 (drem_test_downward): Likewise.
6824 (drem_test_upward): Likewise.
6825 (main): Call the new functions.
6826
4f8dfe27
JM
6827 * math/libm-test.inc (finite_test_data): Remove.
6828 (finite_test): Run tests from isfinite_test_data.
6829 (gamma_test_data): Remove.
6830 (gamma_test): Run tests from lgamma_test_data.
6831 * sysdeps/i386/fpu/libm-test-ulps: Update.
6832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6833
d116b7c4
AZ
68342013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6835
6836 * manual/platform.texi: Add PowerPC PPR function set documentation.
6837 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6838 implementation.
6839
e96e3767
CD
68402013-05-24 Carlos O'Donell <carlos@redhat.com>
6841
6842 * math/libm-test.inc (MAX_EXP): Define.
6843 (ULPDIFF): Define.
6844 (ulp): New function.
6845 (check_float_internal): Use ULPDIFF.
6846 (cpow_test): Disable failing test.
6847 (check_ulp): Test ulp() implemetnation.
6848 (main): Call check_ulp before starting tests.
6849
b679a606
JM
68502013-05-24 Joseph Myers <joseph@codesourcery.com>
6851
e8bdba36
JM
6852 * math/gen-libm-test.pl (generate_testfile): Do not handle
6853 START_DATA and END_DATA.
6854 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6855 END_DATA.
6856 (acos_tonearest_test_data): Likewise.
6857 (acos_towardzero_test_data): Likewise.
6858 (acos_downward_test_data): Likewise.
6859 (acos_upward_test_data): Likewise.
6860 (acosh_test_data): Likewise.
6861 (asin_test_data): Likewise.
6862 (asin_tonearest_test_data): Likewise.
6863 (asin_towardzero_test_data): Likewise.
6864 (asin_downward_test_data): Likewise.
6865 (asin_upward_test_data): Likewise.
6866 (asinh_test_data): Likewise.
6867 (atan_test_data): Likewise.
6868 (atanh_test_data): Likewise.
6869 (atan2_test_data): Likewise.
6870 (cabs_test_data): Likewise.
6871 (cacos_test_data): Likewise.
6872 (cacosh_test_data): Likewise.
6873 (carg_test_data): Likewise.
6874 (casin_test_data): Likewise.
6875 (casinh_test_data): Likewise.
6876 (catan_test_data): Likewise.
6877 (catanh_test_data): Likewise.
6878 (cbrt_test_data): Likewise.
6879 (ccos_test_data): Likewise.
6880 (ccosh_test_data): Likewise.
6881 (ceil_test_data): Likewise.
6882 (cexp_test_data): Likewise.
6883 (cimag_test_data): Likewise.
6884 (clog_test_data): Likewise.
6885 (clog10_test_data): Likewise.
6886 (conj_test_data): Likewise.
6887 (copysign_test_data): Likewise.
6888 (cos_test_data): Likewise.
6889 (cos_tonearest_test_data): Likewise.
6890 (cos_towardzero_test_data): Likewise.
6891 (cos_downward_test_data): Likewise.
6892 (cos_upward_test_data): Likewise.
6893 (cosh_test_data): Likewise.
6894 (cosh_tonearest_test_data): Likewise.
6895 (cosh_towardzero_test_data): Likewise.
6896 (cosh_downward_test_data): Likewise.
6897 (cosh_upward_test_data): Likewise.
6898 (cpow_test_data): Likewise.
6899 (cproj_test_data): Likewise.
6900 (creal_test_data): Likewise.
6901 (csin_test_data): Likewise.
6902 (csinh_test_data): Likewise.
6903 (csqrt_test_data): Likewise.
6904 (ctan_test_data): Likewise.
6905 (ctan_tonearest_test_data): Likewise.
6906 (ctan_towardzero_test_data): Likewise.
6907 (ctan_downward_test_data): Likewise.
6908 (ctan_upward_test_data): Likewise.
6909 (ctanh_test_data): Likewise.
6910 (ctanh_tonearest_test_data): Likewise.
6911 (ctanh_towardzero_test_data): Likewise.
6912 (ctanh_downward_test_data): Likewise.
6913 (ctanh_upward_test_data): Likewise.
6914 (erf_test_data): Likewise.
6915 (erfc_test_data): Likewise.
6916 (exp_test_data): Likewise.
6917 (exp_tonearest_test_data): Likewise.
6918 (exp_towardzero_test_data): Likewise.
6919 (exp_downward_test_data): Likewise.
6920 (exp_upward_test_data): Likewise.
6921 (exp10_test_data): Likewise.
6922 (exp2_test_data): Likewise.
6923 (expm1_test_data): Likewise.
6924 (fabs_test_data): Likewise.
6925 (fdim_test_data): Likewise.
6926 (finite_test_data): Likewise.
6927 (floor_test_data): Likewise.
6928 (fma_test_data): Likewise.
6929 (fma_towardzero_test_data): Likewise.
6930 (fma_downward_test_data): Likewise.
6931 (fma_upward_test_data): Likewise.
6932 (fmax_test_data): Likewise.
6933 (fmin_test_data): Likewise.
6934 (fmod_test_data): Likewise.
6935 (fpclassify_test_data): Likewise.
6936 (frexp_test_data): Likewise.
6937 (gamma_test_data): Likewise.
6938 (hypot_test_data): Likewise.
6939 (ilogb_test_data): Likewise.
6940 (isfinite_test_data): Likewise.
6941 (isgreater_test_data): Likewise.
6942 (isgreaterequal_test_data): Likewise.
6943 (isinf_test_data): Likewise.
6944 (isless_test_data): Likewise.
6945 (islessequal_test_data): Likewise.
6946 (islessgreater_test_data): Likewise.
6947 (isnan_test_data): Likewise.
6948 (isnormal_test_data): Likewise.
6949 (issignaling_test_data): Likewise.
6950 (isunordered_test_data): Likewise.
6951 (j0_test_data): Likewise.
6952 (j1_test_data): Likewise.
6953 (jn_test_data): Likewise.
6954 (ldexp_test_data): Likewise.
6955 (lgamma_test_data): Likewise.
6956 (lrint_test_data): Likewise.
6957 (lrint_tonearest_test_data): Likewise.
6958 (lrint_towardzero_test_data): Likewise.
6959 (lrint_downward_test_data): Likewise.
6960 (lrint_upward_test_data): Likewise.
6961 (llrint_test_data): Likewise.
6962 (llrint_tonearest_test_data): Likewise.
6963 (llrint_towardzero_test_data): Likewise.
6964 (llrint_downward_test_data): Likewise.
6965 (llrint_upward_test_data): Likewise.
6966 (log_test_data): Likewise.
6967 (log10_test_data): Likewise.
6968 (log1p_test_data): Likewise.
6969 (log2_test_data): Likewise.
6970 (logb_test_data): Likewise.
6971 (logb_downward_test_data): Likewise.
6972 (lround_test_data): Likewise.
6973 (llround_test_data): Likewise.
6974 (modf_test_data): Likewise.
6975 (nearbyint_test_data): Likewise.
6976 (nextafter_test_data): Likewise.
6977 (nexttoward_test_data): Likewise.
6978 (pow_test_data): Likewise.
6979 (pow_tonearest_test_data): Likewise.
6980 (pow_towardzero_test_data): Likewise.
6981 (pow_downward_test_data): Likewise.
6982 (pow_upward_test_data): Likewise.
6983 (remainder_test_data): Likewise.
6984 (remainder_tonearest_test_data): Likewise.
6985 (remainder_towardzero_test_data): Likewise.
6986 (remainder_downward_test_data): Likewise.
6987 (remainder_upward_test_data): Likewise.
6988 (remquo_test_data): Likewise.
6989 (rint_test_data): Likewise.
6990 (rint_tonearest_test_data): Likewise.
6991 (rint_towardzero_test_data): Likewise.
6992 (rint_downward_test_data): Likewise.
6993 (rint_upward_test_data): Likewise.
6994 (round_test_data): Likewise.
6995 (scalb_test_data): Likewise.
6996 (scalbn_test_data): Likewise.
6997 (scalbln_test_data): Likewise.
6998 (signbit_test_data): Likewise.
6999 (sin_test_data): Likewise.
7000 (sin_tonearest_test_data): Likewise.
7001 (sin_towardzero_test_data): Likewise.
7002 (sin_downward_test_data): Likewise.
7003 (sin_upward_test_data): Likewise.
7004 (sincos_test_data): Likewise.
7005 (sinh_test_data): Likewise.
7006 (sinh_tonearest_test_data): Likewise.
7007 (sinh_towardzero_test_data): Likewise.
7008 (sinh_downward_test_data): Likewise.
7009 (sinh_upward_test_data): Likewise.
7010 (sqrt_test_data): Likewise.
7011 (tan_test_data): Likewise.
7012 (tan_tonearest_test_data): Likewise.
7013 (tan_towardzero_test_data): Likewise.
7014 (tan_downward_test_data): Likewise.
7015 (tan_upward_test_data): Likewise.
7016 (tanh_test_data): Likewise.
7017 (tgamma_test_data): Likewise.
7018 (trunc_test_data): Likewise.
7019 (y0_test_data): Likewise.
7020 (y1_test_data): Likewise.
7021 (yn_test_data): Likewise.
7022 (significand_test_data): Likewise.
7023
b679a606
JM
7024 * math/gen-libm-test.pl (@functions): Remove variable.
7025 (generate_testfile): Don't handle START and END lines.
7026 * math/libm-test.inc (START): New macro.
7027 (END): Likewise.
7028 (END_COMPLEX): Likewise.
7029 (acos_test): Use END macro without arguments.
7030 (acos_test_tonearest): Likewise.
7031 (acos_test_towardzero): Likewise.
7032 (acos_test_downward): Likewise.
7033 (acos_test_upward): Likewise.
7034 (acosh_test): Likewise.
7035 (asin_test): Likewise.
7036 (asin_test_tonearest): Likewise.
7037 (asin_test_towardzero): Likewise.
7038 (asin_test_downward): Likewise.
7039 (asin_test_upward): Likewise.
7040 (asinh_test): Likewise.
7041 (atan_test): Likewise.
7042 (atanh_test): Likewise.
7043 (atan2_test): Likewise.
7044 (cabs_test): Likewise.
7045 (cacos_test): Use END_COMPLEX macro without arguments.
7046 (cacosh_test): Likewise.
7047 (carg_test): Use END macro without arguments.
7048 (casin_test): Use END_COMPLEX macro without arguments.
7049 (casinh_test): Likewise.
7050 (catan_test): Likewise.
7051 (catanh_test): Likewise.
7052 (cbrt_test): Use END macro without arguments.
7053 (ccos_test): Use END_COMPLEX macro without arguments.
7054 (ccosh_test): Likewise.
7055 (ceil_test): Use END macro without arguments.
7056 (cexp_test): Use END_COMPLEX macro without arguments.
7057 (cimag_test): Use END macro without arguments.
7058 (clog_test): Use END_COMPLEX macro without arguments.
7059 (clog10_test): Likewise.
7060 (conj_test): Likewise.
7061 (copysign_test): Use END macro without arguments.
7062 (cos_test): Likewise.
7063 (cos_test_tonearest): Likewise.
7064 (cos_test_towardzero): Likewise.
7065 (cos_test_downward): Likewise.
7066 (cos_test_upward): Likewise.
7067 (cosh_test): Likewise.
7068 (cosh_test_tonearest): Likewise.
7069 (cosh_test_towardzero): Likewise.
7070 (cosh_test_downward): Likewise.
7071 (cosh_test_upward): Likewise.
7072 (cpow_test): Use END_COMPLEX macro without arguments.
7073 (cproj_test): Likewise.
7074 (creal_test): Use END macro without arguments.
7075 (csin_test): Use END_COMPLEX macro without arguments.
7076 (csinh_test): Likewise.
7077 (csqrt_test): Likewise.
7078 (ctan_test): Likewise.
7079 (ctan_test_tonearest): Likewise.
7080 (ctan_test_towardzero): Likewise.
7081 (ctan_test_downward): Likewise.
7082 (ctan_test_upward): Likewise.
7083 (ctanh_test): Likewise.
7084 (ctanh_test_tonearest): Likewise.
7085 (ctanh_test_towardzero): Likewise.
7086 (ctanh_test_downward): Likewise.
7087 (ctanh_test_upward): Likewise.
7088 (erf_test): Use END macro without arguments.
7089 (erfc_test): Likewise.
7090 (exp_test): Likewise.
7091 (exp_test_tonearest): Likewise.
7092 (exp_test_towardzero): Likewise.
7093 (exp_test_downward): Likewise.
7094 (exp_test_upward): Likewise.
7095 (exp10_test): Likewise.
7096 (exp2_test): Likewise.
7097 (expm1_test): Likewise.
7098 (fabs_test): Likewise.
7099 (fdim_test): Likewise.
7100 (finite_test): Likewise.
7101 (floor_test): Likewise.
7102 (fma_test): Likewise.
7103 (fma_test_towardzero): Likewise.
7104 (fma_test_downward): Likewise.
7105 (fma_test_upward): Likewise.
7106 (fmax_test): Likewise.
7107 (fmin_test): Likewise.
7108 (fmod_test): Likewise.
7109 (fpclassify_test): Likewise.
7110 (frexp_test): Likewise.
7111 (gamma_test): Likewise.
7112 (hypot_test): Likewise.
7113 (ilogb_test): Likewise.
7114 (isfinite_test): Likewise.
7115 (isgreater_test): Likewise.
7116 (isgreaterequal_test): Likewise.
7117 (isinf_test): Likewise.
7118 (isless_test): Likewise.
7119 (islessequal_test): Likewise.
7120 (islessgreater_test): Likewise.
7121 (isnan_test): Likewise.
7122 (isnormal_test): Likewise.
7123 (issignaling_test): Likewise.
7124 (isunordered_test): Likewise.
7125 (j0_test): Likewise.
7126 (j1_test): Likewise.
7127 (jn_test): Likewise.
7128 (ldexp_test): Likewise.
7129 (lgamma_test): Likewise.
7130 (lrint_test): Likewise.
7131 (lrint_test_tonearest): Likewise.
7132 (lrint_test_towardzero): Likewise.
7133 (lrint_test_downward): Likewise.
7134 (lrint_test_upward): Likewise.
7135 (llrint_test): Likewise.
7136 (llrint_test_tonearest): Likewise.
7137 (llrint_test_towardzero): Likewise.
7138 (llrint_test_downward): Likewise.
7139 (llrint_test_upward): Likewise.
7140 (log_test): Likewise.
7141 (log10_test): Likewise.
7142 (log1p_test): Likewise.
7143 (log2_test): Likewise.
7144 (logb_test): Likewise.
7145 (logb_test_downward): Likewise.
7146 (lround_test): Likewise.
7147 (llround_test): Likewise.
7148 (modf_test): Likewise.
7149 (nearbyint_test): Likewise.
7150 (nextafter_test): Likewise.
7151 (nexttoward_test): Likewise.
7152 (pow_test): Likewise.
7153 (pow_test_tonearest): Likewise.
7154 (pow_test_towardzero): Likewise.
7155 (pow_test_downward): Likewise.
7156 (pow_test_upward): Likewise.
7157 (remainder_test): Likewise.
7158 (remainder_test_tonearest): Likewise.
7159 (remainder_test_towardzero): Likewise.
7160 (remainder_test_downward): Likewise.
7161 (remainder_test_upward): Likewise.
7162 (remquo_test): Likewise.
7163 (rint_test): Likewise.
7164 (rint_test_tonearest): Likewise.
7165 (rint_test_towardzero): Likewise.
7166 (rint_test_downward): Likewise.
7167 (rint_test_upward): Likewise.
7168 (round_test): Likewise.
7169 (scalb_test): Likewise.
7170 (scalbn_test): Likewise.
7171 (scalbln_test): Likewise.
7172 (signbit_test): Likewise.
7173 (sin_test): Likewise.
7174 (sin_test_tonearest): Likewise.
7175 (sin_test_towardzero): Likewise.
7176 (sin_test_downward): Likewise.
7177 (sin_test_upward): Likewise.
7178 (sincos_test): Likewise.
7179 (sinh_test): Likewise.
7180 (sinh_test_tonearest): Likewise.
7181 (sinh_test_towardzero): Likewise.
7182 (sinh_test_downward): Likewise.
7183 (sinh_test_upward): Likewise.
7184 (sqrt_test): Likewise.
7185 (tan_test): Likewise.
7186 (tan_test_tonearest): Likewise.
7187 (tan_test_towardzero): Likewise.
7188 (tan_test_downward): Likewise.
7189 (tan_test_upward): Likewise.
7190 (tanh_test): Likewise.
7191 (tgamma_test): Likewise.
7192 (trunc_test): Likewise.
7193 (y0_test): Likewise.
7194 (y1_test): Likewise.
7195 (yn_test): Likewise.
7196 (significand_test): Likewise.
7197
bae143d2
OB
71982013-05-24 Ondřej Bílka <neleai@seznam.cz>
7199
7200 [BZ #15381]
7201 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7202
9323d39b
EM
72032013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7204
d4ea44a0 7205 [BZ #14894]
9323d39b
EM
7206 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7207 __ppc_mdoio and __ppc_mdoom.
7208 * manual/platform.texi: Document new functions __ppc_yield,
7209 __ppc_mdoio and __ppc_mdoom.
7210
13e23af7
CD
72112013-05-22 Carlos O'Donell <carlos@redhat.com>
7212
7213 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7214 (main): Mention "tls" pseudo-hwcap is legacy.
7215 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7216
351fe550
JM
72172013-05-22 Joseph Myers <joseph@codesourcery.com>
7218
7219 * math/gen-libm-test.pl (parse_args): Output only string of
7220 arguments as text for test name, not full call or descriptions of
7221 tests for extra outputs.
7222 (generate_testfile): Do not pass function name to parse_args.
7223 Generate this_func variable from START.
7224 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7225 field to arg_str.
7226 (struct test_ff_f_data): Likewise.
7227 (test_ff_f_data_nexttoward): Likewise.
7228 (struct test_fi_f_data): Likewise.
7229 (struct test_fl_f_data): Likewise.
7230 (struct test_if_f_data): Likewise.
7231 (struct test_fff_f_data): Likewise.
7232 (struct test_c_f_data): Likewise.
7233 (struct test_f_f1_data): Likewise. Remove field extra_name.
7234 (struct test_fF_f1_data): Likewise.
7235 (struct test_ffI_f1_data): Likewise.
7236 (struct test_c_c_data): Rename test_name field to arg_str.
7237 (struct test_cc_c_data): Likewise.
7238 (struct test_f_i_data): Likewise.
7239 (struct test_ff_i_data): Likewise.
7240 (struct test_f_l_data): Likewise.
7241 (struct test_f_L_data): Likewise.
7242 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7243 and extra2_name.
7244 (COMMON_TEST_SETUP): New macro.
7245 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7246 (COMMON_TEST_CLEANUP): Likewise.
7247 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7248 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7249 macros.
7250 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7251 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7252 macros.
7253 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7254 (RUN_TEST_fff_f): Take argument string. Call new setup and
7255 cleanup macros.
7256 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7257 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7258 macros.
7259 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7260 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7261 macros.
7262 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7263 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7264 cleanup macros.
7265 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7266 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7267 cleanup macros.
7268 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7269 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7270 cleanup macros.
7271 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7272 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7273 macros.
7274 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7275 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7276 macros.
7277 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7278 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7279 macros.
7280 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7281 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7282 cleanup macros.
7283 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7284 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7285 cleanup macros.
7286 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7287 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7288 macros.
7289 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7290 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7291 cleanup macros.
7292 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7293 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7294 macros.
7295 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7296 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7297 macros.
7298 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7299 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7300 cleanup macros.
7301 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7302
85118d4d
EBM
73032013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7304
7305 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7306 to _sifields.sigfault.
7307 (si_addr_lsb): Define new macro.
7308 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7309 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7310 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7311
7a44c18f
CD
73122013-05-03 Carlos O'Donell <carlos at redhat.com>
7313
7314 [BZ #15441]
7315 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7316 returns -1.
7317 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7318 null return -1.
7319 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7320 loading the domain.
7321
b50a7181
JM
73222013-05-22 Joseph Myers <joseph@codesourcery.com>
7323
7324 * math/gen-libm-test.pl (parse_args): Do not include expected
7325 result in test name.
7326 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7327 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7328 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7329 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7330 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7332
051063c8
SP
73332013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7334
3ce9e010
SP
7335 * benchtests/Makefile: Sort function entries.
7336
051063c8
SP
7337 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7338 tanh, asinh, acosh, atanh.
7339 * benchtests/acos-inputs: New file.
7340 * benchtests/acosh-inputs: New file.
7341 * benchtests/asin-inputs: New file.
7342 * benchtests/asinh-inputs: New file.
7343 * benchtests/atanh-inputs: New file.
7344 * benchtests/cosh-inputs: New file.
7345 * benchtests/log-inputs: New file.
7346 * benchtests/sinh-inputs: New file.
7347 * benchtests/tanh-inputs: New file.
7348
47c22455
DL
73492013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7350
7351 [BZ #15339]
7352 * posix/tst-getaddrinfo4.c: New test.
7353 * posix/Makefile (tests): Add it.
7354
3d04f5db
SP
73552013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7356
7357 [BZ #15339]
7358 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7359 when no services were used.
7360 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7361 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7362
d5dd6189
AS
73632013-05-21 Andreas Schwab <schwab@suse.de>
7364
7365 [BZ #15014]
7366 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7367 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7368 successful.
7369 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7370 redundant variable declarations and reallocation of buffer when
7371 parsing as IPv6 address. Always set NSS status when called from
7372 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7373 buffer too small. Correct computation of needed size.
7374 * nss/Makefile (tests): Add test-digits-dots.
7375 * nss/test-digits-dots.c: New test.
7376
fef94eab
SP
73772013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7378
7379 * benchtests/Makefile: Remove instructions for adding
7380 benchmark tests.
7381 * benchtests/README: New file to explain how to execute and
7382 enhance the benchmark tests.
7383
e39adf43
AS
73842013-05-21 Andreas Schwab <schwab@suse.de>
7385
7386 [BZ #15493]
7387 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7388 * setjmp/tst-sigsetjmp.c: New test.
7389
b2b671b6
OB
73902013-05-20 Ondřej Bílka <neleai@seznam.cz>
7391
7392 * sysdeps/x86_64/memset.S (memset): New implementation.
7393 (__bzero): Likewise.
7394 (__memset_tail): New function.
7395
2d48b41c
OB
73962013-05-20 Ondřej Bílka <neleai@seznam.cz>
7397
7398 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7399 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7400 __memcpy_sse2_unaligned ifunc selection.
7401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7402 Add memcpy-sse2-unaligned.S.
7403 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7404 Add: __memcpy_sse2_unaligned.
7405
f16cc3eb
JM
74062013-05-19 Joseph Myers <joseph@codesourcery.com>
7407
3e694268
JM
7408 [BZ #15490]
7409 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7410 math_force_eval before restoring floating-point envrionment.
7411 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7412 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7413 Likewise.
7414 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7415 <math_private.h>.
7416 (__nearbyintl): Use math_force_eval before restoring
7417 floating-point environment.
7418 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7419
db62a907
JM
7420 * math/gen-libm-test.pl (special_functions): Remove.
7421 (parse_args): Don't handle TEST_extra. Handle functions with no
7422 return value.
7423 * math/libm-test.inc (struct test_sincos_data): Replace with
7424 struct test_fFF_11_data.
7425 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7426 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7427 (sincos_test_data): Change element type to struct
7428 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7429 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7430 RUN_TEST_LOOP_sincos.
7431 * math/README.libm-test: Don't mention special handling of
7432 individual functions.
7433 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7434 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7435 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7436 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7437 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7439
f16cc3eb
JM
7440 * math/gen-libm-test.pl (get_variable): Remove function.
7441 (parse_args): Don't show pointer parameters to call in test
7442 names. Use "extra output N" in test names for extra outputs
7443 rather than naming variables.
7444
3779b5b6
JM
74452013-05-18 Joseph Myers <joseph@codesourcery.com>
7446
2ee094ff
JM
7447 [BZ #15488]
7448 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7449 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7450 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7451 double tests.
7452 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7453 disable.
7454 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7455 check_long_double.
7456
3779b5b6
JM
7457 * math/gen-libm-test.pl (@tests): Remove variable.
7458 ($count): Likewise.
7459 (new_test): Remove function.
7460 (show_exceptions): New function.
7461 (special_functions): Use show_exceptions instead of new_test.
7462 (parse_args): Likewise.
7463 (generate_testfile): Pass only function name in generated call to
7464 print_max_error or print_complex_max_error.
7465 (get_ulps): Do not handle complex tests specially.
7466 (output_test): Rename to ...
7467 (get_all_ulps_for_test): ... this. Return a string rather than
7468 printing to a file. Require ulps to be present.
7469 (output_ulps): Generate arrays rather than #defines.
7470 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7471 (struct ulp_data): New type.
7472 (BUILD_COMPLEX_ULP): Remove macro.
7473 (compare_ulp_data): New function.
7474 (find_ulps): Likewise.
7475 (find_test_ulps): Likewise.
7476 (find_function_ulps): Likewise.
7477 (find_complex_function_ulps): Likewise.
7478 (print_max_error): Determine allowed ulps using
7479 find_function_ulps.
7480 (print_complex_max_error): Determine allowed ulps using
7481 find_complex_function_ulps.
7482 (check_float_internal): Determine max ulps using find_test_ulps.
7483 (check_float): Do not take max_ulp parameter. Update call to
7484 check_float_internal.
7485 (check_complex): Likewise.
7486 (check_int): Do not take max_ulp parameter.
7487 (check_long): Likewise.
7488 (check_bool): Likewise.
7489 (check_longlong): Likewise.
7490 (struct test_f_f_data): Remove max_ulp field.
7491 (struct test_ff_f_data): Likewise.
7492 (struct test_ff_f_data_nexttoward): Likewise.
7493 (struct test_fi_f_data): Likewise.
7494 (struct test_fl_f_data): Likewise.
7495 (struct test_if_f_data): Likewise.
7496 (struct test_fff_f_data): Likewise.
7497 (struct test_c_f_data): Likewise.
7498 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7499 (struct test_fF_f1_data): Likewise.
7500 (struct test_ffI_f1_data): Likewise.
7501 (struct test_c_c_data): Remove max_ulp field.
7502 (struct test_cc_c_data): Likewise.
7503 (struct test_f_i_data): Likewise.
7504 (struct test_ff_i_data): Likewise.
7505 (struct test_f_l_data): Likewise.
7506 (struct test_f_L_data): Likewise.
7507 (struct test_sincos_data): Likewise.
7508 (RUN_TEST_f_f): Do not handle ulps.
7509 (RUN_TEST_LOOP_f_f): Likewise.
7510 (RUN_TEST_2_f): Likewise.
7511 (RUN_TEST_LOOP_2_f): Likewise.
7512 (RUN_TEST_fff_f): Likewise.
7513 (RUN_TEST_LOOP_fff_f): Likewise.
7514 (RUN_TEST_c_f): Likewise.
7515 (RUN_TEST_LOOP_c_f): Likewise.
7516 (RUN_TEST_f_f1): Likewise.
7517 (RUN_TEST_LOOP_f_f1): Likewise.
7518 (RUN_TEST_fF_f1): Likewise.
7519 (RUN_TEST_LOOP_fF_f1): Likewise.
7520 (RUN_TEST_fI_f1): Likewise.
7521 (RUN_TEST_LOOP_fI_f1): Likewise.
7522 (RUN_TEST_ffI_f1): Likewise.
7523 (RUN_TEST_LOOP_ffI_f1): Likewise.
7524 (RUN_TEST_c_c): Likewise.
7525 (RUN_TEST_LOOP_c_c): Likewise.
7526 (RUN_TEST_cc_c): Likewise.
7527 (RUN_TEST_LOOP_cc_c): Likewise.
7528 (RUN_TEST_f_i): Likewise.
7529 (RUN_TEST_LOOP_f_i): Likewise.
7530 (RUN_TEST_f_i_tg): Likewise.
7531 (RUN_TEST_LOOP_f_i_tg): Likewise.
7532 (RUN_TEST_ff_i_tg): Likewise.
7533 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7534 (RUN_TEST_f_b): Likewise.
7535 (RUN_TEST_LOOP_f_b): Likewise.
7536 (RUN_TEST_f_b_tg): Likewise.
7537 (RUN_TEST_LOOP_f_b_tg): Likewise.
7538 (RUN_TEST_f_l): Likewise.
7539 (RUN_TEST_LOOP_f_l): Likewise.
7540 (RUN_TEST_f_L): Likewise.
7541 (RUN_TEST_LOOP_f_L): Likewise.
7542 (RUN_TEST_sincos): Likewise.
7543 (RUN_TEST_LOOP_sincos): Likewise.
7544
8269107f
JM
75452013-05-17 Joseph Myers <joseph@codesourcery.com>
7546
bb38759d
JM
7547 [BZ #15480]
7548 [BZ #15485]
7549 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7550 main case of finite arguments, set rounding mode to FE_TONEAREST
7551 and discard exceptions.
7552 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7553 exceptions.
7554 (remainder_tonearest_test_data): New variable.
7555 (remainder_test_tonearest): New function.
7556 (remainder_towardzero_test_data): New variable.
7557 (remainder_test_towardzero): New function.
7558 (remainder_downward_test_data): New variable.
7559 (remainder_test_downward): New function.
7560 (remainder_upward_test_data): New variable.
7561 (remainder_test_upward): New function.
7562 (main): Call the new test functions.
7563
a00bdcf0
JM
7564 * math/libm-test.inc (struct test_f_f1_data): Remove field
7565 extra_init.
7566 (struct test_fF_f1_data): Likewise.
7567 (struct test_ffI_f1_data): Likewise.
7568 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7569 based on value of EXTRA_EXPECTED.
7570 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7571 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7572 EXTRA_VAR based on value of EXTRA_EXPECTED.
7573 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7574 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7575 EXTRA_VAR based on value of EXTRA_EXPECTED.
7576 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7577 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7578 EXTRA_VAR based on value of EXTRA_EXPECTED.
7579 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7580 * math/gen-libm-test.pl (parse_args): Don't output initializers
7581 for extra output values.
7582
de407f79
JM
7583 * math/libm-test.inc (check_int): Expect result to be exactly
7584 equal to expected value and do not handle ulps.
7585 (check_long): Likewise.
7586 (check_longlong): Likewise.
7587
8269107f
JM
7588 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7589 exceptions.
7590 (cimag_test_data): Likewise.
7591 (conj_test_data): Likewise.
7592 (copysign_test_data): Likewise.
7593 (cproj_test_data): Likewise.
7594 (creal_test_data): Likewise.
7595 (fabs_test_data): Likewise.
7596 (fdim_test_data): Likewise.
7597 (finite_test_data): Likewise.
7598 (floor_test_data): Likewise.
7599 (fmax_test_data): Likewise.
7600 (fmin_test_data): Likewise.
7601 (fmod_test_data): Likewise.
7602 (fpclassify_test_data): Likewise.
7603 (frexp_test_data): Likewise.
7604 (ilogb_test_data): Likewise.
7605 (isfinite_test_data): Likewise.
7606 (isgreater_test_data): Likewise.
7607 (isgreaterequal_test_data): Likewise.
7608 (isinf_test_data): Likewise.
7609 (isless_test_data): Likewise.
7610 (islessequal_test_data): Likewise.
7611 (islessgreater_test_data): Likewise.
7612 (isnan_test_data): Likewise.
7613 (isnormal_test_data): Likewise.
7614 (issignaling_test_data): Likewise.
7615 (isunordered_test_data): Likewise.
7616 (ldexp_test_data): Likewise.
7617 (lrint_test_data): Likewise.
7618 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7619 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7620 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7621 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7622 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7623 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7624 test input.
7625 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7626 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7627 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7628 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7629 that test input.
7630 (lrint_downward_test_data): Test for "inexact" exceptions.
7631 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7632 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7633 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7634 test input.
7635 (lrint_upward_test_data): Test for "inexact" exceptions.
7636 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7637 test input.
7638 (llrint_test_data): Test for "inexact" exceptions.
7639 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7640 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7641 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7642 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7643 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7644 (llrint_downward_test_data): Test for "inexact" exceptions.
7645 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7646 (llrint_upward_test_data): Test for "inexact" exceptions.
7647 (logb_test_data): Likewise.
7648 (logb_downward_test_data): Likewise.
7649 (nextafter_test_data): Likewise.
7650 (nexttoward_test_data): Likewise.
7651 (remainder_test_data): Likewise.
7652 (remquo_test_data): Likewise.
7653 (scalbn_test_data): Likewise.
7654 (scalbln_test_data): Likewise.
7655 (signbit_test_data): Likewise.
7656 (sqrt_test_data): Likewise.
7657 (significand_test_data): Likewise.
7658
48a18de1
SP
76592013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7660
7661 [BZ #15424]
7662 * benchtests/bench-modf.c (struct args): Mark arg0 as
7663 volatile.
7664 * scripts/bench.pl: Mark members of struct args as volatile.
7665
13d3b41a
AZ
76662013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7667
68191c1d 7668 [BZ # 15497]
13d3b41a
AZ
7669 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7670 negative infinity on POWER6 or lower.
7671 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7672
2848b105
MR
76732013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7674
7675 [BZ #15442]
7676 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7677 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7678 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7679 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7680 (_FP_SETQNAN): New macro.
7681 (_FP_SETQNAN_SEMIRAW): Likewise.
7682 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7683 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7684 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7685 (FP_EXTEND): Use _FP_FRAC_SNANP.
7686 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7687 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7688 into account.
7689 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7690 New macro.
7691 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7692 Likewise.
7693
323e5cb7
JM
76942013-05-16 Joseph Myers <joseph@codesourcery.com>
7695
c58b274f
JM
7696 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7697 with DIVIDE_BY_ZERO_EXCEPTION.
7698 (gamma_test_data): Likewise.
7699 (lgamma_test_data): Likewise.
7700 (log_test_data): Likewise.
7701 (log10_test_data): Likewise.
7702 (log2_test_data): Likewise.
7703 (tgamma_test_data): Likewise.
7704
0ab34904
JM
7705 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7706 (acos_test_tonearest): Likewise.
7707 (acos_test_towardzero): Likewise.
7708 (acos_test_downward): Likewise.
7709 (acos_test_upward): Likewise.
7710 (acosh_test): Likewise.
7711 (asin_test): Likewise.
7712 (asin_test_tonearest): Likewise.
7713 (asin_test_towardzero): Likewise.
7714 (asin_test_downward): Likewise.
7715 (asin_test_upward): Likewise.
7716 (asinh_test): Likewise.
7717 (atan_test): Likewise.
7718 (atanh_test): Likewise.
7719 (atan2_test): Likewise.
7720 (cabs_test): Likewise.
7721 (cacos_test): Likewise.
7722 (cacosh_test): Likewise.
7723 (casin_test): Likewise.
7724 (casinh_test): Likewise.
7725 (catan_test): Likewise.
7726 (catanh_test): Likewise.
7727 (cbrt_test): Likewise.
7728 (ccos_test): Likewise.
7729 (ccosh_test): Likewise.
7730 (cexp_test): Likewise.
7731 (clog_test): Likewise.
7732 (clog10_test): Likewise.
7733 (cos_test): Likewise.
7734 (cos_test_tonearest): Likewise.
7735 (cos_test_towardzero): Likewise.
7736 (cos_test_downward): Likewise.
7737 (cos_test_upward): Likewise.
7738 (cosh_test): Likewise.
7739 (cosh_test_tonearest): Likewise.
7740 (cosh_test_towardzero): Likewise.
7741 (cosh_test_downward): Likewise.
7742 (cosh_test_upward): Likewise.
7743 (cpow_test): Likewise.
7744 (csin_test): Likewise.
7745 (csinh_test): Likewise.
7746 (csqrt_test): Likewise.
7747 (ctan_test): Likewise.
7748 (ctan_test_tonearest): Likewise.
7749 (ctan_test_towardzero): Likewise.
7750 (ctan_test_downward): Likewise.
7751 (ctan_test_upward): Likewise.
7752 (ctanh_test): Likewise.
7753 (ctanh_test_tonearest): Likewise.
7754 (ctanh_test_towardzero): Likewise.
7755 (ctanh_test_downward): Likewise.
7756 (ctanh_test_upward): Likewise.
7757 (erf_test): Likewise.
7758 (erfc_test): Likewise.
7759 (exp_test): Likewise.
7760 (exp_test_tonearest): Likewise.
7761 (exp_test_towardzero): Likewise.
7762 (exp_test_downward): Likewise.
7763 (exp_test_upward): Likewise.
7764 (exp10_test): Likewise.
7765 (exp2_test): Likewise.
7766 (expm1_test): Likewise.
7767 (fmod_test): Likewise.
7768 (gamma_test): Likewise.
7769 (hypot_test): Likewise.
7770 (j0_test): Likewise.
7771 (j1_test): Likewise.
7772 (jn_test): Likewise.
7773 (lgamma_test): Likewise.
7774 (log_test): Likewise.
7775 (log10_test): Likewise.
7776 (log1p_test): Likewise.
7777 (log2_test): Likewise.
7778 (logb_test_downward): Likewise.
7779 (pow_test): Likewise.
7780 (pow_test_tonearest): Likewise.
7781 (pow_test_towardzero): Likewise.
7782 (pow_test_downward): Likewise.
7783 (pow_test_upward): Likewise.
7784 (remainder_test): Likewise.
7785 (remquo_test): Likewise.
7786 (sin_test): Likewise.
7787 (sin_test_tonearest): Likewise.
7788 (sin_test_towardzero): Likewise.
7789 (sin_test_downward): Likewise.
7790 (sin_test_upward): Likewise.
7791 (sincos_test): Likewise.
7792 (sinh_test): Likewise.
7793 (sinh_test_tonearest): Likewise.
7794 (sinh_test_towardzero): Likewise.
7795 (sinh_test_downward): Likewise.
7796 (sinh_test_upward): Likewise.
7797 (sqrt_test): Likewise.
7798 (tan_test): Likewise.
7799 (tan_test_tonearest): Likewise.
7800 (tan_test_towardzero): Likewise.
7801 (tan_test_downward): Likewise.
7802 (tan_test_upward): Likewise.
7803 (tanh_test): Likewise.
7804 (tgamma_test): Likewise.
7805 (y0_test): Likewise.
7806 (y1_test): Likewise.
7807 (yn_test): Likewise.
7808
323e5cb7
JM
7809 * math/gen-libm-test.pl (adjust_arg): Remove function.
7810 (special_function): Remove argument $in_func. Only handle
7811 generating output for tables of tests, not inside functions.
7812 (parse_args): Likewise.
7813 (generate_testfile): Remove variable $in_func. Update call to
7814 parse_args.
7815 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7816 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7817 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7818 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7819 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7820 (MAX_VALUE_INIT): Rename macro to max_value.
7821 (MIN_VALUE_INIT): Rename macro to min_value.
7822 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7823 (plus_zero): Remove variable.
7824 (minus_zero): Likewise.
7825 (plus_infty): Likewise.
7826 (minus_infty): Likewise.
7827 (qnan_value): Likewise.
7828 (max_value): Likewise.
7829 (min_value): Likewise.
7830 (min_subnorm_value): Likewise.
7831
e054f494
RA
78322013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7833
7834 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7835 uint64_t or uint32_t usage.
7836 * crypt/sha256-block.c: Likewise.
7837 * crypt/sha256-crypt.c: Likewise.
7838 * crypt/sha256.c: Likewise.
7839 * crypt/sha512-block.c: Likewise.
7840 * crypt/sha512-crypt.c: Likewise.
7841 * crypt/sha512.c: Likewise.
7842 * debug/backtrace-tst.c: Likewise.
7843 * debug/pcprofiledump.c: Likewise.
7844 * elf/cache.c: Likewise.
7845 * elf/dl-cache.c: Likewise.
7846 * elf/dl-misc.c: Likewise.
7847 * elf/dl-profile.c: Likewise.
7848 * elf/dl-support.c: Likewise.
7849 * elf/ldconfig.c: Likewise.
7850 * elf/sprof.c: Likewise.
7851 * iconv/dummy-repertoire.c: Likewise.
7852 * iconv/iconv_charmap.c: Likewise.
7853 * iconv/skeleton.c: Likewise.
7854 * iconvdata/8bit-generic.c: Likewise.
7855 * iconvdata/cp737.h: Likewise.
7856 * iconvdata/cp775.h: Likewise.
7857 * iconvdata/ibm1008.h: Likewise.
7858 * iconvdata/ibm1025.h: Likewise.
7859 * iconvdata/ibm1046.h: Likewise.
7860 * iconvdata/ibm1097.h: Likewise.
7861 * iconvdata/ibm1112.h: Likewise.
7862 * iconvdata/ibm1122.h: Likewise.
7863 * iconvdata/ibm1123.h: Likewise.
7864 * iconvdata/ibm1124.h: Likewise.
7865 * iconvdata/ibm1129.h: Likewise.
7866 * iconvdata/ibm1130.h: Likewise.
7867 * iconvdata/ibm1132.h: Likewise.
7868 * iconvdata/ibm1133.h: Likewise.
7869 * iconvdata/ibm1137.h: Likewise.
7870 * iconvdata/ibm1140.h: Likewise.
7871 * iconvdata/ibm1141.h: Likewise.
7872 * iconvdata/ibm1142.h: Likewise.
7873 * iconvdata/ibm1143.h: Likewise.
7874 * iconvdata/ibm1144.h: Likewise.
7875 * iconvdata/ibm1145.h: Likewise.
7876 * iconvdata/ibm1146.h: Likewise.
7877 * iconvdata/ibm1147.h: Likewise.
7878 * iconvdata/ibm1148.h: Likewise.
7879 * iconvdata/ibm1149.h: Likewise.
7880 * iconvdata/ibm1153.h: Likewise.
7881 * iconvdata/ibm1154.h: Likewise.
7882 * iconvdata/ibm1155.h: Likewise.
7883 * iconvdata/ibm1156.h: Likewise.
7884 * iconvdata/ibm1157.h: Likewise.
7885 * iconvdata/ibm1158.h: Likewise.
7886 * iconvdata/ibm1160.h: Likewise.
7887 * iconvdata/ibm1161.h: Likewise.
7888 * iconvdata/ibm1162.h: Likewise.
7889 * iconvdata/ibm1163.h: Likewise.
7890 * iconvdata/ibm1164.h: Likewise.
7891 * iconvdata/ibm1166.h: Likewise.
7892 * iconvdata/ibm1167.h: Likewise.
7893 * iconvdata/ibm12712.h: Likewise.
7894 * iconvdata/ibm1390.h: Likewise.
7895 * iconvdata/ibm1399.h: Likewise.
7896 * iconvdata/ibm16804.h: Likewise.
7897 * iconvdata/ibm4517.h: Likewise.
7898 * iconvdata/ibm4899.h: Likewise.
7899 * iconvdata/ibm4909.h: Likewise.
7900 * iconvdata/ibm4971.h: Likewise.
7901 * iconvdata/ibm5347.h: Likewise.
7902 * iconvdata/ibm803.h: Likewise.
7903 * iconvdata/ibm856.h: Likewise.
7904 * iconvdata/ibm901.h: Likewise.
7905 * iconvdata/ibm902.h: Likewise.
7906 * iconvdata/ibm9030.h: Likewise.
7907 * iconvdata/ibm9066.h: Likewise.
7908 * iconvdata/ibm921.h: Likewise.
7909 * iconvdata/ibm922.h: Likewise.
7910 * iconvdata/ibm9448.h: Likewise.
7911 * iconvdata/isiri-3342.h: Likewise.
7912 * iconvdata/jis0201.h: Likewise.
7913 * include/link.h: Likewise.
7914 * include/netdb.h: Likewise.
7915 * inet/check_native.c: Likewise.
7916 * inet/check_pf.c: Likewise.
7917 * inet/getipv4sourcefilter.c: Likewise.
7918 * inet/getnameinfo.c: Likewise.
7919 * inet/getsourcefilter.c: Likewise.
7920 * inet/htonl.c: Likewise.
7921 * inet/setipv4sourcefilter.c: Likewise.
7922 * inet/setsourcefilter.c: Likewise.
7923 * inet/test-inet6_opt.c: Likewise.
7924 * inet/tst-network.c: Likewise.
7925 * locale/C-collate.c: Likewise.
7926 * locale/C-ctype.c: Likewise.
7927 * locale/C-time.c: Likewise.
7928 * locale/C-translit.h: Likewise.
7929 * locale/loadarchive.c: Likewise.
7930 * locale/programs/3level.h: Likewise.
7931 * locale/programs/charmap.c: Likewise.
7932 * locale/programs/charmap.h: Likewise.
7933 * locale/programs/ld-address.c: Likewise.
7934 * locale/programs/ld-collate.c: Likewise.
7935 * locale/programs/ld-ctype.c: Likewise.
7936 * locale/programs/ld-identification.c: Likewise.
7937 * locale/programs/ld-measurement.c: Likewise.
7938 * locale/programs/ld-messages.c: Likewise.
7939 * locale/programs/ld-monetary.c: Likewise.
7940 * locale/programs/ld-name.c: Likewise.
7941 * locale/programs/ld-numeric.c: Likewise.
7942 * locale/programs/ld-paper.c: Likewise.
7943 * locale/programs/ld-telephone.c: Likewise.
7944 * locale/programs/ld-time.c: Likewise.
7945 * locale/programs/linereader.c: Likewise.
7946 * locale/programs/locale.c: Likewise.
7947 * locale/programs/locarchive.c: Likewise.
7948 * locale/programs/locfile.h: Likewise.
7949 * locale/programs/repertoire.c: Likewise.
7950 * locale/programs/simple-hash.c: Likewise.
7951 * locale/programs/simple-hash.h: Likewise.
7952 * malloc/memusage.c: Likewise.
7953 * malloc/memusagestat.c: Likewise.
7954 * nis/nis_defaults.c: Likewise.
7955 * nis/nis_hash.c: Likewise.
7956 * nis/nis_print.c: Likewise.
7957 * nis/nis_xdr.c: Likewise.
7958 * nscd/connections.c: Likewise.
7959 * nscd/hstcache.c: Likewise.
7960 * nscd/nscd_gethst_r.c: Likewise.
7961 * nscd/nscd_getserv_r.c: Likewise.
7962 * nscd/nscd_helper.c: Likewise.
7963 * nscd/servicescache.c: Likewise.
7964 * nss/makedb.c: Likewise.
7965 * nss/nss_db/db-XXX.c: Likewise.
7966 * nss/nss_db/db-initgroups.c: Likewise.
7967 * nss/nss_db/db-netgrp.c: Likewise.
7968 * nss/nss_files/files-network.c: Likewise.
7969 * nss/nss_files/files-parse.c: Likewise.
7970 * posix/bug-regex5.c: Likewise.
7971 * posix/fnmatch_loop.c: Likewise.
7972 * posix/regcomp.c: Likewise.
7973 * posix/regexec.c: Likewise.
7974 * posix/tst-rfc3484-2.c: Likewise.
7975 * posix/tst-rfc3484-3.c: Likewise.
7976 * posix/tst-rfc3484.c: Likewise.
7977 * resolv/nss_dns/dns-canon.c: Likewise.
7978 * resolv/nss_dns/dns-network.c: Likewise.
7979 * resolv/res_init.c: Likewise.
7980 * resolv/res_mkquery.c: Likewise.
7981 * resolv/tst-aton.c: Likewise.
7982 * stdlib/cxa_atexit.c: Likewise.
7983 * stdlib/cxa_finalize.c: Likewise.
7984 * stdlib/gen-fpioconst.c: Likewise.
7985 * stdlib/strtol_l.c: Likewise.
7986 * string/tst-endian.c: Likewise.
7987 * sunrpc/auth_des.c: Likewise.
7988 * sunrpc/clnt_udp.c: Likewise.
7989 * sunrpc/rtime.c: Likewise.
7990 * sunrpc/svcauth_des.c: Likewise.
7991 * sunrpc/xdr.c: Likewise.
7992 * sunrpc/xdr_intXX_t.c: Likewise.
7993 * sunrpc/xdr_rec.c: Likewise.
7994 * sysdeps/generic/ldconfig.h: Likewise.
7995 * sysdeps/generic/ldsodefs.h: Likewise.
7996 * sysdeps/generic/memusage.h: Likewise.
7997 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7998 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7999 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8000 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8001 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8002 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8003 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8004 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8005 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8006 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8007 * sysdeps/posix/getaddrinfo.c: Likewise.
8008 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8009 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8010 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8011 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8012 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8013 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8014 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8015 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8016 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8017 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8018 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8019 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8020 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8021 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8022 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8023 * sysdeps/x86_64/dl-tls.h: Likewise.
8024 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8025 * time/alt_digit.c: Likewise.
8026 * time/era.c: Likewise.
8027 * wcsmbs/tst-c16c32-1.c: Likewise.
8028
8c75f674
JM
80292013-05-16 Joseph Myers <joseph@codesourcery.com>
8030
8031 * math/libm-test.inc (struct test_sincos_data): New type.
8032 (RUN_TEST_LOOP_sincos): New macro.
8033 (sincos_test_data): New variable.
8034 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8035
e6e49e59
RH
80362013-05-16 Richard Henderson <rth@redhat.com>
8037
8038 * math/atest-exp2.c (LIMB64): New macro.
8039 (CONSTSZ): New macro.
8040 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8041 (hexdig): Move ...
8042 (print_mpn_fp): ... to function scope.
8043 (read_mpn_hex): Remove.
8044 (get_log2): Remove.
8045 (exp2_mpn): Use mp_log2.
8046 (main): Use mp_exp1.
8047
15c7c18d
JM
80482013-05-16 Joseph Myers <joseph@codesourcery.com>
8049
105a07df
JM
8050 * math/libm-test.inc: Remove comment about not testing "inexact"
8051 exceptions.
8052 (INEXACT_EXCEPTION): New macro.
8053 (NO_INEXACT_EXCEPTION): Likewise.
8054 (INVALID_EXCEPTION_OK): Update value.
8055 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8056 (OVERFLOW_EXCEPTION_OK): Likewise.
8057 (UNDERFLOW_EXCEPTION_OK): Likewise.
8058 (IGNORE_ZERO_INF_SIGN): Likewise.
8059 (ERRNO_UNCHANGED): Likewise.
8060 (ERRNO_EDOM): Likewise.
8061 (ERRNO_ERANGE): Likewise.
8062 (test_exceptions): Handle testing "inexact" exceptions.
8063 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8064 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8065 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8066 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8067 INEXACT_EXCEPTION.
8068 (rint_towardzero_test_data): Likewise.
8069 (rint_downward_test_data): Likewise.
8070 (rint_upward_test_data): Likewise.
8071
e9eee333
JM
8072 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8073 with OVERFLOW_EXCEPTION.
8074 (exp10_test_data): Likewise.
8075 (exp2_test_data): Likewise.
8076 (expm1_test_data): Likewise.
8077 (lgamma_test_data): Likewise.
8078 (pow_test_data): Likewise.
8079 (tgamma_test_data): Likewise.
8080 (yn_test_data): Remove duplicate test of overflow.
8081
1c38ff73
JM
8082 * math/libm-test.inc (struct test_cc_c_data): New type.
8083 (RUN_TEST_LOOP_cc_c): New macro.
8084 (cpow_test_data): New variable.
8085 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8086
15c7c18d
JM
8087 * math/libm-test.inc (struct test_f_L_data): New type.
8088 (RUN_TEST_LOOP_f_L): New macro.
8089 (llrint_test_data): New variable.
8090 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8091 (llrint_tonearest_test_data): New variable.
8092 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8093 (llrint_towardzero_test_data): New variable.
8094 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8095 (llrint_downward_test_data): New variable.
8096 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8097 (llrint_upward_test_data): New variable.
8098 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8099 (llround_test_data): New variable.
8100 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8101
f137ff13
PC
81022013-05-13 Peter Collingbourne <pcc@google.com>
8103
8104 * math/atest-exp2.c (get_log2): Remove const attribute.
8105
3608cb24
JM
81062013-05-15 Joseph Myers <joseph@codesourcery.com>
8107
8108 * math/libm-test.inc (struct test_f_l_data): New type.
8109 (RUN_TEST_LOOP_f_l): New macro.
8110 (lrint_test_data): New variable.
8111 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8112 (lrint_tonearest_test_data): New variable.
8113 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8114 (lrint_towardzero_test_data): New variable.
8115 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8116 (lrint_downward_test_data): New variable.
8117 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8118 (lrint_upward_test_data): New variable.
8119 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8120 (lround_test_data): New variable.
8121 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8122
39b1f617
PC
81232013-05-15 Peter Collingbourne <pcc@google.com>
8124
1deff3dc
PC
8125 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8126 (EXTRACT_WORDS64) Use where appropriate.
8127 (INSERT_WORDS64) Likewise.
8128
791f3ba0
PC
8129 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8130 constraints with x constraints.
8131 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8132
39b1f617
PC
8133 * malloc/obstack.c (_obstack_compat): Add initializer.
8134
12fba011
EM
81352013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8136
8137 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8138 si_trapno and add si_addr_lsb to _sifields.sigfault.
8139 (si_trapno): Remove macro.
8140 (si_addr_lsb): Define new macro.
8141 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8142
d369f531
JM
81432013-05-15 Joseph Myers <joseph@codesourcery.com>
8144
b861c6c4
JM
8145 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8146 instead of TEST_f_l.
8147 (llrint_test_tonearest): Likewise.
8148 (llrint_test_towardzero): Likewise.
8149 (llrint_test_downward): Likewise.
8150 (llrint_test_upward): Likewise.
8151 (llround_test): Likewise.
8152
7abeee12
JM
8153 * math/libm-test.inc (struct test_f_i_data): Add comment.
8154 (RUN_TEST_LOOP_f_b): New macro.
8155 (RUN_TEST_LOOP_f_b_tg): Likewise.
8156 (finite_test_data): New variable.
8157 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8158 (isfinite_test_data): New variable.
8159 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8160 (isinf_test_data): New variable.
8161 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8162 (isnan_test_data): New variable.
8163 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8164 (isnormal_test_data): New variable.
8165 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8166 (issignaling_test_data): New variable.
8167 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8168 (signbit_test_data): New variable.
8169 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8170
cbe8c4d3
JM
8171 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8172 with INVALID_EXCEPTION.
8173 (acosh_test_data): Likewise.
8174 (asin_test_data): Likewise.
8175 (atanh_test_data): Likewise.
8176 (fmod_test_data): Likewise.
8177 (log_test_data): Likewise.
8178 (log10_test_data): Likewise.
8179 (log2_test_data): Likewise.
8180 (pow_test_data): Likewise.
8181 (sqrt_test_data): Likewise.
8182 (y0_test_data): Likewise.
8183 (y1_test_data): Likewise.
8184 (yn_test_data): Likewise.
8185
5575c0e5
JM
8186 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8187 function contents.
8188
d369f531
JM
8189 * math/libm-test.inc (struct test_ff_i_data): New type.
8190 (RUN_TEST_LOOP_ff_i_tg): New macro.
8191 (isgreater_test_data): New variable.
8192 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8193 (isgreaterequal_test_data): New variable.
8194 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8195 (isless_test_data): New variable.
8196 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8197 (islessequal_test_data): New variable.
8198 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8199 (islessgreater_test_data): New variable.
8200 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8201 (isunordered_test_data): New variable.
8202 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8203
781fd748
DM
82042013-05-14 David S. Miller <davem@davemloft.net>
8205
8206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8207
87aa21df
JM
82082013-05-14 Joseph Myers <joseph@codesourcery.com>
8209
5e908270
JM
8210 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8211
f71172e5
JM
8212 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8213 extra_test to int.
8214 (struct test_f_i_data): Change type of max_ulp to int.
8215
8cfa635a
JM
8216 * math/libm-test.inc (test_ffI_f1_data): New type.
8217 (RUN_TEST_LOOP_ffI_f1): New macro.
8218 (remquo_test_data): New variable.
8219 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8220
2bcb36b2
JM
8221 * setjmp/tst-setjmp-fp.c: New file.
8222 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8223 (link-libm): New variable.
8224 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8225
acbd839a
JM
8226 * math/libm-test.inc (struct test_f_i_data): New type.
8227 (RUN_TEST_LOOP_f_i): New macro.
8228 (RUN_TEST_LOOP_f_i_tg): Likewise.
8229 (fpclassify_test_data): New variable.
8230 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8231 (ilogb_test_data): New variable.
8232 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8233
e414d745
JM
8234 * math/libm-test.inc (scalbln_test): Correct function name in END
8235 call.
8236
d9c2a0fd
JM
8237 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8238 (RUN_TEST_LOOP_fI_f1): New macro.
8239 (frexp_test_data): New variable.
8240 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8241
9dc9095d
JM
8242 * math/libm-test.inc (struct test_fF_f1_data): New type.
8243 (RUN_TEST_LOOP_fF_f1): New macro.
8244 (modf_test_data): New variable.
8245 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8246
87aa21df
JM
8247 * math/libm-test.inc (struct test_f_f1_data): New type.
8248 (RUN_TEST_LOOP_f_f1): New macro.
8249 (gamma_test_data): New variable.
8250 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8251 (lgamma_test_data): New variable.
8252 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8253
141af660
CD
82542013-05-13 Carlos O'Donell <carlos@redhat.com>
8255
8256 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8257 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8258 (main): Comment "tls" pseudo-hwcap.
8259
6d33265c
JM
82602013-05-13 Joseph Myers <joseph@codesourcery.com>
8261
68fc074c
JM
8262 * math/libm-test.inc (struct test_fl_f_data): New type.
8263 (RUN_TEST_LOOP_fl_f): New variable.
8264 (scalbln_test_data): New variable.
8265 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8266
243216e1
JM
8267 * math/libm-test.inc (struct test_fi_f_data): New type.
8268 (RUN_TEST_LOOP_fi_f): New macro.
8269 (ldexp_test_data): New variable.
8270 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8271 (scalbn_test_data): New variable.
8272 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8273
6a1992e2
JM
8274 * math/libm-test.inc (struct test_c_f_data): New type.
8275 (RUN_TEST_LOOP_c_f): New macro.
8276 (cabs_test_data): New variable.
8277 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8278 (carg_test_data): New variable.
8279 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8280 (cimag_test_data): New variable.
8281 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8282 (creal_test_data): New variable.
8283 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8284
0e400df5
JM
8285 * math/libm-test.inc (struct test_if_f_data): New type.
8286 (RUN_TEST_LOOP_if_f): New macro.
8287 (jn_test_data): New variable.
8288 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8289 (yn_test_data): New variable.
8290 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8291
6d33265c
JM
8292 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8293
f98ece5f
AZ
82942013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8295
8296 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8297 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8298
0f7d347b
SP
82992013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8300
43fe811b
SP
8301 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8302 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8303 (bench-deps): Add bench-timing.h.
8304 * benchtests-bench-skeleton.c: Include bench-timing.h.
8305 (main): Use TIMING_* macros instead of clock_gettime.
8306 * benchtests/bench-timing.h: New file.
8307
0f7d347b
SP
8308 [BZ #14582]
8309 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8310 Renamed from _LIB_VERSION.
8311 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8312
601a3a5f
JM
83132013-05-12 Joseph Myers <joseph@codesourcery.com>
8314
4f184d30
JM
8315 * math/libm-test.inc (struct test_fff_f_data): New type.
8316 (RUN_TEST_LOOP_fff_f): New macro.
8317 (fma_test_data): New variable.
8318 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8319 (fma_towardzero_test_data): New variable.
8320 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8321 (fma_downward_test_data): New variable.
8322 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8323 (fma_upward_test_data): New variable.
8324 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8325
08198877
JM
8326 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8327 (struct test_c_c_data): New type.
8328 (RUN_TEST_LOOP_c_c): New macro.
8329 (cacos_test_data): New variable.
8330 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8331 (cacosh_test_data): New variable.
8332 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8333 (casin_test_data): New variable.
8334 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8335 (casinh_test_data): New variable.
8336 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8337 (catan_test_data): New variable.
8338 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8339 (catanh_test_data): New variable.
8340 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8341 (ccos_test_data): New variable.
8342 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8343 (ccosh_test_data): New variable.
8344 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8345 (cexp_test_data): New variable.
8346 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8347 (clog_test_data): New variable.
8348 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8349 (clog10_test_data): New variable.
8350 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8351 (conj_test_data): New variable.
8352 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8353 (cproj_test_data): New variable.
8354 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8355 (csin_test_data): New variable.
8356 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8357 (csinh_test_data): New variable.
8358 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8359 (csqrt_test_data): New variable.
8360 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8361 (ctan_test_data): New variable.
8362 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8363 (ctan_tonearest_test_data): New variable.
8364 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8365 (ctan_towardzero_test_data): New variable.
8366 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8367 (ctan_downward_test_data): New variable.
8368 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8369 (ctan_upward_test_data): New variable.
8370 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8371 (ctanh_test_data): New variable.
8372 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8373 (ctanh_tonearest_test_data): New variable.
8374 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8375 (ctanh_towardzero_test_data): New variable.
8376 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8377 (ctanh_downward_test_data): New variable.
8378 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8379 (ctanh_upward_test_data): New variable.
8380 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8381 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8382 of BUILD_COMPLEX.
8383
601a3a5f
JM
8384 * math/libm-test.inc (struct test_ff_f_data): New type.
8385 (struct test_ff_f_data_nexttoward): Likewise.
8386 (RUN_TEST_LOOP_2_f): New macro.
8387 (RUN_TEST_LOOP_ff_f): Likewise.
8388 (atan2_test_data): New variable.
8389 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8390 (copysign_test_data): New variable.
8391 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8392 (fdim_test_data): New variable.
8393 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8394 (fmax_test_data): New variable.
8395 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8396 (fmin_test_data): New variable.
8397 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8398 (fmod_test_data): New variable.
8399 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8400 (hypot_test_data): New variable.
8401 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8402 (nextafter_test_data): New variable.
8403 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8404 (nexttoward_test_data): New variable.
8405 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8406 (pow_test_data): New variable.
8407 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8408 (pow_tonearest_test_data): New variable.
8409 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8410 (pow_towardzero_test_data): New variable.
8411 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8412 (pow_downward_test_data): New variable.
8413 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8414 (pow_upward_test_data): New variable.
8415 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8416 (remainder_test_data): New variable.
8417 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8418 (scalb_test_data): New variable.
8419 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8420 * sysdeps/i386/fpu/libm-test-ulps: Update.
8421
74c57478
JM
84222013-05-11 Joseph Myers <joseph@codesourcery.com>
8423
8329e4da
JM
8424 * math/libm-test.inc (fma_test): Use max_value instead of local
8425 variable fltmax.
8426 (nextafter_test): Likewise.
8427
74c57478
JM
8428 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8429 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8430 (acos_downward_test_data): New variable.
8431 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8432 (acos_upward_test_data): New variable.
8433 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8434 (acosh_test_data): New variable.
8435 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8436 (asin_test_data): New variable.
8437 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8438 (asin_tonearest_test_data): New variable.
8439 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8440 (asin_towardzero_test_data): New variable.
8441 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8442 (asin_downward_test_data): New variable.
8443 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8444 (asin_upward_test_data): New variable.
8445 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8446 (asinh_test_data): New variable.
8447 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8448 (atan_test_data): New variable.
8449 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8450 (atanh_test_data): New variable.
8451 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8452 (cbrt_test_data): New variable.
8453 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8454 (ceil_test_data): New variable.
8455 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8456 (cos_test_data): New variable.
8457 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8458 (cos_tonearest_test_data): New variable.
8459 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8460 (cos_towardzero_test_data): New variable.
8461 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8462 (cos_downward_test_data): New variable.
8463 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8464 (cos_upward_test_data): New variable.
8465 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8466 (cosh_test_data): New variable.
8467 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8468 (cosh_tonearest_test_data): New variable.
8469 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8470 (cosh_towardzero_test_data): New variable.
8471 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8472 (cosh_downward_test_data): New variable.
8473 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8474 (cosh_upward_test_data): New variable.
8475 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8476 (erf_test_data): New variable.
8477 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8478 (erfc_test_data): New variable.
8479 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8480 (exp_test_data): New variable.
8481 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8482 (exp_tonearest_test_data): New variable.
8483 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8484 (exp_towardzero_test_data): New variable.
8485 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8486 (exp_downward_test_data): New variable.
8487 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8488 (exp_upward_test_data): New variable.
8489 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8490 (exp10_test_data): New variable.
8491 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8492 (exp2_test_data): New variable.
8493 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8494 (expm1_test_data): New variable.
8495 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8496 (fabs_test_data): New variable.
8497 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8498 (floor_test_data): New variable.
8499 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8500 (j0_test_data): New variable.
8501 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8502 (j1_test_data): New variable.
8503 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8504 (log_test_data): New variable.
8505 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8506 (log10_test_data): New variable.
8507 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8508 (log1p_test_data): New variable.
8509 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8510 (log2_test_data): New variable.
8511 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8512 (logb_test_data): New variable.
8513 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8514 (logb_downward_test_data): New variable.
8515 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8516 (nearbyint_test_data): New variable.
8517 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8518 (rint_test_data): New variable.
8519 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8520 (rint_tonearest_test_data): New variable.
8521 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8522 (rint_towardzero_test_data): New variable.
8523 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8524 (rint_downward_test_data): New variable.
8525 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8526 (rint_upward_test_data): New variable.
8527 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8528 (round_test_data): New variable.
8529 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8530 (sin_test_data): New variable.
8531 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8532 (sin_tonearest_test_data): New variable.
8533 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8534 (sin_towardzero_test_data): New variable.
8535 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8536 (sin_downward_test_data): New variable.
8537 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8538 (sin_upward_test_data): New variable.
8539 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8540 (sinh_test_data): New variable.
8541 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8542 (sinh_tonearest_test_data): New variable.
8543 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8544 (sinh_towardzero_test_data): New variable.
8545 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8546 (sinh_downward_test_data): New variable.
8547 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8548 (sinh_upward_test_data): New variable.
8549 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8550 (sqrt_test_data): New variable.
8551 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8552 (tan_test_data): New variable.
8553 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8554 (tan_tonearest_test_data): New variable.
8555 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8556 (tan_towardzero_test_data): New variable.
8557 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8558 (tan_downward_test_data): New variable.
8559 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8560 (tan_upward_test_data): New variable.
8561 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8562 (tanh_test_data): New variable.
8563 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8564 (tgamma_test_data): New variable.
8565 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8566 (trunc_test_data): New variable.
8567 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8568 (y0_test_data): New variable.
8569 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8570 (y1_test_data): New variable.
8571 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8572 (significand_test_data): New variable.
8573 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8574
7187d844
CG
85752013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8576
8577 [BZ #12387]
8578 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8579
f63fae73
PT
85802013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8581
8582 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8583
8a67a4b3
AJ
85842013-05-10 Andreas Jaeger <aj@suse.de>
8585
8586 [BZ #15448]
8587 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8588 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8589
51df539d
JM
85902013-05-10 Joseph Myers <joseph@codesourcery.com>
8591
8592 * math/gen-libm-test.pl (adjust_arg): New function.
8593 (special_functions): Handle generating output in both functions
8594 and arrays.
8595 (parse_args): Likewise.
8596 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8597 $in_func argument to parse_args.
8598 * math/libm-test.inc (struct test_f_f_data): New type.
8599 (IF_ROUND_INIT_): New macro.
8600 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8601 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8602 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8603 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8604 (ROUND_RESTORE_): Likewise.
8605 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8606 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8607 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8608 (ROUND_RESTORE_FE_UPWARD): Likewise.
8609 (RUN_TEST_LOOP_f_f): New macro.
8610 (acos_test_data): New variable.
8611 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8612 (acos_tonearest_test_data): New variable.
8613 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8614
5c637fe5
SP
86152013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8616
8617 * benchtests/bench-skeleton.c (startup): Fix coding style.
8618
ab2b9461
JM
86192013-05-10 Joseph Myers <joseph@codesourcery.com>
8620
8621 [BZ #6809]
8622 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8623 negative infinity argument.
8624 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8625 negative infinity argument.
8626 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8627 negative infinity argument.
8628 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8629 domain errors.
8630
4c0fe6fe
FW
86312013-05-10 Florian Weimer <fweimer@redhat.com>
8632
8633 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8634 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8635 * iconv/iconv_prog.c (main): Likewise.
8636 * locale/programs/charmap-dir.c (charmap_readdir)
8637 (fopen_uncompressed): Likewise.
8638 * locale/programs/locfile.c (siblings_uncached)
8639 (write_locale_data): Use lstat64 instead of lstat.
8640 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8641 stat.
8642
a3375d29
AJ
86432013-05-10 Andreas Jaeger <aj@suse.de>
8644
8645 [BZ #15395]
8646 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8647 localization.
8648 Include <locale.h>.
8649
36129722
CD
86502013-05-09 Carlos O'Donell <carlos@redhat.com>
8651
8652 * elf/dl-close.c (_dl_close_worker): Add comments.
8653
faa7f811
JM
86542013-05-09 Joseph Myers <joseph@codesourcery.com>
8655
ed41ffef
JM
8656 [BZ #15359]
8657 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8658 high part of pi/2.
8659 (__ieee754_rem_pio2l): Update comments.
8660
d0213cd0
JM
8661 [BZ #15429]
8662 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8663 high part of pi/2.
8664 (__ieee754_rem_pio2l): Update comments.
8665
0d3e777a
JM
8666 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8667 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8668
24f56066
JM
8669 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8670 M_PI_4l.
8671
faa7f811
JM
8672 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8673 (M_PI_34_LOG10El): Likewise.
8674 (M_PI2_LOG10El): Likewise.
8675 (M_PI4_LOG10El): Likewise.
8676 (M_PI_LOG10El): Likewise.
8677
e9a5e0fd
AZ
86782013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8679
8680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8681
d8cd06db
JM
86822013-05-08 Joseph Myers <joseph@codesourcery.com>
8683
a0d9f9d7
JM
8684 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8685 (MINUS_ZERO_INIT): Likewise.
8686 (PLUS_INFTY_INIT): Likewise.
8687 (MINUS_INFTY_INIT): Likewise.
8688 (QNAN_VALUE_INIT): Likewise.
8689 (MAX_VALUE_INIT): Likewise.
8690 (MIN_VALUE_INIT): Likewise.
8691 (MIN_SUBNORM_VALUE_INIT): Likewise.
8692 (plus_zero): Initialize with PLUS_ZERO_INIT.
8693 (minus_zero): Initialize with MINUS_ZERO_INIT.
8694 (plus_infty): Initialize with PLUS_INFTY_INIT.
8695 (minus_infty): Initialize with MINUS_INFTY_INIT.
8696 (qnan_value): Initialize with QNAN_VALUE_INIT.
8697 (max_value): Initialize with MAX_VALUE_INIT.
8698 (min_value): Initialize with MIN_VALUE_INIT.
8699 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8700
ae08db3b
JM
8701 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8702 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8703 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8704 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8705
f44bf14a
JM
8706 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8707 (RUN_TEST_2_f): Likewise.
8708 (RUN_TEST_ff_f): Likewise.
8709 (RUN_TEST_fi_f): Likewise.
8710 (RUN_TEST_fl_f): Likewise.
8711 (RUN_TEST_fff_f): Likewise.
8712 (RUN_TEST_c_f): Likewise.
8713 (RUN_TEST_f_f1): Likewise.
8714 (RUN_TEST_fF_f1): Likewise.
8715 (RUN_TEST_fI_f1): Likewise.
8716 (RUN_TEST_ffI_f1): Likewise.
8717 (RUN_TEST_c_c): Likewise.
8718 (RUN_TEST_cc_c): Likewise.
8719 (RUN_TEST_f_i): Likewise.
8720 (RUN_TEST_f_i_tg): Likewise.
8721 (RUN_TEST_ff_i_tg): Likewise.
8722 (RUN_TEST_f_b): Likewise.
8723 (RUN_TEST_f_b_tg): Likewise.
8724 (RUN_TEST_f_l): Likewise.
8725 (RUN_TEST_f_L): Likewise.
8726 (RUN_TEST_sincos): Likewise.
8727 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8728 whether to show exceptions. Do not include ");\n" in return
8729 value.
8730 (special_functions): Output call to RUN_TEST_sincos instead of
8731 check_float calls. Update calls to new_test.
8732 (parse_args): Output call to single RUN_TEST_* macro instead of
8733 check_* calls and other assignments. Update calls to new_test.
8734
d8cd06db
JM
8735 [BZ #2546]
8736 [BZ #2560]
8737 [BZ #5159]
8738 [BZ #15426]
8739 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8740 input to result for tgamma overflow.
8741 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8742 (gamma_coeff): New variable.
8743 (NCOEFF): New macro.
8744 (gamma_positive): New function.
8745 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8746 underflow here. Use gamma_positive instead of exp (lgamma) for
8747 other arguments.
8748 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8749 (gamma_coeff): New variable.
8750 (NCOEFF): New macro.
8751 (gammaf_positive): New function.
8752 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8753 underflow here. Use gamma_positive instead of exp (lgamma) for
8754 other arguments.
8755 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8756 (gamma_coeff): New variable.
8757 (NCOEFF): New macro.
8758 (gammal_positive): New function.
8759 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8760 underflow here. Use gamma_positive instead of exp (lgamma) for
8761 other arguments.
8762 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8763 (gamma_coeff): New variable.
8764 (NCOEFF): New macro.
8765 (gammal_positive): New function.
8766 (__ieee754_gammal_r): Handle positive infinity, overflow and
8767 underflow here. Handle NaN the same as positive infinity. Remove
8768 check x < 0xffffffff for negative integers. Use gamma_positive
8769 instead of exp (lgamma) for other arguments.
8770 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8771 (gamma_coeff): New variable.
8772 (NCOEFF): New macro.
8773 (gammal_positive): New function.
8774 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8775 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8776 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8777 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8778 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8779 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8780 * sysdeps/generic/math_private.h (__gamma_productf): New
8781 prototype.
8782 (__gamma_product): Likewise.
8783 (__gamma_productl): Likewise.
8784 * math/Makefile (libm-calls): Add gamma_product.
8785 * math/libm-test.inc (tgamma_test): Add more tests.
8786 * sysdeps/i386/fpu/libm-test-ulps: Update.
8787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8788
bb7cf681
OB
87892013-05-08 Ondřej Bílka <neleai@seznam.cz>
8790
8791 * benchtests/bench-skeleton.c (main): Preheat CPU.
8792
ba853947
AJ
87932013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8794
8795 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8796
8347c74c
RM
87972013-05-07 Roland McGrath <roland@hack.frob.com>
8798
8799 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8800 and _dl_skip_args_internal.
8801
e8dd4791
CD
88022013-05-07 Carlos O'Donell <carlos@redhat.com>
8803
8804 * manual/message.texi (Message Translation): Talk about users.
8805 Message to key mapping impacts design.
8806
c7405830
RM
88072013-05-06 Roland McGrath <roland@hack.frob.com>
8808
a9173057
RM
8809 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8810
976e2f03
RM
8811 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8812
9723ffc5
RM
8813 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8814 * sysdeps/wordsize-64/glob64.c: ... here.
8815
962e6658
RM
8816 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8817 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8818 New macros.
8819
ee586a6d
RM
8820 * debug/getlogin_r_chk.c: Moved to ...
8821 * login/getlogin_r_chk.c: ... here.
8822 * debug/Makefile (routines): Move getlogin_r_chk to ...
8823 * login/Makefile (routines): ... here.
8824 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8825 * login/Versions (libc: GLIBC_2.4): ... here.
8826
355f9165
RM
8827 * io/poll.c (__poll): Renamed from poll.
8828 Add libc_hidden_def.
8829 (poll): Define as weak alias.
8830
bd9ffde6
RM
8831 * debug/ptsname_r_chk.c: Moved to ...
8832 * login/ptsname_r_chk.c: ... here.
8833 * debug/Makefile (routines): Move ptsname_r_chk to ...
8834 * login/Makefile (routines): ... here.
8835 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8836 * login/Versions (libc: GLIBC_2.4): ... here.
8837
8fb16a04
RM
8838 * posix/getlogin.c: Moved to ...
8839 * login/getlogin.c: ... here.
8840 * posix/getlogin_r.c: Moved to ...
8841 * login/getlogin_r.c: ... here.
8842 * posix/getlogin_r.c: Moved to ...
8843 * login/getlogin_r.c: ... here.
8844 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8845 * login/Makefile (routines): ... here.
8846 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8847 * login/Versions (libc: GLIBC_2.0): ... here.
8848
b99b892f
RM
8849 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8850 (setrlimit): Define as weak alias.
8851
c7405830
RM
8852 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8853 Call __ names for open, ftruncate, and close.
8854 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8855 (truncate): Define as weak alias.
8856
5bf96de5
JM
88572013-05-06 Joseph Myers <joseph@codesourcery.com>
8858
9ea3513c
JM
8859 * math/gen-libm-test.pl (parse_args): Initialize x before each
8860 test of frexp, modf and remquo.
8861
5bf96de5
JM
8862 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8863 test signgam value.
8864
16e616a7
AZ
88652013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8866
8867 [BZ #15418]
8868 [BZ #15419]
8869 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8870 internal tests.
8871 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8872
d5e82754
RM
88732013-05-06 Roland McGrath <roland@hack.frob.com>
8874
8875 * elf/dl-writev.h: New file.
8876 * elf/dl-misc.c: Include it.
8877 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8878 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8879
a7548d41
JM
88802013-05-04 Joseph Myers <joseph@codesourcery.com>
8881
b7dab1e4
JM
8882 * math/libm-test.inc (noXFails): Remove variable.
8883 (noXPasses): Likewise.
8884 (BUILD_COMPLEX_INT): Remove macro.
8885 (print_screen): Remove xfail argument.
8886 (print_screen_max_error): Likewise.
8887 (update_stats): Likewise.
8888 (print_max_error): Likewise. Update calls to other affected
8889 functions.
8890 (print_complex_max_error): Likewise.
8891 (test_single_exception): Update calls to print_screen.
8892 (test_single_errno): Likewise.
8893 (check_float_internal): Remove xfail argument. Update calls to
8894 other affected functions.
8895 (check_float): Likewise.
8896 (check_complex): Likewise.
8897 (check_int): Likewise.
8898 (check_long): Likewise.
8899 (check_bool): Likewise.
8900 (check_longlong): Likewise.
8901 (main): Don't print noXFails and noXPasses.
8902 * math/gen-libm-test.pl (top level): Don't mention expected
8903 failure handling in comment.
8904 (new_test): Don't handle expected failures.
8905 (parse_args): Don't mention expected failure handling in comment.
8906 (generate_testfile): Don't handle expected failures.
8907 (parse_ulps): Likewise.
8908 (print_ulps_file): Likewise.
8909 (get_failure): Remove function.
8910 (output_test): Don't handle expected failures.
8911 * make/README.libm-test: Don't mention expected failure handling.
8912
a7548d41
JM
8913 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8914 (minus_zero): Likewise.
8915 (plus_infty): Likewise.
8916 (minus_infty): Likewise.
8917 (qnan_value): Likewise.
8918 (max_value): Likewise.
8919 (min_value): Likewise.
8920 (min_subnorm_value): Likewise.
8921 (initialize): Do not initialize those variables dynamically.
8922
60bfd54c
RM
89232013-05-03 Roland McGrath <roland@hack.frob.com>
8924
cc0e6ed8
RM
8925 * io/open.c (__open_2): Moved to ...
8926 * io/open_2.c: ... this new file.
8927 * io/open64.c (__open64_2): Moved to ...
8928 * io/open64_2.c: ... this new file.
8929 * io/openat.c (__openat_2): Moved to ...
8930 * io/openat_2.c: ... this new file.
8931 * io/openat64.c (__openat64_2): Moved to ...
8932 * io/openat64_2.c: ... this new file.
8933 * io/Makefile (routines): Add them.
8934 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8935 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8936 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8937 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8938 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8939 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8940 (__openat64): Add hidden_ver.
8941 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8942 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8943
60bfd54c
RM
8944 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8945 Separately conditionalize setting of GLRO(dl_sysinfo) so
8946 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8947 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8948
83e7640f
AZ
89492013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8950
8951 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8952 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8953 definition.
8954 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8955 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8956 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8957 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8958 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8959
d5dc2af3
JM
89602013-05-03 Joseph Myers <joseph@codesourcery.com>
8961
c31a5b1e
JM
8962 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8963 test signgam value.
8964
d5dc2af3
JM
8965 * math/libm-test.inc (hypot_test): Do not use
8966 IGNORE_ZERO_INF_SIGN.
8967
164fd39d
AJ
89682013-05-03 Andreas Jaeger <aj@suse.de>
8969
8970 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8971 Linux 3.9.
8972 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8973 (PF_MAX): Adjust for VSOCK change.
8974
8237f48c
AZ
89752013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8976
8977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8978
9df02941
CD
89792013-05-02 Carlos O'Donell <carlos@redhat.com>
8980
8981 [BZ #15264]
8982 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8983 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8984 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8985
d422395e
DM
89862013-05-02 David S. Miller <davem@davemloft.net>
8987
8988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8989
a07c5731
OB
89902013-05-01 Ondřej Bílka <neleai@seznam.cz>
8991
8992 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8993
1324e37f
RM
89942013-05-01 Roland McGrath <roland@hack.frob.com>
8995
8996 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8997
0695940b
RS
89982013-05-01 Richard Smith <richard@metafoo.co.uk>
8999
bb5f27ad 9000 [BZ #14952]
0695940b
RS
9001 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9002 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9003 Use __attribute__ ((__gnu_inline__)).
9004 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9005 Don't use __attribute__ ((__gnu_inline__)).
9006
10de07f5
JM
90072013-05-01 Joseph Myers <joseph@codesourcery.com>
9008
9009 [BZ #15423]
9010 * math/s_catan.c (__catan): Handle small real or imaginary part of
9011 input specially to avoid spurious underflow.
9012 * math/s_catanf.c (__catanf): Likewise.
9013 * math/s_catanh.c (__catanh): Likewise.
9014 * math/s_catanhf.c (__catanhf): Likewise.
9015 * math/s_catanhl.c (__catanhl): Likewise.
9016 * math/s_catanl.c (__catanl): Likewise.
9017 * math/libm-test.inc (catan_test): Add more tests.
9018 (catanh_test): Likewise.
9019 * sysdeps/i386/fpu/libm-test-ulps: Update.
9020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9021
cb4d5414
AZ
90222013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9023
9024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9025
caf84319
JM
90262013-04-30 Joseph Myers <joseph@codesourcery.com>
9027
9028 [BZ #15416]
9029 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9030 accurately for denominator in atan2.
9031 * math/s_catanf.c (__catanf): Likewise.
9032 * math/s_catanh.c (__catanh): Likewise.
9033 * math/s_catanhf.c (__catanhf): Likewise.
9034 * math/s_catanhl.c (__catanhl): Likewise.
9035 * math/s_catanl.c (__catanl): Likewise.
9036 * math/libm-test.inc (catan_test): Add more tests.
9037 (catanh_test): Likewise.
9038 * sysdeps/i386/fpu/libm-test-ulps: Update.
9039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9040
d569c6ee
SP
90412013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9042
6dbe713d
SP
9043 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9044
f0ee064b
SP
9045 * benchtests/Makefile (bench): Remove slow benchmarks.
9046 * benchtests/atan-inputs: Add slow benchmark inputs.
9047 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9048 (BENCH_FUNC): Accept variant offset.
9049 (VARIANT): Define.
9050 * benchtests/bench-skeleton.c (main): Run benchmark for each
9051 variant.
9052 * benchtests/cos-inputs: Add slow benchmark inputs.
9053 * benchtests/exp-inputs: Likewise.
9054 * benchtests/pow-inputs: Likewise.
9055 * benchtests/sin-inputs: Likewise.
9056 * benchtests/slowatan-inputs: Remove.
9057 * benchtests/slowatan.c: Remove.
9058 * benchtests/slowcos-inputs: Remove.
9059 * benchtests/slowcos.c: Remove.
9060 * benchtests/slowexp-inputs: Remove.
9061 * benchtests/slowexp.c: Remove.
9062 * benchtests/slowpow-inputs: Remove.
9063 * benchtests/slowpow.c: Remove.
9064 * benchtests/slowsin-inputs: Remove.
9065 * benchtests/slowsin.c: Remove.
9066 * benchtests/slowtan-inputs: Remove.
9067 * benchtests/slowtan.c: Remove.
9068 * benchtests/tan-inputs: Add slow benchmark inputs.
9069 * scripts/bench.pl: Parse comments and directives.
9070
d569c6ee
SP
9071 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9072 in CPPFLAGS.
9073 ($(objpfx)bench-%.c): Remove *-ITER.
9074 * benchtests/bench-modf.c: Remove definition of ITER.
9075 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9076 (main): Loop for DURATION seconds instead of fixed number of
9077 iterations.
9078 * scripts/bench.pl: Don't expect iterations in parameters.
9079
a6a242fe
RM
90802013-04-29 Roland McGrath <roland@hack.frob.com>
9081
9082 * io/fchdir.c (__fchdir): Renamed from fchdir.
9083 (fchdir): Define as weak alias.
9084
f2da7793
JM
90852013-04-29 Joseph Myers <joseph@codesourcery.com>
9086
9087 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9088 (ERRNO_EDOM): Likewise.
9089 (ERRNO_ERANGE): Likewise.
9090 (noErrnoTests): New variable.
9091 (init_max_error): Set errno to 0.
9092 (test_single_errno): New function.
9093 (test_errno): Likewise.
9094 (check_float_internal): Call test_errno. Set errno to 0.
9095 (check_complex): Refer to errno tests in comment.
9096 (check_int): Call test_errno. Set errno to 0.
9097 (check_long): Likewise.
9098 (check_bool): Likewise.
9099 (check_longlong): Likewise.
9100 (cos_test): Use ERRNO_* flags for errno tests instead of
9101 check_int.
9102 (expm1_test): Likewise.
9103 (fmod_test): Likewise.
9104 (ilogb_test): Likewise.
9105 (lgamma_test): Likewise.
9106 (pow_test): Likewise.
9107 (remainder_test): Likewise.
9108 (sin_test): Likewise.
9109 (tan_test): Likewise.
9110 (yn_test): Likewise.
9111 (initialize): Set errno to 0.
9112 (main): Print number of errno tests.
9113 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9114
b1a36ceb
AJ
91152013-04-29 Andreas Jaeger <aj@suse.de>
9116
c3ed8088
AJ
9117 [BZ #15084]
9118 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9119 and RES_USEVC.
9120
f1a24198
AJ
9121 [BZ #15085]
9122 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9123 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9124 unimplemented.
9125
9ce3b2cb
AJ
9126 [BZ #15380]
9127 * stdlib/random.c (__initstate): Return NULL if
9128 __initstate fails.
9129
f1a24198 9130 [BZ #15086]
b1a36ceb
AJ
9131 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9132 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9133 RES_SNGLKUPREOP.
9134
7e7b6f36
AZ
91352013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9136
9137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9138
4d14f449
JM
91392013-04-29 Joseph Myers <joseph@codesourcery.com>
9140
9141 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9142 of individual tests.
9143 (casin_test): Likewise.
9144 (casinh_test): Likewise.
9145
5b4217d7
JM
91462013-04-27 Joseph Myers <joseph@codesourcery.com>
9147
9148 [BZ #15409]
9149 * math/s_catan.c (__catan): Handle arguments with large real or
9150 imaginary part separately without squaring.
9151 * math/s_catanf.c (__catanf): Likewise.
9152 * math/s_catanh.c (__catanh): Likewise.
9153 * math/s_catanhf.c (__catanhf): Likewise.
9154 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9155 and redefine.
9156 (__catanhl): Handle arguments with large real or imaginary part
9157 separately without squaring.
9158 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9159 and redefine.
9160 (__catanl): Handle arguments with large real or imaginary part
9161 separately without squaring.
9162 * math/libm-test.inc (catan_test): Add more tests.
9163 (catanh_test): Likewise.
9164 * sysdeps/i386/fpu/libm-test-ulps: Update.
9165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9166
4220c3ef
AJ
91672013-04-27 Andreas Jaeger <aj@suse.de>
9168
9169 [BZ #15007]
9170 * stdlib/stdlib.h: Update guards for qecvt.
9171 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9172 <stdlib.h>.
9173
4721b2d1
AM
91742013-04-27 Allan McRae <allan@archlinux.org>
9175
9176 * sysdeps/i386/fpu/libm-test-ulps: Update.
9177
f0302940
JM
91782013-04-26 Joseph Myers <joseph@codesourcery.com>
9179
9457fd95
JM
9180 [BZ #15406]
9181 * math/s_catan.c: Include <float.h>.
9182 (__catan): Ensure underflow exception occurs for underflowed
9183 result.
9184 * math/s_catanf.c: Include <float.h>.
9185 (__catanf): Ensure underflow exception occurs for underflowed
9186 result.
9187 * math/s_catanh.c: Include <float.h>.
9188 (__catanh): Ensure underflow exception occurs for underflowed
9189 result.
9190 * math/s_catanhf.c: Include <float.h>.
9191 (__catanhf): Ensure underflow exception occurs for underflowed
9192 result.
9193 * math/s_catanhl.c: Include <float.h>.
9194 (__catanhl): Ensure underflow exception occurs for underflowed
9195 result.
9196 * math/s_catanl.c: Include <float.h>.
9197 (__catanl): Ensure underflow exception occurs for underflowed
9198 result.
9199 * math/libm-test.inc (catan_test): Add more tests.
9200 (catanh_test): Likewise.
9201
f0302940
JM
9202 [BZ #15405]
9203 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9204 underflowed result.
9205 * math/s_ccoshf.c (__ccoshf): Likewise.
9206 * math/s_ccoshl.c (__ccoshl): Likewise.
9207 * math/s_csin.c (__csin): Likewise.
9208 * math/s_csinf.c (__csinf): Likewise.
9209 * math/s_csinh.c (__csinh): Likewise.
9210 * math/s_csinhf.c (__csinhf): Likewise.
9211 * math/s_csinhl.c (__csinhl): Likewise.
9212 * math/s_csinl.c (__csinl): Likewise.
9213 * math/libm-test.inc (ccos_test): Add more tests.
9214 (ccosh_test): Likewise.
9215 (csin_test): Likewise.
9216 (csinh_test): Likewise.
9217
aa630f59
AZ
92182013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9219
9220 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9221 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9222 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9223 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9224 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9225 powerpc/power5+/fpu folders.
9226 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9227
9228
1b835983
MT
92292013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9230
9231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9232
73709b26
JM
92332013-04-25 Joseph Myers <joseph@codesourcery.com>
9234
9235 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9236 additions to variable.
9237 [$(config-machine) = x86_64] (modules-names): Likewise.
9238 ($(objpfx)tst-audit3): Remove dependency.
9239 ($(objpfx)tst-audit3.out): Likewise.
9240 ($(objpfx)tst-audit4): Likewise.
9241 ($(objpfx)tst-audit4.out): Likewise.
9242 ($(objpfx)tst-audit5): Likewise.
9243 ($(objpfx)tst-audit5.out): Likewise.
9244 ($(objpfx)tst-audit6): Likewise.
9245 ($(objpfx)tst-audit6.out): Likewise.
9246 ($(objpfx)tst-audit7): Likewise.
9247 ($(objpfx)tst-audit7.out): Likewise.
9248 (tst-audit3-ENV): Remove variable.
9249 (tst-audit4-ENV): Likewise.
9250 (tst-audit5-ENV): Likewise.
9251 (tst-audit6-ENV): Likewise.
9252 (tst-audit7-ENV): Likewise.
9253 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9254 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9255 addition to variable.
9256 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9257 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9258 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9259 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9260 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9261 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9262 tst-audit3, tst-audit4 and tst-audit5.
9263 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9264 tst-audit6 and tst-audit7.
9265 [$(subdir) = elf] (modules-names): Add audit modules for those
9266 tests.
9267 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9268 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9269 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9270 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9271 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9272 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9273 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9274 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9275 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9276 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9277 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9278 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9279 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9280 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9281 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9282 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9283 Likewise.
9284 [$(subdir) = elf && $(config-cflags-avx) = yes]
9285 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9286 [$(subdir) = elf && $(config-cflags-avx) = yes]
9287 (CFLAGS-tst-auditmod4a.c): Likewise.
9288 [$(subdir) = elf && $(config-cflags-avx) = yes]
9289 (CFLAGS-tst-auditmod4b.c): Likewise.
9290 [$(subdir) = elf && $(config-cflags-avx) = yes]
9291 (CFLAGS-tst-auditmod6b.c): Likewise.
9292 [$(subdir) = elf && $(config-cflags-avx) = yes]
9293 (CFLAGS-tst-auditmod6c.c): Likewise.
9294 [$(subdir) = elf && $(config-cflags-avx) = yes]
9295 (CFLAGS-tst-auditmod7b.c): Likewise.
9296 * elf/tst-audit3.c: Move to ...
9297 * sysdeps/x86_64/tst-audit3.c: ... here.
9298 * elf/tst-audit4.c: Move to ...
9299 * sysdeps/x86_64/tst-audit4.c: ... here.
9300 * elf/tst-audit5.c: Move to ...
9301 * sysdeps/x86_64/tst-audit5.c: ... here.
9302 * elf/tst-audit6.c: Move to ...
9303 * sysdeps/x86_64/tst-audit6.c: ... here.
9304 * elf/tst-audit7.c: Move to ...
9305 * sysdeps/x86_64/tst-audit7.c: ... here.
9306 * elf/tst-auditmod3a.c: Move to ...
9307 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9308 * elf/tst-auditmod3b.c: Move to ...
9309 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9310 * elf/tst-auditmod4a.c: Move to ...
9311 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9312 * elf/tst-auditmod4b.c: Move to ...
9313 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9314 * elf/tst-auditmod5a.c: Move to ...
9315 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9316 * elf/tst-auditmod5b.c: Move to ...
9317 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9318 * elf/tst-auditmod6a.c: Move to ...
9319 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9320 * elf/tst-auditmod6b.c: Move to ...
9321 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9322 * elf/tst-auditmod6c.c: Move to ...
9323 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9324 * elf/tst-auditmod7a.c: Move to ...
9325 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9326 * elf/tst-auditmod7b.c: Move to ...
9327 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9328
1ef74943
PP
93292013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9330
9331 [BZ #15366]
9332 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9333 define unconditionally.
9334 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9335 define unconditionally.
9336 (INT8_C, INT16_C, etc.): Likewise.
9337
93fd48c5
MR
93382013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9339
ae9552cf
MR
9340 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9341 __ehdr_start with hidden visibility.
9342
93fd48c5
MR
9343 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9344
418601aa
CD
93452013-04-24 Carlos O'Donell <carlos@redhat.com>
9346
9347 * math/libm-test.inc (cos_test): Use accurate hex constants.
9348 (sincost_test): Likewise.
9349
2f38fbfe
JM
93502013-04-24 Joseph Myers <joseph@codesourcery.com>
9351
5e221800
JM
9352 * math/libm-test.inc (catan_test): Add more tests.
9353 (catanh_test): Likewise.
9354
77f143fd
JM
9355 * math/s_catanf.c (__catanf): Use suffixed floating-point
9356 constants.
9357 * math/s_catanhf.c (__catanhf): Likewise.
9358 * math/s_catanhl.c (__catanhl): Likewise.
9359 * math/s_catanl.c (__catanl): Likewise.
9360
2f38fbfe
JM
9361 [BZ #15394]
9362 * math/s_catan.c (__catan): Calculate imaginary part of result
9363 with log1p not log unless computing log of number close to 0.
9364 * math/s_catanf.c (__catanf): Likewise.
9365 * math/s_catanl.c (__catanl): Likewise.
9366 * math/s_catanh.c (__catanh): Calculate real part of result with
9367 log1p not log unless computing log of number close to 0.
9368 * math/s_catanhf.c (__catanhf): Likewise.
9369 * math/s_catanhl.c (__catanhl): Likewise.
9370 * math/libm-test.inc (catan_test): Add more tests.
9371 (catanh_test): Likewise.
9372 * sysdeps/i386/fpu/libm-test-ulps: Update.
9373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9374
45d69176
SP
93752013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9376
9377 * benchtests/Makefile: Mention files in which fast and slow
9378 paths of math functions are implemented.
9379
87f51853
RM
93802013-04-23 Roland McGrath <roland@hack.frob.com>
9381
9382 * sysdeps/posix/timespec_get.c: New file.
9383
3c026539
AZ
93842013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9385
9386 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9387 POWER.
9388 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9389 for POWER.
9390 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9391 powerpc/power5/fpu folders.
9392 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9393 * benchtests/Makefile: Add modf testcase.
9394 * benchtests/bench-modf.c: New file: Benchmark test for mo
9395
ff491d14
SP
93962013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9397
9398 [BZ #14888]
9399 * time/Makefile (tests): Add tst-strptime-whitespace.
9400 * time/strptime_l.c (get_number): Use ISSPACE.
9401 (__strptime_internal): Likewise.
9402 * time/tst-strptime-whitespace.c: New test case.
9403
7ed3f4e8
AS
94042013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9405
9406 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9407 member.
9408 (_nss_files_init): Set it here.
9409
5c95f7b6
HC
94102013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9411
9412 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9413 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9414 unsigned.
9415
d34c9158
JBG
94162013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9417
9418 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9419
2169712d
SP
94202013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9421
9422 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9423 size just once.
9424
29c5de99
DM
94252013-04-21 David S. Miller <davem@davemloft.net>
9426
9427 * po/ru.po: Update Russion translation from translation project.
9428
ccdad15d
AC
94292013-04-17 Adam Conrad <adconrad@0c3.net>
9430
9431 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9432 and setfsgid.
9433
0f122b8d
CD
94342013-04-17 Carlos O'Donell <carlos@redhat.com>
9435
5c5b07da 9436 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 9437 * configure: Regenerate.
5c5b07da 9438 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
9439 Add example to error message.
9440 * sysdeps/i386/configure: Regenerate.
9441
037714dd
SP
94422013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9443
9444 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9445 slowtan.
9446 * benchtests/cos-inputs: New file.
9447 * benchtests/slowcos-inputs: New file.
9448 * benchtests/slowcos.c: New file.
9449 * benchtests/slowtan-inputs: New file.
9450 * benchtests/slowtan.c: New file.
9451 * benchtests/tan-inputs: New file.
9452
e913141d
RM
94532013-04-16 Roland McGrath <roland@hack.frob.com>
9454
9455 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9456 considered kosher.
9457
a2964074
SP
94582013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9459
4856bcd2
SP
9460 * benchtests/Makefile: Include cppflags-iterator.mk to add
9461 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9462
a2964074
SP
9463 * Makefile.in (bench-clean): New target.
9464 * benchtests/Makefile (bench-clean): Likewise.
9465
9fbf9aca
DH
94662013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9467
9468 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9469
207d1e2a
TS
94702013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9471
9472 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9473
306dfba9
AS
94742013-04-15 Andreas Schwab <schwab@suse.de>
9475
9476 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9477 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9478 * nscd/pwdcache.c (cache_addpw): Likewise.
9479 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9480 more than recsize.
9481
206a6699
SP
94822013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9483
9484 * benchtests/Makefile (bench): Write all output to
9485 bench-out.tmp together.
9486
0582f6b3
AS
94872013-04-15 Andreas Schwab <schwab@suse.de>
9488
9489 * nscd/nscd.c (main): Don't fork again after closing files.
9490
acb4325f
SP
94912013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9492
5cb26d0a
SP
9493 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9494
acb4325f
SP
9495 * benchtests/Rules (bench-deps): Collect dependencies into a
9496 single variable. Add Makefile to dependencies.
9497 ($(objpfx)bench-%.c): Depend on bench-deps.
9498
47792506
RM
94992013-04-12 Roland McGrath <roland@hack.frob.com>
9500 Xavier Roche <roche+kml2@exalead.com>
9501
9502 [BZ #15361]
9503 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9504 just that it's a file descriptor.
9505 * manual/llio.texi (Synchronizing AIO Operations): Update description
9506 for EBADF error from aio_fsync.
9507
8fc1bee5
SP
95082013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9509
9510 * Rules (bench): Move target definition...
9511 * benchtests/Makefile: ... here.
9512
aba5e333
CD
95132013-04-11 Carlos O'Donell <carlos@redhat.com>
9514
9515 * math/libm-test.inc (cos_test): Fix PI/2 test.
9516 (sincos_test): Likewise.
9517 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9518 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9519
273cdee8
AS
95202013-04-11 Andreas Schwab <schwab@suse.de>
9521
6ecec3b6
AS
9522 [BZ #13988]
9523 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9524 accept exponent character only when digits were seen.
9525 * stdio-common/Makefile (tests): Add bug26.
9526 * stdio-common/bug26.c: New file.
9527
273cdee8
AS
9528 [BZ #14293]
9529 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9530 non-freeable.
9531
8da491f5
SP
95322013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9533
01dc6df9
SP
9534 * Makeconfig (rtld-prefix): Define built linker prefix.
9535 * Rules (run-bench): Use it.
9536 * math/Makefile (run-regen-ulps): Likewise.
9537
8da491f5
SP
9538 * Rules (bench): Remove eval.
9539
abe7f530
SP
95402013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9541 Roland McGrath <roland@hack.frob.com>
9542 Ondrej Bilka <neleai@seznam.cz>
9543
9544 [BZ #15346]
9545 * time/getdate.c: Include ctype.h and alloca.h.
9546 (__getdate_r): Trim leading and trailing spaces of input.
9547 * time/tst-getdate.c (tests): Add tests with leading and
9548 trailing spaces.
9549
61c23e62
RM
95502013-04-08 Roland McGrath <roland@hack.frob.com>
9551
9552 [BZ #14280]
9553 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9554 when computing value.
9555
7208a313
CD
95562013-04-06 Carlos O'Donell <carlos@redhat.com>
9557
085b2d41
CD
9558 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9559 Use testrun.sh to run libm tests.
9560
7208a313
CD
9561 [BZ #15309]
9562 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9563
872c0acd
MM
95642013-04-06 Marko Myllynen <myllynen@redhat.com>
9565
9566 [BZ #15264]
9567 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9568
26510bdd
CD
95692013-04-06 Carlos O'Donell <carlos@redhat.com>
9570
9571 * Makefile.in (regen-ulps): New target.
9572 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9573 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9574 [ifneq (no,$(PERL)] (regen-ulps): New target.
9575 [ifeq (no,$(PERL)] (regen-ulps): New target.
9576 * math/libm-test.inc (ulps_file_name): Define.
9577 (output_dir): New variable.
9578 (options): Add "output-dir" option.
9579 (parse_opt): Handle 'o' case.
9580 (main): If output_dir is non-NULL use it as a prefix
9581 otherwise use "".
9582 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9583
a01f19c8
CD
95842013-04-06 Carlos O'Donell <carlos@redhat.com>
9585
9586 [BZ #10060, #10062]
9587 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9588 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9589 fail configure if __sync_val_compare_and_swap is not inlined.
9590 * sysdeps/i386/configure: Regenerate.
9591 * configure.in: Build for i686 when configured for i386.
9592 * configure: Regenerate.
9593 * README: Remove i386 reference.
9594
b7a329a5
CD
95952013-04-06 Carlos O'Donell <carlos@redhat.com>
9596
9597 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9598 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9599
bf0f50df
TS
96002013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9601
ee091edf
TS
9602 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9603 (lmsnanval): New variables.
9604 (F): Add conversion tests.
9605 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9606 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9607
a8b792d6
TS
9608 * stdio-common/tstdiomisc.c (F): Properly collect individual
9609 tests' results.
9610
a1cbf437
TS
9611 [BZ #14686, #15336]
9612 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9613 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9614 Instead, use input NaN values or generate a qNaN by arithmetic
9615 operation. Also fix bugs to comply with the standard.
9616 * math/libm-test.inc (remainder_test): Add more tests.
9617
8b43a0c9
TS
9618 [BZ #15335, #15342]
9619 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9620 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9621 input NaN values or generate a qNaN by arithmetic operation.
9622
d91da4ce
TS
9623 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9624 unreachable code.
9625
bf0f50df
TS
9626 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9627 definitions.
9628
05e166c8
JM
96292013-04-03 Joseph Myers <joseph@codesourcery.com>
9630
9631 [BZ #14478]
9632 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9633 underflowed result.
9634 * math/s_cexpf.c (__cexpf): Likewise.
9635 * math/s_cexpl.c (__cexpl): Likewise.
9636 * math/libm-test.inc (cexp_test): Add more tests.
9637
1cef1b19
AS
96382013-04-03 Andreas Schwab <schwab@suse.de>
9639
9640 [BZ #15330]
9641 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9642 order arrays from heap if bigger than alloca cutoff.
9643
74d87055
TS
96442013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9645
9646 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9647 (SNAN_TESTS_double): Refer to GCC PR56831.
9648 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9649 GCC PR56828.
9650
d755bba4
SP
96512013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9652
90d5d5bb
SP
9653 * Rules (bench): Move bench.out after the run is complete.
9654
73e0cd5d
SP
9655 * Rules (bench): Echo currently running benchmark.
9656
64aabd4b
SP
9657 * benchtests/Makefile (bench): Add atan and slowatan.
9658 * benchtests/atan-inputs: New file.
9659 * benchtests/slowatan-inputs: New file.
9660 * benchtests/slowatan.c: New file.
9661
c871eccd
SP
9662 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9663 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9664 its value.
9665
d755bba4
SP
9666 [BZ #15305]
9667 * sysdeps/unix/sysv/linux/kernel-features.h
9668 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9669 __ASSUME_XFS_RESTRICTED_CHOWN.
9670 * sysdeps/unix/sysv/linux/pathconf.c
9671 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9672 Save and restore errno.
9673
52ce4860
JM
96742013-04-02 Joseph Myers <joseph@codesourcery.com>
9675
9676 [BZ #15327]
9677 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9678 arguments using __kernel_casinh.
9679 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9680 arguments using __kernel_casinhf.
9681 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9682 arguments using __kernel_casinhl.
9683 * math/libm-test.inc (cacosh_test): Add more tests.
9684 * sysdeps/i386/fpu/libm-test-ulps: Update.
9685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9686
81f311c2
SP
96872013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9688
e7906a47
SP
9689 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9690 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9691
92e3664b
SP
9692 * bench/Makefile (bench): Add sin and slowsin.
9693 * benchtests/sin-inputs: New file.
9694 * benchtests/slowsin-inputs: New file.
9695 * benchtests/slowsin.c: New file.
9696
81f311c2
SP
9697 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9698 (bench): Add slowexp and slowpow.
9699 (exp-ITER): Increase iterations.
9700 (pow-ITER): Likewise.
9701 * benchtests/exp-inputs: Change input.
9702 * benchtests/pow-inputs: Likewise.
9703 * benchtests/slowexp-inputs: New file.
9704 * benchtests/slowexp.c: New file.
9705 * benchtests/slowpow-inputs: New file.
9706 * benchtests/slowpow.c: New file.
9707
ab0f1aa9
AZ
97082013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9709
9710 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9711 instructions.
9712 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9713 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9714 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9715 * benchtests/Makefile: Add rint benchtest.
9716 * benchtests/rint-inputs: Input for rint benchtest.
9717
57267616
TS
97182013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9719
9720 * Versions.def (libm): Add GLIBC_2.18.
9721 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9722 hidden libm prototypes.
9723 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9724 * math/Makefile (libm-calls): Add s_issignaling.
9725 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9726 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9727 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9728 declaration.
9729 * math/math.h [__USE_GNU] (issignaling): New macro.
9730 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9731 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9732 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9733 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9734 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9735 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9736 * manual/arith.texi (issignaling): New section.
9737 * manual/libm-err-tab.pl (@all_functions): Update comment.
9738 * math/gen-libm-test.pl (parse_args): Apply special handling for
9739 issignaling.
9740 * math/libm-test.inc (print_float, issignaling_test): New
9741 functions.
9742 (check_float_internal): Add issignaling checks.
9743 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9744 default definition.
9745 * sysdeps/powerpc/math-tests.h: New file.
9746 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9747 tests.
9748 * math/test-snan.c (TEST_FUNC): Likewise.
9749
6142896d
DM
97502013-03-30 David S. Miller <davem@davemloft.net>
9751
9752 * po/de.po: Update from translation team.
9753
ccc8cadf
JM
97542013-03-30 Joseph Myers <joseph@codesourcery.com>
9755
9756 [BZ #10357]
9757 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9758 imaginary part less than 1.0 and real part less than 0.5
9759 specially.
9760 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9761 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9762 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9763 (cacos_test): Add more tests.
9764 (casin_test): Likewise.
9765 (casinh_test): Likewise.
9766 * sysdeps/i386/fpu/libm-test-ulps: Update.
9767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9768
0f6a8d4b
SP
97692013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9770
0d1029de
SP
9771 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9772 ONE with its value.
9773
c2d94018
SP
9774 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9775 (__pow_mp): Replace ONE and MONE with their values.
9776 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9777 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9778 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9779 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9780 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9781 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9782
27ec37f1
SP
9783 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9784
a64d7e0e
SP
9785 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9786 (__pow_mp): Replace ZERO and MZERO with their values.
9787 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9788 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9789 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9790 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9791 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9792 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9793 (__sqr): Likewise.
9794
d26dd3eb
SP
9795 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9796
0f6a8d4b
SP
9797 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9798
e57b0c61
RM
97992013-03-28 Roland McGrath <roland@hack.frob.com>
9800
9801 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9802 Declare with __attribute__ ((weak)).
9803 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9804 Call __call_tls_dtors only if it's not NULL.
9805
356b3480
RM
98062013-03-28 Roland McGrath <roland@hack.frob.com>
9807
288f7d79
RM
9808 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9809 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9810 magic __ehdr_start linker symbol if it's defined.
9811 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9812 them up here if it was already done.
9813
dc0a0263
RM
9814 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9815 (_dl_aux_init): Use const in cast when setting it.
9816 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9817 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9818 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9819
3d3436ae
RM
9820 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9821 Declare them here.
9822 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9823 * csu/libc-tls.c: Nor here.
9824 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9825
356b3480
RM
9826 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9827 (__libc_message): Never call vsyslog.
9828
b0f1246a
AM
98292013-03-28 Alan Modra <amodra@gmail.com>
9830
9831 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9832 Define as empty.
9833 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9834 Likewise.
9835
fbbe2b9a
AZ
98362013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9837
9838 [BZ #15214]
9839 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9840 underflow.
9841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9842
1728ab37
SP
98432013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9844
7a86be6e
SP
9845 [BZ #15304]
9846 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9847 Don't add gid passed as argument.
9848
1728ab37
SP
9849 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9850
3a7182a1
JM
98512013-03-27 Joseph Myers <joseph@codesourcery.com>
9852
9853 [BZ #15307]
9854 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9855 imaginary part between 1.0 and 1.5 and real part less than 0.5
9856 specially.
9857 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9858 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9859 * math/libm-test.inc (cacos_test): Add more tests.
9860 (casin_test): Likewise.
9861 (casinh_test): Likewise.
9862 * sysdeps/i386/fpu/libm-test-ulps: Update.
9863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9864
6f2e90e7
SP
98652013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9866
5739f705
SP
9867 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9868 constants.
9869 (norm): Likewise.
9870 (denorm): Likewise.
9871 (__dbl_mp): Likewise.
9872 (add_magnitudes): Likewise.
9873 (sub_magnitudes): Likewise.
9874 (__add): Likewise.
9875 (__sub): Likewise.
9876 (__mul): Likewise.
9877 (__sqr): Likewise.
9878 (__inv): Likewise.
9879 (__dvd): Likewise.
9880
e375e83d
SP
9881 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9882 commented code.
9883 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9884 (__dubcos): Likewise.
9885 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9886 (__ieee754_acos): Likewise.
9887 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9888 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9889 (__exp1): Likewise.
9890 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9891 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9892 (log1): Likewise.
9893 (my_log2): Likewise.
9894 (checkint): Likewise.
9895 * sysdeps/ieee754/dbl-64/e_remainder.c
9896 (__ieee754_remainder): Likewise.
9897 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9898 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9899 (bsloww): Likewise.
9900 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9901
6f2e90e7
SP
9902 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9903 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9904 MANTISSA_STORE_T to store computations on mantissa. Use
9905 macros for rounding and division.
9906 (denorm): Likewise.
9907 (__dbl_mp): Likewise.
9908 (add_magnitudes): Likewise.
9909 (sub_magnitudes): Likewise.
9910 (__mul): Likewise.
9911 (__sqr): Likewise.
9912 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9913 powers of two in terms of TWOPOW macro.
9914 (mp_no): Make type of mantissa as MANTISSA_T.
9915 [!RADIXI]: Define RADIXI.
9916 [!TWO52]: Define TWO52.
9917 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9918
fce14d4e
AZ
99192013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9920
9921 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9922 llroundl symbol when building for PPC32.
9923
9ad027fb
MW
99242013-03-24 Mark H Weaver <mhw@netris.org>
9925
9926 * manual/arith.texi (Normalization Functions): Fix prototypes for
9927 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9928
e42a38dd
AZ
99292013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9930
9931 [BZ #13889]
9932 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9933 high value to check if expl overflow.
9934 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9935 to check for underflow and overflow.
9936 * math/libm-test.inc: Add exp test.
9937
2e0fb521
DL
99382013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9939
9940 [BZ #11120]
9941 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9942 with NOT_IN_libc.
9943
b5784d95
AZ
99442013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9945
9946 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9947 symbol.
9948
5aa4a1a1
TS
99492013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9950
bdef0be7
TS
9951 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9952 wrap blocks consisting of several statements.
9953
5aa4a1a1
TS
9954 * sysdeps/generic/math-tests.h: New file.
9955 * sysdeps/i386/fpu/math-tests.h: Likewise.
9956 * math/test-snan.c: Include it.
9957 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9958
98c48fe5
JM
99592013-03-21 Joseph Myers <joseph@codesourcery.com>
9960
9961 [BZ #15285]
9962 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9963 (__ieee754_j0l): Do not improve calculations using cos of twice
9964 input for inputs above LDBL_MAX / 2.0L.
9965 (__ieee754_y0l): Likewise.
9966 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9967 (__ieee754_j1l): Do not improve calculations using cos of twice
9968 input for inputs above LDBL_MAX / 2.0L.
9969 (__ieee754_y1l): Likewise.
9970 * math/libm-test.inc (j0_test): Add another test.
9971 (j1_test): Likewise.
9972 (y0_test): Likewise.
9973 (y1_test): Likewise.
9974 * sysdeps/i386/fpu/libm-test-ulps: Update.
9975
3775a8bc
SP
99762013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9977
9978 * Rules ($(objpfx)bench-%.c): Include code from a C source
9979 file.
9980
0a1b2ae6
JM
99812013-03-21 Joseph Myers <joseph@codesourcery.com>
9982
9983 [BZ #15287]
9984 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9985 imaginary part 1.0 and real part less than 0.5 specially.
9986 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9987 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9988 * math/libm-test.inc (cacos_test): Add more tests.
9989 (casin_test): Likewise.
9990 (casinh_test): Likewise.
9991 * sysdeps/i386/fpu/libm-test-ulps: Update.
9992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9993
b33d4ce4
SP
99942013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9995
9996 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9997 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9998
bef0b507
JM
99992013-03-20 Joseph Myers <joseph@codesourcery.com>
10000
10001 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10002 * config.make.in (config-cflags-sse4): Remove variable.
10003 (config-cflags-avx): Likewise.
10004 (config-cflags-sse2avx): Likewise.
10005 (config-cflags-novzeroupper): Likewise.
10006 (config-asflags-i686): Likewise.
10007 (have-mfma4): Likewise.
10008 (have-as-vis3): Likewise.
10009 (MIG): Likewise.
10010 * configure.in (MIG): Do not AC_SUBST.
10011 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10012 (libc_cv_cc_sse4): Do not AC_SUBST.
10013 (libc_cv_cc_avx): Likewise.
10014 (libc_cv_cc_sse2avx): Likewise.
10015 (libc_cv_cc_novzeroupper): Likewise.
10016 (libc_cv_cc_fma4): Likewise.
10017 (libc_cv_as_i686): Likewise.
10018 (libc_cv_sparc_as_vis3): Likewise.
10019 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10020 LIBC_CONFIG_VAR.
10021 (config-asflags-i686): Likewise.
10022 (config-cflags-avx): Likewise.
10023 (config-cflags-sse2avx): Likewise.
10024 (have-mfma4): Likewise.
10025 (config-cflags-novzeroupper): Likewise.
10026 * sysdeps/mach/configure.in (MIG): Likewise.
10027 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10028 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10029 LIBC_CONFIG_VAR.
10030 (config-cflags-avx): Likewise.
10031 (config-cflags-sse2avx): Likewise.
10032 (have-mfma4): Likewise.
10033 (config-cflags-novzeroupper): Likewise.
10034 * configure: Regenerated.
10035 * sysdeps/i386/configure: Likewise.
10036 * sysdeps/mach/configure: Likewise.
10037 * sysdeps/sparc/configure: Likewise.
10038 * sysdeps/x86_64/configure: Likewise.
10039
912cc4b3
RM
100402013-03-20 Roland McGrath <roland@hack.frob.com>
10041
10042 [BZ #14812]
10043 * locale/programs/localedef.c (options): Put N_ translation marker
10044 on argument names, not just descriptions.
10045
04eed2b0
MS
100462013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10047
10048 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10049
a065ceff
OB
100502013-03-20 Ondřej Bílka <neleai@seznam.cz>
10051
9bb2a810 10052 [BZ #14176]
a065ceff
OB
10053 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10054
a600e5ce
RM
100552013-03-19 Roland McGrath <roland@hack.frob.com>
10056
10057 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10058 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10059 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10060 [!BEFORE_ABORT] (before_abort): New function.
10061 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10062 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10063 (writev_for_fatal): New function.
10064 (WRITEV_FOR_FATAL): New macro; call that.
10065 (backtrace_and_maps): New function.
10066 (BEFORE_ABORT): New macro; call that.
10067 (struct str_list): Type removed.
10068 (__libc_message, __libc_fatal): Functions removed.
10069 Include <sysdeps/posix/libc_fatal.c> instead.
10070
6b18bea6
JM
100712013-03-19 Joseph Myers <joseph@codesourcery.com>
10072
10073 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10074 constants.
10075 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10076 double constants.
10077
aaa8cb4b
AS
100782013-03-19 Andreas Schwab <schwab@suse.de>
10079
44673770
AS
10080 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10081 * sysdeps/gnu/configure: Regenerate.
10082
aaa8cb4b
AS
10083 * configure.in: Substitute libc_cv_rtlddir.
10084 * configure: Regenerate.
10085 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10086 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10087 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10088 * elf/Makefile (install-others, CFLAGS-interp.c)
10089 (ldso_install, common-ldd-rewrite): Likewise.
10090 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10091 $(inst_slibdir)/$(rtld-installed-name).
10092 * scripts/rellns-sh: Add -p option.
10093 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10094 for source.
10095
d3cfc668
SP
100962013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10097
10098 * manual/nptl.texi: Renamed to ...
10099 * manual/threads.texi: ... this.
10100 * manual/Makefile (chapters): Update.
10101
0e2b9cdd
RM
101022013-03-18 Roland McGrath <roland@hack.frob.com>
10103
10104 [BZ #14812]
10105 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10106 on argument names, not just descriptions.
0e2b9cdd
RM
10107 * malloc/memusagestat.c (options): Likewise.
10108 * nss/getent.c (options): Likewise.
63270c24
RM
10109
101102013-03-18 Benno Schulenberg <bensberg@justemail.net>
10111
10112 [BZ #14812]
10113 * iconv/iconv_prog.c (options): Put N_ translation marker
10114 on argument names, not just descriptions.
10115 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 10116
b2e1393c
OB
101172013-03-18 Ondrej Bilka <neleai@seznam.cz>
10118
10119 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10120 implementation which is faster on all x86_64 architectures.
10121 Tested on AMD, Intel Nehalem, SNB, IVB.
10122 * sysdeps/x86_64/strnlen.S: Likewise.
10123
10124 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10125 Remove all multiarch strlen and strnlen versions.
10126 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10127 Remove strlen and strnlen related parts.
10128
10129 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10130 Inline strlen part.
10131 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10132
10133 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10134 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10135 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10136 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10137 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10138 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10139
ec4ff04d
CD
101402013-03-17 Carlos O'Donell <carlos@redhat.com>
10141
10142 * manual/memory.texi (Malloc Tunable Parameters):
10143 Sort parameters alphabetically. Add comments for missing entries.
10144
cd18e90a
DM
101452013-03-17 David S. Miller <davem@davemloft.net>
10146
10147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10148
2a185d32
JM
101492013-03-16 Joseph Myers <joseph@codesourcery.com>
10150
d2f9799e
JM
10151 [BZ #15283]
10152 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10153 for arguments at most half maximum finite value.
10154 * math/libm-test.inc (j0_test): Add more tests.
10155 (j1_test): Likewise.
10156 (y0_test): Likewise.
10157 (y1_test): Likewise.
10158 * sysdeps/i386/fpu/libm-test-ulps: Update.
10159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10160
2a185d32
JM
10161 [BZ #14155]
10162 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10163 1 / x and functions P and Q for arguments above 0x1p256L.
10164 (__ieee754_y0l): Likewise.
10165 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10166 (__ieee754_y1l): Likewise.
10167 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10168 (j1_test): Likewise.
10169 (y0_test): Likewise.
10170 (y1_test): Likewise.
10171
6cbec759
TS
101722013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10173
10174 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10175 variable.
10176
bc16e260
RM
101772013-03-15 Roland McGrath <roland@hack.frob.com>
10178
aefc9b8c
RM
10179 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10180 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10181 zero since it's initialized to EXEC_PAGESIZE.
10182
bc16e260
RM
10183 * sysdeps/unix/sysv/linux/ldsodefs.h
10184 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10185 * sysdeps/generic/ldsodefs.h: ... here.
10186
a57da955
TS
101872013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10188
af00a34d
TS
10189 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10190
495ded2c
TS
10191 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10192 math/test-snan.c.
10193 * math/test-snan.c: Renamed from
10194 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10195 * math/Makefile (tests): Add test-snan.
10196 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10197 test-powerpc-snan.
10198
777b0332
TS
10199 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10200 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10201 functions.
10202 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10203 __builtin_nan family of functions.
10204 * math/libm-test.inc (initialize): Initialize qnan_value with
10205 __builtin_nan family of functions.
10206 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10207 Remove variables.
10208 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10209 Remove functions.
10210 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10211 storage class. Initialize qNaN_var and sNaN_var with
10212 __builtin_nan and __builtin_nans families of functions,
10213 respectively.
10214
64d063b8
TS
10215 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10216 (sqrt_test): Remove duplicate test with qNaN input.
10217 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10218 (round_test, signbit_test, significand_test): Note missing +/-Inf
10219 as well as qNaN tests.
10220
67e971f1
TS
10221 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10222 qNaN_var. Fix a few strings, too.
10223 * math/libm-test.inc (nan_value): Rename to qnan_value.
10224 * math/gen-libm-test.pl (%beautify): Adjust to that.
10225 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10226 * math/test-misc.c (main): Likewise.
10227 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10228 to __qnan_bytes, and __qnan_union, respectively.
10229 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10230 Likewise.
10231 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10232 and lqnanval, respectively.
10233 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10234 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10235 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10236 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10237
64487e12
TS
10238 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10239 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10240 doubles.
10241
e015e27b
TS
10242 * math/test-misc.c (main): Fix copy'n'pastos.
10243 * misc/tst-efgcvt.c (special): Likewise.
10244
a57da955
TS
10245 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10246 Remove declarations.
10247
1e380345
SP
102482013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10249
10250 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10251 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10252 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10253 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10254
ef26eece
AZ
102552013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10256
10257 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10258 macro to return vdso values correctly in IFUNC implementations.
10259 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10260 Optimization by using IFUNC.
10261
8cfdb7e0
SP
102622013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10263 Richard Henderson <rth@redhat.com>
10264 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10265
10266 * Makefile.in (bench): New target.
10267 * NEWS: Mention the benchmark framework.
10268 * Rules (bench): Likewise.
10269 (binaries-bench): Generate binaries for functions to
10270 benchmark.
10271 * benchtests/Makefile: New makefile for benchmark tests.
10272 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10273 programs.
10274 * benchtests/exp-inputs: New input file for EXP function.
10275 * benchtests/pow-inputs: New input file for POW function.
10276 * scripts/bench.pl: New script to generate source files for
10277 benchmark programs.
10278
bcda9880
SP
102792013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10280
d22ca8cd
SP
10281 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10282 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10283 computations on mantissa. Use macros for rounding and
10284 division.
10285 (denorm): Likewise.
10286 (__dbl_mp): Likewise.
10287 (add_magnitudes): Likewise.
10288 (sub_magnitudes): Likewise.
10289 (__mul): Likewise.
10290 (__sqr): Likewise.
10291 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10292 powers of two in terms of TWOPOW macro.
10293 (mp_no): Make type of mantissa as MANTISSA_T.
10294 [!RADIXI]: Define RADIXI.
10295 [!TWO52]: Define TWO52.
10296 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10297
bcda9880
SP
10298 * manual/nptl.texi (cindex): Modify threads to pthreads.
10299
06d5adfb
JM
103002013-03-15 Joseph Myers <joseph@codesourcery.com>
10301
10302 * sysdeps/x86_64/preconfigure: Regenerated.
10303
41c7328e
JM
103042013-03-14 Joseph Myers <joseph@codesourcery.com>
10305
10306 [BZ #14155]
10307 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10308 0x1p28 and above.
10309 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10310 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10311 0x1p28 and above.
10312 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10313 * math/libm-test.inc (j0_test): Do not allow one spurious
10314 underflow exception.
10315 (y1_test): Likewise.
10316
e25cfa60
SP
103172013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10318
0409959c
SP
10319 * manual/Makefile (chapters): Add nptl.
10320 * manual/debug.texi (Debugging Support): Add link to Threads
10321 chapter.
10322 * manual/nptl.texi: New file.
10323
e25cfa60
SP
10324 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10325
58a1335e
PB
103262013-03-14 Petr Baudis <pasky@ucw.cz>
10327
10328 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10329 for non-NULL pointer before the memory validity test. Pointed
10330 out by Holger Brunck <holger.brunck@keymile.com>.
10331
9dc7c64f
AS
103322013-03-13 Andreas Schwab <schwab@suse.de>
10333
10334 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10335 instead of .os.
10336
54206aa6
JM
103372013-03-13 Joseph Myers <joseph@codesourcery.com>
10338
10339 * timezone/zic.c: Update from tzcode 2013b.
10340
e98cdb38
CD
103412013-03-12 Carlos O'Donell <carlos@redhat.com>
10342
10343 * manual/install.texi (Configuring and compiling):
10344 Mention i686 and i586.
10345 * INSTALL: Regenerate.
10346
9967e003
RM
103472013-03-12 Roland McGrath <roland@hack.frob.com>
10348
10349 * sysdeps/init_array/elf-init.c: New file.
10350 * csu/elf-init.c
10351 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10352 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10353
10354 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10355 __gmon_start__ as global, but as static with a .preinit_array pointer.
10356 * sysdeps/init_array/gmon-start.c: New file. Use that.
10357 * sysdeps/init_array/crti.S: New file, empty except for comments.
10358 * sysdeps/init_array/crtn.S: Likewise.
10359
e6b5a293 103602013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
10361
10362 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10363 definining bcopy.
80f844c9
OB
10364 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10365 Remove Prefer_SSE_for_memop.
10366 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10367 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10368 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
10369 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10370 memset-x86-64.
80f844c9 10371 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 10372 Remove bzero, memset ifunc support.
80f844c9
OB
10373 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10374 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10375 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10376 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10377
fb6b0fcb
AS
103782013-03-11 Andreas Schwab <schwab@suse.de>
10379
10380 [BZ #15234]
10381 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10382 by SHLIB_COMPAT.
10383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10384 (GLIBC_2.16): Remove pthread_atfork.
10385
3e6bd4b1
PP
103862013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10387
10388 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10389 (ptestcases.h): Likewise.
10390
222d7f00
RM
103912013-03-08 Roland McGrath <roland@hack.frob.com>
10392
10393 * Makeconfig ($(common-objpfx)config.status): Depend on
10394 sysdeps/*/preconfigure{,.in} too.
10395
1ba4f030
JM
103962013-03-08 Joseph Myers <joseph@codesourcery.com>
10397
a222d91a
JM
10398 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10399 (__free_hook): Use void * instead of __malloc_ptr_t.
10400 (__malloc_hook): Likewise.
10401 (__realloc_hook): Likewise.
10402 (__memalign_hook): Likewise.
10403 (__after_morecore_hook): Likewise.
10404 * malloc/arena.c (save_malloc_hook): Likewise.
10405 (save_free_hook): Likewise.
10406 * malloc/hooks.c (malloc_hook_ini): Likewise.
10407 (realloc_hook_ini): Likewise.
10408 (memalign_hook_ini): Likewise.
10409 * malloc/malloc.c (malloc_hook_ini): Likewise.
10410 (realloc_hook_ini): Likewise.
10411 (memalign_hook_ini): Likewise.
10412 (__free_hook): Likewise.
10413 (__malloc_hook): Likewise.
10414 (__realloc_hook): Likewise.
10415 (__memalign_hook): Likewise.
10416 (__libc_malloc): Likewise.
10417 (__libc_free): Likewise.
10418 (__libc_realloc): Likewise.
10419 (__libc_memalign): Likewise.
10420 (__libc_valloc): Likewise.
10421 (__libc_pvalloc): Likewise.
10422 (__libc_calloc): Likewise.
10423 (__posix_memalign): Likewise.
10424 * malloc/morecore.c (__sbrk): Likewise.
10425 (__default_morecore): Likewise.
10426
5cc45e10
JM
10427 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10428
dd54b864
JM
10429 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10430 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10431 __malloc_ptrdiff_t.
10432
1ba4f030
JM
10433 * malloc/malloc.h (__malloc_size_t): Remove macro.
10434 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10435 __malloc_size_t.
10436 (old_memalign_hook): Likewise.
10437 (old_realloc_hook): Likewise.
10438 (struct hdr): Likewise.
10439 (flood): Likewise.
10440 (mallochook): Likewise.
10441 (memalignhook): Likewise.
10442 (reallochook): Likewise.
10443 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10444 (tr_old_realloc_hook): Likewise.
10445 (tr_old_memalign_hook): Likewise.
10446 (tr_mallochook): Likewise.
10447 (tr_reallochook): Likewise.
10448 (tr_memalignhook): Likewise.
10449
edf66e57
AZ
104502013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10451
10452 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10453 default_ldbl_pack and using as default implementation.
10454 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10455 implementation.
10456 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10457 redundant definition.
10458 (ldbl_insert_mantissa): Likewise.
10459 (ldbl_canonicalize): Likewise.
10460 (ldbl_nearbyint): Likewise.
10461 (ldbl_pack): Rename to ldbl_pack_ppc.
10462 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10463 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10464 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10465
6d9145d8
SP
104662013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10467
10468 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10469 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10470 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10471 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10473 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10474 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10475 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10476
4dd4e157
AJ
104772013-03-07 Andreas Jaeger <aj@suse.de>
10478
10479 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10480 bits/mman-linux.h.
10481
adbb8027
SP
104822013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10483
ce544b5b
SP
10484 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10485 Include mpa.h and declare __MPEXP.
10486 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10487 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10488 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10489 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10490 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10491 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10492 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10493
4cc149fd
SP
10494 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10495 (__slowpow): Use long double EXPL and LOGL functions to
10496 compute POW.
10497 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10498 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10499 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10500 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10501 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10502 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10503
e6ebd4a7
SP
10504 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10505 intermediate variable to calculate exponent.
10506 (__sqr): Likewise.
10507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10508 Likewise.
10509 (__sqr): Likewise.
10510
82a9811d
SP
10511 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10512 [!NO__SQR]: Define __sqr.
10513 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10514 and NO__SQR. Remove all code except __mul and __sqr. Include
10515 sysdeps/ieee754/dbl-64/mpa.c.
10516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10517
adbb8027
SP
10518 [BZ #12723]
10519 * posix/Makefile (tests): Add tst-pathconf.
10520 * posix/tst-pathconf.c: New test case.
10521 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10522 _PC_PIPE_BUF.
10523 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10524
39120df9
PF
105252013-03-06 Patsy Franklin <pfrankli@redhat.com>
10526
10527 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10528
67525cb8
AJ
105292013-03-06 Andreas Jaeger <aj@suse.de>
10530
664a9ce4
AJ
10531 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10532 definition via __MAP_ANONYMOUS.
10533
8e39047d
AJ
10534 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10535 it's not part of Linux headers.
10536
67525cb8
AJ
10537 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10538 (MAP_HUGE_MASK): Define.
10539
10540 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10541 Define.
10542 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10543 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10544 Define.
10545 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10546 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10547 Define.
10548 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10549 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10550 Define.
10551 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10552
10553 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10554 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10555 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10556 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10557 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10558 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10559
10560 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10561 Handle f2fs.
10562
10563 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10564 Handle f2fs and efivarfs.
10565
10566 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10567 f2fs.
10568
10569 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10570 (EFIVARFS_MAGIC): Add.
10571 (F2FS_LINK_MAX): Add.
10572
e1b42695
PP
105732013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10574
10575 * stdio-common/vfprintf.c: Replace __builtin_expect with
10576 __glibc_unlikely.
10577
2d67d91a
JM
105782013-03-06 Joseph Myers <joseph@codesourcery.com>
10579
10580 [BZ #13550]
10581 * sysdeps/generic/bp-sym.h: Remove file.
10582 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10583 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10584 <bp-sym.h> and <bp-asm.h>.
10585 (__longjmp): Don't use BP_SYM.
10586 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10587 and <bp-asm.h>.
10588 (memcpy): Don't use BP_SYM.
10589 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10590 <bp-sym.h> and <bp-asm.h>.
10591 (memcpy): Don't use BP_SYM.
10592 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10593 <bp-asm.h>.
10594 (memcpy): Don't use BP_SYM.
10595 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10596 <bp-asm.h>.
10597 (memset): Don't use BP_SYM.
10598 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10599 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10600 (__bzero): Don't use BP_SYM.
10601 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10602 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10603 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10604 <bp-sym.h> and <bp-asm.h>.
10605 (memcmp): Don't use BP_SYM. Remove comment about bounded
10606 pointers.
10607 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10608 <bp-sym.h> and <bp-asm.h>.
10609 (memcpy): Don't use BP_SYM.
10610 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10611 <bp-sym.h> and <bp-asm.h>.
10612 (memset): Don't use BP_SYM.
10613 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10614 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10615 (__bzero): Don't use BP_SYM.
10616 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10617 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10618 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10619 <bp-sym.h> and <bp-asm.h>.
10620 (strncmp): Don't use BP_SYM. Remove comment about bounded
10621 pointers.
10622 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10623 <bp-sym.h> and <bp-asm.h>.
10624 (memcpy): Don't use BP_SYM.
10625 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10626 <bp-sym.h> and <bp-asm.h>.
10627 (memset): Don't use BP_SYM.
10628 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10629 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10630 (__bzero): Don't use BP_SYM.
10631 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10632 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10633 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10634 <bp-sym.h> and <bp-asm.h>.
10635 (__memchr): Don't use BP_SYM.
10636 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10637 <bp-sym.h> and <bp-asm.h>.
10638 (memcmp): Don't use BP_SYM. Remove comment about bounded
10639 pointers.
10640 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10641 <bp-sym.h> and <bp-asm.h>.
10642 (memcpy): Don't use BP_SYM.
10643 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10644 <bp-sym.h> and <bp-asm.h>.
10645 (__mempcpy): Don't use BP_SYM.
10646 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10647 <bp-sym.h> and <bp-asm.h>.
10648 (__memrchr): Don't use BP_SYM.
10649 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10650 <bp-sym.h> and <bp-asm.h>.
10651 (memset): Don't use BP_SYM.
10652 (__bzero): Likewise.
10653 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10654 <bp-sym.h> and <bp-asm.h>.
10655 (__rawmemchr): Don't use BP_SYM.
10656 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10657 <bp-sym.h> and <bp-asm.h>.
10658 (__STRCMP): Don't use BP_SYM.
10659 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10660 <bp-sym.h> and <bp-asm.h>.
10661 (strchr): Don't use BP_SYM.
10662 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10663 <bp-sym.h> and <bp-asm.h>.
10664 (__strchrnul): Don't use BP_SYM.
10665 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10666 <bp-sym.h> and <bp-asm.h>.
10667 (strlen): Don't use BP_SYM.
10668 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10669 <bp-sym.h> and <bp-asm.h>.
10670 (strncmp): Don't use BP_SYM. Remove comment about bounded
10671 pointers.
10672 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10673 <bp-sym.h> and <bp-asm.h>.
10674 (__strnlen): Don't use BP_SYM.
10675 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10676 <bp-sym.h> and <bp-asm.h>.
10677 (__GI__setjmp): Don't use BP_SYM.
10678 (_setjmp): Likewise.
10679 (__sigsetjmp): Likewise.
10680 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10681 (L(start_addresses)): Don't use BP_SYM.
10682 (_start): Likewise.
10683 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10684 <bp-asm.h>.
10685 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10686 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10687 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10688 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10689 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10690 <bp-asm.h>.
10691 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10692 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10693 about bounded pointers.
10694 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10695 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10696 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10697 <bp-asm.h>.
10698 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10699 about bounded pointers. Remove GKM FIXME comments.
10700 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10701 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10702 <bp-asm.h>.
10703 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10704 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10705 Remove GKM FIXME comments.
10706 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10707 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10708 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10709 <bp-asm.h>.
10710 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10711 about bounded pointers. Remove GKM FIXME comment.
10712 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10713 and <bp-asm.h>.
10714 (strncmp): Don't use BP_SYM. Remove comment about bounded
10715 pointers.
10716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10717 <bp-sym.h> and <bp-asm.h>.
10718 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10720 <bp-sym.h> and <bp-asm.h>.
10721 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10722 comment.
10723
cdcf361f
PP
107242013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10725
10726 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10727 call free(NULL).
10728
3c4a2b15
DM
107292013-03-05 David S. Miller <davem@davemloft.net>
10730
10731 * po/es.po: Update from translation team.
10732
cdcf361f 107332013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
10734
10735 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10736 <bits/mman-linux.h>.
10737 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10738 is fine.
10739 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10740 <bits/mman-linux.h> to end of file.
10741 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10742 is fine.
10743 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10744 <bits/mman-linux.h> to end of file.
10745 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10746 is fine.
10747 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10748 <bits/mman-linux.h> to end of file.
10749
10750 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10751 (MCL_CURRENT, MCL_FUTURE): Define here.
10752
5f67c04f
AK
107532013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10754
8a4473cc 10755 [BZ #15232]
5f67c04f
AK
10756 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10757 attribute_hidden.
10758 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10759
c3e94a95
AK
107602013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10761
10762 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10763 fourth parameter needed for rt_sigprocmask syscall.
10764 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10765 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10766 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10767 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10768 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10769 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10770
cfb6382a
JM
107712013-03-04 Joseph Myers <joseph@codesourcery.com>
10772
10773 [BZ #13550]
10774 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10775 comment about bounded pointers.
10776 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10777 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10778
539d8e01
AJ
107792013-03-04 Andreas Jaeger <aj@suse.de>
10780
10781 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10782 common definitions.
10783
10784 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10785 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10786 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10787 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10788 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
10789 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10790
2e167a70 107912013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
10792
10793 [BZ #15055]
10794 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10795 __ieee754_sqrl instead of __sqrl.
10796
68508633
JM
107972013-03-01 Joseph Myers <joseph@codesourcery.com>
10798
10799 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10800 * sysdeps/powerpc/fpu_control.h: ... here.
10801 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10802 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10803 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10804 * sysdeps/powerpc/bits/mathinline.h: ... here.
10805
7775448e
RM
108062013-03-01 Roland McGrath <roland@hack.frob.com>
10807
10808 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10809 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10810 to just [NEED_DL_SYSINFO_DSO].
10811 * elf/dl-support.c: Likewise.
10812 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10813 * elf/rtld.c (dl_main): Likewise.
10814 * elf/setup-vdso.h (setup_vdso): Likewise.
10815 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10816 * sysdeps/unix/sysv/linux/dl-sysdep.c
10817 (_dl_discover_osversion): Likewise.
10818
4e9b5995
CD
108192013-03-01 Carlos O'Donell <carlos@redhat.com>
10820
10821 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10822 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10823
e23872c8
SP
108242013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10825
e5c74c63
SP
10826 * NEWS: Mention libm performance improvements and non-x86 PI
10827 futex support.
10828
e23872c8
SP
10829 * csu/libc-start.c (__pthread_initialize_minimal): Change
10830 function arguments.
10831 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10832
b5510883
JM
108332013-02-28 Joseph Myers <joseph@codesourcery.com>
10834
10835 [BZ #13550]
10836 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10837 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10838 <bp-sym.h> and <bp-asm.h>.
10839 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10840 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10841 and <bp-asm.h>.
10842 (memcpy): Don't use BP_SYM.
10843 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10844 <bp-asm.h>.
10845 (__mpn_add_n): Don't use BP_SYM.
10846 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10847 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10848 and <bp-asm.h>.
10849 (__mpn_addmul_1): Don't use BP_SYM.
10850 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10851 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10852 <bp-sym.h>.
10853 (_setjmp): Don't use BP_SYM.
10854 (__novmx_setjmp): Likewise.
10855 (__GI__setjmp): Likewise.
10856 (__vmx_setjmp): Likewise.
10857 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10858 <bp-sym.h>.
10859 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10860 (__bzero): Don't use BP_SYM.
10861 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10862 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10863 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10864 <bp-sym.h> and <bp-asm.h>.
10865 (memcpy): Don't use BP_SYM.
10866 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10867 <bp-sym.h> and <bp-asm.h>.
10868 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10869 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10870 <bp-sym.h> and <bp-asm.h>.
10871 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10872 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10873 <bp-asm.h>.
10874 (__mpn_lshift): Don't use BP_SYM.
10875 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10876 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10877 <bp-asm.h>.
10878 (memset): Don't use BP_SYM.
10879 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10880 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10881 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10882 <bp-asm.h>.
10883 (__mpn_mul_1): Don't use BP_SYM.
10884 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10885 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10886 <bp-sym.h> and <bp-asm.h>.
10887 (memcmp): Don't use BP_SYM.
10888 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10889 <bp-sym.h> and <bp-asm.h>.
10890 (memcpy): Don't use BP_SYM.
10891 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10892 <bp-sym.h> and <bp-asm.h>.
10893 (memset): Don't use BP_SYM.
10894 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10895 <bp-sym.h> and <bp-asm.h>.
10896 (strncmp): Don't use BP_SYM.
10897 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10898 <bp-sym.h> and <bp-asm.h>.
10899 (memcpy): Don't use BP_SYM.
10900 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10901 <bp-sym.h> and <bp-asm.h>.
10902 (memset): Don't use BP_SYM.
10903 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10904 <bp-sym.h> and <bp-asm.h>.
10905 (__memchr): Don't use BP_SYM.
10906 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10907 <bp-sym.h> and <bp-asm.h>.
10908 (memcmp): Don't use BP_SYM.
10909 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10910 <bp-sym.h> and <bp-asm.h>.
10911 (memcpy): Don't use BP_SYM.
10912 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10913 <bp-sym.h> and <bp-asm.h>.
10914 (__mempcpy): Don't use BP_SYM.
10915 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10916 <bp-sym.h> and <bp-asm.h>.
10917 (__memrchr): Don't use BP_SYM.
10918 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10919 <bp-sym.h> and <bp-asm.h>.
10920 (memset): Don't use BP_SYM.
10921 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10922 <bp-sym.h> and <bp-asm.h>.
10923 (__rawmemchr): Don't use BP_SYM.
10924 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10925 <bp-sym.h> and <bp-asm.h>.
10926 (__STRCMP): Don't use BP_SYM.
10927 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10928 <bp-sym.h> and <bp-asm.h>.
10929 (strchr): Don't use BP_SYM.
10930 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10931 <bp-sym.h> and <bp-asm.h>.
10932 (__strchrnul): Don't use BP_SYM.
10933 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10934 <bp-sym.h> and <bp-asm.h>.
10935 (strlen): Don't use BP_SYM.
10936 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10937 <bp-sym.h> and <bp-asm.h>.
10938 (strncmp): Don't use BP_SYM.
10939 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10940 <bp-sym.h> and <bp-asm.h>.
10941 (__strnlen): Don't use BP_SYM.
10942 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10943 <bp-asm.h>.
10944 (__mpn_rshift): Don't use BP_SYM.
10945 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10946 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10947 <bp-sym.h> and <bp-asm.h>.
10948 (__sigsetjmp): Don't use BP_SYM.
10949 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10950 (L(start_addresses)): Don't use BP_SYM.
10951 (_start): Likewise.
10952 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10953 <bp-asm.h>.
10954 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10955 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10956 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10957 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10958 <bp-asm.h>.
10959 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10960 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10961 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10962 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10963 <bp-asm.h>.
10964 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10965 comments.
10966 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10967 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10968 <bp-asm.h>.
10969 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10970 FIXME comments.
10971 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10972 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10973 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10974 <bp-asm.h>.
10975 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10976 comment.
10977 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10978 and <bp-asm.h>.
10979 (strncmp): Don't use BP_SYM,
10980 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10981 <bp-asm.h>.
10982 (__mpn_sub_n): Don't use BP_SYM.
10983 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10984 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10985 and <bp-asm.h>.
10986 (__mpn_submul_1): Don't use BP_SYM.
10987 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10989 <bp-sym.h> and <bp-asm.h>.
10990 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10992 <bp-sym.h> and <bp-asm.h>.
10993 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10994 comment.
10995
8d19fe64
SP
109962013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10997
10998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10999 Use ZK to minimize writes to Z.
11000 (sub_magnitudes): Simplify code a bit.
11001 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11002 Use ZK to minimize writes to Z.
11003 (sub_magnitudes): Simplify code a bit.
11004
85bd816a
RM
110052013-02-27 Roland McGrath <roland@hack.frob.com>
11006
11007 * csu/gmon-start.c: Add special exception to license text.
11008
b5977bf2
RH
110092013-02-27 Richard Henderson <rth@redhat.com>
11010
11011 * scripts/config.guess: Update from config.git.
11012 * scripts/config.sub: Likewise.
11013
11d6e2f2
SP
110142013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11015
09c14ed2
SP
11016 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11017
a688864e
SP
11018 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11019
6295157a
SP
11020 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11021
b8de2202
SP
11022 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11023
11d6e2f2
SP
11024 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11025
7e80ddb8
RM
110262013-02-26 Roland McGrath <roland@hack.frob.com>
11027
11028 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11029 [$(build-shared = yes].
7e80ddb8 11030
7da6d9ed
SP
110312013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11032
45f05884
SP
11033 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11034 (__mul): Reduce iterations for calculating mantissa.
11035
2236d359
SP
11036 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11037 MPTWO.
11038 (__mpranred): Likewise.
11039
7da6d9ed
SP
11040 [BZ #15160]
11041 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11042 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11043
b7688c42
PE
110442013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11045
11046 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11047 Define __attribute__.
11048
53a5c423
SP
110492013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11050
11051 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11052 unused.
11053 * posix/regex_internal.h (__attribute): Remove.
11054 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11055 (re_string_context_at): Likewise.
11056 (bitset_not): Use __attribute__ and mark function as possibly
11057 unused.
11058 (bitset_merge): Likewise.
11059 (bitset_mask): Likewise.
11060 (re_string_char_size_at): Likewise.
11061 (re_string_wchar_at): Likewise.
11062 (re_string_elem_size_at): Likewise.
11063
60f5a8b5
SP
110642013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11065
2a983a2e
SP
11066 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11067 code.
11068 (cc32): Likewise.
11069
e69804d1
SP
11070 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11071 (__acr): Likewise.
11072 (__cpy): Likewise.
11073 (norm): Likewise.
11074 (denorm): Likewise.
11075 (__dbl_mp): Likewise.
11076 (add_magnitudes): Likewise.
11077 (sub_magnitudes): Likewise.
11078 (__mul): Likewise.
11079 (__inv): Likewise.
11080
2f22a1e8
SP
11081 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11082 style.
11083
8930ddc7
SP
11084 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11085 style.
11086
dc60cb11
SP
11087 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11088 code.
11089
60f5a8b5
SP
11090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11091 up changes with default code.
11092 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11093 Likewise.
11094
b4d1fd33
AM
110952013-02-24 Allan McRae <allan@archlinux.org>
11096
faf6f8bc
AM
11097 * manual/socket.texi (The Internet Namespace): Order menu items
11098 to match that in the file.
11099
b4d1fd33
AM
11100 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11101 node listing of the info page menu.
11102
2366713d
JM
111032013-02-21 Joseph Myers <joseph@codesourcery.com>
11104
11105 [BZ #13550]
11106 * sysdeps/i386/bp-asm.h: Remove file.
11107 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11108 (PARMS): Do not use macros from bp-asm.h.
11109 (S1): Likewise.
11110 (S2): Likewise.
11111 (SIZE): Likewise.
11112 (__mpn_add_n): Do not use BP_SYM
11113 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11114 "bp-asm.h".
11115 (PARMS): Do not use macros from bp-asm.h.
11116 (S1): Likewise.
11117 (SIZE): Likewise.
11118 (__mpn_addmul_1): Do not use BP_SYM
11119 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11120 "bp-asm.h".
11121 (PARMS): Do not use macros from bp-asm.h.
11122 (SIGMSK): Likewise.
11123 (_setjmp): Likewise. Do not use BP_SYM.
11124 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11125 "bp-asm.h".
11126 (PARMS): Do not use macros from bp-asm.h.
11127 (SIGMSK): Likewise.
11128 (setjmp): Likewise. Do not use BP_SYM.
11129 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11130 "bp-asm.h".
11131 (PARMS): Do not use macros from bp-asm.h.
11132 (__frexp): Do not use BP_SYM.
11133 (frexp): Likewise.
11134 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11135 "bp-asm.h".
11136 (PARMS): Do not use macros from bp-asm.h.
11137 (__frexpf): Do not use BP_SYM.
11138 (frexpf): Likewise.
11139 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11140 "bp-asm.h".
11141 (PARMS): Do not use macros from bp-asm.h.
11142 (__frexpl): Do not use BP_SYM.
11143 (frexpl): Likewise.
11144 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11145 "bp-asm.h".
11146 (PARMS): Do not use macros from bp-asm.h.
11147 (__remquo): Do not use BP_SYM.
11148 (remquo): Likewise.
11149 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11150 "bp-asm.h".
11151 (PARMS): Do not use macros from bp-asm.h.
11152 (__remquof): Do not use BP_SYM.
11153 (remquof): Likewise.
11154 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11155 "bp-asm.h".
11156 (PARMS): Do not use macros from bp-asm.h.
11157 (__remquol): Do not use BP_SYM.
11158 (remquol): Likewise.
11159 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11160 "bp-asm.h".
11161 (PARMS): Do not use macros from bp-asm.h.
11162 (DEST): Likewise.
11163 (SRC): Likewise.
11164 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11165 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11166 "bp-asm.h".
11167 (PARMS): Do not use macros from bp-asm.h.
11168 (strlen): Do not use BP_SYM.
11169 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11170 "bp-asm.h".
11171 (PARMS): Do not use macros from bp-asm.h.
11172 (S1): Likewise.
11173 (S2): Likewise.
11174 (SIZE): Likewise.
11175 (__mpn_add_n): Do not use BP_SYM.
11176 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11177 "bp-asm.h".
11178 (PARMS): Do not use macros from bp-asm.h.
11179 (S1): Likewise.
11180 (SIZE): Likewise.
11181 (__mpn_addmul_1): Do not use BP_SYM.
11182 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11183 weak_alias.
11184 (bzero): Likewise.
11185 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11186 "bp-asm.h".
11187 (PARMS): Do not use macros from bp-asm.h.
11188 (S): Likewise.
11189 (SIZE): Likewise.
11190 (__mpn_lshift): Do not use BP_SYM.
11191 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11192 "bp-asm.h".
11193 (PARMS): Do not use macros from bp-asm.h.
11194 (DEST): Likewise.
11195 (SRC): Likewise.
11196 (LEN): Likewise.
11197 (memcpy): Likewise. Do not use BP_SYM.
11198 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11199 libc_hidden_def and weak_alias.
11200 (mempcpy): Do not use BP_SYM in weak_alias.
11201 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11202 "bp-asm.h".
11203 (PARMS): Do not use macros from bp-asm.h.
11204 (DEST): Likewise.
11205 (LEN): Likewise.
11206 [!BZERO_P] (CHR): Likewise.
11207 (memset): Likewise. Do not use BP_SYM.
11208 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11209 "bp-asm.h".
11210 (PARMS): Do not use macros from bp-asm.h.
11211 (S1): Likewise.
11212 (SIZE): Likewise.
11213 (__mpn_mul_1): Do not use BP_SYM.
11214 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11215 "bp-asm.h".
11216 (PARMS): Do not use macros from bp-asm.h.
11217 (S): Likewise.
11218 (SIZE): Likewise.
11219 (__mpn_rshift): Do not use BP_SYM.
11220 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11221 "bp-asm.h".
11222 (PARMS): Do not use macros from bp-asm.h.
11223 (STR): Likewise.
11224 (CHR): Likewise.
11225 (strchr): Likewise. Do not use BP_SYM.
11226 (index): Do not use BP_SYM in weak_alias.
11227 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11228 "bp-asm.h".
11229 (PARMS): Do not use macros from bp-asm.h.
11230 (DEST): Likewise.
11231 (SRC): Likewise.
11232 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11233 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11234 "bp-asm.h".
11235 (PARMS): Do not use macros from bp-asm.h.
11236 (strlen): Do not use BP_SYM.
11237 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11238 "bp-asm.h".
11239 (PARMS): Do not use macros from bp-asm.h.
11240 (S1): Likewise.
11241 (S2): Likewise.
11242 (SIZE): Likewise.
11243 (__mpn_sub_n): Do not use BP_SYM.
11244 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11245 "bp-asm.h".
11246 (PARMS): Do not use macros from bp-asm.h.
11247 (S1): Likewise.
11248 (SIZE): Likewise.
11249 (__mpn_submul_1): Do not use BP_SYM.
11250 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11251 "bp-asm.h".
11252 (PARMS): Do not use macros from bp-asm.h.
11253 (S1): Likewise.
11254 (S2): Likewise.
11255 (SIZE): Likewise.
11256 (__mpn_add_n): Do not use BP_SYM.
11257 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11258 weak_alias.
11259 (bzero): Likewise.
11260 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11261 "bp-asm.h".
11262 (PARMS): Do not use macros from bp-asm.h.
11263 (BLK2): Likewise.
11264 (LEN): Likewise.
11265 (memcmp): Do not use BP_SYM.
11266 (bcmp): Do not use BP_SYM in weak_alias.
11267 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11268 "bp-asm.h".
11269 (PARMS): Do not use macros from bp-asm.h.
11270 (DEST): Likewise.
11271 (SRC): Likewise.
11272 (LEN): Likewise.
11273 (memcpy): Likewise. Do not use BP_SYM.
11274 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11275 "bp-asm.h".
11276 (PARMS): Do not use macros from bp-asm.h.
11277 (DEST): Likewise.
11278 (SRC): Likewise.
11279 (LEN): Likewise.
11280 (memmove): Likewise. Do not use BP_SYM.
11281 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11282 "bp-asm.h".
11283 (PARMS): Do not use macros from bp-asm.h.
11284 (DEST): Likewise.
11285 (SRC): Likewise.
11286 (LEN): Likewise.
11287 (__mempcpy): Likewise. Do not use BP_SYM.
11288 (mempcpy): Do not use BP_SYM in weak_alias.
11289 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11290 "bp-asm.h".
11291 (PARMS): Do not use macros from bp-asm.h.
11292 (DEST): Likewise.
11293 (LEN): Likewise.
11294 [!BZERO_P] (CHR): Likewise.
11295 (memset): Likewise. Do not use BP_SYM.
11296 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11297 "bp-asm.h".
11298 (PARMS): Do not use macros from bp-asm.h.
11299 (STR2): Likewise.
11300 (strcmp): Do not use BP_SYM.
11301 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11302 "bp-asm.h".
11303 (PARMS): Do not use macros from bp-asm.h.
11304 (STR): Likewise.
11305 (DELIM): Likewise.
11306 [USE_AS_STRTOK_R] (SAVE): Likewise.
11307 (FUNCTION): Likewise. Do not use BP_SYM.
11308 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11309 aliases.
11310 (strtok_r): Likewise.
11311 (__GI___strtok_r): Likewise.
11312 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11313 (PARMS): Do not use macros from bp-asm.h.
11314 (S): Likewise.
11315 (SIZE): Likewise.
11316 (__mpn_lshift): Do not use BP_SYM.
11317 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11318 (PARMS): Do not use macros from bp-asm.h.
11319 (STR): Likewise.
11320 (CHR): Likewise.
11321 (__memchr): Do not use BP_SYM.
11322 (memchr): Do not use BP_SYM in weak_alias.
11323 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11324 (PARMS): Do not use macros from bp-asm.h.
11325 (BLK2): Likewise.
11326 (LEN): Likewise.
11327 (memcmp): Do not use BP_SYM.
11328 (bcmp): Do not use BP_SYM in weak_alias.
11329 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11330 (PARMS): Do not use macros from bp-asm.h.
11331 (S1): Likewise.
11332 (SIZE): Likewise.
11333 (__mpn_mul_1): Do not use BP_SYM.
11334 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11335 "bp-asm.h".
11336 (PARMS): Do not use macros from bp-asm.h.
11337 (STR): Likewise.
11338 (CHR): Likewise.
11339 (__rawmemchr): Do not use BP_SYM.
11340 (rawmemchr): Do not use BP_SYM in weak_alias.
11341 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11342 (PARMS): Do not use macros from bp-asm.h.
11343 (S): Likewise.
11344 (SIZE): Likewise.
11345 (__mpn_rshift): Do not use BP_SYM.
11346 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11347 (PARMS): Do not use macros from bp-asm.h.
11348 (SIGMSK): Likewise.
11349 (__sigsetjmp): Likewise. Do not use BP_SYM.
11350 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11351 (_start): Do not use BP_SYM.
11352 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11353 (PARMS): Do not use macros from bp-asm.h.
11354 (DEST): Likewise.
11355 (SRC): Likewise.
11356 (__stpcpy): Likewise. Do not use BP_SYM.
11357 (stpcpy): Do not use BP_SYM in weak_alias.
11358 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11359 "bp-asm.h".
11360 (PARMS): Do not use macros from bp-asm.h.
11361 (DEST): Likewise.
11362 (SRC): Likewise.
11363 (LEN): Likewise.
11364 (__stpncpy): Likewise. Do not use BP_SYM.
11365 (stpncpy): Do not use BP_SYM in weak_alias.
11366 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11367 (PARMS): Do not use macros from bp-asm.h.
11368 (STR): Likewise.
11369 (CHR): Likewise.
11370 (strchr): Likewise. Do not use BP_SYM.
11371 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11372 "bp-asm.h".
11373 (PARMS): Do not use macros from bp-asm.h.
11374 (STR): Likewise.
11375 (CHR): Likewise.
11376 (__strchrnul): Likewise. Do not use BP_SYM.
11377 (strchrnul): Do not use BP_SYM in weak_alias.
11378 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11379 "bp-asm.h".
11380 (PARMS): Do not use macros from bp-asm.h.
11381 (STOP): Likewise.
11382 (strcspn): Do not use BP_SYM.
11383 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11384 "bp-asm.h".
11385 (PARMS): Do not use macros from bp-asm.h.
11386 (STR): Likewise.
11387 (STOP): Likewise.
11388 (strpbrk): Likewise. Do not use BP_SYM.
11389 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11390 "bp-asm.h".
11391 (PARMS): Do not use macros from bp-asm.h.
11392 (STR): Likewise.
11393 (CHR): Likewise.
11394 (strrchr): Likewise. Do not use BP_SYM.
11395 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11396 (PARMS): Do not use macros from bp-asm.h.
11397 (SKIP): Likewise.
11398 (strspn): Do not use BP_SYM.
11399 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11400 (PARMS): Do not use macros from bp-asm.h.
11401 (STR): Likewise.
11402 (DELIM): Likewise.
11403 (SAVE): Likewise.
11404 (FUNCTION): Likewise. Do not use BP_SYM.
11405 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11406 aliases.
11407 (strtok_r): Likewise.
11408 (__GI___strtok_r): Likewise.
11409 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11410 (PARMS): Do not use macros from bp-asm.h.
11411 (S1): Likewise.
11412 (S2): Likewise.
11413 (SIZE): Likewise.
11414 (__mpn_sub_n): Do not use BP_SYM.
11415 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11416 "bp-asm.h".
11417 (PARMS): Do not use macros from bp-asm.h.
11418 (S1): Likewise.
11419 (SIZE): Likewise.
11420 (__mpn_submul_1): Do not use BP_SYM.
11421 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11422 <bp-sym.h>.
11423 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11424 and <bp-asm.h>.
11425 (PARMS): Do not use macros from bp-asm.h.
11426 (FLAGS): Likewise.
11427 (PTID): Likewise.
11428 (TLS): Likewise.
11429 (CTID): Likewise.
11430 (__clone): Do not use BP_SYM.
11431 (clone): Do not use BP_SYM in weak_alias.
11432 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11433 and <bp-asm.h>.
11434 (PARMS): Do not use macros from bp-asm.h.
11435 (LEN): Likewise.
11436 (__mmap64): Do not use BP_SYM.
11437 (mmap64): Do not use BP_SYM in weak_alias.
11438 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11439 <bp-sym.h> and <bp-asm.h>.
11440 (PARMS): Do not use macros from bp-asm.h.
11441 (__posix_fadvise64_l64): Do not use BP_SYM.
11442 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11443 (PARMS): Do not use macros from bp-asm.h.
11444 (NSOPS): Likewise.
11445 (semtimedop): Do not use BP_SYM.
11446 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11447 and <bp-asm.h>.
11448
582a3cff
AM
114492013-02-21 Allan McRae <allan@archlinux.org>
11450
11451 * manual/message.texi (Charset conversion in gettext):
11452 Move @end statement to beginning of line.
11453
bab8a695
SP
114542013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11455
80945231
SP
11456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11457 static.
11458 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11459 Likewise.
11460
bab8a695
SP
11461 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11462 (denorm): Likewise.
11463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11464 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11465
e21d7aa7
AK
114662013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11467
11468 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11469 tail-call to the resolved function if pltexit isn't needed.
11470
4c7a4263
SP
114712013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11472
11473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11474 or Y being zero as being unlikely.
11475 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11476 Likewise.
11477
41f49342
CD
114782013-02-20 Carlos O'Donell <carlos@redhat.com>
11479
11480 * manual/nss.texi (System Databases and Name Service Switch):
11481 Remove frobnicate @pxref.
11482
50022a93
TS
114832013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11484
11485 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11486 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11487
08cbd996
PM
114882013-02-20 Petr Machata <pmachata@redhat.com>
11489
11490 * elf/elf.h (R_ARM_TARGET1): New macro.
11491 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11492 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11493 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11494 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11495 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11496 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11497 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11498 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11499 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11500 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11501 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11502 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11503 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11504 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11505 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11506 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11507 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11508 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11509 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11510 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11511 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11512 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11513 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11514 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11515 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11516 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11517 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11518 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11519 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11520 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11521 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11522 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11523 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11524 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11525 (R_ARM_THM_GOT_BREL12): Likewise.
11526 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11527 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11528 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11529 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11530 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11531 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11532 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11533 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11534 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11535
c7b275d6
TS
115362013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11537
11538 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11539 __attribute_used__ to __attribute__ ((unused)).
11540
20cd7fb3
SP
115412013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11542
11543 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11544 powerpc mpa.c.
11545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11546 comment formatting.
11547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11548
92945b52
JM
115492013-02-19 Joseph Myers <joseph@codesourcery.com>
11550
11551 [BZ #13550]
11552 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11553 Remove macro.
11554 (ENTER): Remove both macro definitions.
11555 (LEAVE): Likewise.
11556 (CHECK_BOUNDS_LOW): Likewise.
11557 (CHECK_BOUNDS_HIGH): Likewise.
11558 (CHECK_BOUNDS_BOTH): Likewise.
11559 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11560 (RETURN_BOUNDED_POINTER): Likewise.
11561 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11562 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11563 (POP_ERRNO_LOCATION_RETURN): Likewise.
11564 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11565 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11566 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11567 macros.
11568 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11569 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11570 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11571 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11572 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11573 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11574 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11575 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11576 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11577 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11578 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11579 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11580 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11581 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11582 removed macros.
11583 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11584 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11585 macros.
11586 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11587 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11588 * sysdeps/i386/i586/memset.S (memset): Likewise.
11589 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11590 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11591 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11592 macros.
11593 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11594 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11595 Change uses of L(2) to L(out).
11596 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11597 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11598 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11599 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11600 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11601 removed macros.
11602 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11603 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11604 macros.
11605 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11606 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11607 (RETURN): Do not use macro LEAVE.
11608 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11609 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11610 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11611 * sysdeps/i386/i686/memset.S (memset): Likewise.
11612 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11613 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11614 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11615 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11616 Likewise.
11617 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11618 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11619 L(1_2) and L(1_3) into L(1).
11620 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11621 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11622 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11623 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11624 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11625 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11626 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11627 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11628 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11629 macros.
11630 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11631 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11632 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11633 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11634 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11635 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11636 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11637 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11638 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11639 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11640 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11641 * sysdeps/i386/strspn.S (strspn): Likewise.
11642 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11643 conditional code.
11644 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11645 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11646 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11647 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11648 L(1_3) into L(1_1).
11649 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11650 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11651 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11652 macros.
11653 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11654
2389741a
JJ
116552013-02-19 Jakub Jelinek <jakub@redhat.com>
11656
11657 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11658 macro.
11659
2016b3cd
SP
116602013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11661
e4f22324
SP
11662 * math/atest-exp.c (exp_mpn): Remove ROUND.
11663 * math/atest-exp2.c (exp_mpn): Likewise.
11664 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11665
2016b3cd
SP
11666 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11667 * stdlib/tst-tls-atexit-lib.c: Likewise.
11668 * stdlib/tst-tls-atexit.c: Likewise.
11669
4be9b544
MF
116702013-02-18 Mike Frysinger <vapier@gentoo.org>
11671
11672 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11673 and __attribute_alloc_size__.
11674
2f62b9ee
MF
116752013-02-18 Mike Frysinger <vapier@gentoo.org>
11676
11677 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11678 __attribute_alloc_size__.
11679 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11680 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11681
6ff444c4
MF
116822013-02-18 Mike Frysinger <vapier@gentoo.org>
11683
11684 * include/programs/xmalloc.h: New file.
11685 * catgets/gencat.c: Include it.
11686 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11687 * elf/pldd.c: Likewise.
11688 * iconv/iconv_charmap.c: Likewise.
11689 * iconv/iconvconfig.c: Likewise.
11690 * iconv/strtab.c: Likewise.
11691 * locale/programs/locale.c: Likewise.
11692 * locale/programs/localedef.h: Likewise.
11693 * locale/programs/simple-hash.c: Likewise.
11694 * nscd/nscd.h: Likewise.
11695 * nss/makedb.c: Likewise.
11696 * sysdeps/generic/ldconfig.h: Likewise.
11697
be179c8a
SP
116982013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11699
ba384f6e
SP
11700 * Versions.def: Add GLIBC_2.18.
11701 * include/link.h (struct link_map): New member l_tls_dtor_count.
11702 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11703 (__call_tls_dtors): Likewise.
11704 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11705 __cxa_thread_atexit_impl.
11706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11707 Likewise.
11708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11709 Likewise.
11710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11711 Likewise.
11712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11713 Likewise.
11714 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11716 Likewise.
11717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11718 Likewise.
11719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11721 Likewise.
11722 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11723 (tests): Add test case tst-tls-atexit.
11724 (modules-names): Add shared library for tst-tls-atexit.
85891aca 11725 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
11726 (GLIBC_PRIVATE): Add __call_tls_dtors.
11727 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11728 for libstdc++.
11729 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11730 * stdlib/tst-tls-atexit.c: New test case.
11731 * stdlib/tst-tls-atexit-lib.c: New test case.
11732
ffaa74cf 11733 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 11734
be179c8a
SP
11735 * elf/Versions (ld): Add _dl_find_dso_for_object.
11736 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11737 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11738 (dl_open_worker): Use _dl_find_dso_for_object.
11739 * elf/dl-sym.c (do_sym): Likewise.
11740 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11741
f78b5caa
AK
117422013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11743
11744 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11745 Syntactic changes only.
11746 (_dl_runtime_profile): Do a tail-call to the resolved function.
11747
29691210
JM
117482013-02-17 Joseph Myers <joseph@codesourcery.com>
11749
11750 [BZ #13550]
11751 * sysdeps/x86_64/bp-asm.h: Remove file.
11752 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11753 <bp-sym.h> and <bp-asm.h>.
11754 (__clone): Do not use BP_SYM.
11755 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11756 <bp-sym.h> and <bp-asm.h>.
11757 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11758 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11759 "bp-asm.h".
11760 (_setjmp): Do not use BP_SYM.
11761 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11762 "bp-asm.h".
11763 (setjmp): Do not use BP_SYM.
11764 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11765 libc_hidden_def.
11766 (mempcpy): Do not use BP_SYM in weak_alias.
11767 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11768 "bp-asm.h".
11769 (strchr): Do not use BP_SYM.
11770 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11771 "bp-asm.h".
11772 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11773 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11774 (_start): Do not use BP_SYM.
11775 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11776 "bp-asm.h".
11777 (strcat): Do not use BP_SYM.
11778 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11779 "bp-asm.h".
11780 (STRCMP): Do not use BP_SYM.
11781 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11782 "bp-asm.h".
11783 (STRCPY): Do not use BP_SYM.
11784 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11785 "bp-asm.h".
11786 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11787 "bp-asm.h".
11788 (FUNCTION): Do not use BP_SYM.
11789 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11790 weak_alias.
11791 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11792
f238fd19
AJ
117932013-02-17 Andreas Jaeger <aj@suse.de>
11794
11795 * time/Versions: Sort entries.
11796 * string/Versions: Likewise.
11797 * resolv/Versions: Likewise.
11798 * posix/Versions: Likewise.
11799 * iconv/Versions: Likewise.
11800 * elf/Versions: Likewise.
11801 * wcsmbs/Versions: Likewise.
11802
bd07f23c 118032013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 11804
22af19f9
SP
11805 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11806 loop termination condition.
11807
4709fe76
SP
11808 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11809 variable to calculate EZ.
11810 (__sqr): Likewise.
2d0e0f29
SP
11811
11812 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11813 the lower precision input.
11814
daaa7713
JM
118152013-02-15 Joseph Myers <joseph@codesourcery.com>
11816
11817 [BZ #13550]
11818 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11819 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11820 (run-via-rtld-prefix): Do not handle %-bp tests.
11821 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11822 (all-object-suffixes): Remove .ob.
11823 (bppfx): Remove variable.
11824 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11825 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11826 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11827 [$(build-bounded) = yes] (libtype.ob): Likewise.
11828 * Makerules (elide-routines.ob): Remove variable.
11829 (do-tests-clean): Do not handle *-bp.out.
11830 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11831 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11832 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11833 (tests): Do not include $(tests-bp.out).
11834 (xtests): Do not include $(xtests-bp.out).
11835 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11836 [$(build-bounded) = yes] ($(addprefix
11837 $(objpfx),$(binaries-bounded))): Remove rule.
11838 ($(objpfx)%-bp.out): Remove rule.
11839 * config.make.in (build-bounded): Remove variable.
11840 * crypt/Makefile [$(build-bounded) = yes]
11841 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11842 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11843 append to variable.
11844 [$(build-bounded) = yes] (install-lib): Likewise.
11845 [$(build-bounded) = yes] (generated): Likewise.
11846 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11847 Remove rule.
11848 * intl/Makefile [$(build-bounded) = yes]
11849 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11850 * math/Makefile [$(build-bounded) = yes]
11851 ($(tests:%=$(objpfx)%-bp): Likewise.
11852 * misc/Makefile [$(build-bounded) = yes]
11853 ($(objpfx)tst-tsearch-bp): Likewise.
11854 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11855 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11856 Remove dependency.
11857 * string/Makefile (o-objects.ob): Remove variable.
11858 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11859 (CFLAGS-.ob): Remove variable.
11860 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11861 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11862 both definitions of variable.
11863 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11864 (ASFLAGS-.ob): Remove variable.
11865
e97ed6dd
JM
118662013-02-14 Joseph Myers <joseph@codesourcery.com>
11867
2bdd4ca6
JM
11868 [BZ #13550]
11869 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11870 Remove __BOUNDED_POINTERS__ from condition.
11871 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11872 * string/bits/string2.h [!__NO_STRING_INLINES &&
11873 !__BOUNDED_POINTERS__]: Likewise.
11874 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11875 Likewise.
11876 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11877 Remove conditional code.
11878 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11879 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11880 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11881 condition.
11882
e97ed6dd
JM
11883 [BZ #13550]
11884 * csu/libc-start.c: Do not include <bp-sym.h>.
11885 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11886 * elf/dl-open.c: Do not include <bp-sym.h>.
11887 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11888 * math/fegetenv.c: Do not include <bp-sym.h>.
11889 (fegetenv): Do not use BP_SYM in versioned symbols.
11890 * nptl/sysdeps/pthread/bits/libc-lockP.h
11891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11892 <bp-sym.h>.
11893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11894 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11896 (__pthread_mutex_destroy): Likewise.
11897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11898 (__pthread_mutex_lock): Likewise.
11899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11900 (__pthread_mutex_trylock): Likewise.
11901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11902 (__pthread_mutex_unlock): Likewise.
11903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11904 (__pthread_mutexattr_init): Likewise.
11905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11906 (__pthread_mutexattr_destroy): Likewise.
11907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11908 (__pthread_mutexattr_settype): Likewise.
11909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11910 (__pthread_rwlock_init): Likewise.
11911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11912 (__pthread_rwlock_destroy): Likewise.
11913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11914 (__pthread_rwlock_rdlock): Likewise.
11915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11916 (__pthread_rwlock_tryrdlock): Likewise.
11917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11918 (__pthread_rwlock_wrlock): Likewise.
11919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11920 (__pthread_rwlock_trywrlock): Likewise.
11921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11922 (__pthread_rwlock_unlock): Likewise.
11923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11924 (__pthread_key_create): Likewise.
11925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11926 (__pthread_setspecific): Likewise.
11927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11928 (__pthread_getspecific): Likewise.
11929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11930 Likewise.
11931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11932 (_pthread_cleanup_push_defer): Likewise.
11933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11934 (_pthread_cleanup_pop_restore): Likewise.
11935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11936 (pthread_setcancelstate): Likewise.
11937 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11938 <bp-sym.h>.
11939 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11940 (memchr): Do not use BP_SYM in weak_alias.
11941 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11942 (fegetenv): Do not use BP_SYM in versioned symbols.
11943 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11944 (fesetenv): Do not use BP_SYM in versioned symbols.
11945 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11946 (feupdateenv): Do not use BP_SYM in versioned symbols.
11947 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11948 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11949 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11950 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11951 (open64): Do not use BP_SYM in weak_alias.
11952 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11953 (fegetenv): Do not use BP_SYM in versioned symbols.
11954 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11955 (fesetenv): Do not use BP_SYM in versioned symbols.
11956 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11957 (feupdateenv): Do not use BP_SYM in versioned symbols.
11958 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11959 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11960 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11961 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11962 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11963 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11964 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11965 <bp-sym.h>.
11966 (__libc_start_main): Do not use BP_SYM.
11967
d6752ccd
SP
119682013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11969
cb57ce60
SP
11970 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11971 redundant return line.
11972 (norm): Likewise.
11973 (denorm): Likewise.
11974 (dbl_mp): Likewise.
11975 (sub_magnitudes): Likewise.
11976 (__add): Likewise.
11977 (__sub): Likewise.
11978 (__mul): Likewise.
11979 (__inv): Likewise.
11980 (__dvd): Likewise.
11981 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11982 (norm): Likewise.
11983 (denorm): Likewise.
11984 (dbl_mp): Likewise.
11985 (sub_magnitudes): Likewise.
11986 (__add): Likewise.
11987 (__sub): Likewise.
11988 (__mul): Likewise.
11989 (__inv): Likewise.
11990 (__dvd): Likewise.
11991
f414520d
SP
11992 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11993 instead of __mul.
11994 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11995 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11996 (cc32): Likewise.
11997
d6752ccd
SP
11998 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11999 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12000 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12001 of __mul for squares.
12002 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12003 function
12004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12005 Likewise.
12006 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12007 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12008
70d9946a
JM
120092013-02-13 Joseph Myers <joseph@codesourcery.com>
12010
12011 [BZ #13550]
12012 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12013 code.
12014 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12015 prototype or function definition. Rename ubp_* variables and
12016 parameters. Remove argv definitions conditional on
12017 [__BOUNDED_POINTERS__].
12018 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12019 * elf/dl-runtime.c (_dl_fixup): Likewise.
12020 * include/set-hooks.h (RUN_HOOK): Likewise.
12021 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12022 definition.
12023 * string/strcpy.c (strcpy): Do not use __unbounded.
12024 * sysdeps/generic/frame.h (struct layout): Likewise.
12025 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12026 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12027 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12028 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12029 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12030 (__backtrace): Likewise.
12031 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12032 use __ptrvalue.
12033 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12034 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12035 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12036 Likewise.
12037 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12038 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12039 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12040 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12041 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12042 Do not use __unbounded.
12043 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12044 Rename __unboundedrlimits parameter to rlimits in prototype.
12045 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12046 Do not use __unbounded.
12047 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12048 not use __ptrvalue.
12049 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12050 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12051 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12052 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12053 __ptrvalue or __unbounded.
12054 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12055 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12056 use __unbounded.
12057 (__new_msgctl): Do not use __ptrvalue.
12058 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12059 __unbounded.
12060 (__libc_msgrcv): Do not use __ptrvalue.
12061 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12062 startup_info): Do not use __unbounded.
12063 (__libc_start_main): Likewise. Rename ubp_* variables and
12064 parameters. Remove argv definitions conditional on
12065 [__BOUNDED_POINTERS__].
12066 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12067 __ptrvalue.
12068 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12069 use __unbounded.
12070 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12071 or __ptrvalue.
12072 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12073 use __unbounded.
12074 (__new_shmctl): Do not use __ptrvalue.
12075 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12076 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12077 Likewise.
12078 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12079 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12080 (__libc_sigaction): Likewise.
12081 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12082 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12083 Likewise.
12084 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12085
cc7834d6
OB
120862013-02-13 Ondřej Bílka <neleai@seznam.cz>
12087
ffb1ec7b 12088 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
12089
12090 * string/mempcpy.c: Implement by calling memcpy.
12091
bdf02814
SP
120922013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12093
c2af38aa
SP
12094 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12095
4e92d59e
SP
12096 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12097 evaluation.
12098
909279a5
SP
12099 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12100 values in the mantissa.
12101
bdf02814
SP
12102 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12103 minimize writes to Z.
12104 (sub_magnitudes): Simplify code a bit.
12105
cd525923
RM
121062013-02-12 Roland McGrath <roland@hack.frob.com>
12107
12108 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12109 from the message. The linker prefixes all warnings with that already.
12110
7e2f0d2d
AS
121112013-02-12 Andreas Schwab <schwab@suse.de>
12112
a445af0b
AS
12113 [BZ #15078]
12114 * posix/regexec.c (extend_buffers): Add parameter min_len.
12115 (check_matching): Pass minimum needed length.
12116 (clean_state_log_if_needed): Likewise.
12117 (get_subexp): Likewise.
12118 * posix/Makefile (tests): Add bug-regex34.
12119 (bug-regex34-ENV): Define.
12120 * posix/bug-regex34.c: New file.
12121
7e2f0d2d
AS
12122 [BZ #11561]
12123 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12124 elements compare against the byte sequence of it, not its name.
12125 * posix/Makefile (tests): Add bug-regex35.
12126 (bug-regex35-ENV): Define.
12127 * posix/bug-regex35.c: New file.
12128
a175b684
TV
121292013-02-11 Tom de Vries <tom@codesourcery.com>
12130
12131 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12132 comment.
12133 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12134 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12135 (CHECK_EOL): Add undef.
12136
310998fe 121372013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
12138
12139 * bits/stdlib-bsearch.h: New file.
12140 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 12141 * stdlib/stdlib.h: Likewise.
41eda41d 12142
8ded91fb
RM
121432013-02-11 Roland McGrath <roland@hack.frob.com>
12144
12145 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12146 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12147 declaration.
12148 * manual/search.texi (Array Search Function): Add missing const in
12149 lfind prototype.
12150 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12151 declaration to use rlim_t.
12152 (Basic Scheduling Functions): Remove erroneous const from
12153 sched_getparam prototype. Remove erroneous * from
12154 sched_get_priority_max and sched_get_priority_min prototypes.
12155 (Resource Usage): Fix summary @comment on vtimes to refer to
12156 sys/vtimes.h rather than vtimes.h.
12157 Add missing *s in vtimes prototype.
12158 (Limits on Resources): Fix ulimit prototype to return long int.
12159 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12160 prototypes to use long int rather than double.
12161 (BSD Random): Fix initstate and setstate to use char *, not void *.
12162 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12163 prototype to make second argument 'struct aiocb64 *const[]'.
12164 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12165 (Status of AIO Operations): Remove erroneous const in aio_return and
12166 aio_return64 prototypes.
12167 (Synchronizing I/O): Fix sync prototype to return void.
12168 * manual/startup.texi (Suboptions): Remove an erroneous const in
12169 getsubopt prototype.
12170 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12171 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12172 use size_t rather than int.
12173 (Scanning All Users): Likewise for getpwent_r.
12174 (Setting Groups): Add missing const to setgroups prototype.
12175 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12176 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12177 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12178 'const void *' rather than 'const char *'.
12179 (Host Address Functions): Likewise for inet_ntop.
12180 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12181 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12182 ssize_t for return value.
12183 (Sending Data): Likewise for send, sendto, sendmsg.
12184 (Socket Option Functions): Add a missing const in setsockopt prototype.
12185 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12186 use wchar_t for the argument.
12187 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12188 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12189 take no arguments.
12190 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12191 double/float/long double for second argument.
12192 Fix return types of significand, significandf, significandl.
12193 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12194 argument in fchmod prototype.
12195 (File Owner): Use uid_t and gid_t in fchown prototype.
12196 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12197 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12198 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12199 use 'const struct dirent **' as argument types to CMP function pointer
12200 argument.
12201 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12202 (File Times): Fix summary magic @comment for struct utimbuf and utime
12203 to refer to utime.h, not time.h.
12204 * manual/string.texi (Argz Functions): Add missing const in
12205 argz_extract and argz_next prototypes.
12206 (Finding Tokens in a String): Likewise for basename.
12207 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12208 (Copying and Concatenation): Fix typo in wmemmove prototype.
12209 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12210 (Signal Stack): Remove erroneous const in sigstack prototype.
12211 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12212 prototype.
12213 (Simple Calendar Time): Likewise for stime.
12214 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12215 prototype.
12216 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12217 say sys/sysctl.h instead.
12218 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12219 and vsyslog prototypes.
12220
fe77fe6d
TV
122212013-02-11 Tom de Vries <tom@codesourcery.com>
12222
12223 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12224 Remove.
12225
3a09b620
RM
122262013-02-11 Roland McGrath <roland@hack.frob.com>
12227
12228 * misc/sys/mman.h: Fix typo in mremap comment.
12229
550a0b89
RM
122302013-02-08 Roland McGrath <roland@hack.frob.com>
12231
12232 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12233 the '\0' terminator.
12234
a2da1673
JM
122352013-02-08 Joseph Myers <joseph@codesourcery.com>
12236
12237 [BZ #13550]
12238 * debug/segfault.c: Don't include <bp-checks.h>.
12239 * sysdeps/generic/bp-checks.h: Remove file.
12240 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12241 (__GETDENTS): Don't use CHECK_N.
12242 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12243 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12244 (__getgroups): Don't use CHECK_N.
12245 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12246 (setgroups): Don't use CHECK_N.
12247 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12248 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12249 (__libc_msgrcv): Don't use CHECK_N.
12250 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12251 (__libc_msgsnd): Don't use CHECK_N.
12252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12253 <bp-checks.h>.
12254 (__libc_pread): Don't use CHECK_N.
12255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12256 include <bp-checks.h>.
12257 (__libc_pread64): Don't use CHECK_N.
12258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12259 include <bp-checks.h>.
12260 (__libc_pwrite): Don't use CHECK_N.
12261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12262 include <bp-checks.h>.
12263 (__libc_pwrite64): Don't use CHECK_N.
12264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12265 <bp-checks.h>.
12266 (__libc_pread): Don't use CHECK_N.
12267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12268 include <bp-checks.h>.
12269 (__libc_pread64): Don't use CHECK_N.
12270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12271 include <bp-checks.h>.
12272 (__libc_pwrite): Don't use CHECK_N.
12273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12274 include <bp-checks.h>.
12275 (__libc_pwrite64): Don't use CHECK_N.
12276 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12277 (do_pread): Don't use CHECK_N.
12278 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12279 (do_pread64): Don't use CHECK_N.
12280 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12281 (do_pwrite): Don't use CHECK_N.
12282 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12283 (do_pwrite64): Don't use CHECK_N.
12284 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12285 (__libc_readv): Don't use CHECK_N.
12286 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12287 (semop): Don't use CHECK_N.
12288 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12289 <bp-checks.h>.
12290 (semtimedop): Don't use CHECK_N.
12291 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12292 (__libc_pread): Don't use CHECK_N.
12293 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12294 <bp-checks.h>.
12295 (__libc_pread64): Don't use CHECK_N.
12296 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12297 <bp-checks.h>.
12298 (__libc_pwrite): Don't use CHECK_N.
12299 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12300 <bp-checks.h>.
12301 (__libc_pwrite64): Don't use CHECK_N.
12302 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12303 <bp-checks.h>.
12304 (__libc_msgrcv): Don't use CHECK_N.
12305 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12306 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12307 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12308 (__libc_writev): Don't use CHECK_N.
12309
b84660a8
RM
123102013-02-08 Roland McGrath <roland@hack.frob.com>
12311
7f3e75f8
RM
12312 * string/strcpy.c: Removed unused variable.
12313
b84660a8
RM
12314 * Makeconfig (+sysdep-includes): Define with := rather than =.
12315 Use an existing include/ subdir of each sysdeps dir before it.
12316
471514d3
CD
123172013-02-08 Carlos O'Donell <carlos@redhat.com>
12318
12319 * nscd/connection.c (register_traced_file): Comment function.
12320 [HAVE_INOTIFY] (union __inev): Define.
12321 [HAVE_INOTIFY] (inotify_check_files): New function.
12322 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12323 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12324 clear_db_cache.
12325 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12326
b2d3c3be
CD
123272013-02-08 Carlos O'Donell <carlos@redhat.com>
12328
12329 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12330 loaded if not already and that a failure is permanent.
12331
b39949d2
CD
123322013-02-08 Carlos O'Donell <carlos@redhat.com>
12333
ddacd1db 12334 [BZ #15006]
b39949d2
CD
12335 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12336 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12337
b2c9eff4
JM
123382013-02-08 Joseph Myers <joseph@codesourcery.com>
12339
f3aae3f3
JM
12340 [BZ #13550]
12341 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12342 (CHECK_1_NULL_OK): Likewise.
12343 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12344 (__fxstat): Do not use CHECK_1.
12345 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12346 <bp-checks.h>.
12347 (___fxstat64): Do not use CHECK_1.
12348 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12349 <bp-checks.h>.
12350 (__fxstatat): Do not use CHECK_1.
12351 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12352 <bp-checks.h>.
12353 (__fxstatat64): Do not use CHECK_1.
12354 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12355 <bp-checks.h>.
12356 (__fxstat): Do not use CHECK_1.
12357 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12358 <bp-checks.h>.
12359 (__fxstatat): Do not use CHECK_1.
12360 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12361 <bp-checks.h>.
12362 (__getresgid): Do not use CHECK_1.
12363 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12364 <bp-checks.h>.
12365 (__getresuid): Do not use CHECK_1.
12366 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12367 <bp-checks.h>.
12368 (__lxstat): Do not use CHECK_1.
12369 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12370 <bp-checks.h>.
12371 (__old_msgctl): Do not use CHECK_1.
12372 (__new_msgctl): Likewise.
12373 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12374 <bp-checks.h>.
12375 (__new_setrlimit): Do not use CHECK_1.
12376 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12377 <bp-checks.h>.
12378 (__old_shmctl): Do not use CHECK_1.
12379 (__new_shmctl): Likewise.
12380 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12381 <bp-checks.h>.
12382 (__xstat): Do not use CHECK_1.
12383 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12384 (__lxstat): Do not use CHECK_1.
12385 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12386 <bp-checks.h>.
12387 (___lxstat64): Do not use CHECK_1.
12388 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12389 (__old_msgctl): Do not use CHECK_1.
12390 (__new_msgctl): Likewise.
12391 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12392 <bp-checks.h>.
12393 (__gettimeofday): Do not use CHECK_1.
12394 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12395 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12396 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12397 <bp-checks.h>.
12398 (__gettimeofday): Do not use CHECK_1.
12399 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12400 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12401 (__new_shmctl): Do not use CHECK_1.
12402 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12403 <bp-checks.h>.
12404 (do_sigtimedwait): Do not use CHECK_1.
12405 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12406 <bp-checks.h>.
12407 (do_sigwaitinfo): Do not use CHECK_1.
12408 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12409 <bp-checks.h>.
12410 (msgctl): Do not use CHECK_1.
12411 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12412 <bp-checks.h>.
12413 (shmctl): Do not use CHECK_1.
12414 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12415 (ustat): Do not use CHECK_1.
12416 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12417 <bp-checks.h>.
12418 (__fxstat): Do not use CHECK_1.
12419 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12420 <bp-checks.h>.
12421 (__fxstatat): Do not use CHECK_1.
12422 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12423 <bp-checks.h>.
12424 (__lxstat): Do not use CHECK_1.
12425 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12426 <bp-checks.h>.
12427 (__xstat): Do not use CHECK_1.
12428 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12429 (__xstat): Do not use CHECK_1.
12430 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12431 (___xstat64): Do not use CHECK_1.
12432
b2c9eff4
JM
12433 [BZ #13550]
12434 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12435 definitions.
12436 (CHECK_BOUNDS_HIGH): Likewise.
12437 * string/strcpy.c: Do not include <bp-checks.h>.
12438 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12439
f1d70dad
RM
124402013-02-07 Roland McGrath <roland@hack.frob.com>
12441
12442 * nscd/nscd-client.h (__nscd_drop_map_ref):
12443 Add __attribute__ ((unused)).
12444 * nis/nss-nisplus.h (niserr2nss): Likewise.
12445
12446 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12447 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12448
12449 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12450 Remove inline keyword.
12451 * include/rounding-mode.h (round_away): Likewise.
12452 * libio/wfileops.c (adjust_wide_data): Likewise.
12453 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12454 (__m128i_strloadu_tolower): Likewise.
12455 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12456 (__m128i_strloadu_tolower): Likewise.
12457 * time/mktime.c (ydhms_diff): Likewise.
12458 * locale/elem-hash.h (elem_hash): Likewise.
12459 * locale/setlocale.c (setdata): Likewise.
12460 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12461 (re_string_wchar_at): Likewise.
12462 (bitset_not, bitset_merge, bitset_mask): Likewise.
12463 [!(__GNUC__ > 3)] (inline): Remove macro.
12464 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12465 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12466 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12467 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12468 * string/memcmp.c (memcmp_bytes): Likewise.
12469 * locale/programs/locarchive.c (compute_hashval): Likewise.
12470 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12471 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12472 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12473 * nss/getent.c (print_rpc, print_protocols): Likewise.
12474 (print_passwd, print_group, print_aliases): Likewise.
12475 * nis/nss-nisplus.h (niserr2nss): Likewise.
12476 * nscd/connections.c (restart_p): Likewise.
12477 Change return type to bool.
12478
eab55bfb
RM
124792013-02-05 Roland McGrath <roland@hack.frob.com>
12480
7bd642f5
RM
12481 * Makeconfig (all-Depend-files): Add existing
12482 $(sorted-subdirs:=/Depend) files.
12483 (all-subdirs): Remove nss.
12484 * sysdeps/unix/inet/Subdirs: Add it here instead.
12485 * hesiod/Depend: New file.
12486
573c29b2
RM
12487 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12488 instead of calling alloca.
12489
b2e25af0
RM
12490 * io/lseek.c (__lseek): Rename to __libc_lseek.
12491 Define __lseek as an alias.
12492
eab55bfb
RM
12493 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12494
9a0d1941
CD
124952013-02-04 Carlos O'Donell <carlos@redhat.com>
12496
12497 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12498 else clause and remove check for non-standard endianness.
12499
b83bbec4
DM
125002013-02-04 David S. Miller <davem@davemloft.net>
12501
12502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12503
6277fdab
JM
125042013-02-04 Joseph Myers <joseph@codesourcery.com>
12505
12506 [BZ #13550]
12507 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12508 (__ubp_memchr): Remove prototype.
12509 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12510 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12511 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12512 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12513 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12514 Remove alias.
12515 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12516 (__ubp_memchr): Likewise.
12517 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12518 (__ubp_memchr): Likewise.
12519 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12520 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12521 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12522 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12523 CHECK_STRING.
12524 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12525 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12526 (__getcwd): Do not use CHECK_STRING.
12527 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12528 <bp-checks.h>.
12529 (__real_chown): Do not use CHECK_STRING.
12530 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12531 <bp-checks.h>.
12532 (fchownat): Do not use CHECK_STRING.
12533 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12534 CHECK_STRING.
12535 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12536 <bp-checks.h>.
12537 (__lchown): Do not use CHECK_STRING.
12538 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12539 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12540 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12541 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12543 include <bp-checks.h>.
12544 (truncate64): Do not use CHECK_STRING.
12545 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12546 <bp-checks.h>.
12547 (__real_chown): Do not use CHECK_STRING.
12548 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12549 <bp-checks.h>.
12550 (__lchown): Do not use CHECK_STRING.
12551 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12552 <bp-checks.h>.
12553 (__chown): Do not use CHECK_STRING.
12554 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12555 <bp-checks.h>.
12556 (truncate64): Do not use CHECK_STRING.
12557 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12558 Likewise.
12559 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12560 (__xmknod): Do not use CHECK_STRING.
12561 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12562 <bp-checks.h>.
12563 (__xmknodat): Do not use CHECK_STRING.
12564 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12565 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12566
903ae060
AS
125672013-02-04 Andreas Schwab <schwab@suse.de>
12568
12569 [BZ #14142]
12570 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12571 * include/netdb.h: Likewise for h_errno.
12572 * elf/tst-stackguard1.c: Include <tls.h>.
12573
542f9466
JK
125742013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12575
12576 * elf/link.h (struct link_map): Extend the l_addr comment.
12577 * include/link.h (struct link_map): Likewise.
12578
e782a927
JM
125792013-02-01 Joseph Myers <joseph@codesourcery.com>
12580
12581 [BZ #13550]
12582 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12583 (BOUNDED_1): Remove macro.
12584 * debug/backtrace.c: Don't include <bp-checks.h>.
12585 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12586 (__backtrace): Likewise.
12587 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12588 <bp-checks.h>.
12589 (__backtrace): Don't use BOUNDED_1.
12590 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12591 <bp-checks.h>.
12592 (__backtrace): Don't use BOUNDED_1.
12593 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12594 (__backtrace): Don't use BOUNDED_1.
12595 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12596 (shmat): Don't use BOUNDED_N.
12597
8cf28c5e
JM
125982013-01-31 Joseph Myers <joseph@codesourcery.com>
12599
3a7ac8a0
JM
12600 [BZ #13550]
12601 * sysdeps/generic/bp-start.h: Remove file.
12602 * csu/libc-start.c: Don't include <bp-start.h>.
12603 (LIBC_START_MAIN): Set up __environ directly instead of using
12604 INIT_ARGV_and_ENVIRON.
12605 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12606 <bp-start.h>.
12607
f3499f95
JM
12608 [BZ #13550]
12609 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12610 definitions.
12611 (CHECK_FCNTL): Likewise.
12612 (CHECK_N_PAGES): Likewise.
12613
32a45bea
JM
12614 [BZ #13550]
12615 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12616 definitions.
12617 (CHECK_SIGSET_NULL_OK): Likewise.
12618 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12619 <bp-checks.h>.
12620 (sigpending): Don't use CHECK_SIGSET.
12621 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12622 <bp-checks.h>.
12623 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12624 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12625 <bp-checks.h>.
12626 (do_sigsuspend): Don't use CHECK_SIGSET.
12627 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12628 use CHECK_SIGSET.
12629 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12630 (do_sigwait): Don't use CHECK_SIGSET.
12631 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12632 use CHECK_SIGSET.
12633 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12634 include <bp-checks.h>.
12635 (sigpending): Don't use CHECK_SIGSET.
12636 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12637 include <bp-checks.h>.
12638 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12639 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12640 <bp-checks.h>.
12641 (sigpending): Don't use CHECK_SIGSET.
12642 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12643 <bp-checks.h>.
12644 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12645
2e8a5c8c
JM
12646 [BZ #13550]
12647 * sysdeps/generic/bp-semctl.h: Remove file.
12648 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12649 <bp-checks.h> and <bp-semctl.h>.
12650 (__old_semctl): Don't use CHECK_SEMCTL.
12651 (__new_semctl): Likewise.
12652 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12653 and <bp-semctl.h>.
12654 (__old_semctl): Don't use CHECK_SEMCTL.
12655 (__new_semctl): Likewise.
12656 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12657 <bp-checks.h> and <bp-semctl.h>.
12658 (__old_semctl): Don't use CHECK_SEMCTL.
12659 (__new_semctl): Likewise.
12660 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12661 <bp-checks.h> and <bp-semctl.h>.
12662 (semctl): Don't use CHECK_SEMCTL.
12663
c2d54929
JM
12664 [BZ #13550]
12665 * Makerules (elide-bp-thunks): Remove variable.
12666 (elide-routines.oS): Don't use $(elide-bp-thunks).
12667 (elide-routines.os): Likewise.
12668 (elide-routines.o): Likewise.
12669 (elide-routines.op): Likewise.
12670 (elide-routines.og): Likewise.
12671 (objects): Don't use $(bp-thunks).
12672 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12673 include.
12674 (common-generated): Do not add s-proto-bp.d.
12675 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12676 (int): Likewise.
12677 (typ): Likewise.
12678 Do not generate makefile rules for bounded-pointer thunks.
12679 * sysdeps/generic/bp-thunks.h: Remove file.
12680 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12681 * sysdeps/unix/s-proto-bp.S: Likewise.
12682
8cf28c5e
JM
12683 [BZ #15062]
12684 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12685 parts of result separately when argument is not close to line from
12686 -i to i and one part of argument is small.
12687 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12688 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12689 * math/libm-test.inc (cacos_test): Add more tests.
12690 (casin_test): Likewise.
12691 (casinh_test): Likewise.
12692 * sysdeps/i386/fpu/libm-test-ulps: Update.
12693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12694
c4e33b8d
DM
126952013-01-31 David S. Miller <davem@davemloft.net>
12696
12697 * po/de.po: Update from translation team.
12698
3b60b421
MK
126992013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12700
12701 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12702
bb931195
TS
127032013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12704
b5a5da23
TS
12705 * configure.in (_AC_PROG_CC_C89): New definition.
12706 * configure: Regenerate.
12707
bb931195
TS
12708 * configure.in (AC_PROG_CPP): New definition.
12709 * configure: Regenerate.
12710
8c53a12c
JM
127112013-01-23 Joseph Myers <joseph@codesourcery.com>
12712
12713 * debug/tst-backtrace.h: New file.
12714 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12715 (ret): Remove variable.
12716 (x): Likewise.
12717 (FAIL): Remove macro.
12718 (NO_INLINE): Likewise.
12719 (fn1): Use match function instead of strstr.
12720 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12721 (ret): Remove variable.
12722 (x): Likewise.
12723 (FAIL): Remove macro.
12724 (NO_INLINE): Likewise.
12725 (fn): Use match function instead of strstr.
12726 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12727 (ret): Remove variable.
12728 (x): Likewise.
12729 (FAIL): Remove macro.
12730 (NO_INLINE): Likewise.
12731 (handle_signal): Use match function instead of strstr.
12732 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12733 (ret): Remove variable.
12734 (x): Likewise.
12735 (FAIL): Remove macro.
12736 (NO_INLINE): Likewise.
12737 (handle_signal): Use match function instead of strstr.
12738
4858fa2a
RM
127392013-01-23 Roland McGrath <roland@hack.frob.com>
12740
12741 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12742
bae8e7f5
DM
127432013-01-23 David S. Miller <davem@davemloft.net>
12744
12745 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12746 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12747 argument of CAS if possible.
12748 * sysdeps/sparc/sparc64/bits/atomic.h
12749 (__arch_compare_and_exchange_val_32_acq): Likewise.
12750 (__arch_compare_and_exchange_val_64_acq): Likewise.
12751
9cbbc4ae
PT
127522013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12753
12754 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12755 * sysdeps/posix/ulimit.c: ... this.
92a601b8 12756 Include <limits.h>.
67b3f58c 12757 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 12758
5655a0b5
AC
127592013-01-23 Adam Conrad <adconrad@0c3.net>
12760
12761 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12762 (LDFLAGS-tst-array5): Likewise.
12763
052aff95
JM
127642013-01-23 Joseph Myers <joseph@codesourcery.com>
12765
12766 [BZ #15036]
12767 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12768 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12769 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12770 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12771
7c1e01aa
DM
127722013-01-21 David S. Miller <davem@davemloft.net>
12773
12774 * sysdeps/sparc/backtrace.c: New file.
12775 * sysdeps/sparc/sparc32/backtrace.h: New file.
12776 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12777 * sysdeps/sparc/sparc64/backtrace.h: New file.
12778 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12779 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12780 -funwind-tables.
12781
ab087e0a
AS
127822013-01-21 Andreas Schwab <schwab@suse.de>
12783
12784 [BZ #15020]
12785 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12786 closed its stdout.
12787
ed689c2f
AS
127882013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12789
12790 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12791 "mpa2.h".
12792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12793
31d470ac
JM
127942013-01-18 Joseph Myers <joseph@codesourcery.com>
12795 Mark Mitchell <mark@codesourcery.com>
12796 Tom de Vries <tom@codesourcery.com>
12797 Paul Pluzhnikov <ppluzhnikov@google.com>
12798
12799 * debug/tst-backtrace2.c: New file.
12800 * debug/tst-backtrace3.c: Likewise.
12801 * debug/tst-backtrace4.c: Likewise.
12802 * debug/tst-backtrace5.c: Likewise.
12803 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12804 (CFLAGS-tst-backtrace3.c): Likewise.
12805 (CFLAGS-tst-backtrace4.c): Likewise.
12806 (CFLAGS-tst-backtrace5.c): Likewise.
12807 (LDFLAGS-tst-backtrace2): Likewise.
12808 (LDFLAGS-tst-backtrace3): Likewise.
12809 (LDFLAGS-tst-backtrace4): Likewise.
12810 (LDFLAGS-tst-backtrace5): Likewise.
12811 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12812 tst-backtrace4 and tst-backtrace5.
12813
90567f30 128142013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
12815 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12816
12817 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12818 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12819 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12820 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12822 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12823 "+r" and remove output regs list as redundant. Add explicit inline
12824 asm to specify register of return val to work around compiler codegen
12825 bug. Remove (int) cast on return value. Add return type parameter to
12826 use in macro so that this macro does not truncate return value for
12827 64-bit values.
12828 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12829 pass to INTERNAL_VSYSCALL_NCS.
12830 (INLINE_VSYSCALL): Add 'long int' as return type to
12831 INTERNAL_VSYSCALL_NCS macro invocation.
12832 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12833 INTERNAL_VSYSCALL_NCS macro invocation.
12834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12835
d3b9ea61
SP
128362013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12837
0b57daeb
SP
12838 [BZ #14496]
12839 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12840 Fix application of SIMD FP exception mask.
12841
caa99d06
SP
12842 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12843 mp_no from a power of two.
12844 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12845 __mpexp_twomm1. Use __pow_mp.
12846
d3b9ea61
SP
12847 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12848 multiplication.
12849
1dbaee3c
DM
128502013-01-17 David S. Miller <davem@davemloft.net>
12851
12852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12853
728d7b43
JM
128542013-01-17 Joseph Myers <joseph@codesourcery.com>
12855
12856 [BZ #15023]
12857 * include/complex.h: Condition contents on [!_COMPLEX_H].
12858 (__kernel_casinhf): New prototype.
12859 (__kernel_casinh): Likewise.
12860 (__kernel_casinhl): Likewise.
12861 * math/Makefile (libm_calls): Add k_casinh.
12862 * math/k_casinh.c: New file.
12863 * math/k_casinhf.c: Likewise.
12864 * math/k_casinhl.c: Likewise.
12865 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12866 finite nonzero arguments.
12867 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12868 finite nonzero arguments.
12869 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12870 finite nonzero arguments.
12871 * math/s_casinh.c: Do not include <float.h>.
12872 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12873 * math/s_casinhf.c: Do not include <float.h>.
12874 (__casinhf): Move code for finite nonzero arguments to
12875 k_casinhf.c.
12876 * math/s_casinhl.c: Do not include <float.h>.
12877 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12878 redefine.
12879 (__casinhl): Move code for finite nonzero arguments to
12880 k_casinhl.c.
12881 * math/libm-test.inc (cacos_test): Add more tests.
12882 * sysdeps/i386/fpu/libm-test-ulps: Update.
12883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12884
2a26ef3a
PT
128852013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12886
12887 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12888 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12889 [!HAVE_MREMAP]: Remove [defined linux] case.
12890 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12891
a897655d
SP
128922013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12893
12894 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12895
881ebe89 128962013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
12897
12898 * elf/elf.h (R_386_SIZE32): New relocation.
12899 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12900 R_386_SIZE32.
12901 (elf_machine_rela): Likewise.
12902 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12903 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12904
59981e9b
JM
129052013-01-17 Joseph Myers <joseph@codesourcery.com>
12906
12907 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12908 (FP_FAST_FMA): Do not define.
12909 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12910 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12911 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12912 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12913 !_SOFT_FLOAT]: Likewise.
12914 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12915 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12916 value.
12917 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12918 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12919 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12920 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12921 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12922 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12923 file.
12924
cfa8054f
AS
129252013-01-16 Andreas Schwab <schwab@suse.de>
12926
12927 [BZ #14327]
12928 * include/stdlib.h (__mktemp): Add declaration.
12929 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12930 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12931
dd930cc5
SP
129322013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12933
881ebe89
SP
12934 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12935 definitions.
12936 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12937 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12938 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12939 definitions here.
12940 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12941 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12942 definitions.
12943 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12944 and ONE.
12945 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12946 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12947 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12948 definitions.
12949 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12950 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12951 definitions.
12952 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 12953
dd930cc5
SP
12954 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12955
c19a9f89
DM
129562013-01-15 David S. Miller <davem@davemloft.net>
12957
1aa61767
DM
12958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12959 trunc{,f} to libm-sysdep_routes.
12960 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12962 file.
12963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12965 file.
12966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12967 file.
12968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12970 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12971 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12972 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12973 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12974 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12975 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12976
c42d5e98
DM
12977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12978 nearbyint{,f} to libm-sysdep_routes.
12979 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12981 New file.
12982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12983 file.
12984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12985 New file.
12986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12987 file.
12988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12990 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12991 file.
12992 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12993 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12994 file.
12995 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12996 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12997 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12998
c19a9f89
DM
12999 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13000 libc_feholdexcept and libc_fesetenv.
13001
357679d2
MF
130022013-01-15 Mike Frysinger <vapier@gentoo.org>
13003
13004 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13005
65a82e3d
DM
130062013-01-14 David S. Miller <davem@davemloft.net>
13007
8b954ab9
DM
13008 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13009 (SPARC_ASM_VIS2_IFUNC): Likewise.
13010 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13012 use of 'siam' instruction.
13013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13014 Likewise.
13015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13016 Likewise.
13017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13018 Likewise.
13019 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13020 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13021 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13022 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13024 file.
13025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13026 file.
13027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13028 file.
13029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13030 file.
13031 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13032 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13033 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13034 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13036 new VIS2 routines.
13037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13040 Likewise.
13041 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13042 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13043 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13046 routines to libm-sysdep_routines.
13047 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13048
65a82e3d
DM
13049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13050 fdim/fdimf to libm-sysdep_routines.
13051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13052 file.
13053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13055 file.
13056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13059 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13060 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13061 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13062 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13063
e34ab705
SP
130642013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13065
2a91b573
SP
13066 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13067 to optimize copies.
13068
1066a534
SP
13069 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13070 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13071 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13072
e34ab705
SP
13073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13074 local variable MPTWO.
13075 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13076 Likewise.
13077
aba5e596
MF
130782013-01-13 Mike Frysinger <vapier@gentoo.org>
13079
13080 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13081 GLOB_NOESCAPE.
13082
e557e9e5
MF
130832013-01-13 Mike Frysinger <vapier@gentoo.org>
13084
13085 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13086
0428cec9
MF
130872013-01-13 Mike Frysinger <vapier@gentoo.org>
13088
13089 * manual/pattern.texi (glob_t): Document gl_flags.
13090 (glob64_t): Likewise.
13091
8794a964
DM
130922013-01-11 David S. Miller <davem@davemloft.net>
13093
66438c3f
RM
13094 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13095 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13096 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
13097 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13098 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13099 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13100 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13101 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13102 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13103 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13104 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13105 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13106 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13107
4ae4244d
DM
13108 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13109 sparc V9 rather than using V8 code.
13110 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13111 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13112
8794a964
DM
13113 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13114 Move to...
13115 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13116 Here.
13117
6270516e
RM
131182013-01-11 Roland McGrath <roland@hack.frob.com>
13119
13120 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13121 not in the main loop.
13122 * configure: Regenerated.
13123
6a57d931
JM
131242013-01-11 Joseph Myers <joseph@codesourcery.com>
13125
13126 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13127 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13128 to just #else.
13129 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13130 [!__GLIBC_HAVE_LONG_LONG] case.
13131 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13132 condition to just #else.
13133 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13134 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13135 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13136 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13137 unconditional.
13138 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13139 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13140 #elif condition to just #else.
13141 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13142 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13143 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13144 #elif condition to just #else.
13145
0e8529e9
SE
131462013-01-11 Steve Ellcey <sellcey@mips.com>
13147
13148 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13149 (EF_MIPS_ARCH_64): Fix value.
13150 (EF_MIPS_ARCH_32R2): New.
13151 (EF_MIPS_ARCH_64R2): New.
13152
740b3dbe
L
131532013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13154
13155 * Makeconfig (+link-pie-before-libc): New.
13156 (+link-pie-after-libc): Likewise.
13157 (+link-pie-tests): Likewise.
13158 (+link-pie): Rewritten.
13159 (link-before-libc): Remove $(config-LDFLAGS).
13160 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13161 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13162 (config-LDFLAGS): Renamed to ...
13163 (rtld-LDFLAGS): This.
13164 (rtld-tests-LDFLAGS): New macro.
13165 (link-libc-rpath-link): Likewise.
13166 (link-libc-tests-rpath-link): Likewise.
13167 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13168 (link-libc): Prepand $(link-libc-rpath-link).
13169 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13170 (test-program-prefix): New macro.
13171 (test-via-rtld-prefix): Likewise.
13172 (test-program-cmd): Likewise.
13173 (host-test-program-cmd): Likewise.
13174 * Makefile ($(common-objpfx)testrun.sh): Replace
13175 $(run-program-prefix) with $(test-program-prefix).
13176 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13177 $(rtld-LDFLAGS).
13178 ($(common-objpfx)shlib.lds): Likewise.
13179 (build-module-helper): Likewise.
13180 ($(common-objpfx)format.lds): Likewise.
13181 * Rules (binaries-pie-tests): New.
13182 (binaries-pie-notests): Likewise.
13183 (binaries-pie): Rewritten.
13184 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13185 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13186 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13187 (make-test-out): Replace $(host-built-program-cmd) with
13188 $(host-test-program-cmd).
13189 * config.make.in (build-hardcoded-path-in-tests): New variable.
13190 * configure.in (--enable-hardcoded-path-in-tests): New configure
13191 option.
13192 (hardcoded_path_in_tests): New AC_SUBST.
13193 * configure: Regenerated.
13194 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13195 $(built-program-cmd) with $(test-program-cmd).
13196 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13197 (test_program_cmd): This.
13198 * elf/Makefile ($(objpfx)order.out): Run test with
13199 $(test-program-prefix).
13200 ($(objpfx)order2.out): Likewise.
13201 ($(objpfx)tst-initorder.out): Likewise.
13202 ($(objpfx)tst-initorder2.out): Likewise.
13203 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13204 $(test-program-cmd).
13205 ($(objpfx)tst-array1-static.out): Likewise.
13206 ($(objpfx)tst-array2.out): Likewise.
13207 ($(objpfx)tst-array3.out): Likewise.
13208 ($(objpfx)tst-array4.out): Likewise.
13209 ($(objpfx)tst-array5.out): Likewise.
13210 ($(objpfx)tst-array5-static.out): Likewise.
13211 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13212 $(test-program-cmd).
13213 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13214 $(run-program-prefix) with $(test-program-prefix).
13215 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13216 (test_program_prefix): This.
13217 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13218 $(run-program-prefix) with $(test-program-prefix).
13219 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13220 (test_program_prefix): This.
13221 * iconvdata/tst-tables.sh: Likewise.
13222 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13223 $(run-program-prefix) with $(test-program-prefix).
13224 ($(objpfx)tst-translit.out): Likewise.
13225 ($(objpfx)tst-gettext2.out): Likewise.
13226 ($(objpfx)tst-gettext4.out): Likewise.
13227 ($(objpfx)tst-gettext6.out): Likewise.
13228 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13229 (test_program_prefix): This.
13230 * intl/tst-gettext2.sh: Likewise.
13231 * intl/tst-gettext4.sh Likewise.
13232 * intl/tst-gettext6.sh: Likewise.
13233 * intl/tst-translit.sh: Likewise.
13234 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13235 with $(test-program-cmd).
13236 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13237 $(run-program-prefix) with $(test-program-prefix).
13238 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13239 (test_program_prefix): This.
13240 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13241 $(run-program-prefix) with $(test-program-prefix).
13242 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13243 (test_program_prefix): This.
13244 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13245 * posix/Makefile ($(objpfx)globtest.out): Replace
13246 $(run-via-rtld-prefix) and $(test-wrapper) with
13247 $(test-program-prefix) and $(test-via-rtld-prefix).
13248 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13249 $(test-program-prefix).
13250 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13251 $(host-test-program-cmd).
13252 (tst-spawn-ARGS): Likewise.
13253 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13254 $(test-program-prefix).
13255 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13256 (test_via_rtld_prefix): This.
13257 (test_wrapper): Renamed to ...
13258 (test_program_prefix): This.
13259 (run_program_prefix): Replaced by test_program_prefix.
13260 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13261 (test_program_prefix): This.
13262 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13263 with $(host-test-program-cmd).
13264 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13265 $(run-program-prefix) with $(test-program-prefix).
13266 ($(objpfx)tst-printf.out): Likewise.
13267 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13268 $(test-program-cmd).
13269 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13270 (test_program_prefix): This.
13271 * stdio-common/tst-unbputc.sh: Likewise.
13272 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13273 $(run-program-prefix) with $(test-program-prefix).
13274 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13275 (test_program_prefix): This.
13276 * string/Makefile ($(objpfx)tst-svc.out): Replace
13277 $(built-program-cmd) with $(test-program-cmd).
13278
c6fe55cf
AJ
132792013-01-11 Andreas Jaeger <aj@suse.de>
13280
13281 [BZ #15003]
13282 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13283 value. Sync with Linux 3.7.
13284
9e6919c8
DM
132852013-01-10 David S. Miller <davem@davemloft.net>
13286
13287 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13288 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13289 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13290
1c9f1a02
RM
132912013-01-10 Roland McGrath <roland@hack.frob.com>
13292
13293 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13294 never set.
13295 * configure: Regenerated.
13296
b9de2dde
DM
132972013-01-10 David S. Miller <davem@davemloft.net>
13298
13299 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13300 sparc V9 rather than using V8 code.
13301 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13302 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13303
e7f68ef4
RM
133042013-01-10 Roland McGrath <roland@hack.frob.com>
13305
13306 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13307 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13308 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13309 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13310 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13311 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13312 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13313 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13314 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13315 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13316 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13317 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13318 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13319 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13320 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13321 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13322 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13323 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13324 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13325 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13326 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13327 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13328 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13329 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13330 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13331 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13332 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13333
5a47cc9c
DM
133342013-01-10 David S. Miller <davem@davemloft.net>
13335
13336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13337
4cf8f209
L
133382013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13339
13340 * posix/Makefile (tests-static): New variable.
13341 (tests): Add $(tests-static).
13342 (tst-exec-static-ARGS): New variable.
13343 (tst-spawn-static-ARGS): Likewise.
13344 * posix/tst-exec-static.c: New file.
13345 * posix/tst-spawn-static.c: Likewise.
13346 * posix/tst-exec.c: Support run directly.
13347 * posix/tst-spawn.c: Likewise.
13348
fed0faa1
JM
133492013-01-10 Joseph Myers <joseph@codesourcery.com>
13350
828beb13
JM
13351 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13352 long.
13353 * math/bits/mathcalls.h (llrint): Likewise.
13354 (llround): Likewise.
13355 * stdlib/stdlib.h (struct drand48_data): Likewise.
13356 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13357 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13358 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13359 Likewise.
13360 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13361 Likewise.
13362 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13363 (elf_greg_t): Likewise.
13364 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13365 (__jmp_buf): Likewise.
13366 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13367 definitions.
13368 (llrint): Likewise, for all definitions.
13369 (llrintl): Likewise.
13370
fed0faa1
JM
13371 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13372 Remove [__GNUC__] condition.
13373 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13374 condition to just [__USE_ISOC99].
13375 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13376
1a20cb20
L
133772013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13378
13379 [BZ #14200]
13380 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13381 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13382 defined.
13383 (_POSIX_V6_ILP32_OFF32): Likewise.
13384 (_XBS5_ILP32_OFF32): Likewise.
13385 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13386 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13387
751b85f7
SP
133882013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13389
7490eb81
SP
13390 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13391
751b85f7
SP
13392 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13393 doubles __mpexp_twomm1. Adjust usage.
13394 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13395 Remove.
13396
988197f0
AS
133972013-01-10 Andreas Schwab <schwab@suse.de>
13398
13399 [BZ #14964]
13400 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13401 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13402
e83d7298
DM
134032013-01-09 David S. Miller <davem@davemloft.net>
13404
034ed64b 13405 [BZ #15003]
e83d7298
DM
13406 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13407 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13408 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13409 TCP_FASTOPEN): Define.
13410 (tcp_repair_opt): New structure.
13411 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13412 enum values.
13413 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13414 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13415 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13416 (tcp_cookie_transactions): New structure.
13417
d5e0b9bd
AB
134182013-01-09 Anton Blanchard <anton@samba.org>
13419
13420 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13421 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13422 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13423 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13424
0c07e3ea
JM
134252013-01-09 Joseph Myers <joseph@codesourcery.com>
13426
13427 * include/features.h (__USE_ANSI): Remove.
13428
232f7002
RM
134292013-01-09 Roland McGrath <roland@hack.frob.com>
13430
ad98e30c
RM
13431 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13432
232f7002
RM
13433 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13434
950c99ca
SP
134352013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13436
b5792741
SP
13437 * sysdeps/s390/fpu/libm-test-ulps: Update.
13438
47cf2278
SP
13439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13440
950c99ca
SP
13441 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13442 (__acr): Likewise.
13443 (__cpy): Likewise.
13444 (norm): Likewise.
13445 (denorm): Likewise.
13446 (__mp_dbl): Likewise.
13447 (__dbl_mp): Likewise.
13448 (add_magnitudes): Likewise.
13449 (sub_magnitudes): Likewise.
13450 (__add): Likewise.
13451 (__sub): Likewise.
13452 (__mul): Likewise.
13453 (__inv): Likewise.
13454 (__dvd): Likewise.
13455 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13456 (__acr): Likewise.
13457 (__cpy): Likewise.
13458 (norm): Likewise.
13459 (denorm): Likewise.
13460 (__mp_dbl): Likewise.
13461 (__dbl_mp): Likewise.
13462 (add_magnitudes): Likewise.
13463 (sub_magnitudes): Likewise.
13464 (__add): Likewise.
13465 (__sub): Likewise.
13466 (__mul): Likewise.
13467 (__inv): Likewise.
13468 (__dvd): Likewise.
13469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13470 (__acr): Likewise.
13471 (__cpy): Likewise.
13472 (norm): Likewise.
13473 (denorm): Likewise.
13474 (__mp_dbl): Likewise.
13475 (__dbl_mp): Likewise.
13476 (add_magnitudes): Likewise.
13477 (sub_magnitudes): Likewise.
13478 (__add): Likewise.
13479 (__sub): Likewise.
13480 (__mul): Likewise.
13481 (__inv): Likewise.
13482 (__dvd): Likewise.
13483
eede9df9
JM
134842013-01-08 Joseph Myers <joseph@codesourcery.com>
13485
13486 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13487 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13488 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13489 2 && __USE_EXTERN_INLINES]: Likewise.
13490
c40ea3d9
AJ
134912013-01-08 Andreas Jaeger <aj@suse.de>
13492
13493 [BZ# 14985]
13494 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13495 Remove.
13496 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13497 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13498
2ccdea26
AB
134992013-01-07 Anton Blanchard <anton@samba.org>
13500
13501 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13502 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13503 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13504 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13505 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13506 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13507 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13508 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13509 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13510 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13511 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13512 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13513 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13514 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13515 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13516 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13517 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13518 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13519 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13520 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13521 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13522 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13523 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13524 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13525 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13526 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13527 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13528 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13529 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13530 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13531 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13533 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13534 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13535 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13536 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13537 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13538 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13539 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13540 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13541 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13542 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13543 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13544
a9708fed
JM
135452013-01-07 Joseph Myers <joseph@codesourcery.com>
13546
375607b9
JM
13547 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13548 (__MALLOC_PMT): Likewise.
13549 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13550 [__GNUC__], only on [_LIBC].
13551 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13552 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13553 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13554 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13555 forward declaration.
13556 (realloc_hook_ini): Likewise.
13557 (memalign_hook_ini): Likewise.
13558 (__libc_memalign): Do not use __MALLOC_PMT in variable
13559 declaration.
13560 (__libc_valloc): Likewise.
13561 (__libc_pvalloc): Likewise.
13562 (__libc_calloc): Likewise.
13563 (__posix_memalign): Likewise.
13564
a9708fed
JM
13565 [BZ #14996]
13566 * math/s_casinh.c: Include <float.h>.
13567 (__casinh): Do not do computation with squaring and square root
13568 for large arguments.
13569 * math/s_casinhf.c: Include <float.h>.
13570 (__casinhf): Do not do computation with squaring and square root
13571 for large arguments.
13572 * math/s_casinhl.c: Include <float.h>.
13573 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13574 (__casinhl): Do not do computation with squaring and square root
13575 for large arguments.
13576 * math/libm-test.inc (casin_test): Add more tests.
13577 (casinh_test): Likewise.
13578 * sysdeps/i386/fpu/libm-test-ulps: Update.
13579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13580
afec409a
L
135812013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13582
13583 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13584 (__x86_64_raw_data_cache_size): Likewise.
13585 (__x86_64_data_cache_size_half): Likewise.
13586 (__x86_64_raw_data_cache_size_half): Likewise.
13587 (__x86_64_shared_cache_size): Likewise.
13588 (__x86_64_raw_shared_cache_size): Likewise.
13589 (__x86_64_shared_cache_size_half): Likewise.
13590 (__x86_64_raw_shared_cache_size_half): Likewise.
13591 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13592 to ...
13593 (__x86_data_cache_size): This.
13594 (__x86_64_raw_data_cache_size): Renamed to ...
13595 (__x86_raw_data_cache_size): This.
13596 (__x86_64_data_cache_size_half): Renamed to ...
13597 (__x86_data_cache_size_half): This.
13598 (__x86_64_raw_data_cache_size_half): Renamed to ...
13599 (__x86_raw_data_cache_size_half): This.
13600 (__x86_64_shared_cache_size): Renamed to ...
13601 (__x86_shared_cache_size): This.
13602 (__x86_64_raw_shared_cache_size): Renamed to ...
13603 (__x86_raw_shared_cache_size): This.
13604 (__x86_64_shared_cache_size_half): Renamed to ...
13605 (__x86_shared_cache_size_half): This.
13606 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13607 (__x86_raw_shared_cache_size_half): This.
13608 * sysdeps/x86_64/memcpy.S: Updated.
13609 * sysdeps/x86_64/memset.S: Likewise.
13610 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13611 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13612 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13613
0b3986d0
DM
136142013-01-04 David S. Miller <davem@davemloft.net>
13615
13616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13617
e47686e9
AS
136182013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13619
d643bac1
AS
13620 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13621 1 to avoid redefinition warning.
13622 (__USE_GNU): Don't define.
13623 (init_signaling_nan): Protoize.
13624
e47686e9
AS
13625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13626
b18decba
SP
136272013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13628
fffb407f
SP
13629 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13631 (__cpymn): Likewise.
13632 (norm): Remove commented code.
13633 (denorm): Likewise.
13634 (__mp_dbl): Likewise.
13635 (__inv): Likewise.
13636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13637 (__cpymn): Likewise.
13638 (norm): Remove commented code.
13639 (denorm): Likewise.
13640 (__mp_dbl): Likewise.
13641 (__inv): Likewise.
13642
b18decba
SP
13643 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13644 mp_no value for 1.0 and 2.0.
13645 (norm): Use RADIXI instead of radixi.d.
13646 (denorm): Likewise.
13647 (__mul): Use 0.0 instead of zero.d.
13648 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13649 mp_no value for 1.0 and 2.0.
13650 (norm): Use RADIXI instead of radixi.d.
13651 (denorm): Likewise.
13652 (__mul): Use 0.0 instead of zero.d.
13653
cdc1c96f
JM
136542013-01-04 Joseph Myers <joseph@codesourcery.com>
13655
13656 [BZ #14994]
13657 * math/s_casinh.c (__casinh): Reduce finite argument to first
13658 quadrant then set signs of results at the end.
13659 * math/s_casinhf.c (__casinhf): Likewise.
13660 * math/s_casinhl.c (__casinhl): Likewise.
13661 * math/libm-test.inc (casin_test): Add more tests.
13662 (casinh_test): Likewise.
13663 * sysdeps/i386/fpu/libm-test-ulps: Update.
13664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13665
302913e1
SP
136662013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13667
6420d207
SP
13668 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13669
a9e48ab4
SP
13670 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13671
b7837264
SP
13672 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13673 declarations.
13674 (denorm): Likewise.
13675 (__mp_dbl): Likewise.
13676 (__inv): Likewise.
13677
f8af25d2
SP
13678 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13679 and adjust the header comment.
13680
302913e1
SP
13681 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13682 variable name from declaration.
13683
5d7dd1ca
L
136842013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13685
13686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13687 Initialize COMMON_CPUID_INDEX_7 element.
13688 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13689 (CPUID_RTM): Likewise.
13690 (HAS_RTM): Likewise.
13691 (COMMON_CPUID_INDEX_7): New enum.
13692
2f5f40f4
AS
136932013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13694
13695 [BZ #14981]
13696 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13697 size is zero, record memory as freed.
13698
4056f4a0
AJ
136992013-01-03 Andreas Jaeger <aj@suse.de>
13700
13701 * po/ia.po: Add new Interlingua translation.
13702
ab15736f 137032012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
13704
13705 * locale/programs/localedef.c: Fix description of '--posix' flag.
13706
568035b7
JM
137072013-01-02 Joseph Myers <joseph@codesourcery.com>
13708
e6898b8d
JM
13709 * NEWS: Update dates in second copyright notice.
13710 * README: Update copyright dates in example.
13711 * manual/libc.texinfo: Update copyright dates.
13712 * scripts/test-installation.pl: Update copyright date in --version
13713 output.
13714
0e2f9562
JM
13715 * hurd/ctty-input.c: Fix copyright notice formatting.
13716 * hurd/ctty-output.c: Likewise.
13717 * hurd/dtable.c: Likewise.
13718 * hurd/hurd-raise.c: Likewise.
13719 * hurd/hurdprio.c: Likewise.
13720 * hurd/msgportdemux.c: Likewise.
13721 * misc/sys/file.h: Likewise.
13722 * misc/sys/ioctl.h: Likewise.
13723 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13724 * sysdeps/mach/hurd/chdir.c: Likewise.
13725 * sysdeps/mach/hurd/fchdir.c: Likewise.
13726 * sysdeps/mach/hurd/rename.c: Likewise.
13727 * sysdeps/mach/hurd/rmdir.c: Likewise.
13728 * sysdeps/mach/hurd/seekdir.c: Likewise.
13729 * sysdeps/mach/hurd/setsid.c: Likewise.
13730 * sysdeps/posix/wait3.c: Likewise.
13731
568035b7
JM
13732 * All files with FSF copyright notices: Update copyright dates
13733 using scripts/update-copyrights.
13734 * intl/plural.c: Regenerated.
13735 * locale/programs/charmap-kw.h: Likewise.
13736 * locale/programs/locfile-kw.h: Likewise.
13737
da08f647
SP
137382013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13739
0f5477af
SP
13740 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13741 four values.
13742
44e0d4c2
SP
13743 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13744 calculation loop and add branch prediction.
13745
4d55b4e5
SP
13746 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13747 check access beyond bounds of m1np.
13748
da08f647
SP
13749 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13750 MPTWO.
13751 (__inv): Remove local variable MPTWO to use the global
13752 constant.
13753 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13754 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13755 variable MPTWO.
13756 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13757 MP3HALFS static const.
13758
8e051029
DM
137592013-01-01 David S. Miller <davem@davemloft.net>
13760
13761 * po/ca.po: Update from translation team.
13762
f4cf5f2d
JM
137632013-01-01 Joseph Myers <joseph@codesourcery.com>
13764
13765 * scripts/update-copyrights: New file.
13766 * Makeconfig: Reformat copyright notice.
13767 * ctype/ctype.h: Likewise.
13768 * debug/swprintf_chk.c: Likewise.
13769 * elf/dl-cache.c: Likewise.
13770 * elf/dl-debug.c: Likewise.
13771 * elf/dl-object.c: Likewise.
13772 * grp/initgroups.c: Likewise.
13773 * hurd/Makefile: Likewise.
13774 * hurd/hurd/signal.h: Likewise.
13775 * hurd/hurdfault.c: Likewise.
13776 * hurd/hurdioctl.c: Likewise.
13777 * hurd/hurdlookup.c: Likewise.
13778 * hurd/intr-msg.c: Likewise.
13779 * iconv/gconv_open.c: Likewise.
13780 * libio/swprintf.c: Likewise.
13781 * locale/lc-ctype.c: Likewise.
13782 * locale/nl_langinfo.c: Likewise.
13783 * mach/Machrules: Likewise.
13784 * mach/Makefile: Likewise.
13785 * malloc/obstack.h: Likewise.
13786 * manual/Makefile: Likewise.
13787 * manual/tsort.awk: Likewise.
13788 * misc/bits/stab.def: Likewise.
13789 * nis/nis_print_group_entry.c: Likewise.
13790 * nis/nis_table.c: Likewise.
13791 * nis/nss_compat/compat-pwd.c: Likewise.
13792 * nis/nss_compat/compat-spwd.c: Likewise.
13793 * po/Makefile: Likewise.
13794 * posix/fnmatch.c: Likewise.
13795 * posix/regex.h: Likewise.
13796 * resolv/Makefile: Likewise.
13797 * resolv/nss_dns/dns-network.c: Likewise.
13798 * resolv/res_hconf.c: Likewise.
13799 * scripts/gen-sorted.awk: Likewise.
13800 * soft-fp/soft-fp.h: Likewise.
13801 * stdio-common/printf.h: Likewise.
13802 * stdlib/monetary.h: Likewise.
13803 * stdlib/random.c: Likewise.
13804 * stdlib/random_r.c: Likewise.
13805 * sysdeps/generic/Makefile: Likewise.
13806 * sysdeps/gnu/Makefile: Likewise.
13807 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13808 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13809 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13810 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13811 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13812 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13813 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13814 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13815 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13816 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13817 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13818 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13819 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13820 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13821 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13822 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13823 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13824 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13825 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13826 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13827 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13828 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13829 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13830 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13831 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13832 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13833 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13834 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13835 * sysdeps/mach/hurd/errnos.awk: Likewise.
13836 * sysdeps/mach/hurd/fork.c: Likewise.
13837 * sysdeps/mach/hurd/getcwd.c: Likewise.
13838 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13839 * sysdeps/mach/hurd/mmap.c: Likewise.
13840 * sysdeps/mach/hurd/utimes.c: Likewise.
13841 * sysdeps/mach/hurd/xmknod.c: Likewise.
13842 * sysdeps/posix/profil.c: Likewise.
13843 * sysdeps/posix/readdir_r.c: Likewise.
13844 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13845 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13846 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13847 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13849 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13850 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13851 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13852 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13853 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13854 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13855 * sysdeps/pthread/lio_listio.c: Likewise.
13856 * sysdeps/sparc/dl-procinfo.h: Likewise.
13857 * sysdeps/unix/i386/sysdep.S: Likewise.
13858 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13859 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13860 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13861 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13863 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13864 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13865 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13866 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13867 * sysdeps/wordsize-32/divdi3.c: Likewise.
13868 * time/sys/time.h: Likewise.
13869 * wcsmbs/Makefile: Likewise.
13870
0549fbba
DM
138712013-01-01 David S. Miller <davem@davemloft.net>
13872
a141f1a7
DM
13873 * po/fr.po: Update from translation team.
13874
0549fbba
DM
13875 * catgets/gencat.c: Update copyright year.
13876 * csu/version.c: Likewise.
13877 * debug/catchsegv.sh: Likewise.
13878 * debug/pcprofiledump.c: Likewise.
13879 * debug/xtrace.sh: Likewise.
13880 * elf/ldconfig.c: Likewise.
13881 * elf/ldd.bash.in: Likewise.
13882 * elf/pldd.c: Likewise.
13883 * elf/sotruss.ksh: Likewise.
13884 * elf/sprof.c: Likewise.
13885 * iconv/iconv_prog.c: Likewise.
13886 * iconv/iconvconfig.c: Likewise.
13887 * locale/programs/locale.c: Likewise.
13888 * locale/programs/localedef.c: Likewise.
13889 * login/programs/pt_chown.c: Likewise.
13890 * malloc/memusage.sh: Likewise.
13891 * malloc/memusagestat.c: Likewise.
13892 * malloc/mtrace.pl: Likewise.
13893 * nscd/nscd.c: Likewise.
13894 * nss/getent.c: Likewise.
13895 * nss/makedb.c: Likewise.
13896 * posix/getconf.c: Likewise.
13897
18ea052c
SP
138982012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13899
13900 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13901 numbers.
13902
9c89fca6
MF
139032012-12-30 Mike Frysinger <vapier@gentoo.org>
13904
13905 * math/bits/mathcalls.h (modf): Use __nonnull.
13906
085ec079
SP
139072012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13908
13909 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13910 (split): Use macro CN instead of the bare value.
13911 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13912 could be used.
13913 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13914 instead of the bare value.
13915 (power1): Likewise.
13916
6d9f97e1
SP
139172012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13918
d63f73be
SP
13919 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13920 __ATAN_TWOM.
13921 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13922
6d9f97e1
SP
13923 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13924 their values.
13925 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13926 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13927 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13928 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13929
4c4febf5
AJ
139302012-12-28 Andreas Jaeger <aj@suse.de>
13931
af5843ef
AJ
13932 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13933 values are from Linux 3.7.
13934
4c4febf5
AJ
13935 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13936 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13937
99136f82
SP
139382012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13939
2f216c3c 13940 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
13941 TRUE case.
13942
99136f82
SP
13943 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13944 (norm): Likewise.
13945 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13946 variables with preprocessor constants.
13947 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13948 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13949 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13950
7fffbdff
BH
139512012-12-27 Bruno Haible <bruno@clisp.org>
13952
13953 [BZ #14317]
13954 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13955 only if needed.
13956
b76eb5f0
SP
139572012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13958
31a7fe5c
SP
13959 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13960 and use variable directly.
13961 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13962
b76eb5f0
SP
13963 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13964 MPONE.
13965 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13966 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13967 variable MPONE.
13968 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13969 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13970 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13971 include directive. Remove local variable MPONE.
13972 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13973 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13974 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13975
2c8bfe7d
DM
139762012-12-25 David S. Miller <davem@davemloft.net>
13977
13978 * version.h (RELEASE): Set to "development".
13979 (VERSION): Set to "2.17.90".
13980 * NEWS: Add 2.18 section.
13981
147d03b0
DM
139822012-12-21 David S. Miller <davem@davemloft.net>
13983
13984 * po/hr.po: Update from translation team.
13985
a8ebb2b9
AK
139862012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13987
13988 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13989
95b4f1b6
SE
139902012-12-19 Steve Ellcey <sellcey@mips.com>
13991
b2d94007 13992 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 13993
cedb2a90
MS
139942012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13995
13996 * manual/contrib.texi (Contributors): Spelling correction.
13997
bbf527d6
DM
139982012-12-15 David S. Miller <davem@davemloft.net>
13999
14000 * po/ru.po: Update from translation team.
14001
bc38c906
DM
140022012-12-13 David S. Miller <davem@davemloft.net>
14003
85429b1a
DM
14004 * NEWS: Mention IFUNC testsuite enhancements.
14005
d283e353
DM
14006 * po/pl.po: Update from translation team.
14007 * po/bg.po: Likewise.
14008
bc38c906
DM
14009 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14010 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14011
a181b0d7
DM
140122012-12-11 David S. Miller <davem@davemloft.net>
14013
4641d57e
DM
14014 * po/sv.po: Update from translation team.
14015
f7bc6495
DM
14016 * po/vi.po: Update from translation team.
14017
6fc9048f
DM
14018 * po/cs.po: Update from translation team.
14019
a181b0d7
DM
14020 * po/de.po: Update from translation team.
14021 * po/eo.po: Likewise.
14022 * po/nl.po: Likewise.
14023
f70bfe80
SP
140242012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14025
3c8b4190
SP
14026 [BZ #14246]
14027 * manual/argp.texi (Argp Helper Functions): Move node to follow
14028 Argp Parsing State.
14029
f70bfe80
SP
14030 [BZ #14872]
14031 * manual/conf.texi (Limits on File System Capacity): Mention if
14032 terminating null is included in the max size.
14033
188f0adf
AJ
140342012-12-10 Andreas Jaeger <aj@suse.de>
14035
14036 * po/cs.po: Update from translation team.
14037
56e7d3ad
SP
140382012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14039
14040 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14041 void pointer and cast to uintptr_t.
14042 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14043 path.
14044 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14045 * sysdeps/s390/s390-64/memset.S: Likewise.
14046
76f2d2ea 140472012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
14048
14049 [BZ #14833]
14050 * menual/message.texi (Message Translation): Fix typos.
14051 (Helper programs for gettext): Likewise.
14052
67cbf9a2
AS
140532012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14054
14055 [BZ #14898]
14056 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14057 Change to -1.
14058
682d0e9a
DM
140592012-12-07 David S. Miller <davem@davemloft.net>
14060
14061 * po/libc.pot: Update.
14062
573cd484
RH
140632012-12-07 Richard Henderson <rth@redhat.com>
14064
7e9da188 14065 [BZ #10114]
573cd484
RH
14066 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14067 normal/normal case to before the switch.
14068 (_FP_DIV): Likewise.
14069
e933a943
MF
140702012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14071 Mike Frysinger <vapier@gentoo.org>
14072
14073 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14074 check for __NR_fadvise64_64.
14075
82123268
CM
140762012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14077
14078 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14079 0, not just to plain "0" as a statement.
14080 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14081 with cw.
14082
d9814526
JM
140832012-12-06 Joseph Myers <joseph@codesourcery.com>
14084
14085 * NEWS: Use sourceware.org in Bugzilla URL.
14086
7728c574
SP
140872012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14088
f16946dd
SP
14089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14090 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14091
5704bbcb
SP
14092 * stdio-common/tst-put-error.c (do_test): Add newline to the
14093 padded test to ensure flush.
14094
17aa0516
JL
140952012-12-05 Jeff Law <law@redhat.com>
14096
14097 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14098
363313b5
JM
140992012-12-05 Joseph Myers <joseph@codesourcery.com>
14100
effbd42a
JM
14101 * README: Don't refer to ports add-on as distributed separately.
14102 Mention AArch64 in list of systems supported in the ports add-on.
14103
87600365
JM
14104 * LICENSES: Add more non-FSF copyright and license notices.
14105
a0d7066a
JM
14106 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14107 ((unused)).
14108
66ca5a5b
JM
14109 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14110
363313b5
JM
14111 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14112 10000 as width of padded output.
14113
b37984ad
JM
141142012-12-04 Joseph Myers <joseph@codesourcery.com>
14115
9003570a
JM
14116 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14117
b37984ad
JM
14118 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14119 variable LX with __attribute__ ((unused)).
14120 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14121 Likewise.
14122 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14123 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14124 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14125 with __attribute__ ((unused)).
14126
c8df52ec
DM
141272012-12-04 David S. Miller <davem@abraco.davemloft.net>
14128
14129 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14130
b3b099af
JM
141312012-12-04 Joseph Myers <joseph@codesourcery.com>
14132
c33aa6e3
JM
14133 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14134 (CFLAGS-nldbl-acos.c): New variable.
14135 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14136 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14137 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14138 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14139 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14140 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14141 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14142 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14143 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14144 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14145 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14146 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14147 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14148 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14149 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14150 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14151 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14152 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14153 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14154 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14155 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14156 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14157 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14158 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14159 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14160 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14161 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14162 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14163 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14164 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14165 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14166 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14167 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14168 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14169 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14170 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14171 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14172 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14173 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14174 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14175 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14176 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14177 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14178 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14179 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14180 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14181 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14182 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14183 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14184 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14185 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14186 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14187 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14188 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14189 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14190 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14191 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14192 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14193 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14194 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14195 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14196 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14197 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14198 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14199 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14200 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14201 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14202 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14203 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14204 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14205 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14206 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14207 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14208 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14209 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14210 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14211 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14212 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14213 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14214 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14215 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14216 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14217 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14218 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14219 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14220 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14221 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14222 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14223 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14224 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14225 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14226 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14227 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14228 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14229 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14230 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14231 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14232
20f0018d
JM
14233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14234 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14235
b3b099af
JM
14236 [BZ #14914]
14237 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14238 whole low double instead of just low 47 bits when splitting values
14239 into two parts.
14240
029264d1
AM
142412012-12-03 Allan McRae <allan@archlinux.org>
14242
14243 * manual/stdio.texi (Predefined Printf Handlers): Remove
14244 @hsep and @vsep usage.
14245
c9d6789e
MF
142462012-12-03 Mike Frysinger <vapier@gentoo.org>
14247
14248 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14249 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14250
4b7634a5
JL
142512012-12-03 Jeff Law <law@redhat.com>
14252
14253 * time/sys/time.h (settimeofday): Do not mark TV argument
14254 as __nonnull.
14255
eb6cbd24
MF
142562012-12-01 Mike Frysinger <vapier@gentoo.org>
14257
14258 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14259 when currently writing and seek to current position when not.
14260 * libio/Makefile (tests): Remove bug-fclose1.
14261 * libio/bug-fclose1.c: Delete.
14262
f638872a
JM
142632012-12-01 Joseph Myers <joseph@codesourcery.com>
14264
14265 * manual/arith.texi (feenableexcept): Fix typo.
14266 (fedisableexcept): Likewise.
14267
48085d14
RM
142682012-11-30 Roland McGrath <roland@hack.frob.com>
14269
14270 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14271 second, differently-typed declaration, rather than a cast.
14272
1a538b9f
SP
142732012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14274
14275 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14276 * include/rpc/svc.h: ... here.
14277
d07f2ff1 142782012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
14279
14280 [BZ #13013]
14281 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14282 depending n and resplen2 to catch cases where answer
14283 equals answerp2.
14284
c93ec1f0
CD
142852012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14286
14287 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14288 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14289
37db69de
MF
142902012-11-29 Mike Frysinger <vapier@gentoo.org>
14291
14292 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14293
e10c4e4f
RM
142942012-11-29 Roland McGrath <roland@hack.frob.com>
14295
14296 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14297
2af1b328
JL
142982012-11-28 Jeff Law <law@redhat.com>
14299
14300 [BZ #13761]
14301 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14302 dataset_temporary. Track alloca usage into alloca_used.
14303 If dataset is large allocate and release it via malloc/free.
14304
111db5b1
FW
143052012-06-04 Florian Weimer <fweimer@redhat.com>
14306
f06cc227 14307 [BZ #14197]
111db5b1
FW
14308 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14309
dd694abd
DM
143102012-11-28 David S. Miller <davem@davemloft.net>
14311
14312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14313
9984dd01
JM
143142012-11-28 Joseph Myers <joseph@codesourcery.com>
14315
14316 [BZ #14803]
14317 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14318 of pi/2 rounded to nearest to 64 bits.
14319 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14320 nearest to 64 bits.
14321 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14322 bits.
14323
14bc93a9
JL
143242012-11-28 Jeff Law <law@redhat.com>
14325 Martin Osvald <mosvald@redhat.com>
14326
14327 [BZ #14889]
14328 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14329 * sunrpc/svc.c: Include time.h.
14330 (__svc_accept_failed): New function.
14331 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14332 any reason other than EINTR, call __svc_accept_failed.
14333 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14334 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14335
e3c6aa3a
AS
143362012-11-28 Andreas Schwab <schwab@suse.de>
14337
14338 * scripts/abilist.awk: Also handle indirect functions in .opd
14339 section.
14340
1bead169
JM
143412012-11-28 Joseph Myers <joseph@codesourcery.com>
14342
14343 [BZ #13881]
14344 * sysdeps/x86/fpu/powl_helper.c: New file.
14345 * sysdeps/x86/fpu/Makefile: Likewise.
14346 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14347 (p3): New object.
14348 (__ieee754_powl): Use __powl_helper for finite arguments except
14349 integer exponents below 8.
14350 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14351 (p3): New object.
14352 (__ieee754_powl): Use __powl_helper for finite arguments except
14353 integer exponents below 8.
14354 * math/libm-test.inc (pow_test): Add more tests and enable some
14355 previously disabled tests.
14356 * sysdeps/i386/fpu/libm-test-ulps: Update.
14357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14358
0817d63d
SP
143592012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14360 Carlos O'Donell <carlos_odonell@mentor.com>
14361
14362 * nss/makedb.c (is_prime): Assert that input is odd and greater
14363 than 4. Note that fact in a comment too.
14364 (next_prime): Add 4 to input.
14365
de2fd463
SP
143662012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14367
14368 [BZ #11741]
14369 * libio/Makefile (tests): Add test case tst-fwrite-error.
14370 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14371 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14372 * libio/tst-fwrite-error.c: New test case.
14373
c515fb51
L
143742012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14375
14376 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14377 before casting to void *.
14378 * include/libc-internal.h (__pointer_type): New macro.
14379 (__integer_if_pointer_type_sub): Likewise.
14380 (__integer_if_pointer_type): Likewise.
14381 (cast_to_integer): Likewise.
14382 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14383 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14384 before casting to atomic64_t.
14385 (atomic_exchange_acq): Likewise.
14386 (__arch_exchange_and_add_body): Likewise.
14387 (__arch_add_body): Likewise.
14388 (atomic_add_negative): Likewise.
14389 (atomic_add_zero): Likewise.
14390
4cf77aa9
JM
143912012-11-26 Joseph Myers <joseph@codesourcery.com>
14392
14393 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14394 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14395 (add_fdes): Likewise.
14396 (linear_search_fdes): Likewise.
14397 (binary_search_unencoded_fdes): Likewise.
14398
d260b3b4
AS
143992012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14400
14401 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14402
67060746
AC
144032012-11-24 Adam Conrad <adconrad@0c3.net>
14404
14405 * configure.in: Autodetect C++ header directories.
14406 * configure: Regenerated.
14407
800938a1
MF
144082012-11-23 Mike Frysinger <vapier@gentoo.org>
14409
14410 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14411
4e6e34e6
AS
144122012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14413
14414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14415
7c7feb47
JM
144162012-11-22 Joseph Myers <joseph@codesourcery.com>
14417
7184dcdf
JM
14418 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14419 LDBL_MANT_DIG == 106]: Disable some tests.
14420 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14421 Likewise.
14422 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14423 Likewise.
14424
0a42601f
JM
14425 [BZ #14871]
14426 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14427 input for small inputs. Return +/- pi/2 for large inputs.
14428 * math/libm-test.inc (atan_test): Add more tests.
14429
79c9b9fe
JM
14430 * sysdeps/generic/unwind-dw2-fde-glibc.c
14431 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14432 __attribute__ ((unused)).
14433
c60d3bf2
JM
14434 [BZ #14645]
14435 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14436 x * y if x and y are nonzero and z is zero.
14437
ef1e0867
JM
14438 [BZ #14811]
14439 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14440 nonzero exponents with absolute value below 0x1p-117 to +/-
14441 0x1p-117.
14442
1468ded3
JM
14443 [BZ #14869]
14444 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14445 up arguments below 2**-450, not just those below 2**-500.
14446 * math/libm-test.inc (hypot_test): Add another test.
14447
8e27e3cc
JM
14448 [BZ #14868]
14449 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14450 Return a+b for ratio over 2**120, not 2**60.
14451 * math/libm-test.inc (hypot_test): Add another test.
14452
c9c0279b
JM
14453 * math/libm-test.inc (clog_test): Use
14454 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14455 (clog10_test): Likewise.
14456
7c7feb47
JM
14457 [BZ #6778]
14458 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14459
fff1530e
AS
144602012-11-22 Andreas Schwab <schwab@suse.de>
14461
14462 * sysdeps/i386/fpu/libm-test-ulps: Update.
14463
94558d30
PT
144642012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14465
14466 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14467 printf output with newline.
14468
7e1be741
L
144692012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14470
6bfea974
L
14471 [BZ #14865]
14472 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14473 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14474 -z nodlopen, -z initfirst and -z execstack support.
14475 * configure: Regenerated.
14476
7e1be741
L
14477 * elf/elf.h (DF_1_NODIRECT): New macro.
14478 (DF_1_IGNMULDEF): Likewise.
14479 (DF_1_NOKSYMS): Likewise.
14480 (DF_1_NOHDR): Likewise.
14481 (DF_1_EDITED): Likewise.
14482 (DF_1_NORELOC): Likewise.
14483 (DF_1_SYMINTPOSE): Likewise.
14484 (DF_1_GLOBAUDIT): Likewise.
14485 (DF_1_SINGLETON): Likewise.
14486 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14487 DT_1_SUPPORTED_MASK bits.
14488 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14489
105ce2ce
CD
144902012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14491
14492 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14493
123be9de
TS
144942012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14495
d072f3f7
TS
14496 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14497 macro.
14498
123be9de
TS
14499 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14500 (sendmmsg): Move declarations...
14501 * socket/sys/socket.h: ... here.
14502 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14503 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14504 include it from...
14505 * socket/recvmmsg.c: ... this new file.
14506 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14507 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14508 definition of __sendmmsg hidden.
14509 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14510 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14511 Move ENOSYS stub into and include it from...
14512 * socket/sendmmsg.c: ... this new file.
14513 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14514 (sysdep_routines): Move recvmmsg and sendmmsg...
14515 * socket/Makefile (routines): ... here.
14516 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14517 (GLIBC_PRIVATE): Add __sendmmsg.
14518 * include/sys/socket.h (__sendmmsg): Add declarations.
14519 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14520 sendmmsg.
14521
cf9a5d18
JM
145222012-11-20 Joseph Myers <joseph@codesourcery.com>
14523
14524 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14525 variable I1 with __attribute__ ((unused)).
14526 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14527
ecd4caf9
JM
145282012-11-19 Joseph Myers <joseph@codesourcery.com>
14529
be14d48f
JM
14530 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14531 DUMMY variables with __attribute__ ((unused)).
14532
ecd4caf9
JM
14533 * bits/byteswap.h: Include <bits/types.h>.
14534 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14535
986cab95
PT
145362012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14537
14538 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14539 string_t. Do not manually set errno.
14540 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14541 length with __strnlen. Make sure to both set errno and return it on
14542 failure.
14543
6d33cc9d
DM
145442012-11-19 David S. Miller <davem@davemloft.net>
14545
14546 With help from Joseph Myers.
14547 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14548 very large arguments properly.
14549 * math/libm-test.inc (atan_test): New tests.
14550 (atan2_test): New tests.
14551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14553
ee663277
JM
145542012-11-19 Joseph Myers <joseph@codesourcery.com>
14555
877f2d8e
JM
14556 [BZ #14856]
14557 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14558 Define to 3.
14559
116fc08a
JM
14560 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14561 [POSIX] (EADDRNOTAVAIL): Likewise.
14562 [POSIX] (EAFNOSUPPORT): Likewise.
14563 [POSIX] (EALREADY): Likewise.
14564 [POSIX] (ECONNABORTED): Likewise.
14565 [POSIX] (ECONNREFUSED): Likewise.
14566 [POSIX] (ECONNRESET): Likewise.
14567 [POSIX] (EDESTADDRREQ): Likewise.
14568 [POSIX] (EDQUOT): Likewise.
14569 [POSIX] (EHOSTUNREACH): Likewise.
14570 [POSIX] (EIDRM): Likewise.
14571 [POSIX] (EISCONN): Likewise.
14572 [POSIX] (ELOOP): Likewise.
14573 [POSIX] (EMULTIHOP): Likewise.
14574 [POSIX] (ENETDOWN): Likewise.
14575 [POSIX] (ENETUNREACH): Likewise.
14576 [POSIX] (ENOBUFS): Likewise.
14577 [POSIX] (ENODATA): Likewise.
14578 [POSIX] (ENOLINK): Likewise.
14579 [POSIX] (ENOMSG): Likewise.
14580 [POSIX] (ENOPROTOOPT): Likewise.
14581 [POSIX] (ENOSR): Likewise.
14582 [POSIX] (ENOSTR): Likewise.
14583 [POSIX] (ENOTCONN): Likewise.
14584 [POSIX] (ENOTSOCK): Likewise.
14585 [POSIX] (EOPNOTSUPP): Likewise.
14586 [POSIX] (EOVERFLOW): Likewise.
14587 [POSIX] (EPROTO): Likewise.
14588 [POSIX] (EPROTONOSUPPORT): Likewise.
14589 [POSIX] (EPROTOTYPE): Likewise.
14590 [POSIX] (ESTALE): Likewise.
14591 [POSIX] (ETIME): Likewise.
14592 [POSIX] (ETXTBSY): Likewise.
14593 [POSIX] (EWOULDBLOCK): Likewise.
14594 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14595 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14596 [POSIX] (SEEK_CUR): Likewise.
14597 [POSIX] (SEEK_END): Likewise.
14598 [POSIX || UNIX98] (mode_t): Do not require.
14599 [POSIX] (off_t): Likewise.
14600 [POSIX] (pid_t): Likewise.
14601 [POSIX] (sys/stat.h): Do not allow header.
14602 [POSIX] (unistd.h): Likewise.
14603 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14604 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14605 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14606 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14607 require.
14608 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14609 sigevent): Specify elements.
14610 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14611 entry.
14612 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14613 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14614
a483863f
JM
14615 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14616 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14617 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14618 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14619 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14620 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14621 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14622 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14623 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14624 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14625 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14626 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14627 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14628 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14629 Likewise.
14630 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14631 Likewise.
14632 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14633 Likewise.
14634 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14635 Likewise.
14636 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14637 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14638 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14639 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14640 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14641 Specify lower bound on value.
14642 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14643 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14644 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14645 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14646 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14647 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14648 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14649 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14650 value.
14651 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14652 as optional.
14653 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14654 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14655 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14656 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14657 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14658 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14659 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14660 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14661 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14662 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14663 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14664 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14665 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14666 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14667 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14668 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14669 entry.
14670 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14671 optional.
14672 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14673 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14674 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14675 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14676 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14677 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14678 Likewise.
14679 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14680 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14681 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14682 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14683 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14684 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14685 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14686 as optional.
14687 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14688 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14689 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14690 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14691 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14692 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14693 specify as optional.
14694 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14695 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14696 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14697 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14698 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14699 [XPG3] (NL_LANGMAX): Likewise.
14700 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14701 [POSIX || XPG3] (NL_NMAX): Likewise.
14702 [POSIX || XPG3] (NL_SETMAX): Likewise.
14703 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14704 [XPG3] (NZERO): Likewise.
14705 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14706 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14707 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14708 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14709 (REG_ERANGE): Expect.
14710 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14711 optional-constant.
14712 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14713 Use (void) in prototype.
14714 [POSIX] (*_t): Allow.
14715 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14716 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14717 (WRDE_BADVAL): Expect.
14718
5ba924e3
JM
14719 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14720 expect.
14721 [XPG3 || XPG4] (O_RSYNC): Likewise.
14722 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14723 Likewise.
14724 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14725 [XPG3 || XPG4] (sigqueue): Likewise.
14726 [XPG3 || XPG4] (sigtimedwait): Likewise.
14727 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14728 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14729 [XPG3 || XPG4] (vsnprintf): Likewise.
14730 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14731 Likewise.
14732 [XPG3 || XPG4] (blksize_t): Likewise.
14733 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14734 Likewise.
14735 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14736 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14737 [XPG3 || XPG4] (struct itimerspec): Likewise.
14738 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14739 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14740 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14741 [XPG3 || XPG4] (clockid_t): Likewise.
14742 [XPG3 || XPG4] (timer_t): Likewise.
14743 [XPG3 || XPG4] (clock_getres): Likewise.
14744 [XPG3 || XPG4] (clock_gettime): Likewise.
14745 [XPG3 || XPG4] (clock_settime): Likewise.
14746 [XPG3 || XPG4] (nanosleep): Likewise.
14747 [XPG3 || XPG4] (timer_create): Likewise.
14748 [XPG3 || XPG4] (timer_delete): Likewise.
14749 [XPG3 || XPG4] (timer_gettime): Likewise.
14750 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14751 [XPG3 || XPG4] (timer_settime): Likewise.
14752 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14753 [XPG3 || XPG4] (getlogin_r): Likewise.
14754 [XPG3 || XPG4] (pread): Likewise.
14755 [XPG3 || XPG4] (pthread_atfork): Likewise.
14756 [XPG3 || XPG4] (pwrite): Likewise.
14757
ee663277
JM
14758 [BZ #14835]
14759 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14760 <bits/siginfo.h>.
14761
942caa16
PT
147622012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14763
e19af380
PT
14764 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14765 finalizing MALLSTREAM.
14766
942caa16
PT
14767 * sysdeps/mach/hurd/syncfs.c: New file.
14768
cfde9b46
SP
147692012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14770
14771 [BZ #14719]
14772 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14773 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14774 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14775 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14776 (_nss_dns_gethostbyname4_r): Likewise.
14777 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14778 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14779
f6da27e5
PH
147802012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14781
14782 [BZ #13763]
14783 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14784
6665d4a2
SM
147852012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14786
1f51ee92
SM
14787 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14788 * elf/cache.c (print_entry): Print ",AArch64" for
14789 FLAG_AARCH64_LIB64
14790
6665d4a2
SM
14791 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14792 * elf/cache.c (print_entry): Print ",hard-float" for
14793 FLAG_ARM_LIBHF.
14794
05b227bd
DM
147952012-11-18 David S. Miller <davem@davemloft.net>
14796
14797 With help from Joseph Myers.
14798 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14799 cutoff to 2**-13.
14800 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14801 cutoff to 2**-25.
14802 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14803 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14804 small.
14805 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14806 * math/libm-test.inc (y0_test): New tests.
14807 (y1_test): New tests.
14808 * sysdeps/i386/fpu/libm-test-ulps: Update.
14809 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14811
786b0b67
AS
148122012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14813
14814 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14815 64-bit targets.
14816 * configure: Regenerated.
14817
8e18b86d
DM
148182012-11-17 David S. Miller <davem@davemloft.net>
14819
14820 [BZ #14811]
14821 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14822 nonzero exponents with absolute value below 0x1p-128 to +/-
14823 0x1p-128.
14824
531f1ae0
JM
148252012-11-17 Joseph Myers <joseph@codesourcery.com>
14826
12df29e2
JM
14827 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14828
150dc1a0
JM
14829 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14830
531f1ae0
JM
14831 * posix/getconf-speclist.c: New file.
14832 * posix/posix-envs.def: Likewise.
14833 * posix/confstr.c (START_ENV_GROUP): New macro.
14834 (END_ENV_GROUP): Likewise.
14835 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14836 (KNOWN_PRESENT_ENV_STRING): Likewise.
14837 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14838 (UNKNOWN_ENVIRONMENT): Likewise.
14839 (confstr): Include posix-envs.def instead of handling
14840 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14841 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14842 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14843 (END_ENV_GROUP): Likewise.
14844 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14845 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14846 (UNKNOWN_ENVIRONMENT): Likewise.
14847 (__sysconf): Include posix-envs.def instead of handling associated
14848 cases directly here.
14849 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14850 preprocessing getconf-speclist.c rather than running getconf or
14851 generating empty file.
14852
a93f9cbc
PT
148532012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14854
14855 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14856
d64d9f87
AL
148572012-11-16 Andrej Lajovic <natrij@gmail.com>
14858
14859 [BZ #14672]
14860 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14861
447885eb
DM
148622012-11-16 David S. Miller <davem@davemloft.net>
14863
14864 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14865 smaller than LDBL_EPSILON/2.0L, just return xm1.
14866
bcbf9830
L
148672012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14868
14869 * elf/tst-array1.c (init): Set constructor priority to 1000.
14870 (fini): Set destructor priority to 1000.
14871 * elf/tst-array2dep.c: Likewise.
14872
2b766585
SP
148732012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14874
14875 [BZ #11741]
14876 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14877 (_IO_new_file_xsputn): Also return EOF if none of the input
14878 data was written when overflow failed.
14879 * libio/iopadn.c (_IO_padn): Likewise.
14880 * libio/iowpadn.c (_IO_wpadn): Likewise.
14881 * stdio-common/tst-put-error.c: Add copyright notice.
14882 (do_test): Add case for printing padded string.
14883 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14884 _IO_padn returned error.
14885 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14886 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14887 return EOF.
14888
b1848fde
SP
148892012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14890
14891 * libio/libioP.h: Add comment note that the references to C++
14892 bits are now obsolete.
14893
2fd89785
MS
148942012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14895
14896 * math/libm-test.inc (check_complex): Use asprintf.
14897
e3ea5409
JM
148982012-11-14 Joseph Myers <joseph@codesourcery.com>
14899
14900 * debug/pcprofiledump.c (print_version): Update copyright year.
14901 * malloc/memusagestat.c (print_version): Likewise.
14902
2e64d265
L
149032012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14904
14905 [BZ #14831]
14906 * elf/Makefile (tests): Add tst-audit8.
14907 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14908 ($(objpfx)tst-audit8.out): New target.
14909 (tst-audit8-ENV): New variable.
14910 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14911 audit if l_reloc_result is NULL.
14912 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14913 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14914 * elf/tst-audit8.c: New file.
14915
c485e4d2
MS
149162012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14917
14918 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14919 * misc/Makefile (CFLAGS-select.c): Define.
14920 * posix/Makefile (CFLAGS-pause.c): Define.
14921
3a0d900a
DM
149222012-11-13 David S. Miller <davem@davemloft.net>
14923
14924 * crypt/Makefile: Move test targets after toplevel Rules
14925 inclusion. Grab any necessary sysdep routines when linking.
14926 * crypt/md5.c (md5_process_block): Remove define, we will always
14927 name it __md5_process_block.
14928 (md5_finish_ctx): Update md5_process_block call.
14929 (md5_stream): Likewise.
14930 (md5_process_bytes): Likewise.
14931 (md5_process_block): Rename to __md5_process_block and move to ...
14932 * crypt/md5-block.c: ... here.
14933 * crypt/sha256.c (sha256_process_block): Move to ...
14934 * crypt/sha256-block.c: ... here.
14935 * crypt/sha512.c (sha512_process_block): Move to ...
14936 * crypt/sha512-block.c: ... here.
14937 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14938 path.
14939 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14940 * sysdeps/sparc/sparc64/multiarch/Makefile
14941 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14942 crypt subdir.
14943 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14944 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14945 multiarch changes.
14946 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14947 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14948 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14949 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14950 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14951 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14952 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14953 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14954 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14955 file.
14956 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14957 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14958 file.
14959 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14960
8ca89318
JM
149612012-11-13 Joseph Myers <joseph@codesourcery.com>
14962
e27d476a
JM
14963 * timezone/tzselect.ksh: Update from tzcode git revision
14964 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14965 * timezone/zdump.c: Likewise.
14966 * timezone/zic.c: Likewise.
14967 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14968 in TZVERSION setting, not $(PKGVERSION).
14969 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14970 REPORT_BUGS_TO settings.
14971
8ca89318
JM
14972 [BZ #14838]
14973 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14974 macro.
14975
47594329
MS
149762012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14977
14978 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14979 detection to immediately after _FP_ROUND().
14980 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14981 bits are 0.
14982
640ac3f1
DM
149832012-11-11 David S. Miller <davem@davemloft.net>
14984
14985 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14986 inttypes.h
14987 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14988 __close rather than their public counterparts.
14989
3d2577bb
JM
149902012-11-10 Joseph Myers <joseph@codesourcery.com>
14991
14992 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14993 file.
14994 [UNIX98] (sem_timedwait): Do not expect.
14995 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14996 [XPG4 || UNIX98] (sockatmark): Do not expect.
14997 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14998 (clock_getcpuclockid): Do not expect.
14999 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15000 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15001 Do not expect.
15002 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15003 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15004 [UNIX98] (vwscanf): Likewise.
15005 [UNIX98] (vswscanf): Likewise.
15006
fb1ae1ee
JM
150072012-11-09 Joseph Myers <joseph@codesourcery.com>
15008
9ec6f8bd
JM
15009 * timezone/version.h: Remove file.
15010 * timezone/README: Do not refer to version.h.
15011 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15012 $(objpfx)version.h.
15013 ($(objpfx)zdump.o): Likewise.
c3f81911 15014 ($(objpfx)version.h): New target.
9ec6f8bd 15015
0aa8f8a1
JM
15016 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15017 2012i.
15018 * timezone/README: Don't mention modification to tzselect.ksh.
15019 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15020 work on unmodified tzselect.ksh. Substitute version numbers in
15021 tzselect.ksh.
15022
4e87147f
JM
15023 * Makefile (format-me): Remove.
15024 (INSTALL): Adjust indentation. Use commands directly instead of
15025 using $(format-me).
15026
8b748aed
JM
15027 * aclocal.m4 (ACX_PKGVERSION): New macro.
15028 (ACX_BUGURL): Likewise.
15029 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15030 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15031 (REPORT_BUGS_TO): Likewise.
15032 * configure: Regenerated.
15033 * config.h.in (PKGVERSION): New macro.
15034 (REPORT_BUGS_TO): Likewise.
15035 * config.make.in (PKGVERSION): New variable.
15036 (PKGVERSION_TEXI): Likewise.
15037 (REPORT_BUGS_TO): Likewise.
15038 (REPORT_BUGS_TEXI): Likewise.
15039 * Makefile (format-me): Use -I$(common-objpfx)manual.
15040 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15041 ($(common-objpfx)manual/%): New target.
15042 (manual/%): Remove target.
15043 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15044 (print_version): Use PKGVERSION.
15045 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15046 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15047 and REPORT_BUGS_TO.
15048 ($(objpfx)xtrace): Likewise.
15049 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15050 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15051 (print_version): Use PKGVERSION.
15052 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15053 (do_version): Use PKGVERSION.
15054 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15055 REPORT_BUGS_TO.
15056 (common-ldd-rewrite): Likewise.
15057 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15058 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15059 (print_version): Use PKGVERSION.
15060 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15061 * elf/pldd.c (argp_program_bug_address): Remove variable.
15062 (more_help): New function.
15063 (argp): Use more_help.
15064 (print_version): Use PKGVERSION.
15065 * elf/sln.c (main): Use PKGVERSION.
15066 (usage): Use REPORT_BUGS_TO.
15067 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15068 (top level): Use PKGVERSION.
15069 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15070 (print_version): Use PKGVERSION.
15071 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15072 (print_version): Use PKGVERSION.
15073 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15074 (print_version): Use PKGVERSION.
15075 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15076 (print_version): Use PKGVERSION.
15077 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15078 (print_version): Use PKGVERSION.
15079 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15080 (print_version): Use PKGVERSION.
15081 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15082 and BUGURL.
15083 ($(objpfx)memusage): Likewise.
15084 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15085 (do_version): Use PKGVERSION.
15086 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15087 (print_version): Use PKGVERSION.
15088 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15089 ($PKGVERSION): New variable.
15090 ($REPORT_BUGS_TO): Likewise.
15091 (usage): Use $REPORT_BUGS_TO.
15092 (top level): Use $PKGVERSION.
15093 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15094 ($(objpfx)pkgvers.texi): New rule.
15095 ($(objpfx)stamp-pkgvers): Likewise.
15096 * manual/install.texi: Include pkgvers.texi.
15097 (--with-pkgversion): Document new configure option.
15098 (--with-bugurl): Likewise.
15099 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15100 than necessarily for this particular distribution. Use
15101 REPORT_BUGS_TO for where to report bugs.
15102 * INSTALL: Regenerated.
15103 * manual/libc.texinfo: Include pkgvers.texi.
15104 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15105 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15106 (print_version): Use PKGVERSION.
15107 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15108 (print_version): Use PKGVERSION.
15109 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15110 (print_version): Use PKGVERSION.
15111 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15112 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15113 macro.
15114 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15115 (print_version): Use PKGVERSION.
15116 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15117 (print_version): Use PKGVERSION.
15118 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15119 and PKGVERSION.
15120
92e4b6a9
JM
15121 * timezone/checktab.awk: Update from tzcode 2012i.
15122 * timezone/ialloc.c: Likewise.
15123 * timezone/private.h: Likewise.
15124 * timezone/scheck.c: Likewise.
15125 * timezone/tzfile.h: Likewise.
15126 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15127 (TZVERSION): Hardcode tzcode version number.
15128 * timezone/zdump.c: Update from tzcode 2012i.
15129 * timezone/zic.c: Likewise.
15130 * timezone/version.h: New file.
15131 * timezone/README: Describe version.h. Update upstream location.
15132
9bde902c
JM
15133 [BZ #14824]
15134 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15135 (mktemp): Enable declaration.
15136 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15137 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15138 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15139 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15140 Likewise.
15141 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15142 Likewise.
15143 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15144 Likewise.
15145 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15146 Likewise.
15147 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15148 Likewise.
15149 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15150 Likewise.
15151
fb1ae1ee
JM
15152 [BZ #14821]
15153 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15154 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15155 for copies of such integer values.
15156 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15157 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15158
2c1adbcb
AJ
151592012-11-09 Andreas Jaeger <aj@suse.de>
15160
15161 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15162 definitions and declarations that are provided by
15163 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15164
d0f8457e
AK
151652012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15166
3a235abb 15167 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
15168 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15169 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15170 definition.
15171
57241e26
MS
151722012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15173
15174 * elf/elf.h: Update comment before AArch64 relocations.
15175
60e8270d
DM
151762012-11-07 David S. Miller <davem@davemloft.net>
15177
15178 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15179 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15180 (__start_context): Declare.
15181 (__makecontext_ret): Delete.
15182 (__makecontext): Hook up __start_context instead of
15183 __makecontext_ret.
15184 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15185 (sysdep_routines): Add __start_context when in stdlib.
15186
0fbb0fbc
JM
151872012-11-07 Joseph Myers <joseph@codesourcery.com>
15188
15189 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15190 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15191 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15192 hardcoded "nm".
15193 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15194 (READELF): New variable. Use it instead of hardcoded "readelf".
15195
eb48db7e
L
151962012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15197
15198 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15199 * sysdeps/x86/Makefile: Here.
15200 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15201 * sysdeps/x86/tst-xmmymm.sh: This.
15202
05bcf62a
JM
152032012-11-07 Joseph Myers <joseph@codesourcery.com>
15204
c4b6cf53
JM
15205 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15206 expectations.
15207 [UNIX98] (pthread_barrier_t): Do not expect.
15208 [UNIX98] (pthread_barrierattr_t): Likewise.
15209 [UNIX98] (pthread_spinlock_t): Likewise.
15210 [UNIX98] (pthread_barrier_destroy): Likewise.
15211 [UNIX98] (pthread_barrier_init): Likewise.
15212 [UNIX98] (pthread_barrier_wait): Likewise.
15213 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15214 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15215 [UNIX98] (pthread_barrierattr_init): Likewise.
15216 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15217 [UNIX98] (pthread_getcpuclockid): Likewise.
15218 [UNIX98] (pthread_mutex_timedlock): Likewise.
15219 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15220 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15221 [UNIX98] (pthread_sigmask): Likewise.
15222 [UNIX98] (pthread_spin_destroy): Likewise.
15223 [UNIX98] (pthread_spin_init): Likewise.
15224 [UNIX98] (pthread_spin_lock): Likewise.
15225 [UNIX98] (pthread_spin_trylock): Likewise.
15226 [UNIX98] (pthread_spin_unlock): Likewise.
15227 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15228 Do not expect.
15229 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15230 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15231 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15232 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15233 [XPG3 || XPG4] (pthread_key_t): Likewise.
15234 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15235 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15236 [XPG3 || XPG4] (pthread_once_t): Likewise.
15237 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15238 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15239 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15240 [XPG3 || XPG4] (pthread_t): Likewise.
15241
cbe6e120
JM
15242 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15243 not expect.
15244 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15245
1b126443
JM
15246 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15247 Change function return type to int.
15248
b961a573
JM
15249 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15250 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15251 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15252 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15253 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15254 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15255 [!POSIX] (posix_madvise): Likewise.
15256 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15257 && !UNIX98].
15258 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15259 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15260 (mode_t): Likewise.
15261 (posix_mem_offset): Likewise.
15262 (posix_typed_mem_get_info): Likewise.
15263 (posix_typed_mem_open): Likewise.
15264
9e188909
JM
15265 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15266 Change condition to [XOPEN2K8].
15267
05bcf62a
JM
15268 * conform/conformtest.pl: Preprocess allow-header data with -x c
15269 instead of from stdin.
15270 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15271 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15272 [C99-based standards] (cerfc): Likewise.
15273 [C99-based standards] (cexp2): Likewise.
15274 [C99-based standards] (cexpm1): Likewise.
15275 [C99-based standards] (clog10): Likewise.
15276 [C99-based standards] (clog1p): Likewise.
15277 [C99-based standards] (clog2): Likewise.
15278 [C99-based standards] (clgamma): Likewise.
15279 [C99-based standards] (ctgamma): Likewise.
15280 [C99-based standards] (cerff): Likewise.
15281 [C99-based standards] (cerfcf): Likewise.
15282 [C99-based standards] (cexp2f): Likewise.
15283 [C99-based standards] (cexpm1f): Likewise.
15284 [C99-based standards] (clog10f): Likewise.
15285 [C99-based standards] (clog1pf): Likewise.
15286 [C99-based standards] (clog2f): Likewise.
15287 [C99-based standards] (clgammaf): Likewise.
15288 [C99-based standards] (ctgammaf): Likewise.
15289 [C99-based standards] (cerfl): Likewise.
15290 [C99-based standards] (cerfcl): Likewise.
15291 [C99-based standards] (cexp2l): Likewise.
15292 [C99-based standards] (cexpm1l): Likewise.
15293 [C99-based standards] (clog10l): Likewise.
15294 [C99-based standards] (clog1pl): Likewise.
15295 [C99-based standards] (clog2l): Likewise.
15296 [C99-based standards] (clgammal): Likewise.
15297 [C99-based standards] (ctgammal): Likewise.
15298 * conform/data/inttypes.h-data [C99-based standards]: Include
15299 stdint.h-data. Remove all expectations for stdint.h contents.
15300 [C99-based standards] (PRI*): Do not allow.
15301 [C99-based standards] (SCN*): Likewise.
15302 [C99-based standards] (*_t): Likewise.
15303 [C99-based-standards] (PRId8): Expect macro.
15304 [C99-based-standards] (PRIi8): Likewise.
15305 [C99-based-standards] (PRIo8): Likewise.
15306 [C99-based-standards] (PRIu8): Likewise.
15307 [C99-based-standards] (PRIx8): Likewise.
15308 [C99-based-standards] (PRIX8): Likewise.
15309 [C99-based-standards] (SCNd8): Likewise.
15310 [C99-based-standards] (SCNi8): Likewise.
15311 [C99-based-standards] (SCNo8): Likewise.
15312 [C99-based-standards] (SCNu8): Likewise.
15313 [C99-based-standards] (SCNx8): Likewise.
15314 [C99-based-standards] (PRIdLEAST8): Likewise.
15315 [C99-based-standards] (PRIiLEAST8): Likewise.
15316 [C99-based-standards] (PRIoLEAST8): Likewise.
15317 [C99-based-standards] (PRIuLEAST8): Likewise.
15318 [C99-based-standards] (PRIxLEAST8): Likewise.
15319 [C99-based-standards] (PRIXLEAST8): Likewise.
15320 [C99-based-standards] (SCNdLEAST8): Likewise.
15321 [C99-based-standards] (SCNiLEAST8): Likewise.
15322 [C99-based-standards] (SCNoLEAST8): Likewise.
15323 [C99-based-standards] (SCNuLEAST8): Likewise.
15324 [C99-based-standards] (SCNxLEAST8): Likewise.
15325 [C99-based-standards] (PRIdFAST8): Likewise.
15326 [C99-based-standards] (PRIiFAST8): Likewise.
15327 [C99-based-standards] (PRIoFAST8): Likewise.
15328 [C99-based-standards] (PRIuFAST8): Likewise.
15329 [C99-based-standards] (PRIxFAST8): Likewise.
15330 [C99-based-standards] (PRIXFAST8): Likewise.
15331 [C99-based-standards] (SCNdFAST8): Likewise.
15332 [C99-based-standards] (SCNiFAST8): Likewise.
15333 [C99-based-standards] (SCNoFAST8): Likewise.
15334 [C99-based-standards] (SCNuFAST8): Likewise.
15335 [C99-based-standards] (SCNxFAST8): Likewise.
15336 [C99-based-standards] (PRId16): Likewise.
15337 [C99-based-standards] (PRIi16): Likewise.
15338 [C99-based-standards] (PRIo16): Likewise.
15339 [C99-based-standards] (PRIu16): Likewise.
15340 [C99-based-standards] (PRIx16): Likewise.
15341 [C99-based-standards] (PRIX16): Likewise.
15342 [C99-based-standards] (SCNd16): Likewise.
15343 [C99-based-standards] (SCNi16): Likewise.
15344 [C99-based-standards] (SCNo16): Likewise.
15345 [C99-based-standards] (SCNu16): Likewise.
15346 [C99-based-standards] (SCNx16): Likewise.
15347 [C99-based-standards] (PRIdLEAST16): Likewise.
15348 [C99-based-standards] (PRIiLEAST16): Likewise.
15349 [C99-based-standards] (PRIoLEAST16): Likewise.
15350 [C99-based-standards] (PRIuLEAST16): Likewise.
15351 [C99-based-standards] (PRIxLEAST16): Likewise.
15352 [C99-based-standards] (PRIXLEAST16): Likewise.
15353 [C99-based-standards] (SCNdLEAST16): Likewise.
15354 [C99-based-standards] (SCNiLEAST16): Likewise.
15355 [C99-based-standards] (SCNoLEAST16): Likewise.
15356 [C99-based-standards] (SCNuLEAST16): Likewise.
15357 [C99-based-standards] (SCNxLEAST16): Likewise.
15358 [C99-based-standards] (PRIdFAST16): Likewise.
15359 [C99-based-standards] (PRIiFAST16): Likewise.
15360 [C99-based-standards] (PRIoFAST16): Likewise.
15361 [C99-based-standards] (PRIuFAST16): Likewise.
15362 [C99-based-standards] (PRIxFAST16): Likewise.
15363 [C99-based-standards] (PRIXFAST16): Likewise.
15364 [C99-based-standards] (SCNdFAST16): Likewise.
15365 [C99-based-standards] (SCNiFAST16): Likewise.
15366 [C99-based-standards] (SCNoFAST16): Likewise.
15367 [C99-based-standards] (SCNuFAST16): Likewise.
15368 [C99-based-standards] (SCNxFAST16): Likewise.
15369 [C99-based-standards] (PRId32): Likewise.
15370 [C99-based-standards] (PRIi32): Likewise.
15371 [C99-based-standards] (PRIo32): Likewise.
15372 [C99-based-standards] (PRIu32): Likewise.
15373 [C99-based-standards] (PRIx32): Likewise.
15374 [C99-based-standards] (PRIX32): Likewise.
15375 [C99-based-standards] (SCNd32): Likewise.
15376 [C99-based-standards] (SCNi32): Likewise.
15377 [C99-based-standards] (SCNo32): Likewise.
15378 [C99-based-standards] (SCNu32): Likewise.
15379 [C99-based-standards] (SCNx32): Likewise.
15380 [C99-based-standards] (PRIdLEAST32): Likewise.
15381 [C99-based-standards] (PRIiLEAST32): Likewise.
15382 [C99-based-standards] (PRIoLEAST32): Likewise.
15383 [C99-based-standards] (PRIuLEAST32): Likewise.
15384 [C99-based-standards] (PRIxLEAST32): Likewise.
15385 [C99-based-standards] (PRIXLEAST32): Likewise.
15386 [C99-based-standards] (SCNdLEAST32): Likewise.
15387 [C99-based-standards] (SCNiLEAST32): Likewise.
15388 [C99-based-standards] (SCNoLEAST32): Likewise.
15389 [C99-based-standards] (SCNuLEAST32): Likewise.
15390 [C99-based-standards] (SCNxLEAST32): Likewise.
15391 [C99-based-standards] (PRIdFAST32): Likewise.
15392 [C99-based-standards] (PRIiFAST32): Likewise.
15393 [C99-based-standards] (PRIoFAST32): Likewise.
15394 [C99-based-standards] (PRIuFAST32): Likewise.
15395 [C99-based-standards] (PRIxFAST32): Likewise.
15396 [C99-based-standards] (PRIXFAST32): Likewise.
15397 [C99-based-standards] (SCNdFAST32): Likewise.
15398 [C99-based-standards] (SCNiFAST32): Likewise.
15399 [C99-based-standards] (SCNoFAST32): Likewise.
15400 [C99-based-standards] (SCNuFAST32): Likewise.
15401 [C99-based-standards] (SCNxFAST32): Likewise.
15402 [C99-based-standards] (PRId64): Likewise.
15403 [C99-based-standards] (PRIi64): Likewise.
15404 [C99-based-standards] (PRIo64): Likewise.
15405 [C99-based-standards] (PRIu64): Likewise.
15406 [C99-based-standards] (PRIx64): Likewise.
15407 [C99-based-standards] (PRIX64): Likewise.
15408 [C99-based-standards] (SCNd64): Likewise.
15409 [C99-based-standards] (SCNi64): Likewise.
15410 [C99-based-standards] (SCNo64): Likewise.
15411 [C99-based-standards] (SCNu64): Likewise.
15412 [C99-based-standards] (SCNx64): Likewise.
15413 [C99-based-standards] (PRIdLEAST64): Likewise.
15414 [C99-based-standards] (PRIiLEAST64): Likewise.
15415 [C99-based-standards] (PRIoLEAST64): Likewise.
15416 [C99-based-standards] (PRIuLEAST64): Likewise.
15417 [C99-based-standards] (PRIxLEAST64): Likewise.
15418 [C99-based-standards] (PRIXLEAST64): Likewise.
15419 [C99-based-standards] (SCNdLEAST64): Likewise.
15420 [C99-based-standards] (SCNiLEAST64): Likewise.
15421 [C99-based-standards] (SCNoLEAST64): Likewise.
15422 [C99-based-standards] (SCNuLEAST64): Likewise.
15423 [C99-based-standards] (SCNxLEAST64): Likewise.
15424 [C99-based-standards] (PRIdFAST64): Likewise.
15425 [C99-based-standards] (PRIiFAST64): Likewise.
15426 [C99-based-standards] (PRIoFAST64): Likewise.
15427 [C99-based-standards] (PRIuFAST64): Likewise.
15428 [C99-based-standards] (PRIxFAST64): Likewise.
15429 [C99-based-standards] (PRIXFAST64): Likewise.
15430 [C99-based-standards] (SCNdFAST64): Likewise.
15431 [C99-based-standards] (SCNiFAST64): Likewise.
15432 [C99-based-standards] (SCNoFAST64): Likewise.
15433 [C99-based-standards] (SCNuFAST64): Likewise.
15434 [C99-based-standards] (SCNxFAST64): Likewise.
15435 [C99-based-standards] (PRIdMAX): Likewise.
15436 [C99-based-standards] (PRIiMAX): Likewise.
15437 [C99-based-standards] (PRIoMAX): Likewise.
15438 [C99-based-standards] (PRIuMAX): Likewise.
15439 [C99-based-standards] (PRIxMAX): Likewise.
15440 [C99-based-standards] (PRIXMAX): Likewise.
15441 [C99-based-standards] (SCNdMAX): Likewise.
15442 [C99-based-standards] (SCNiMAX): Likewise.
15443 [C99-based-standards] (SCNoMAX): Likewise.
15444 [C99-based-standards] (SCNuMAX): Likewise.
15445 [C99-based-standards] (SCNxMAX): Likewise.
15446 [C99-based-standards] (PRIdPTR): Likewise.
15447 [C99-based-standards] (PRIiPTR): Likewise.
15448 [C99-based-standards] (PRIoPTR): Likewise.
15449 [C99-based-standards] (PRIuPTR): Likewise.
15450 [C99-based-standards] (PRIxPTR): Likewise.
15451 [C99-based-standards] (PRIXPTR): Likewise.
15452 [C99-based-standards] (SCNdPTR): Likewise.
15453 [C99-based-standards] (SCNiPTR): Likewise.
15454 [C99-based-standards] (SCNoPTR): Likewise.
15455 [C99-based-standards] (SCNuPTR): Likewise.
15456 [C99-based-standards] (SCNxPTR): Likewise.
15457 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15458 allow.
15459 * conform/data/stdint.h-data: Update comments to clarify
15460 requirements.
15461 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15462 type.
15463 [C99-based standards] (INT8_MAX): Likewise.
15464 [C99-based standards] (INT16_MIN): Likewise.
15465 [C99-based standards] (INT16_MAX): Likewise.
15466 [C99-based standards] (INT32_MIN): Likewise.
15467 [C99-based standards] (INT32_MAX): Likewise.
15468 [C99-based standards] (INT64_MIN): Likewise.
15469 [C99-based standards] (INT64_MAX): Likewise.
15470 [C99-based standards] (UINT8_MAX): Likewise.
15471 [C99-based standards] (UINT16_MAX): Likewise.
15472 [C99-based standards] (UINT32_MAX): Likewise.
15473 [C99-based standards] (UINT64_MAX): Likewise.
15474 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15475 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15476 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15477 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15478 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15479 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15480 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15481 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15482 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15483 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15484 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15485 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15486 [C99-based standards] (INT_FAST8_MIN): Likewise.
15487 [C99-based standards] (INT_FAST8_MAX): Likewise.
15488 [C99-based standards] (INT_FAST16_MIN): Likewise.
15489 [C99-based standards] (INT_FAST16_MAX): Likewise.
15490 [C99-based standards] (INT_FAST32_MIN): Likewise.
15491 [C99-based standards] (INT_FAST32_MAX): Likewise.
15492 [C99-based standards] (INT_FAST64_MIN): Likewise.
15493 [C99-based standards] (INT_FAST64_MAX): Likewise.
15494 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15495 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15496 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15497 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15498 [C99-based standards] (INTPTR_MIN): Likewise.
15499 [C99-based standards] (INTPTR_MAX): Likewise.
15500 [C99-based standards] (UINTPTR_MAX): Likewise.
15501 [C99-based standards] (INTMAX_MIN): Likewise.
15502 [C99-based standards] (INTMAX_MAX): Likewise.
15503 [C99-based standards] (UINTMAX_MAX): Likewise.
15504 [C99-based standards] (PTRDIFF_MIN): Likewise.
15505 [C99-based standards] (PTRDIFF_MAX): Likewise.
15506 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15507 [C99-based standards] (SIZE_MAX): Likewise.
15508 [C99-based standards] (WCHAR_MAX): Likewise.
15509 [C99-based standards] (WINT_MAX): Likewise.
15510 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15511 constraint on value.
15512 [C99-based standards] (WCHAR_MIN): Likewise.
15513 [C99-based standards] (WINT_MIN): Likewise.
15514 [C99-based standards] (*_t): Allow.
15515 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15516 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15517 Include math.h-data and complex.h-data. Remove all expectations
15518 of math.h and complex.h contents.
15519 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15520 at end of line.
15521 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15522 (struct tm): Expect tag.
15523 [C99-based-standards] (wcstof): Expect function.
15524 [C99-based-standards] (wcstold): Likewise.
15525 [C99-based-standards] (wcstoll): Likewise.
15526 [C99-based-standards] (wcstoull): Likewise.
15527 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15528 macro-int-constant. Specify type.
15529 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15530 constraint on value.
15531 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15532 Specify type.
15533 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15534 Specify value.
15535 [ISO C standards]: Do not allow headers.
15536 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15537 wcs[abcdefghijklmnopqrstuvwxyz]*.
15538 [ISO C standards] (*_t): Do not allow.
15539 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15540 Expect function.
15541 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15542 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15543 Specify type.
15544 [ISO C standards]: Do not allow headers.
15545 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15546 is[abcdefghijklmnopqrstuvwxyz]*.
15547 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15548 to[abcdefghijklmnopqrstuvwxyz]*.
15549 [ISO C standards] (*_t): Do not allow.
15550 * conform/data/stdalign.h-data: New file.
15551 * conform/data/stdbool.h-data: Likewise.
15552 * conform/data/stdnoreturn.h-data: Likewise.
15553
7514feb8
RM
155542012-11-07 Roland McGrath <roland@hack.frob.com>
15555
15556 [BZ #14815]
15557 * manual/filesys.texi (Directory Entries): Typo fix.
15558 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15559
19b2ecfc
MS
155602012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15561
15562 * elf/elf.h (EM_AARCH64): New macro.
15563 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15564 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15565 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15566 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15567 (R_AARCH64_TLSDESC): Likewise.
15568 (NT_ARM_TLS): Likewise.
15569 (NT_ARM_HW_BREAK): Likewise.
15570 (NT_ARM_HW_WATCH): Likewise.
15571
60e235ee
JM
155722012-11-07 Joseph Myers <joseph@codesourcery.com>
15573
15574 [BZ #14811]
15575 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15576 (__ieee754_powl): Saturate nonzero exponents with absolute value
15577 below 0x1p-79 to +/- 0x1p-79.
15578 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15579 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15580 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15581 nonzero exponents with absolute value below 0x1p-32 to +/-
15582 0x1p-32.
15583 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15584 (__ieee754_powl): Saturate nonzero exponents with absolute value
15585 below 0x1p-79 to +/- 0x1p-79.
15586 * math/libm-test.inc (pow_test): Add more tests.
15587
0ab234b7
AK
155882012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15589
15590 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15591 _dl_s390_cap_flags with kernel. Increase string length.
15592 (_dl_s390_platforms): Add z196 and zEC12.
15593
45832f74
JM
155942012-11-07 Joseph Myers <joseph@codesourcery.com>
15595
15596 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15597 Change XOPEN21K to XOPEN2K.
15598
19218757
MK
155992012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15600
15601 * string/memmove.c: Use memcpy when possible.
15602
c5f45721
AJ
156032012-11-06 Andreas Jaeger <aj@suse.de>
15604
15605 * po/eo.po: Update from translation team.
15606
82477c28
JM
156072012-11-06 Joseph Myers <joseph@codesourcery.com>
15608
15609 [BZ #14793]
15610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15611 exponent and small x and y exponents, scale x or y up. Increase
15612 by 2 the exponent used in scaling up.
15613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15614 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15615 * math/libm-test.inc (fma_test): Add more tests.
15616 (fma_test_towardzero): Likewise.
15617 (fma_test_downward): Likewise.
15618 (fma_test_upward): Likewise.
15619
99252c8c
JM
156202012-11-05 Joseph Myers <joseph@codesourcery.com>
15621
acfa885f
JM
15622 [BZ #14805]
15623 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15624 fenv_t *.
15625
99252c8c
JM
15626 [BZ #14801]
15627 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15628 namespace for names of struct fields.
15629 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15630 fenv_t fields.
15631 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15632 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15633
d6d98dea
ST
156342012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15635
15636 [BZ #3665]
15637 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15638
e10bb107
TS
156392012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15640
15641 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15642 PTR_DEMANGLE.
15643
15644 [BZ #5246]
15645 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15646 PTR_DEMANGLE.
15647
a0c2940d
JM
156482012-11-04 Joseph Myers <joseph@codesourcery.com>
15649
15650 [BZ #14797]
15651 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15652 definitely overflow as x * y not x * y + z.
15653 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15654 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15655 * math/libm-test.inc (fma_test): Add more tests.
15656 (fma_test_towardzero): Likewise.
15657 (fma_test_downward): Likewise.
15658 (fma_test_upward): Likewise.
15659
b830319d
TS
156602012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15661
15662 [BZ #157]
15663
15664 * include/stub-tag.h: Remove file.
15665 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15666 '#include' of it.
15667 * manual/maint.texi (Porting): Don't reference it.
15668 * Makerules ($(objpfx)stubs): Likewise.
15669 * dirent/closedir.c: Don't include <stub-tag.h>.
15670 * dirent/dirfd.c: Likewise.
15671 * dirent/fdopendir.c: Likewise.
15672 * dirent/getdents.c: Likewise.
15673 * dirent/getdents64.c: Likewise.
15674 * dirent/opendir.c: Likewise.
15675 * dirent/readdir.c: Likewise.
15676 * dirent/readdir64.c: Likewise.
15677 * dirent/readdir64_r.c: Likewise.
15678 * dirent/readdir_r.c: Likewise.
15679 * dirent/rewinddir.c: Likewise.
15680 * dirent/seekdir.c: Likewise.
15681 * dirent/telldir.c: Likewise.
15682 * gmon/profil.c: Likewise.
15683 * grp/setgroups.c: Likewise.
15684 * inet/if_index.c: Likewise.
15685 * io/access.c: Likewise.
15686 * io/chdir.c: Likewise.
15687 * io/chmod.c: Likewise.
15688 * io/chown.c: Likewise.
15689 * io/close.c: Likewise.
15690 * io/dup.c: Likewise.
15691 * io/dup2.c: Likewise.
15692 * io/dup3.c: Likewise.
15693 * io/euidaccess.c: Likewise.
15694 * io/faccessat.c: Likewise.
15695 * io/fchdir.c: Likewise.
15696 * io/fchmod.c: Likewise.
15697 * io/fchmodat.c: Likewise.
15698 * io/fchown.c: Likewise.
15699 * io/fchownat.c: Likewise.
15700 * io/fcntl.c: Likewise.
15701 * io/flock.c: Likewise.
15702 * io/fstatfs.c: Likewise.
15703 * io/fstatfs64.c: Likewise.
15704 * io/fstatvfs.c: Likewise.
15705 * io/fstatvfs64.c: Likewise.
15706 * io/futimens.c: Likewise.
15707 * io/fxstat.c: Likewise.
15708 * io/fxstat64.c: Likewise.
15709 * io/fxstatat.c: Likewise.
15710 * io/fxstatat64.c: Likewise.
15711 * io/getcwd.c: Likewise.
15712 * io/isatty.c: Likewise.
15713 * io/lchmod.c: Likewise.
15714 * io/lchown.c: Likewise.
15715 * io/link.c: Likewise.
15716 * io/linkat.c: Likewise.
15717 * io/lseek.c: Likewise.
15718 * io/lseek64.c: Likewise.
15719 * io/lxstat64.c: Likewise.
15720 * io/mkdir.c: Likewise.
15721 * io/mkdirat.c: Likewise.
15722 * io/mkfifo.c: Likewise.
15723 * io/mkfifoat.c: Likewise.
15724 * io/open.c: Likewise.
15725 * io/open64.c: Likewise.
15726 * io/openat.c: Likewise.
15727 * io/openat64.c: Likewise.
15728 * io/pipe.c: Likewise.
15729 * io/pipe2.c: Likewise.
15730 * io/poll.c: Likewise.
15731 * io/posix_fadvise.c: Likewise.
15732 * io/posix_fadvise64.c: Likewise.
15733 * io/posix_fallocate.c: Likewise.
15734 * io/posix_fallocate64.c: Likewise.
15735 * io/read.c: Likewise.
15736 * io/readlink.c: Likewise.
15737 * io/readlinkat.c: Likewise.
15738 * io/rmdir.c: Likewise.
15739 * io/sendfile.c: Likewise.
15740 * io/sendfile64.c: Likewise.
15741 * io/statfs.c: Likewise.
15742 * io/statfs64.c: Likewise.
15743 * io/statvfs.c: Likewise.
15744 * io/statvfs64.c: Likewise.
15745 * io/symlink.c: Likewise.
15746 * io/symlinkat.c: Likewise.
15747 * io/ttyname.c: Likewise.
15748 * io/ttyname_r.c: Likewise.
15749 * io/umask.c: Likewise.
15750 * io/unlink.c: Likewise.
15751 * io/unlinkat.c: Likewise.
15752 * io/utime.c: Likewise.
15753 * io/utimensat.c: Likewise.
15754 * io/write.c: Likewise.
15755 * io/xmknod.c: Likewise.
15756 * io/xmknodat.c: Likewise.
15757 * io/xstat.c: Likewise.
15758 * io/xstat64.c: Likewise.
15759 * login/getpt.c: Likewise.
15760 * login/grantpt.c: Likewise.
15761 * login/unlockpt.c: Likewise.
15762 * math/e_acoshl.c: Likewise.
15763 * math/e_acosl.c: Likewise.
15764 * math/e_asinl.c: Likewise.
15765 * math/e_atan2l.c: Likewise.
15766 * math/e_atanhl.c: Likewise.
15767 * math/e_coshl.c: Likewise.
15768 * math/e_expl.c: Likewise.
15769 * math/e_fmodl.c: Likewise.
15770 * math/e_gammal_r.c: Likewise.
15771 * math/e_hypotl.c: Likewise.
15772 * math/e_j0l.c: Likewise.
15773 * math/e_j1l.c: Likewise.
15774 * math/e_jnl.c: Likewise.
15775 * math/e_lgammal_r.c: Likewise.
15776 * math/e_log10l.c: Likewise.
15777 * math/e_log2l.c: Likewise.
15778 * math/e_logl.c: Likewise.
15779 * math/e_powl.c: Likewise.
15780 * math/e_rem_pio2l.c: Likewise.
15781 * math/e_sinhl.c: Likewise.
15782 * math/e_sqrtl.c: Likewise.
15783 * math/fclrexcpt.c: Likewise.
15784 * math/fedisblxcpt.c: Likewise.
15785 * math/feenablxcpt.c: Likewise.
15786 * math/fegetenv.c: Likewise.
15787 * math/fegetexcept.c: Likewise.
15788 * math/fegetround.c: Likewise.
15789 * math/feholdexcpt.c: Likewise.
15790 * math/fesetenv.c: Likewise.
15791 * math/fesetround.c: Likewise.
15792 * math/feupdateenv.c: Likewise.
15793 * math/fgetexcptflg.c: Likewise.
15794 * math/fraiseexcpt.c: Likewise.
15795 * math/fsetexcptflg.c: Likewise.
15796 * math/ftestexcept.c: Likewise.
15797 * math/k_cosl.c: Likewise.
15798 * math/k_rem_pio2l.c: Likewise.
15799 * math/k_sinl.c: Likewise.
15800 * math/k_tanl.c: Likewise.
15801 * math/s_asinhl.c: Likewise.
15802 * math/s_atanl.c: Likewise.
15803 * math/s_cbrtl.c: Likewise.
15804 * math/s_erfl.c: Likewise.
15805 * math/s_expm1l.c: Likewise.
15806 * math/s_log1pl.c: Likewise.
15807 * math/s_tanhl.c: Likewise.
15808 * misc/acct.c: Likewise.
15809 * misc/brk.c: Likewise.
15810 * misc/chflags.c: Likewise.
15811 * misc/chroot.c: Likewise.
15812 * misc/fchflags.c: Likewise.
15813 * misc/fgetxattr.c: Likewise.
15814 * misc/flistxattr.c: Likewise.
15815 * misc/fremovexattr.c: Likewise.
15816 * misc/fsetxattr.c: Likewise.
15817 * misc/fsync.c: Likewise.
15818 * misc/ftruncate.c: Likewise.
15819 * misc/futimes.c: Likewise.
15820 * misc/futimesat.c: Likewise.
15821 * misc/getdomain.c: Likewise.
15822 * misc/getdtsz.c: Likewise.
15823 * misc/gethostid.c: Likewise.
15824 * misc/gethostname.c: Likewise.
15825 * misc/getloadavg.c: Likewise.
15826 * misc/getpagesize.c: Likewise.
15827 * misc/getsysstats.c: Likewise.
15828 * misc/getxattr.c: Likewise.
15829 * misc/gtty.c: Likewise.
15830 * misc/ioctl.c: Likewise.
15831 * misc/lgetxattr.c: Likewise.
15832 * misc/listxattr.c: Likewise.
15833 * misc/llistxattr.c: Likewise.
15834 * misc/lremovexattr.c: Likewise.
15835 * misc/lsetxattr.c: Likewise.
15836 * misc/lutimes.c: Likewise.
15837 * misc/madvise.c: Likewise.
15838 * misc/mincore.c: Likewise.
15839 * misc/mlock.c: Likewise.
15840 * misc/mlockall.c: Likewise.
15841 * misc/mmap.c: Likewise.
15842 * misc/mprotect.c: Likewise.
15843 * misc/msync.c: Likewise.
15844 * misc/munlock.c: Likewise.
15845 * misc/munlockall.c: Likewise.
15846 * misc/munmap.c: Likewise.
15847 * misc/preadv.c: Likewise.
15848 * misc/preadv64.c: Likewise.
15849 * misc/ptrace.c: Likewise.
15850 * misc/pwritev.c: Likewise.
15851 * misc/pwritev64.c: Likewise.
15852 * misc/readv.c: Likewise.
15853 * misc/reboot.c: Likewise.
15854 * misc/remap_file_pages.c: Likewise.
15855 * misc/removexattr.c: Likewise.
15856 * misc/revoke.c: Likewise.
15857 * misc/select.c: Likewise.
15858 * misc/setdomain.c: Likewise.
15859 * misc/setegid.c: Likewise.
15860 * misc/seteuid.c: Likewise.
15861 * misc/sethostid.c: Likewise.
15862 * misc/sethostname.c: Likewise.
15863 * misc/setregid.c: Likewise.
15864 * misc/setreuid.c: Likewise.
15865 * misc/setxattr.c: Likewise.
15866 * misc/sstk.c: Likewise.
15867 * misc/stty.c: Likewise.
15868 * misc/swapoff.c: Likewise.
15869 * misc/swapon.c: Likewise.
15870 * misc/sync.c: Likewise.
15871 * misc/syncfs.c: Likewise.
15872 * misc/syscall.c: Likewise.
15873 * misc/truncate.c: Likewise.
15874 * misc/ualarm.c: Likewise.
15875 * misc/usleep.c: Likewise.
15876 * misc/ustat.c: Likewise.
15877 * misc/utimes.c: Likewise.
15878 * misc/vhangup.c: Likewise.
15879 * misc/writev.c: Likewise.
15880 * posix/_exit.c: Likewise.
15881 * posix/alarm.c: Likewise.
15882 * posix/execve.c: Likewise.
15883 * posix/fexecve.c: Likewise.
15884 * posix/fork.c: Likewise.
15885 * posix/fpathconf.c: Likewise.
15886 * posix/getaddrinfo.c: Likewise.
15887 * posix/getegid.c: Likewise.
15888 * posix/geteuid.c: Likewise.
15889 * posix/getgid.c: Likewise.
15890 * posix/getgroups.c: Likewise.
15891 * posix/getlogin.c: Likewise.
15892 * posix/getlogin_r.c: Likewise.
15893 * posix/getpgid.c: Likewise.
15894 * posix/getpid.c: Likewise.
15895 * posix/getppid.c: Likewise.
15896 * posix/getresgid.c: Likewise.
15897 * posix/getresuid.c: Likewise.
15898 * posix/getsid.c: Likewise.
15899 * posix/getuid.c: Likewise.
15900 * posix/glob64.c: Likewise.
15901 * posix/nanosleep.c: Likewise.
15902 * posix/pathconf.c: Likewise.
15903 * posix/pause.c: Likewise.
15904 * posix/posix_madvise.c: Likewise.
15905 * posix/pread.c: Likewise.
15906 * posix/pread64.c: Likewise.
15907 * posix/pwrite.c: Likewise.
15908 * posix/pwrite64.c: Likewise.
15909 * posix/sched_getaffinity.c: Likewise.
15910 * posix/sched_getp.c: Likewise.
15911 * posix/sched_gets.c: Likewise.
15912 * posix/sched_primax.c: Likewise.
15913 * posix/sched_primin.c: Likewise.
15914 * posix/sched_rr_gi.c: Likewise.
15915 * posix/sched_setaffinity.c: Likewise.
15916 * posix/sched_setp.c: Likewise.
15917 * posix/sched_sets.c: Likewise.
15918 * posix/sched_yield.c: Likewise.
15919 * posix/setgid.c: Likewise.
15920 * posix/setlogin.c: Likewise.
15921 * posix/setpgid.c: Likewise.
15922 * posix/setresgid.c: Likewise.
15923 * posix/setresuid.c: Likewise.
15924 * posix/setsid.c: Likewise.
15925 * posix/setuid.c: Likewise.
15926 * posix/sleep.c: Likewise.
15927 * posix/spawni.c: Likewise.
15928 * posix/sysconf.c: Likewise.
15929 * posix/times.c: Likewise.
15930 * posix/wait.c: Likewise.
15931 * posix/wait3.c: Likewise.
15932 * posix/wait4.c: Likewise.
15933 * posix/waitpid.c: Likewise.
15934 * resolv/gai_sigqueue.c: Likewise.
15935 * resource/getpriority.c: Likewise.
15936 * resource/getrlimit.c: Likewise.
15937 * resource/getrusage.c: Likewise.
15938 * resource/nice.c: Likewise.
15939 * resource/setpriority.c: Likewise.
15940 * resource/setrlimit.c: Likewise.
15941 * resource/ulimit.c: Likewise.
15942 * rt/aio_cancel.c: Likewise.
15943 * rt/aio_fsync.c: Likewise.
15944 * rt/aio_read.c: Likewise.
15945 * rt/aio_sigqueue.c: Likewise.
15946 * rt/aio_suspend.c: Likewise.
15947 * rt/aio_write.c: Likewise.
15948 * rt/clock_getres.c: Likewise.
15949 * rt/clock_gettime.c: Likewise.
15950 * rt/clock_nanosleep.c: Likewise.
15951 * rt/clock_settime.c: Likewise.
15952 * rt/lio_listio.c: Likewise.
15953 * rt/mq_close.c: Likewise.
15954 * rt/mq_getattr.c: Likewise.
15955 * rt/mq_notify.c: Likewise.
15956 * rt/mq_open.c: Likewise.
15957 * rt/mq_receive.c: Likewise.
15958 * rt/mq_send.c: Likewise.
15959 * rt/mq_setattr.c: Likewise.
15960 * rt/mq_timedreceive.c: Likewise.
15961 * rt/mq_timedsend.c: Likewise.
15962 * rt/mq_unlink.c: Likewise.
15963 * rt/shm_open.c: Likewise.
15964 * rt/shm_unlink.c: Likewise.
15965 * rt/timer_create.c: Likewise.
15966 * rt/timer_delete.c: Likewise.
15967 * rt/timer_getoverr.c: Likewise.
15968 * rt/timer_gettime.c: Likewise.
15969 * rt/timer_settime.c: Likewise.
15970 * setjmp/__longjmp.c: Likewise.
15971 * setjmp/setjmp.c: Likewise.
15972 * signal/kill.c: Likewise.
15973 * signal/killpg.c: Likewise.
15974 * signal/raise.c: Likewise.
15975 * signal/sigaction.c: Likewise.
15976 * signal/sigaltstack.c: Likewise.
15977 * signal/sigblock.c: Likewise.
15978 * signal/sigignore.c: Likewise.
15979 * signal/sigintr.c: Likewise.
15980 * signal/signal.c: Likewise.
15981 * signal/sigpause.c: Likewise.
15982 * signal/sigpending.c: Likewise.
15983 * signal/sigqueue.c: Likewise.
15984 * signal/sigreturn.c: Likewise.
15985 * signal/sigset.c: Likewise.
15986 * signal/sigsetmask.c: Likewise.
15987 * signal/sigstack.c: Likewise.
15988 * signal/sigsuspend.c: Likewise.
15989 * signal/sigtimedwait.c: Likewise.
15990 * signal/sigvec.c: Likewise.
15991 * signal/sigwait.c: Likewise.
15992 * signal/sigwaitinfo.c: Likewise.
15993 * signal/sysv_signal.c: Likewise.
15994 * socket/accept.c: Likewise.
15995 * socket/accept4.c: Likewise.
15996 * socket/bind.c: Likewise.
15997 * socket/connect.c: Likewise.
15998 * socket/getpeername.c: Likewise.
15999 * socket/getsockname.c: Likewise.
16000 * socket/getsockopt.c: Likewise.
16001 * socket/isfdtype.c: Likewise.
16002 * socket/listen.c: Likewise.
16003 * socket/recv.c: Likewise.
16004 * socket/recvfrom.c: Likewise.
16005 * socket/recvmsg.c: Likewise.
16006 * socket/send.c: Likewise.
16007 * socket/sendmsg.c: Likewise.
16008 * socket/sendto.c: Likewise.
16009 * socket/setsockopt.c: Likewise.
16010 * socket/shutdown.c: Likewise.
16011 * socket/sockatmark.c: Likewise.
16012 * socket/socket.c: Likewise.
16013 * socket/socketpair.c: Likewise.
16014 * stdio-common/ctermid.c: Likewise.
16015 * stdio-common/cuserid.c: Likewise.
16016 * stdio-common/remove.c: Likewise.
16017 * stdio-common/rename.c: Likewise.
16018 * stdio-common/renameat.c: Likewise.
16019 * stdio-common/tempname.c: Likewise.
16020 * stdlib/getcontext.c: Likewise.
16021 * stdlib/makecontext.c: Likewise.
16022 * stdlib/setcontext.c: Likewise.
16023 * stdlib/swapcontext.c: Likewise.
16024 * stdlib/system.c: Likewise.
16025 * streams/fattach.c: Likewise.
16026 * streams/fdetach.c: Likewise.
16027 * streams/getmsg.c: Likewise.
16028 * streams/getpmsg.c: Likewise.
16029 * streams/putmsg.c: Likewise.
16030 * streams/putpmsg.c: Likewise.
16031 * sysdeps/unix/bsd/getpt.c: Likewise.
16032 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16033 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16034 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16036 Likewise.
16037 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16038 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16039 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16040 * sysvipc/msgctl.c: Likewise.
16041 * sysvipc/msgget.c: Likewise.
16042 * sysvipc/msgrcv.c: Likewise.
16043 * sysvipc/msgsnd.c: Likewise.
16044 * sysvipc/semctl.c: Likewise.
16045 * sysvipc/semget.c: Likewise.
16046 * sysvipc/semop.c: Likewise.
16047 * sysvipc/semtimedop.c: Likewise.
16048 * sysvipc/shmat.c: Likewise.
16049 * sysvipc/shmctl.c: Likewise.
16050 * sysvipc/shmdt.c: Likewise.
16051 * sysvipc/shmget.c: Likewise.
16052 * termios/tcdrain.c: Likewise.
16053 * termios/tcflow.c: Likewise.
16054 * termios/tcflush.c: Likewise.
16055 * termios/tcgetattr.c: Likewise.
16056 * termios/tcgetpgrp.c: Likewise.
16057 * termios/tcsendbrk.c: Likewise.
16058 * termios/tcsetattr.c: Likewise.
16059 * termios/tcsetpgrp.c: Likewise.
16060 * time/adjtime.c: Likewise.
16061 * time/clock.c: Likewise.
16062 * time/getitimer.c: Likewise.
16063 * time/gettimeofday.c: Likewise.
16064 * time/setitimer.c: Likewise.
16065 * time/settimeofday.c: Likewise.
16066 * time/stime.c: Likewise.
16067 * time/time.c: Likewise.
16068
160692012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 16070
a20492cf
PT
16071 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16072 /usr/old/bin.
16073
72e182e3
PT
16074 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16075 instead of spaces.
16076 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16077
fbeafede
JM
160782012-11-03 Joseph Myers <joseph@codesourcery.com>
16079
5b5b04d6
JM
16080 [BZ #14796]
16081 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16082 FE_TONEAREST before applying Dekker multiplication and Knuth
16083 addition. Clear inexact exceptions and check for exact zero
16084 results afterwards.
16085 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16086 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16087 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16088 * math/libm-test.inc (fma_test): Add more tests.
16089 (fma_test_towardzero): Likewise.
16090 (fma_test_downward): Likewise.
16091 (fma_test_upward): Likewise.
16092 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16093 function.
16094 (libc_fesetround): New macro.
16095 (libc_fesetroundf): Likewise.
16096 (libc_fesetroundl): Likewise.
16097 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16098 function.
16099 (libc_fesetround_387): Likewise.
16100 (libc_fesetroundf): New macro.
16101 (libc_fesetround): Likewise.
16102 (libc_fesetroundl): Likewise.
16103 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16104 function.
16105 (libc_fesetroundf): New macro.
16106 (libc_fesetround): Likewise.
16107 (libc_fesetroundl): Likewise.
16108 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16109 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16110 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16111 libm_hidden_ver.
16112 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16113 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16114 libm_hidden_def.
16115 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16116 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16117 libm_hidden_ver.
16118 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16119 libm_hidden_def.
16120
fbeafede
JM
16121 [BZ #3439]
16122 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16123 integer constant usable in #if and use that to give value to enum
16124 constant.
16125 (FE_DIVBYZERO): Likewise.
16126 (FE_UNDERFLOW): Likewise.
16127 (FE_OVERFLOW): Likewise.
16128 (FE_INVALID): Likewise.
16129 (FE_INVALID_SNAN): Likewise.
16130 (FE_INVALID_ISI): Likewise.
16131 (FE_INVALID_IDI): Likewise.
16132 (FE_INVALID_ZDZ): Likewise.
16133 (FE_INVALID_IMZ): Likewise.
16134 (FE_INVALID_COMPARE): Likewise.
16135 (FE_INVALID_SOFTWARE): Likewise.
16136 (FE_INVALID_SQRT): Likewise.
16137 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16138 (FE_TONEAREST): Likewise.
16139 (FE_TOWARDZERO): Likewise.
16140 (FE_UPWARD): Likewise.
16141 (FE_DOWNWARD): Likewise.
16142 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16143 (FE_DIVBYZERO): Likewise.
16144 (FE_OVERFLOW): Likewise.
16145 (FE_UNDERFLOW): Likewise.
16146 (FE_INEXACT): Likewise.
16147 (FE_TONEAREST): Likewise.
16148 (FE_DOWNWARD): Likewise.
16149 (FE_UPWARD): Likewise.
16150 (FE_TOWARDZERO): Likewise.
16151 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16152 (FE_UNDERFLOW): Likewise.
16153 (FE_OVERFLOW): Likewise.
16154 (FE_DIVBYZERO): Likewise.
16155 (FE_INVALID): Likewise.
16156 (FE_TONEAREST): Likewise.
16157 (FE_TOWARDZERO): Likewise.
16158 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16159 (FE_OVERFLOW): Likewise.
16160 (FE_UNDERFLOW): Likewise.
16161 (FE_DIVBYZERO): Likewise.
16162 (FE_INEXACT): Likewise.
16163 (FE_TONEAREST): Likewise.
16164 (FE_TOWARDZERO): Likewise.
16165 (FE_UPWARD): Likewise.
16166 (FE_DOWNWARD): Likewise.
16167 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16168 (FE_DIVBYZERO): Likewise.
16169 (FE_OVERFLOW): Likewise.
16170 (FE_UNDERFLOW): Likewise.
16171 (FE_INEXACT): Likewise.
16172 (FE_TONEAREST): Likewise.
16173 (FE_DOWNWARD): Likewise.
16174 (FE_UPWARD): Likewise.
16175 (FE_TOWARDZERO): Likewise.
16176
105ca950
CM
161772012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16178
16179 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16180
a542b389
AS
161812012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16182
16183 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16184 commands. Quote $PWD.
16185 (blacklist_exports): Don't use remove_newlines. Replace "declare
16186 -x" by "export".
16187 (remove_newlines): Remove.
16188
f62c8abc
L
161892012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16190
16191 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16192 * stdlib/stdlib.h (atof): Moved to ...
16193 * include/bits/stdlib-float.h: Here. New file.
16194 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16195 * stdlib/bits/stdlib-float.h: New file.
16196 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16197 -mno-sse -mno-mmx.
16198 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16199 <xmmintrin.h>.
16200
0155d5b2
JM
162012012-11-02 Joseph Myers <joseph@codesourcery.com>
16202
a68d0680
JM
16203 * conform/conformtest.pl (@headers): Add fenv.h.
16204 * conform/data/fenv.h-data: New file.
16205 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16206 include of <math/fenv.h>.
16207
caf7f573
JM
16208 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16209 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16210 && !UNIX98]. Enables tests for XOPEN2K8.
16211 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16212 POSIX2008]: Likewise.
16213
6c073ad6
JM
16214 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16215 (struct rusage): Do not expect type or its members.
16216
0155d5b2
JM
16217 [BZ #3439]
16218 * math/math.h (FP_NAN): Define macro to integer constant usable in
16219 #if and use that to give value to enum constant.
16220 (FP_INFINITE): Likewise.
16221 (FP_ZERO): Likewise.
16222 (FP_SUBNORMAL): Likewise.
16223 (FP_NORMAL): Likewise.
16224
b5dcacb4
AS
162252012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16226
16227 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16228 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16229 arguments.
16230
f7934be8
RM
162312012-11-02 Roland McGrath <roland@hack.frob.com>
16232
16233 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16234 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16235 autoconf-time if not.
16236 * configure.in: Remove AC_PREREQ.
16237
d7d08bde
TMQMF
162382012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16239
16240 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16241 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16242 of the internal implementation.
16243
dcdae19a
JM
162442012-11-02 Joseph Myers <joseph@codesourcery.com>
16245
16246 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16247 except include of <misc/sys/syslog.h>.
16248
d6cffd3e
AS
162492012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16250
16251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16252 function returns with a NULL context exit with zero.
16253
b3563932
TMQMF
162542012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16255
16256 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16257
b288a93d
L
162582012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16259
16260 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16261 (run_program_cmd): This.
16262 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16263 (tst_langinfo): New variable. Use it.
16264
a2421a68
SAS
162652012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16266
16267 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16268 floating point opcodes.
16269
6f796e1b
TS
162702012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16271
7402596b
TS
16272 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16273 variable.
16274
d0d4f868
TS
16275 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16276
6f796e1b
TS
16277 * sysdeps/mach/hurd/powerpc: Remove directory.
16278 * sysdeps/mach/powerpc: Likewise.
16279
4da224a2
AS
162802012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16281
16282 * scripts/check-local-headers.sh: Ignore c++ headers.
16283
341dd673
TS
162842012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16285
16286 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16287 __libc_cleanup_region_start argument.
16288
473611b2
JM
162892012-11-01 Joseph Myers <joseph@codesourcery.com>
16290
16291 [BZ #14784]
16292 [BZ #14785]
16293 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16294 x * y using scaling, not as x * y + z.
16295 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16296 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16297 * math/libm-test.inc (fma_test): Add more tests.
16298 (fma_test_towardzero): Likewise.
16299 (fma_test_downward): Likewise.
16300 (fma_test_upward): Likewise.
16301
4078da3d
TS
163022012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16303
16304 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16305
903252aa
JM
163062012-10-31 Joseph Myers <joseph@codesourcery.com>
16307
16308 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16309 New variable.
16310
cbc818d0
TS
163112012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16312
16313 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16314
5a03cb1e
AS
163152012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16316
16317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16318 Fix sort order.
16319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16320 Likewise.
16321
90aff2ff
TMQMF
163222012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16323
16324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16325 Fix the order of the list for glibc 2.17.
16326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16327 Likewise.
16328
1818fcb7
AS
163292012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16330
16331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16332
ef82f4da
JM
163332012-10-31 Joseph Myers <joseph@codesourcery.com>
16334
16a0e2ec
JM
16335 [BZ #14610]
16336 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16337 for low part of x being zero before using __atanl (y).
16338 * math/libm-test.inc (atan2_test): Add another test.
16339
0eb69512
JM
16340 * manual/install.texi (Configuring and compiling): Document
16341 general use of test-wrapper and test-wrapper-env.
16342 * INSTALL: Regenerated.
16343
ef82f4da
JM
16344 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16345 (__fma): Do not extract and scale down low bits on after-rounding
16346 systems when result rounded to normal precision would have normal
16347 exponent.
16348 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16349 (__fmal): Do not extract and scale down low bits on after-rounding
16350 systems when result rounded to normal precision would have normal
16351 exponent.
16352 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16353 (__fmal): Do not extract and scale down low bits on after-rounding
16354 systems when result rounded to normal precision would have normal
16355 exponent.
16356 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16357 macro.
16358 (fma_test): Add more tests.
16359 (fma_test_towardzero): Likewise.
16360 (fma_test_downward): Likewise.
16361 (fma_test_upward): Likewise.
16362
954ef0d9
L
163632012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16364
16365 * sysdeps/i386/tininess.h: Renamed to ...
16366 * sysdeps/x86/tininess.h: This.
16367 * sysdeps/x86_64/tininess.h: Removed.
16368
df61ffb2
JM
163692012-10-30 Joseph Myers <joseph@codesourcery.com>
16370
16371 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16372 input. Use $(build-program-cmd).
16373 ($(objpfx)tst-array1-static.out): Likewise.
16374 ($(objpfx)tst-array2.out): Likewise.
16375 ($(objpfx)tst-array3.out): Likewise.
16376 ($(objpfx)tst-array4.out): Likewise.
16377 ($(objpfx)tst-array5.out): Likewise.
16378 ($(objpfx)tst-array5-static.out): Likewise.
16379
01767843
CM
163802012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16381
47cc1490
CM
16382 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16383 if defined.
16384
01767843
CM
16385 * nss/nsswitch.h (nss_interface_function): Provide new
16386 macro for use with NSS functions.
16387 * grp/initgroups.c: Use new macro.
16388 * nss/getXXbyYY.c: Likewise.
16389 * nss/getXXbyYY_r.c: Likewise.
16390 * nss/getXXent.c: Likewise.
16391 * nss/getXXent_r.c: Likewise.
16392 * sysdeps/posix/getaddrinfo.c: Likewise.
16393
8321aa97
AJ
163942012-10-30 Andreas Jaeger <aj@suse.de>
16395
16396 * po/ru.po: Update Russion translation from translation project.
16397
2a27fd6d
JM
163982012-10-30 Joseph Myers <joseph@codesourcery.com>
16399
8627a232
JM
16400 [BZ #14152]
16401 [BZ #14783]
16402 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16403 result and shift together with sticky bit instead of replicating
16404 round-to-nearest rounding.
16405 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16406 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16407 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16408 missing underflow exceptions.
16409 (fma_test_towardzero): Add more tests.
16410 (fma_test_downward): Likewise.
16411 (fma_test_upward): Likewise.
16412
2a27fd6d
JM
16413 [BZ #14047]
16414 * sysdeps/generic/tininess.h: New file.
16415 * sysdeps/i386/tininess.h: Likewise.
16416 * sysdeps/sh/tininess.h: Likewise.
16417 * sysdeps/x86_64/tininess.h: Likewise.
16418 * stdlib/tst-strtod-underflow.c: Likewise.
16419 * stdlib/tst-tininess.c: Likewise.
16420 * stdlib/strtod_l.c: Include <tininess.h>.
16421 (round_and_return): Do not set errno for exact underflow cases.
16422 Force an underflow exception when setting errno for underflow.
16423 Determine underflow based on rounding to normal precision if
16424 TININESS_AFTER_ROUNDING.
16425 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16426 ERANGE for exact underflow cases.
16427 * stdlib/Makefile (tests): Add tst-tininess and
16428 tst-strtod-underflow.
16429 ($(objpfx)tst-tininess): Use $(link-libm).
16430 ($(objpfx)tst-strtod-underflow): Likewise.
16431
e7170363
AJ
164322012-10-30 Andreas Jaeger <aj@suse.de>
16433
e5088dc6
AJ
16434 [BZ#14767]
16435 * elf/Makefile (tests): Remove conditional for have-initfini-array
16436 since this is now always required and the variable does not exist
16437 anymore.
16438 (tests-static): Likewise.
16439 (modules-names): Likewise.
16440
e7170363 16441 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
16442
16443 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16444 merged with constructor/destructor.
16445 (init_array): Likewise.
16446 * elf/tst-array2dep.c (fini_array): Likewise.
16447 (init_array): Likewise.
16448
60457d8a
MF
164492012-10-29 Mike Frysinger <vapier@gentoo.org>
16450
16451 * manual/message.texi: Delete @cartouche tags.
16452
8bece752
PT
164532012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16454
94ce799f
PT
16455 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16456 EOPNOTSUPP.
16457 * sysdeps/mach/hurd/fsync.c: Likewise.
16458
8bece752
PT
16459 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16460 [_POSIX_REALTIME_SIGNALS]: Change condition to
16461 [_POSIX_REALTIME_SIGNALS > 0].
16462
86ebe6b1
AJ
164632012-10-27 Andreas Jaeger <aj@suse.de>
16464
16465 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16466 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16467 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16468 [__WORDSIZE != 64]: Likewise.
16469
54399c08
L
164702012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16471
16472 * iconvdata/tst-table.sh: Remove ${SHELL}.
16473 * iconvdata/tst-tables.sh: Likewise.
16474
e2211bed
DM
164752012-10-25 David S. Miller <davem@davemloft.net>
16476
16477 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16478 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16479 of strtoull.
16480
f303f97c
DM
16481 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16482 ifunc-impl-list.c
16483 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16484 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16485 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16486 file.
16487
1e9d84cd
RM
164882012-10-25 Roland McGrath <roland@hack.frob.com>
16489
16490 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16491 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16492 __getdirentries.
16493
df381762
JM
164942012-10-25 Joseph Myers <joseph@codesourcery.com>
16495 Jim Blandy <jimb@codesourcery.com>
16496
16497 * scripts/cross-test-ssh.sh: New file.
16498 * manual/install.texi (Configuring and compiling): Document use of
16499 cross-test-ssh.sh.
16500 * INSTALL: Regenerated.
16501
bff64913
PT
165022012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16503
16504 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16505 EOPNOTSUPP.
16506
25fe8932
JM
165072012-10-25 Joseph Myers <joseph@codesourcery.com>
16508
16509 * Makeconfig (run-program-prefix): Fix comment.
16510
cc1290d0
JM
165112012-10-24 Joseph Myers <joseph@codesourcery.com>
16512 Jim Blandy <jimb@codesourcery.com>
16513
16514 * Makeconfig (test-wrapper): New variable,
16515 (test-wrapper-env): Likewise.
16516 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16517 (run-built-tests): Define to yes.
16518 (run-program-prefix): Use $(test-wrapper).
16519 (built-program-cmd): Likewise.
16520 * Rules (make-test-out): Use $(test-wrapper-env) and
16521 $(host-built-program-cmd).
16522 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16523 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16524 tst-pathopt.sh.
16525 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16526 $(test-wrapper-env) to tst-rtld-load-self.sh.
16527 ($(objpfx)order2.out): Use $(test-wrapper).
16528 ($(objpfx)tst-initorder.out): Likewise.
16529 ($(objpfx)tst-initorder2.out): Likewise.
16530 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16531 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16532 (test_wrapper_env): New variable. Use it to run ld.so.
16533 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16534 Use it to run ld.so.
16535 (test_wrapper_env): Likewise.
16536 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16537 $(test-wrapper) to run-iconv-test.sh.
16538 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16539 (ICONV): Use $test_wrapper.
16540 * posix/Makefile ($(objpfx)globtest.out): Pass
16541 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16542 globtest.sh, not $(run-program-prefix).
16543 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16544 (test_wrapper): Likewise.
16545 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16546 set together with run_via_rtld_prefix.
16547 (run_program_prefix): Define in terms of test_wrapper and
16548 run_via_rtld_prefix.
16549
6e6249d0
RM
165502012-10-24 Roland McGrath <roland@hack.frob.com>
16551
16552 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16553 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16554 Targets removed.
16555
16556 [BZ #14743]
16557 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16558 Declare __clock_getres, __clock_gettime, __clock_settime,
16559 __clock_nanosleep, and __clock_getcpuclockid.
16560 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16561 Remove librt_hidden_def (clock_gettime).
16562 * sysdeps/unix/clock_gettime.c: Likewise.
16563 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16564 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16565 * rt/clock_getres.c: Define __clock_getres as an alias.
16566 * sysdeps/posix/clock_getres.c: Likewise.
16567 * rt/clock_settime.c: Define __clock_settime as an alias.
16568 * sysdeps/unix/clock_settime.c: Likewise.
16569 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16570 * sysdeps/unix/clock_nanosleep.c: Likewise.
16571 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16572 * rt/clock-compat.c: New file.
16573 * rt/Makefile (librt-routines): Add clock-compat and move
16574 $(clock-routines) to ...
16575 (routines): ... here, new variable.
16576 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16577 Don't add get_clockfreq here.
16578 * rt/Versions (libc: GLIBC_2.17): New version set.
16579 Add clock_* symbols here.
16580 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16581 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16582 (GLIBC_2.17): Add clock_* symbols.
16583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16585 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16587 Likewise.
16588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16589 Likewise.
16590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16594 * NEWS: Mention the move.
16595
16596 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16597 Use __open, __read, __close rather than their public counterparts.
16598 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16599 (__get_clockfreq_via_cpuinfo): Likewise.
16600 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16601 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16602
16603 * config.h.in (HAVE_IFUNC): New #undef.
16604 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16605 was successful.
16606 * configure: Regenerated.
16607
0cae3f4b
MF
166082012-10-24 Mike Frysinger <vapier@gentoo.org>
16609
16610 * configure.in: Move READELF check to start of file.
16611 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16612 libc_cv_asm_gnu_indirect_function in the process.
16613 * configure: Regenerated.
16614
8175a253
MF
166152012-10-24 Mike Frysinger <vapier@gentoo.org>
16616
16617 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16618 send the output to /dev/null.
16619 (libc_cv_cc_with_libunwind): Likewise.
16620 (libc_cv_as_noexecstack): Likewise.
16621 * configure: Regenerate.
16622
0708a7d1
JM
166232012-10-24 Joseph Myers <joseph@codesourcery.com>
16624
10b40d85
JM
16625 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16626
0708a7d1
JM
16627 * posix/globtest.sh (TMPDIR): Do not set.
16628 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16629 (testout): Likewise.
16630
9fddec1a
AJ
166312012-10-24 Andreas Jaeger <aj@suse.de>
16632
3a8db22f
AJ
16633 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16634 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16635 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16636 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16637 posix_fadvise64, posix_fallocate64.
16638
9fddec1a
AJ
16639 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16640 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16641 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16642 Likewise.
16643 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16644 Likewise.
16645 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16646
16647 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16648 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16649 <bits/fcntl-linux.h>.
16650 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16651
16652 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16653 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16654 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16655 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16656 [__WORDSIZE != 64]: Likewise.
16657
ebfd1bbd
JM
166582012-10-23 Joseph Myers <joseph@codesourcery.com>
16659
03ac099f
JM
16660 * Makeconfig (run-built-tests): New variable.
16661 * Rules [$(cross-compiling) = yes]: Change condition to
16662 [$(run-built-tests) = no].
16663 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16664 to [$(run-built-tests) = yes].
16665 * elf/Makefile [$(cross-compiling) = no]: Likewise
16666 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16667 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16668 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16669 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16670 * io/Makefile [$(cross-compiling) = no]: Likewise.
16671 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16672 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16673 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16674 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16675 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16676 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16677 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16678 * string/Makefile [$(cross-compiling) = no]: Likewise.
16679
ebfd1bbd
JM
16680 * posix/Makefile ($(objpfx)globtest.out): Pass
16681 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16682 $(rtld-installed-name).
16683 * posix/globtest.sh (elf_objpfx): Remove variable.
16684 (rtld_installed_name): Likewise.
16685 (library_path): Likewise.
16686 (run_program_prefix): New variable. Use for running globtest
16687 binary.
16688
166bca24
JB
166892012-10-23 Jim Blandy <jimb@codesourcery.com>
16690 Joseph Myers <joseph@codesourcery.com>
16691
16692 * Makeconfig (host-built-program-cmd): New variable.
16693 * elf/Makefile (tst-stackguard1-ARGS): Use
16694 $(host-built-program-cmd).
16695 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16696 (tst-spawn-ARGS): Likewise.
16697 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16698
88866099
JM
166992012-10-23 Joseph Myers <joseph@codesourcery.com>
16700 Jim Blandy <jimb@codesourcery.com>
16701
16702 * Makeconfig (run-via-rtld-prefix): New variable.
16703 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16704 (built-program-cmd): Likewise.
16705
b4b4c296
AJ
167062012-10-22 Andreas Jaeger <aj@suse.de>
16707
16708 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16709 __O_RSYNC if it exists, otherwise to O_SYNC.
16710
6fb54a22
JB
167112012-10-22 Jim Blandy <jimb@codesourcery.com>
16712 Joseph Myers <joseph@codesourcery.com>
16713
16714 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16715 /dev/null.
16716 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16717 from /dev/null
16718 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16719 /dev/null.
16720
481b90b9
AJ
167212012-10-22 Andreas Jaeger <aj@suse.de>
16722
2a0e2669
AJ
16723 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16724 Define always.
16725 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16726
76e38f9a
AJ
16727 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16728 bits/fcntl-linux.h.
16729
7cd37b43
AJ
16730 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16731 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16732
481b90b9
AJ
16733 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16734 to __O_LARGEFILE.
16735 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16736 to __O_LARGEFILE.
16737
aba75984
JB
167382012-10-21 Jim Blandy <jimb@codesourcery.com>
16739 Joseph Myers <joseph@codesourcery.com>
16740
16741 * config.make.in (NM): New variable.
16742
88d4247f
AJ
167432012-10-21 Andreas Jaeger <aj@suse.de>
16744
16745 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16746 definitions and declarations that are provided by
16747 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16748
f2eed205
L
167492012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16750
16751 [BZ #14683]
16752 * elf/Makefile (tests-static): Add tst-leaks1-static.
16753 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16754 ($(objpfx)tst-leaks1-static): New rule.
16755 ($(objpfx)tst-leaks1-static-mem): Likewise.
16756 (tst-leaks1-static-ENV): New macro.
16757 * elf/dl-open.c (dl_open_worker): Check the main application
16758 only if SHARED is defined.
16759 * elf/tst-leaks1-static.c: New file.
16760
335e6931
AJ
167612012-10-20 Andreas Jaeger <aj@suse.de>
16762
16763 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16764 generic values for Linux.
16765 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16766 and declarations that are provided by <bits/fcntl-linux.h> and
16767 include <bits/fcntl-linux.h>.
16768 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16769 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16770
ac5c94d3
RM
167712012-10-20 Roland McGrath <roland@hack.frob.com>
16772
16773 * io/fcntl.h: Move include of <bits/types.h> to the top and
16774 include it unconditionally.
16775
de54b33a
L
167762012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16777
228cfb01
L
16778 * wcsmbs/Makefile (tests-ifunc): New variable.
16779 (tests): Add $(tests-ifunc).
16780 * wcsmbs/test-wcschr-ifunc.c: New file.
16781 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16782 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16783 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16784 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16785 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16786
69f07e5f
L
16787 * string/Makefile (tests-ifunc): New variable.
16788 (tests): Add $(tests-ifunc).
16789 * string/test-memccpy.c (TEST_NAME): New macro.
16790 * string/test-memchr.c (TEST_NAME): Likewise.
16791 * string/test-memcmp.c (TEST_NAME): Likewise.
16792 * string/test-memcpy.c (TEST_NAME): Likewise.
16793 * string/test-memmem.c (TEST_NAME): Likewise.
16794 * string/test-memmove.c (TEST_NAME): Likewise.
16795 * string/test-memset.c (TEST_NAME): Likewise.
16796 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16797 * string/test-stpcpy.c (TEST_NAME): Likewise.
16798 * string/test-stpncpy.c (TEST_NAME): Likewise.
16799 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16800 * string/test-strcasestr.c (TEST_NAME): Likewise.
16801 * string/test-strcat.c (TEST_NAME): Likewise.
16802 * string/test-strchr.c (TEST_NAME): Likewise.
16803 * string/test-strcmp.c(TEST_NAME): Likewise.
16804 * string/test-strcpy.c (TEST_NAME): Likewise.
16805 * string/test-strcspn.c (TEST_NAME): Likewise.
16806 * string/test-strlen.c (TEST_NAME): Likewise.
16807 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16808 * string/test-strncmp.c (TEST_NAME): Likewise.
16809 * string/test-strncpy.c (TEST_NAME): Likewise.
16810 * string/test-strnlen.c (TEST_NAME): Likewise.
16811 * string/test-strpbrk.c (TEST_NAME): Likewise.
16812 * string/test-strrchr.c (TEST_NAME): Likewise.
16813 * string/test-strspn.c (TEST_NAME): Likewise.
16814 * string/test-strstr.c (TEST_NAME): Likewise.
16815 * string/test-bcopy-ifunc.c: New file.
16816 * string/test-bzero-ifunc.c: Likewise.
16817 * string/test-memccpy-ifunc.c: Likewise.
16818 * string/test-memchr-ifunc.c: Likewise.
16819 * string/test-memcmp-ifunc.c: Likewise.
16820 * string/test-memcpy-ifunc.c: Likewise.
16821 * string/test-memmem-ifunc.c: Likewise.
16822 * string/test-memmove-ifunc.c: Likewise.
16823 * string/test-mempcpy-ifunc.c: Likewise.
16824 * string/test-memset-ifunc.c: Likewise.
16825 * string/test-rawmemchr-ifunc.c: Likewise.
16826 * string/test-stpcpy-ifunc.c: Likewise.
16827 * string/test-stpncpy-ifunc.c: Likewise.
16828 * string/test-strcasecmp-ifunc.c: Likewise.
16829 * string/test-strcasestr-ifunc.c: Likewise.
16830 * string/test-strcat-ifunc.c: Likewise.
16831 * string/test-strchr-ifunc.c: Likewise.
16832 * string/test-strchrnul-ifunc.c: Likewise.
16833 * string/test-strcmp-ifunc.c: Likewise.
16834 * string/test-strcpy-ifunc.c: Likewise.
16835 * string/test-strcspn-ifunc.c: Likewise.
16836 * string/test-strlen-ifunc.c: Likewise.
16837 * string/test-strncasecmp-ifunc.c: Likewise.
16838 * string/test-strncat-ifunc.c: Likewise.
16839 * string/test-strncmp-ifunc.c: Likewise.
16840 * string/test-strncpy-ifunc.c: Likewise.
16841 * string/test-strnlen-ifunc.c: Likewise.
16842 * string/test-strpbrk-ifunc.c: Likewise.
16843 * string/test-strrchr-ifunc.c: Likewise.
16844 * string/test-strspn-ifunc.c: Likewise.
16845 * string/test-strstr-ifunc.c: Likewise.
16846
de54b33a
L
16847 * debug/Makefile (tests-ifunc): New variable.
16848 (tests): Add $(tests-ifunc).
16849 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16850 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16851 * debug/test-stpcpy_chk-ifunc.c: New file.
16852 * debug/test-strcpy_chk-ifunc.c: Likewise.
16853
88481c16
SP
168542012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16855
16856 [BZ #13601]
16857 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16858 header is not read in.
16859
135948bd
JM
168602012-10-19 Joseph Myers <joseph@codesourcery.com>
16861
89f1c388
JM
16862 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16863 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16864 directly. Pass built executable to script as
16865 $(built-program-cmd).
16866 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16867 $testprogram without using LD_LIBRARY_PATH and $ldso.
16868
e40a0d21
JM
16869 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16870 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16871 $(rtld-installed-name).
16872 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16873 (rtld_installed_name): Likewise.
16874 (library_path): Likewise.
16875 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16876 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16877 $(run-program-prefix) to tst-tables.sh.
16878 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16879 it to run tst-table-from and tst-table-to.
16880 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16881 Pass it to tst-table.sh.
16882 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16883 $(run-program-prefix) to tst-gettext.sh.
16884 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16885 tst-translit.sh.
16886 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16887 tst-gettext2.sh.
16888 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16889 to run tst-gettext.
16890 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16891 to run tst-gettext2.
16892 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16893 to run tst-translit.
16894 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16895 $(run-program-prefix) to tst-mtrace.sh.
16896 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16897 to run tst-mtrace.
16898 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16899 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16900 $(rtld-installed-name).
16901 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16902 (rtld_installed_name): Likewise.
16903 (run_program_prefix): New variable. Use it to run wordexp-test.
16904
728e272a
JM
16905 * Makeconfig (ARCH): Remove all definitions.
16906 (machine): Likewise.
16907 [ARCH]: Remove conditional code.
16908 [!objdir]: Give error.
16909 [!objdir] (objpfx): Remove.
16910 [!objdir] (common-objpfx): Likewise.
16911 [!objdir] (common-objdir): Likewise.
16912 * configure.in (config_makefile): Remove. Hardcode Makefile in
16913 AC_CONFIG_FILES call.
16914 * configure: Regenerated.
16915
d528cdcf
JM
16916 [BZ #13888]
16917 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16918 or TMPDIR.
16919 (testout): Likewise.
16920
135948bd
JM
16921 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16922 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16923 $(rtld-installed-name).
16924 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16925 (rtld_installed_name): Likwise.
16926 (runit): Remove function.
16927 (run_getconf): New variable, Use it for running getconf binary.
16928
38c78296
L
169292012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16930
16931 [BZ #14716]
16932 * string/test-memmem.c (check_result): New function.
16933 (do_one_test): Use it.
16934 (check1): New function.
16935 (test_main): Use it.
16936
d077f65f
MT
169372012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16938
16939 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16940
ced52c71
JM
169412012-10-18 Joseph Myers <joseph@codesourcery.com>
16942
16943 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16944 (_G_LSEEK64): Likewise.
16945 (_G_MMAP64): Likewise.
16946 (_G_FSTAT64): Likewise.
16947 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16948 (_G_LSEEK64): Likewise.
16949 (_G_MMAP64): Likewise.
16950 (_G_FSTAT64): Likewise.
16951 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16952 unconditional. Call __mmap64 directly.
16953 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16954 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16955 __lseek64 directly.
16956 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16957 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16958 __mmap64 directly.
16959 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16960 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16961 __lseek64 directly.
16962 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16963 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16964 __lseek64 directly.
16965 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16966 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16967 __lseek64 directly.
16968 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16969 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16970 __fxstat64 directly.
16971 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16972 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16973 unconditional.
16974 (freopen64) [!_G_OPEN64]: Remove conditional code.
16975 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16976 unconditional.
16977 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16978 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16979 unconditional.
16980 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16981 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16982 unconditional.
16983 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16984 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16985 unconditional.
16986 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16987 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16988 unconditional.
16989 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16990 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16991 unconditional.
16992 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16993 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16994 unconditional.
16995 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16996
b741de23
SP
169972012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16998
16999 [BZ #12140]
17000 * manual/memory.texi (Malloc Tunable Parameters): Add note
17001 about free list pointers overwriting some perturb bytes.
17002 Wording suggested by Roland McGrath.
17003
f9b9d9c9
JM
170042012-10-17 Joseph Myers <joseph@codesourcery.com>
17005
17006 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17007 (lgamma_test): Likewise.
17008 (tgamma_test): Likewise.
17009
172a631a
FW
170102012-10-16 Florian Weimer <fweimer@redhat.com>
17011
17012 [BZ #14700]
17013 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17014 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17015
e9f37252
MK
170162012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17017
17018 * NEWS: Mention BZ #14716.
17019 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17020 when removing AVAILABLE1_USES_J macro.
17021
d394eb74
L
170222012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17023
17024 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17025 (__bswap_64): __uint64_t for unsigned 64-bit int.
17026
ca38dc17
AS
170272012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17028
17029 * include/string.h (memmem): Declare libc hidden alias.
17030 * string/memmem.c (memmem): Define libc hidden alias.
17031 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17032 __read, __close instead of open, read, close.
17033
9a387d1f
L
170342012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17035
ac49ecaf
L
17036 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17037 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17038 global and hidden.
17039 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17040 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17041 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17042 Likewise.
17043 (__rawmemchr_sse2): Likewise.
17044 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17045 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17046 (__strchr_sse2): Likewise.
17047 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17048 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17049 (__strcasecmp_sse2): Likewise.
17050 (__strncasecmp_sse2): Likewise.
17051 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17052 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17053 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17054 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17055 (__strrchr_sse2): Likewise.
17056 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17057 ifunc-impl-list.c.
17058 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17059 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17060 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17061 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17062 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17063 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17064 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17065 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17066 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17067 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17068 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17069 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17070 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17071 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17072 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17073 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17074 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17075 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17076 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17077 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17078 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17079 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17080 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17081 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17082 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17083 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17084 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17085 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17086 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17087 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17088
b090e8ea
L
17089 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17090 global and hidden.
17091 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17092 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17093 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17094 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17095 Likewise.
17096 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17097 Likewise.
17098 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17099 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17100 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17101 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17102 ifunc-impl-list.c.
17103 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17104 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17105 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17106 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17107 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17108 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17109 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17110 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17111 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17112 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17113 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17114 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17115 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17116 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17117 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17118 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17119 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17120 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17121 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17122 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17123 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17124 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17125 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17126 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17127 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17128 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17129 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17130 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17131 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17132 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17133 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17134 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17135 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17136 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17137 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17138 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17139 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17140 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17141 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17142 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17143 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17144
11dd4af6
L
17145 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17146 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17147 * include/ifunc-impl-list.h: New file.
17148 * misc/ifunc-impl-list.c: Likewise.
17149 * misc/Makefile (routines): Add ifunc-impl-list.
17150 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17151 * string/test-string.h: Include <ifunc-impl-list.h>.
17152 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17153 impl_array): New variables.
17154 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17155 are defined.
17156 (test_init): Call __libc_ifunc_impl_list to initialize
17157 func_list if TEST_IFUNC and TEST_NAME are defined.
17158
9a387d1f
L
17159 * string/Makefile (strop-tests): Add bcopy and bzero.
17160 * string/test-bcopy.c: New file.
17161 * string/test-bzero.c: Likewise.
17162 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17163 defined.
17164 * string/test-memset.c: Support bzero test if TEST_BZERO is
17165 defined.
17166 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17167 __libc_memmove.
17168 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17169 __libc_memset.
17170 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17171 of memset.
17172
472371b9
JM
171732012-10-10 Joseph Myers <joseph@codesourcery.com>
17174
1e4a9536
JM
17175 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17176 * configure: Regenerated.
17177
d173d12e
JM
17178 * Makeconfig (+link-static-before-libc): Don't include
17179 $(link-static-libc).
17180
472371b9
JM
17181 * libio/libio.h (_IO_pos_t): Remove.
17182
89a3ad0b
AO
171832012-10-10 Alexandre Oliva <aoliva@redhat.com>
17184
17185 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17186 McGrath.
17187
e7451425
AO
171882012-10-10 Alexandre Oliva <aoliva@redhat.com>
17189
17190 * crypt/crypt-entry.c: Include fips-private.h.
17191 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17192 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17193 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17194 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17195
4ba74a35
AO
171962012-10-10 Alexandre Oliva <aoliva@redhat.com>
17197
17198 * crypt/crypt-private.h: Include stdbool.h.
17199 (_ufc_setup_salt_r): Return bool.
17200 * crypt/crypt-entry.c: Include errno.h.
17201 (__crypt_r): Return NULL with EINVAL for bad salt.
17202 * crypt/crypt_util.c (bad_for_salt): New.
17203 (_ufc_setup_salt_r): Check that salt is long enough and within
17204 the specified alphabet.
17205 * crypt/badsalttest.c: New file.
17206 * crypt/Makefile (tests): Add it.
17207 ($(objpfx)badsalttest): New.
17208
f96f1242
MK
172092012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17210
17211 * NEWS: Add entry for BZ #14602.
17212
0e8e0c1c
JM
172132012-10-09 Joseph Myers <joseph@codesourcery.com>
17214
17215 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17216 type-generic.
17217 * math/libm-test.inc: Update comment listing what functions and
17218 macros are tested.
17219 (isgreater_test): New function.
17220 (isgreaterequal_test): Likewise.
17221 (isless_test): Likewise.
17222 (islessequal_test): Likewise.
17223 (islessgreater_test): Likewise.
17224 (isunordered_test): Likewise.
17225 (main): Call the new functions.
17226
273edc5e
RM
172272012-10-09 Roland McGrath <roland@hack.frob.com>
17228
b8493de0
RM
17229 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17230 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17231 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17232 * sysdeps/i386/configure: Regenerated.
17233 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17234 * sysdeps/mach/configure: Regenerated.
17235 * sysdeps/mach/hurd/configure: Regenerated.
17236 * sysdeps/powerpc/configure: Regenerated.
17237 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17238 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17239 * sysdeps/s390/s390-32/configure: Regenerated.
17240 * sysdeps/s390/s390-64/configure: Regenerated.
17241 * sysdeps/sh/configure: Regenerated.
17242 * sysdeps/sparc/configure: Regenerated.
17243 * sysdeps/unix/sysv/linux/configure: Regenerated.
17244 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17245 * sysdeps/x86_64/configure: Regenerated.
17246
273edc5e
RM
17247 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17248 defined. Don't check if MAP is NULL.
17249
c8450f70
JM
172502012-10-09 Joseph Myers <joseph@codesourcery.com>
17251
17252 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17253 (_G_stat64): Likewise.
17254 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17255 (_G_stat64): Likewise.
17256 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17257 instead of struct _G_stat64.
17258 * libio/fileops.c (mmap_remap_check): Likewise.
17259 (decide_maybe_mmap): Likewise.
17260 (_IO_new_file_seekoff): Likewise.
17261 (_IO_file_stat): Likewise.
17262 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17263 _G_off64_t.
17264 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17265 instead of struct _G_stat64.
17266 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17267
57e605ba
MK
172682012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17269
17270 [BZ #14602]
17271 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17272 Replace with ...
17273 (CHECK_EOL): New macro.
17274 (two_way_short_needle): Check beginning of haystack for EOL. Use
17275 CHECK_EOL.
17276 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17277 Replace with CHECK_EOL.
17278 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17279 Replace with CHECK_EOL.
17280
ef1bb361
JM
172812012-10-08 Joseph Myers <joseph@codesourcery.com>
17282
17283 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17284 type-generic.
17285 * math/libm-test.inc: Update comment listing what functions and
17286 macros are tested.
17287 (finite_test): New function.
17288 (isinf_test): Likewise.
17289 (isnan_test): Likewise.
17290 (fpclassify_test): Test subnormal input.
17291 (isfinite_test): Likewise.
17292 (isnormal_test): Likewise.
17293 (main): Call the new functions.
17294
55f11534
JN
172952012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17296
17297 [BZ #14660]
17298 * Makerules (%.dynsym): Force C locale when running
17299 $(OBJDUMP) --dynamic-syms.
17300
1ab29350
AS
173012012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17302
17303 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17304 <stdint.h>.
17305
f1ecb7ef
DM
173062012-10-06 David S. Miller <davem@davemloft.net>
17307
17308 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17309 upper 32-bits of the length value in %o2 since we use branch-on-register
17310 tests which consider the entire 64-bit register.
17311
5d41d91a
L
173122012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17313
17314 * string/test-strstr.c (check2): Add a test for page boundary.
17315
3baddb72
DM
173162012-10-05 David S. Miller <davem@davemloft.net>
17317
17318 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17319 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17320 file.
17321 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17322 sysdep_routines.
17323 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17324 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17325 and bzero when HWCAP_SPARC_CRYPTO is present.
17326
9cee5585
L
173272012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17328
d7e0dab9
L
17329 [BZ #14602]
17330 * string/test-strstr.c (check2): New function.
17331 (test_main): Call check2.
17332
03759f47
L
17333 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17334 and bug-strchr1.
17335 * string/bug-strcasestr1.c (do_test): Moved to ...
17336 * string/test-strcasestr.c (check1): Here. New function.
17337 (do_one_test): Break out result checking code into ...
17338 (check_result): This. New function.
17339 (do_one_test): Call check_result.
17340 (test_main): Call check1.
17341 * string/bug-strchr1.c (do_test): Moved to ...
17342 * string/test-strchr.c (check1): Here. New function.
17343 (do_one_test): Break out result checking code into ...
17344 (check_result): This. New function.
17345 (do_one_test): Call check_result.
17346 (test_main): Call check1.
17347 * string/bug-strstr1.c (main): Moved to ...
046f153e 17348 * string/test-strstr.c (check1): Here. New function.
03759f47
L
17349 (do_one_test): Break out result checking code into ...
17350 (check_result): This. New function.
17351 (do_one_test): Call check_result.
17352 (test_main): Call check1.
17353 * string/bug-strcasestr1.c: Removed.
17354 * string/bug-strchr1.c: Likewise.
17355 * string/bug-strstr1.c: Likewise.
17356
53cea63e
L
17357 * elf/Makefile (dl-routines): Add hwcaps.
17358 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17359 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17360 (_dl_important_hwcaps): Moved to ...
17361 * elf/dl-hwcaps.c: Here. New file.
17362 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17363
9cee5585 17364 [BZ #14557]
bb859b06
L
17365 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17366 if IS_IN_rtld isn't defined.
17367
9cee5585
L
17368 * elf/dl-support.c (_dl_sysinfo_map): New.
17369 Include "get-dynamic-info.h" and "setup-vdso.h".
17370 (_dl_non_dynamic_init): Call setup_vdso.
17371 * elf/dynamic-link.h: Don't include <assert.h>.
17372 (elf_get_dynamic_info): Moved to ...
17373 * elf/get-dynamic-info.h: Here. New file.
17374 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17375 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17376 * elf/setup-vdso.h: Here. New file.
17377 * elf/rtld.c: Include "setup-vdso.h".
17378 (dl_main): Call setup_vdso.
17379
23c31b76
JM
173802012-10-05 Joseph Myers <joseph@codesourcery.com>
17381
28234b07
JM
17382 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17383 creal in comment listing functions tested. List finite, isinf,
17384 isnan, isless, islessequal, isgreater, isgreaterequal,
17385 islessgreater, isunordered, lgamma_r and pow10 as functions and
17386 macros not tested. Mention which functions not tested are aliases
17387 for other functions. Fix typo. Note that signs of NaNs are not
17388 tested.
17389
23c31b76
JM
17390 * scripts/config.guess: Update from config.git.
17391 * scripts/config.sub: Likewise.
17392
9043e228
RM
173932012-10-04 Roland McGrath <roland@hack.frob.com>
17394
17395 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17396 * misc/madvise.c (madvise): Renamed to __madvise.
17397 Make madvise a weak alias.
17398 * include/sys/mman.h: Declare __madvise.
17399 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17400 * sysdeps/unix/syscalls.list
17401 (madvise): Make __madvise the strong name, and madvise a weak alias.
17402 * sysdeps/unix/sysv/linux/syscalls.list
17403 (madvise, mmap): Remove redundant entries.
17404 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17405 * malloc/malloc.c (mtrim): Likewise.
17406 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17407
f57f8055
RM
174082012-10-03 Roland McGrath <roland@hack.frob.com>
17409
17410 * sysdeps/mach/hurd/dl-cache.c: File removed.
17411 * config.h.in (USE_LDCONFIG): New #undef.
17412 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17413 * configure: Regenerated.
17414 * elf/Makefile (dl-routines): Add dl-cache only under
17415 [$(use-ldconfig) = yes].
17416 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17417 cache on [USE_LDCONFIG].
17418 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17419 [USE_LDCONFIG].
17420 * elf/rtld.c (dl_main): Likewise.
17421
5bb0c10a
PT
174222012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17423
17424 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17425 _SC_LEVEL4_CACHE_LINESIZE.
17426
010188c6
RM
174272012-10-03 Roland McGrath <roland@hack.frob.com>
17428
17429 * sysdeps/unix/bsd/confstr.h: File removed.
17430
b6c5ec07
AO
174312012-10-02 Alexandre Oliva <aoliva@redhat.com>
17432
17433 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17434 sys/sdt-config.h.
17435
408223d4
RM
174362012-10-02 Roland McGrath <roland@hack.frob.com>
17437
17438 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17439 Make 'mapoff' field ElfW(Off) rather than off_t.
17440
bb9510dc
DL
174412012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17442
fc997c6e
DL
17443 * nscd/Makefile: Remove nscd-cflags and all its users.
17444 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17445 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17446
bb9510dc
DL
17447 [BZ #10631]
17448 * malloc.c (malloc_printerr): Clarify error message.
17449
05699367
L
174502012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17451
17452 [BZ #14648]
17453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17454 Set bit_FMA_Usable if FMA is supported.
17455 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17456 macro.
17457 (bit_FMA4_Usable): Updated.
17458 (index_FMA_Usable): New macro.
17459 (CPUID_FMA): Likewise
17460 (HAS_FMA): Defined with bit_FMA_Usable.
17461
51367701
RM
174622012-10-01 Roland McGrath <roland@hack.frob.com>
17463
17464 * bits/types.h (__swblk_t): Type removed.
17465 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17466 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17467 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17468 (__SWBLK_T_TYPE): Likewise.
17469 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17470 (__SWBLK_T_TYPE): Likewise.
17471 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17472 (__SWBLK_T_TYPE): Likewise.
17473 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17474 (__SWBLK_T_TYPE): Likewise.
17475
4d57bf63 174762012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 17477 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
17478
17479 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17480 (xdr_mapname): Use YPMAXMAP as maxsize.
17481 (xdr_peername): Use YPMAXPEER as maxsize.
17482 (xdr_keydat): Use YPAXRECORD as maxsize.
17483 (xdr_valdat): Use YPMAXRECORD as maxsize.
17484
93c65d43
RM
174852012-10-01 Roland McGrath <roland@hack.frob.com>
17486
497a03d6
RM
17487 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17488
93c65d43
RM
17489 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17490 * csu/init-first.c: ... here.
17491 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17492 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17493 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17494 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17495 * sysdeps/i386/init-first.c: File removed.
17496 * sysdeps/sh/init-first.c: File removed.
17497
bec749fd
JM
174982012-10-01 Joseph Myers <joseph@codesourcery.com>
17499
17500 [BZ #14645]
17501 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17502 if x * y might underflow to zero and z is zero.
17503 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17504 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17505 * math/libm-test.inc (min_subnorm_value): New variable.
17506 (fma_test): Add more tests.
17507 (fma_test_towardzero): Likewise.
17508 (fma_test_downward): Likewise
17509 (fma_test_upward): Likewise.
17510 (initialize): Set min_subnorm_value.
17511
8ec5b013
JM
175122012-09-29 Joseph Myers <joseph@codesourcery.com>
17513
17514 [BZ #14638]
17515 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17516 0 + 0.
17517 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17518 mode for addition resulting in exact zero.
17519 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17520 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17521 exact 0 + 0.
17522 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17523 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17524 * math/libm-test.inc (fma_test): Add more tests.
17525 (fma_test_towardzero): New function.
17526 (fma_test_downward): Likewise.
17527 (fma_test_upward): Likewise.
17528 (main): Call the new functions.
17529
b1fa802e
DM
175302012-09-28 David S. Miller <davem@davemloft.net>
17531
17532 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17533
d3b9fd9e
RM
175342012-09-28 Roland McGrath <roland@hack.frob.com>
17535
ea4d37b3
RM
17536 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17537 instead of SIGALRM.
17538
ac51c949
RM
17539 * sysdeps/gnu/_G_config.h: Moved to ...
17540 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17541 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17542 * sysdeps/generic/_G_config.h: ... here.
17543
28c195f7
RM
17544 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17545
848917f9
RM
17546 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17547
6bacf05b
RM
17548 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17549 Conditionalize target on [libnss_test1.so-version].
17550
91363dbb
RM
17551 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17552
cc87f7d8
RM
17553 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17554 (elfobjdir): Move out of conditionals.
17555
b1c608fe
RM
17556 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17557 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17558 (__nss_lookup_function): Conditionalize label remove_from_tree on
17559 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 17560
1d9a6d96
DM
175612012-09-28 David S. Miller <davem@davemloft.net>
17562
17563 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17564 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17565 file.
17566 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17567 sysdep_routines.
17568 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17569 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17570 when HWCAP_SPARC_CRYPTO is present.
17571
72581615
PT
175722012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17573
17574 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17575
715a900c
JL
175762012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17577
17578 [BZ #6530]
17579 * stdio-common/vfprintf.c (process_string_arg): Revert
17580 2000-07-22 change.
17581
175822011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17583
17584 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17585 for testcase.
17586 * stdio-common/tst-sprintf.c: Include <locale.h>
17587 (main): Test sprintf's handling of incomplete multibyte
17588 characters.
17589
9bac1d86
L
175902012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17591
17592 * elf/dl-runtime.c (VERSYMIDX): Removed.
17593 * elf/dl-version.c (VERSYMIDX): Likewise.
17594 * elf/do-rel.h (VERSYMIDX): Likewise.
17595 (VALIDX): Likewise.
17596 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17597 * elf/rtld.c (VALIDX): Likewise.
17598 (ADDRIDX): Likewise.
9bac1d86
L
17599 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17600 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17601 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
17602 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17603 (VALIDX): Likewise.
17604 (ADDRIDX): Likewise.
9bac1d86 17605
b31606c0
PT
176062012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17607
17608 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17609
11541177
JL
176102012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17611
17612 [BZ #11438]
17613 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17614 to global scope.
17615 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17616 addresses are in the same scope as 192.0.2/24.
17617 * posix/gai.conf: Document new scope table defaults.
17618
adb26fae
SP
176192012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17620
17621 [BZ #5298]
17622 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17623 for ftell. Compute offsets from write pointers instead.
17624 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17625
4573c6b0
SP
176262012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17627
17628 [BZ #14543]
17629 * libio/Makefile (tests): New test case tst-fseek.
17630 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17631 combination works in wide mode.
17632 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17633 state when the external buffer state changes.
17634
aa9bbfe6
DM
176352012-09-27 David S. Miller <davem@davemloft.net>
17636
17637 [BZ #14376]
17638 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17639 pass reloc->r_addend in as the 'high' argument to
17640 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17641
784421e7
DM
17642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17643
c39bc8b8
PT
176442012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17645
17646 * rt/tst-aio2.c: Include <pthread.h>.
17647 * rt/tst-aio3.c: Likewise.
17648
1ccc2399
SE
176492012-09-27 Steve Ellcey <sellcey@mips.com>
17650
17651 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17652
31ed4153
L
176532012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17654
25f5f885
L
17655 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17656 contents on [SHARED].
31ed4153 17657
b7bfe116
MP
176582012-09-26 Marek Polacek <polacek@redhat.com>
17659
17660 [BZ #14530]
17661 [BZ #13741]
17662 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17663 for C++ and GCC <4.3 as well as for non GCC compilers.
17664
43c4edba
MT
176652012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17666
17667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17668
6a1bf82f
RM
176692012-09-25 Roland McGrath <roland@hack.frob.com>
17670
17671 * Makefile.in (all, install): Declare with .PHONY.
17672 Reported by Michael Hope <michael.hope@linaro.org>.
17673
8ad11b9a
TMQMF
176742012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17675
17676 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17677 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17678 system header.
17679 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17680 Likewise.
17681 (sydep_routines): Add the new and the internal functions.
17682 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17683 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17685 (GLIBC_2.17): Add the new function.
17686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17687 (GLIBC_2.17): Likewise.
17688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17689 (GLIBC_2.17): Likewise.
17690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17691 (GLIBC_2.17): Likewise.
17692 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17693
7e2fca8d
AM
176942012-09-25 Alan Modra <amodra@gmail.com>
17695
17696 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17697 Add release barrier before setting once_control to say
17698 initialisation is done. Add hints on lwarx. Use macro in
17699 place of isync.
17700 (clear_once_control): Add release barrier.
17701
b87c4b24
JM
177022012-09-25 Joseph Myers <joseph@codesourcery.com>
17703
d032e0d2
JM
17704 [BZ #13629]
17705 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17706 specially.
17707 * math/s_clog10.c (__clog10): Likewise.
17708 * math/s_clog10f.c (__clog10f): Likewise.
17709 * math/s_clog10l.c (__clog10l): Likewise.
17710 * math/s_clogf.c (__clogf): Likewise.
17711 * math/s_clogl.c (__clogl): Likewise.
17712 * math/Makefile (libm-calls): Add x2y2m1.
17713 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17714 (__x2y2m1): Likewise.
17715 (__x2y2m1l): Likewise.
17716 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17717 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17718 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17719 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17720 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17721 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17722 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17723 * sysdeps/i386/fpu/libm-test-ulps: Update.
17724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17725
b87c4b24
JM
17726 [BZ #14621]
17727 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17728 int as type of variable DEPTH.
17729 (glob): Use size_t instead of int as type of variables NEWCOUNT
17730 and OLD_PATHC.
17731
6d3bf199
LD
177322012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17733
22bf5c17
LD
17734 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17735 Add s_sincosf-sse2.
17736 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17737 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17738 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17739 macros for using routine as __sincosf_ia32.
17740 Use macro for function declaration and weak_alias.
17741 * sysdeps/i386/fpu/libm-test-ulps: Update.
17742
17743 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17745
17746 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
17747 subnormal argument.
17748 * math/s_cexpf.c (__cexpf): Likewise.
17749 * math/s_csinf.c (__csinf): Likewise.
17750 * math/s_csinhf.c (__csinhf): Likewise.
17751 * math/s_ctanf.c (__ctanf): Likewise.
17752 * math/s_ctanhf.c (__ctanhf): Likewise.
17753 * math/s_ccosh.c (__ccoshf): Likewise.
17754 * math/s_cexp.c (__cexpl): Likewise.
17755 * math/s_csin.c (__csin): Likewise.
17756 * math/s_csinh.c (__csinh): Likewise.
17757 * math/s_ctan.c (__ctan): Likewise.
17758 * math/s_ctanh.c (ctanh): Likewise.
17759 * math/s_ccoshl.c (__ccoshl): Likewise.
17760 * math/s_cexpl.c (__cexpl): Likewise.
17761 * math/s_csinl.c (__csinl): Likewise.
17762 * math/s_csinhl.c (__csinhl): Likewise.
17763 * math/s_ctanl.c (__ctanl): Likewise.
17764 * math/s_ctanhl.c (__ctanhl): Likewise.
17765
203e5603
JM
177662012-09-25 Joseph Myers <joseph@codesourcery.com>
17767
17768 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17769 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17770 (_IO_off_t): Define to __off_t, not _G_off_t.
17771 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17772 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17773 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17774 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17775 type of __dummy and __dummy2 fields.
17776 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17777 (_G_ssize_t): Likewise.
17778 (_G_off_t): Likewise.
17779 (_G_pid_t): Likewise.
17780 (_G_uid_t): Likewise.
17781 (_G_wchar_t): Likewise.
17782 (_G_wint_t): Likewise.
17783 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17784 (_G_ssize_t): Likewise.
17785 (_G_off_t): Likewise.
17786 (_G_pid_t): Likewise.
17787 (_G_uid_t): Likewise.
17788 (_G_wchar_t): Likewise.
17789 (_G_wint_t): Likewise.
17790 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17791 (_G_ssize_t): Likewise.
17792 (_G_off_t): Likewise.
17793 (_G_pid_t): Likewise.
17794 (_G_uid_t): Likewise.
17795 (_G_wchar_t): Likewise.
17796 (_G_wint_t): Likewise.
17797
9fab36eb
SP
177982012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17799
17800 * malloc/arena.c: Include malloc-sysdep.h.
17801 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17802 is sufficient to shrink the heap or an unmap is needed.
17803 * sysdeps/generic/malloc-sysdep.h: New file. Define
17804 new function check_may_shrink_heap.
17805 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17806 new function check_may_shrink_heap.
17807
2b4f00d1
SP
178082012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17809
17810 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17811 comments.
17812
9a9028b1
DL
178132012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17814
57c69bef
DL
17815 * catgets/test-gencat.sh: Add "set -e".
17816 * elf/tst-pathopt.sh: Likewise.
17817 * grp/tst_fgetgrent.sh: Likewise.
17818 * iconvdata/run-iconv-test.sh: Likewise.
17819 * intl/tst-gettext.sh: Likewise.
17820 * intl/tst-gettext2.sh: Likewise.
17821 * intl/tst-gettext4.sh: Likewise.
17822 * intl/tst-gettext6.sh: Likewise.
17823 * intl/tst-translit.sh: Likewise.
17824 * io/ftwtest-sh: Likewise.
17825 * libio/test-freopen.sh: Likewise.
17826 * malloc/tst-mtrace.sh: Likewise.
17827 * posix/globtest.sh: Likewise.
17828 * posix/tst-getconf.sh: Likewise.
17829 * posix/wordexp-tst.sh: Likewise.
17830 * stdio-common/tst-printf.sh: Likewise.
17831 * stdio-common/tst-unbputc.sh: Likewise.
17832 * stdlib/tst-fmtmsg.sh: Likewise.
17833 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17834 * catgets/Makefile: Do not specify -e option when running
17835 testsuite shell scripts.
17836 * elf/Makefile: Likewise.
17837 * grp/Makefile: Likewise.
17838 * iconvdata/Makefile: Likewise.
17839 * intl/Makefile: Likewise.
17840 * io/Makefile: Likewise.
17841 * libio/Makefile: Likewise.
17842 * malloc/Makefile: Likewise.
17843 * posix/Makefile: Likewise.
17844 * stdio-common/Makefile: Likewise.
17845 * stdlib/Makefile: Likewise.
17846 * sysdeps/x86_64/Makefile: Likewise.
17847
9a9028b1
DL
17848 * io/ftwtest-sh: Add copyright header.
17849 * posix/globtest.sh: Likewise.
17850 * posix/tst-getconf.sh: Likewise.
17851 * posix/wordexp-tst.sh: Likewise.
17852 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17853
ced6f16e
L
178542012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17855
94b32c39
L
17856 [BZ #13679]
17857 * Makeconfig (+link): Defined as $(+link-static) if
17858 $(build-shared) isn't yes.
17859 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17860 isn't yes.
17861 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17862
189e935b
L
17863 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17864
ced6f16e
L
17865 [BZ #14562]
17866 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17867 new chunk size with MALLOC_ALIGN_MASK.
17868
a9f8e53a
JM
178692012-09-24 Joseph Myers <joseph@codesourcery.com>
17870
17871 [BZ #5044]
17872 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17873 <rounding-mode.h>.
17874 (__printf_fphex): Determine rounding using get_rounding_mode and
17875 round_away.
17876 * stdio-common/tst-printf-round.c (struct hex_test): New
17877 structure.
17878 (hex_tests): New variable.
17879 (test_hex_in_one_mode): New function.
17880 (do_test): Also run tests for hex float output.
17881
43153109
JM
178822012-09-21 Joseph Myers <joseph@codesourcery.com>
17883
17884 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17885 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17886 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17887 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17888 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17889 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17890 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17891 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17892
8a26625d
JM
178932012-09-20 Joseph Myers <joseph@codesourcery.com>
17894
17895 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17896 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17897 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17898 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17899
f3fd569c
DL
179002012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17901
17902 [BZ #14579]
17903 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17904 mode only.
17905 * elf/tst-rtld-load-self.sh: New test.
17906 * elf/Makefile: Run it.
17907
63bbedd4
JM
179082012-09-18 Joseph Myers <joseph@codesourcery.com>
17909
17910 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17911 (tst-writev-ENV): Remove.
17912 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17913
626f8b6a
CM
179142012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17915
17916 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17917
b7aaa4d6
JM
179182012-09-17 Joseph Myers <joseph@codesourcery.com>
17919
17920 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17921 unconditional.
17922 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17923 Likewise.
17924 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17925 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17926 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17927 Likewise.
17928
65513990
L
179292012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17930
17931 [BZ #14587]
17932 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17933 * config.make.in (have-cpp-asm-debuginfo): Removed.
17934 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17935 * configure: Regenerated.
17936
784761be
JM
179372012-09-14 Joseph Myers <joseph@codesourcery.com>
17938
17939 [BZ #5044]
17940 * stdio-common/printf_fp.c: Include <stdbool.h> and
17941 <rounding-mode.h>.
17942 (___printf_fp): Determine rounding using get_rounding_mode and
17943 round_away.
17944 * stdio-common/tst-printf-round.c: New file.
17945 * stdio-common/Makefile (tests): Add tst-printf-round.
17946 (link-libm): New variable.
17947 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17948
9503345f
L
179492012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17950
17951 [BZ #14576]
17952 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17953 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17954 Likewise.
17955 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17956 Likewise.
17957
ad35fc00
JM
179582012-09-13 Joseph Myers <joseph@codesourcery.com>
17959
17960 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17961 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17962 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17963 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17964
6c9b0f68
JM
179652012-09-12 Joseph Myers <joseph@codesourcery.com>
17966
17967 [BZ #14518]
17968 * include/rounding-mode.h: New file.
17969 * sysdeps/generic/get-rounding-mode.h: Likewise.
17970 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17971 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17972 (MAX_VALUE): New macro.
17973 (MIN_VALUE): Likewise.
17974 (overflow_value): New function.
17975 (underflow_value): Likewise.
17976 (round_and_return): Use overflow_value and underflow_value to
17977 determine return values in overflow and underflow cases. Use
17978 round_away to determine rounding depending on rounding mode.
17979 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17980 determine return values in overflow and underflow cases.
17981 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17982 (struct test_results): New structure.
17983 (struct test): Use struct test_results to store expected results
17984 for all rounding modes.
17985 (TEST): Include expected results for all rounding modes.
17986 (test_in_one_mode): New function.
17987 (do_test): Use test_in_one_mode to compute and check results.
17988 Check results for all rounding modes.
17989 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17990 $(link-libm).
17991
19fcedd5
AM
179922012-12-09 Allan McRae <allan@archlinux.org>
17993
1e9d84cd 17994 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 17995
8bbfd2f1
JM
179962012-09-11 Joseph Myers <joseph@codesourcery.com>
17997
17998 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17999 (_G_int32_t): Likewise.
18000 (_G_uint16_t): Likewise.
18001 (_G_uint32_t): Likewise.
18002 (_G_HAVE_BOOL): Likewise.
18003 (_G_HAVE_ATEXIT): Likewise.
18004 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18005 (_G_HAVE_IO_FILE_OPEN): Likewise.
18006 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18007 (_G_int32_t): Likewise.
18008 (_G_uint16_t): Likewise.
18009 (_G_uint32_t): Likewise.
18010 (_G_HAVE_BOOL): Likewise.
18011 (_G_HAVE_ATEXIT): Likewise.
18012 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18013 (_G_HAVE_IO_FILE_OPEN): Likewise.
18014 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18015 (_G_int32_t): Likewise.
18016 (_G_uint16_t): Likewise.
18017 (_G_uint32_t): Likewise.
18018 (_G_HAVE_BOOL): Likewise.
18019 (_G_HAVE_ATEXIT): Likewise.
18020 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18021 (_G_HAVE_IO_FILE_OPEN): Likewise.
18022
b1dc5912
L
180232012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18024
18025 * csu/libc-tls.c: Update copyright years.
18026
0e886ef9
JM
180272012-09-10 Joseph Myers <joseph@codesourcery.com>
18028
28361c5e
JM
18029 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18030 [!_G_USING_THUNKS]: Remove conditional code.
18031 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18032 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18033
0e886ef9
JM
18034 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18035 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18036 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18037 (_G_VTABLE_LABEL_PREFIX): Likewise.
18038 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18039 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18040 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18041 (_G_VTABLE_LABEL_PREFIX): Likewise.
18042 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18043 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18044 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18045 (_G_VTABLE_LABEL_PREFIX): Likewise.
18046 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18047
bcba7aa2
L
180482012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18049
18050 * libio/Makefile: Include ../Makeconfig before tests.
18051 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18052 only if $(build-shared) is yes.
18053
06585ee8
L
18054 * iconv/gconv_db.c: Update copyright years.
18055
80ccd52c
LD
180562012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18057
18058 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18059 unwind info if defined PIC. Fix special cases description.
18060 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18061
18062 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18063 DP_HI_MASK entry.
18064 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18065
691bc9c1
L
180662012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18067
3d9b46b3
L
18068 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18069
de2139a9
L
18070 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18071 is NULL.
18072
5ca78dd0
L
18073 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18074 (LDLIBS-tst-chk4): This.
18075 (LDFLAGS-tst-chk5): Renamed to ...
18076 (LDLIBS-tst-chk5): This.
18077 (LDFLAGS-tst-chk6): Renamed to ...
18078 (LDLIBS-tst-chk6): This.
18079 (LDFLAGS-tst-lfschk4): Renamed to ...
18080 (LDLIBS-tst-lfschk4): This.
18081 (LDFLAGS-tst-lfschk5): Renamed to ...
18082 (LDLIBS-tst-lfschk5): This.
18083 (LDFLAGS-tst-lfschk6): Renamed to ...
18084 (LDLIBS-tst-lfschk6): This.
18085
691bc9c1
L
18086 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18087 on $(common-objpfx)soversions.mk.
18088
65cafb1c
JM
180892012-09-07 Joseph Myers <joseph@codesourcery.com>
18090
18091 [BZ #10014]
18092 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18093 example host name.
18094
c78ab094
SP
180952012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18096
18097 * malloc/arena.c (arena_get_retry): New function that gets
18098 another arena for the caller to try its request on.
18099 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18100 current arena cannot fulfill the request.
18101 (__libc_memalign): Likewise.
18102 (__libc_memalign): Likewise.
18103 (__libc_pvalloc): Likewise.
18104 (__libc_calloc): Likewise.
18105
01f49f59
JT
181062012-09-05 John Tobey <john.tobey@gmail.com>
18107
18108 [BZ #13542]
18109 * manual/arith.texi (Operations on Complex): Fix description
18110 of carg branch cut.
18111
4c23fed5
JM
181122012-09-06 Joseph Myers <joseph@codesourcery.com>
18113
1d3c8572
JM
18114 [BZ #10014]
18115 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18116 host name.
18117
4c23fed5
JM
18118 [BZ #10038]
18119 * manual/memory.texi (Memory): Make order of menu items match
18120 order of sections.
18121
04570aaa
L
181222012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18123
18124 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18125 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18126 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18127
b80af2f4
L
181282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18129
18130 * csu/libc-tls.c (static_dtv): Renamed to ...
18131 (_dl_static_dtv): This. Make it global.
18132 (_dl_initial_dtv): Removed.
18133 (__libc_setup_tls): Updated.
18134 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18135 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18136 DL_INITIAL_DTV.
18137
2abe9f15
PM
181382012-09-06 Petr Machata <pmachata@redhat.com>
18139
18140 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18141 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18142 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18143 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18144
0948c3af
L
181452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18146
18147 [BZ #14545]
18148 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18149 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18150 freeing dtv[-1].
18151
a5055ad1
L
181522012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18153
18154 [BZ #14544]
18155 * Makeconfig (link-static-before-libc): Replace $(+prector)
18156 with $(+prectorT).
18157 (link-static-after-libc): Replace $(+postctor) with
18158 $(+postctorT).
18159 (link-bounded): Replace $(+prector)/$(+postctor) with
18160 $(+prectorT)/$(+postctorT).
18161 (+prectorT): New macro.
18162 (+postctorT): Likewise.
18163
ed8c2ecd
JM
181642012-09-06 Joseph Myers <joseph@codesourcery.com>
18165
18166 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18167 (round_str): Handle values above the maximum for IBM long double
18168 as inexact.
18169 * stdlib/tst-strtod-round.c (tests): Regenerated.
18170
14c996c8
AK
181712012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18172
18173 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18174 assembler flag.
18175 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18176 zarch_nohighgprs around the zarch optimized routines.
18177 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18178 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18179 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18180 for zarch.
18181
430d6ce6
DM
181822012-09-05 David S. Miller <davem@davemloft.net>
18183
18184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18185
ff04dda4
DM
18186 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18187 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18188 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18189 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18190 entries.
18191
24d4e01b
AO
181922012-09-05 Alexandre Oliva <aoliva@redhat.com>
18193
18194 * malloc/arena.c: Fold copyright years.
18195 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18196
61d58174
AO
181972012-09-05 Alexandre Oliva <aoliva@redhat.com>
18198
18199 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18200
20196a5e
AO
182012012-09-05 Alexandre Oliva <aoliva@redhat.com>
18202
18203 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18204
5c447383
AO
182052012-09-05 Alexandre Oliva <aoliva@redhat.com>
18206
18207 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18208 change internal state upon failure.
18209
fad64255
AO
182102012-09-05 Alexandre Oliva <aoliva@redhat.com>
18211
18212 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18213 * malloc/memusage.c (mmap): Likewise.
18214 (mmap64, mremap): Likewise. Adjust name in comment.
18215
1ffb8c90
SP
182162012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18217
18218 * libio/fileops.c: Fix typos in comments.
18219 * libio/oldfileops.c: Likewise.
18220 * libio/wfileops.c: Likewise.
18221
6ef9cc37
SP
182222012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18223
18224 [BZ #1349]
18225 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18226 (tst-malloc-usable-ENV): Set environment for test case.
18227 * malloc/hooks.c (malloc_check_get_size): New function to get
18228 requested size.
18229 * malloc/malloc.c (musable): Use malloc_check_get_size.
18230 * malloc/tst-malloc-usable.c: New test case.
18231
4d038ae3
AS
182322012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18233
18234 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18235
c4e85184
AM
182362012-09-05 Allan McRae <allan@archlinux.org>
18237
b9dafc56 18238 [BZ #13966]
c4e85184
AM
18239 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18240 determine header location.
18241 * configure: Regenerated.
18242
e1343020
AS
182432012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18244
18245 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18246 float format.
18247 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
18248 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18249 format.
e1343020
AS
18250 (test): Regenerate.
18251
0a9f1987
DM
182522012-09-04 David S. Miller <davem@davemloft.net>
18253
18254 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18255 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18256 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18257
29237804
FW
182582012-09-04 Florian Weimer <fweimer@redhat.com>
18259
18260 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18261 failures.
18262
edb3cb88
FW
18263 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18264
60160d83
JM
182652012-09-04 Joseph Myers <joseph@codesourcery.com>
18266
18267 [BZ #9914]
18268 * libio/iogetdelim.c: Include <limits.h>.
18269 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18270 + len + 1 would overflow.
18271
bcd6c8dc
AJ
182722012-09-03 Andreas Jaeger <aj@suse.de>
18273
18274 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18275 * sysdeps/i386/fpu/libm-test-ulps: Update.
18276
4ffffbd2
LD
182772012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18278
18279 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18280 Add s_sinf-sse2, s_conf-sse2.
18281
18282 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18283 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18284 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18285 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18286
18287 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18288 for using routine as __sinf_ia32.
18289 Use macro for function declaration and weak_alias.
18290 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18291 for using routine as __cosf_ia32.
18292 Use macro for function declaration and weak_alias.
18293
18294 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18295 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18296
18297 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18298 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18300
18301 * math/libm-test.inc (cos_test): Add more test cases.
18302 (sin_test): Likewise.
18303 (sincos_test): Likewise.
18304
511fa286
AK
183052012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18306
18307 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18308 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18309 hidden.
18310 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18311
5f30cfec
L
183122012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18313
18314 [BZ #14538]
18315 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18316 first element of the GOT.
18317 (elf_machine_load_address): Return the difference between
18318 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18319
0786794f
AM
183202012-09-01 Allan McRae <allan@archlinux.org>
18321
5f30cfec
L
18322 [BZ #13412]
18323 * configure.in (AWK): Require gawk version 3.0 or later.
18324 * configure: Regenerated.
0786794f 18325
26889eac
JM
183262012-09-01 Joseph Myers <joseph@codesourcery.com>
18327
18328 * sysdeps/unix/sysv/linux/kernel-features.h
18329 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18330 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18331 [__NR_clock_getres]: Make code unconditional.
18332 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18333 (clock_getcpuclockid): Remove code left unreachable by removal of
18334 conditionals.
18335 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18336 code unconditional.
18337 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18338 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18339 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18340 Make code unconditional.
18341 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18342 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18343 * sysdeps/unix/sysv/linux/clock_settime.c
18344 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18345 conditional code.
18346 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18347 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18348
d22e28b0
L
183492012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18350
18351 [BZ #14476]
18352 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18353 scripts/test-installation.pl.
18354
18355 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18356 and $ld_so_version if it is set.
18357
050af9c4
SP
183582012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18359
18360 [BZ #14516]
18361 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18362 failure if reading from procfs failed.
18363 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18364
ad845c0b
JM
183652012-08-27 Joseph Myers <joseph@codesourcery.com>
18366
18367 * sysdeps/unix/sysv/linux/kernel-features.h
18368 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18369 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18370 Remove conditional code.
18371 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18372 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18373 Remove conditional code.
18374 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18375 * sysdeps/unix/sysv/linux/i386/fxstat.c
18376 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18377 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18378 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18379 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18380 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18381 * sysdeps/unix/sysv/linux/i386/lxstat.c
18382 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18383 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18384 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18385 Remove conditional code.
18386 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18387 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18388 Remove conditional code.
18389 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18390 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18391 <kernel-features.h>.
18392 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18393 Remove.
18394 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18395 Remove conditional code.
18396 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18397 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18398 Remove conditional.
18399
5dbf56af
MF
184002012-08-27 Mike Frysinger <vapier@gentoo.org>
18401
18402 [BZ #5400]
18403 * NEWS: Add fixed bug number.
18404
d6e70f43
JM
184052012-08-27 Joseph Myers <joseph@codesourcery.com>
18406
7efb4737
JM
18407 [BZ #14519]
18408 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18409 underflowing exponent in case of negative sign.
18410 * stdlib/tst-strtod-round-data: Add more tests.
18411 * stdlib/tst-strtod-round.c (tests): Regenerated.
18412
af92131a
JM
18413 [BZ #3479]
18414 * stdlib/strtod_l.c (NDIG): Remove.
18415 (HEXNDIG): Likewise.
18416 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18417 smallest representable value.
18418 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18419 lie within an exact representation of 1/2 ulp of the result.
18420 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18421 unconditionally.
18422 (TENS_P9_IDX): Define unconditionally.
18423 (TENS_P9_SIZE): Likewise.
18424 (TENS_P10_IDX): Likewise.
18425 (TENS_P10_SIZE): Likewise.
18426 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18427 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18428 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18429 entries for 10^2^13 and 10^2^14.
18430 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18431 (TENS_P13_IDX): Define.
18432 (TENS_P13_SIZE): Likewise.
18433 (TENS_P14_IDX): Likewise.
18434 (TENS_P14_SIZE): Likewise.
18435 (_fpioconst_pow10): Change array size to
18436 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18437 unconditional.
18438 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18439 1024]: Add entries for 10^2^13 and 10^2^14.
18440 [LAST_POW10 > _LAST_POW10]: Remove #error.
18441 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18442 (_fpioconst_pow10): Change array size to
18443 FPIOCONST_POW10_ARRAY_SIZE.
18444 * stdlib/gen-fpioconst.c: New file.
18445 * stdlib/gen-tst-strtod-round.c: Likewise.
18446 * stdlib/tst-strtod-round-data: Likewise.
18447 * stdlib/tst-strtod-round.c: Likewise.
18448 * stdlib/Makefile (tests): Add tst-strtod-round.
18449
d6e70f43
JM
18450 [BZ #14459]
18451 * stdlib/strtod_l.c: Include <stdint.h>.
18452 (NDEBUG): Do not define.
18453 (round_and_return): Change EXPONENT parameter to type intmax_t.
18454 Rearrange calculations to avoid internal overflow possibilities.
18455 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18456 Rearrange calculations to avoid internal overflow possibilities.
18457 Assert that number fits inside MPNSIZE limbs.
18458 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18459 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18460 calculations and add assertions to avoid internal overflow
18461 possibilities. Add casts to avoid signed/unsigned operations.
18462 * stdlib/tst-strtod-overflow.c: New file.
18463 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18464
1f529f7d
MP
184652012-08-25 Marek Polacek <polacek@redhat.com>
18466
18467 * time/time.h: Fix some typos in comments.
18468
59a629f1
RM
184692012-08-23 Roland McGrath <roland@hack.frob.com>
18470
18471 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18472 * posix/tst-rfc3484-2.c: Likewise.
18473 * posix/tst-rfc3484-3.c: Likewise.
18474
d3bafbc9
SM
184752012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18476
18477 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18478 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18479
4efcc022
JM
184802012-08-23 Joseph Myers <joseph@codesourcery.com>
18481
18482 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18483 #include of fxstatat64.c.
18484
3cc3ef96
RM
184852012-08-22 Roland McGrath <roland@hack.frob.com>
18486
f04e2132
RM
18487 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18488 * shadow/getspent_r.c: Likewise.
18489 * shadow/getspnam.c: Likewise.
18490 * shadow/getspnam_r.c: Likewise.
18491 * gshadow/getsgent.c: Likewise.
18492 * gshadow/getsgent_r.c: Likewise.
18493 * gshadow/getsgnam.c: Likewise.
18494 * gshadow/getsgnam_r.c: Likewise.
18495 * inet/getnetbyad.c: Likewise.
18496 * inet/getnetbyad_r.c: Likewise.
18497 * inet/getnetbynm.c: Likewise.
18498 * inet/getnetbynm_r.c: Likewise.
18499 * inet/getnetent.c: Likewise.
18500 * inet/getnetent_r.c: Likewise.
18501 * inet/getproto.c: Likewise.
18502 * inet/getproto_r.c: Likewise.
18503 * inet/getprtent.c: Likewise.
18504 * inet/getprtent_r.c: Likewise.
18505 * inet/getprtname.c: Likewise.
18506 * inet/getprtname_r.c: Likewise.
18507 * inet/getrpcbyname.c: Likewise.
18508 * inet/getrpcbyname_r.c: Likewise.
18509 * inet/getrpcbynumber.c: Likewise.
18510 * inet/getrpcbynumber_r.c: Likewise.
18511 * inet/getrpcent.c: Likewise.
18512 * inet/getrpcent_r.c: Likewise.
18513 * inet/getaliasent.c: Likewise.
18514 * inet/getaliasent_r.c: Likewise.
18515 * inet/getaliasname.c: Likewise.
18516 * inet/getaliasname_r.c: Likewise.
18517 * nscd/getgrgid_r.c: Likewise.
18518 * nscd/getgrnam_r.c: Likewise.
18519 * nscd/gethstbyad_r.c: Likewise.
18520 * nscd/gethstbynm3_r.c: Likewise.
18521 * nscd/getpwnam_r.c: Likewise.
18522 * nscd/getpwuid_r.c: Likewise.
18523 * nscd/getsrvbynm_r.c: Likewise.
18524 * nscd/getsrvbypt_r.c: Likewise.
18525 * nscd/gai.c: Likewise.
18526
c53d909c
RM
18527 * configure.in (build_nscd): New substituted variable, set
18528 by --disable-build-nscd and defaults to $use_nscd.
18529 * configure: Regenerated.
18530 * config.make.in (build-nscd): New substituted variable.
18531 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18532 Change conditional to require [$(build-nscd) = yes] as well.
18533 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18534
3cc3ef96
RM
18535 [BZ# 13696]
18536 * configure.in (use_nscd): New substituted variable, set by
18537 --disable-nscd. If enabled, define USE_NSCD.
18538 * configure: Regenerated.
18539 * config.h.in: Add USE_NSCD.
18540 * config.make.in (use-nscd): New substituted variable.
18541 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18542 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18543 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18544 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18545 (CFLAGS-getgrnam_r.c): Likewise.
18546 (CFLAGS-initgroups.c): Likewise.
18547 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18548 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18549 Variables removed.
18550 * inet/getnetgrent_r.c
18551 (nscd_setnetgrent): New function, broken out of ...
18552 (setnetgrent): ... here. Call it.
18553 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18554 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18555 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18556 * nscd/Makefile (routines, aux): Move definitions after include of
18557 Makeconfig. Conditionalize on [$(use-nscd) != no].
18558 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18559 Conditionalize on [USE_NSCD].
18560 (is_nscd, nscd_init_cb): Likewise.
18561 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18562 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18563 * nss/nss_db/db-init.c: Likewise.
18564 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18565 [USE_NSCD].
18566 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18567 (make_request): Use it.
18568 (cache_valid_p): New function.
18569 (__check_pf): Use it.
18570 * NEWS: Add item for --disable-nscd.
18571
07e51550
DL
185722012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18573
18574 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18575 to support sed >= 4.2.1-20-ga9bf076.
18576 * configure: Regenerated.
18577
35a5b08b
RM
185782012-08-22 Roland McGrath <roland@hack.frob.com>
18579
18580 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18581 Conditionalize whole body on [IREL].
18582
8479f23a
JL
185832012-08-22 Jeff Law <law@redhat.com>
18584
18585 [BZ #14505]
18586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18587 if the family is PF_UNSPEC.
18588
48da0b21
MF
185892012-08-22 Mike Frysinger <vapier@gentoo.org>
18590
18591 * Makerules (lib-version): Rename from V.
18592 (install-lib-nosubdir): Change V to lib-version.
18593
15d0da8c
WS
185942012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18595
18596 [BZ #14252]
18597 * powerpc32/power6/wcschr.c: New file.
18598 * powerpc32/power6/wcscpy.c: New file.
18599 * powerpc32/power6/wcsrchr.c: New file.
18600 * powerpc64/power6/wcschr.c: New file.
18601 * powerpc64/power6/wcscpy.c: New file.
18602 * powerpc64/power6/wcsrchr.c: New file.
18603
bcca0895
MK
186042012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18605
18606 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18607 (two_way_short_needle): Use it.
5a4aaa33
RM
18608 * string/strstr.c (AVAILABLE1_USES_J): Define.
18609 * string/strcasestr.c: Likewise.
99677e57
MK
18610
18611 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18612 array references.
18613 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18614
400726de
MK
18615 [BZ #11607]
18616 * NEWS: Add an entry.
18617 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18618 define their defaults.
18619 (two_way_short_needle): Detect end-of-string on-the-fly.
18620 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18621 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18622 * string/bug-strcasestr1.c: New test.
18623 * string/Makefile: Run it.
18624
20a71f2c
MK
186252012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18626
18627 [BZ #11607]
18628 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18629 the first character.
18630
21ad0558
RM
186312012-08-21 Roland McGrath <roland@hack.frob.com>
18632
18633 * csu/elf-init.c (__libc_csu_irel): Function removed.
18634 * csu/libc-start.c (apply_irel): New function.
18635 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18636
0e1d9911
JM
186372012-08-21 Joseph Myers <joseph@codesourcery.com>
18638
18639 * sysdeps/unix/sysv/linux/kernel-features.h
18640 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18641 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18642 <kernel-features.h>.
18643 [__NR_fadvise64_64]: Make code unconditional.
18644 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18645 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18646 !__NR_fadvise64_64)]: Likewise.
18647 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18648 !__NR_fadvise64_64))]: Likewise.
18649 [__NR_fadvise64]: Make code unconditional.
18650 [!__NR_fadvise64]: Remove conditional code.
18651 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18652 <kernel-features.h>.
18653 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18654 unconditional.
18655 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18656 conditional code.
18657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18658 not include <kernel-features.h>.
18659 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18660 unconditional.
18661 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18662 conditional code.
18663 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18664 include <kernel-features.h>.
18665 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18666 unconditional.
18667 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18668 conditional code.
18669
14a50c9d
WS
186702012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18671
18672 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18673 slight instruction rearrangements per scrollpipe analysis.
18674 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18675
c0f4faf0
RM
186762012-08-20 Roland McGrath <roland@hack.frob.com>
18677
696da859
RM
18678 * manual/syslog.texi (syslog; vsyslog, closelog):
18679 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18680 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18681
c0f4faf0
RM
18682 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18683 DSOCAPS to match condition on defining it.
18684
348363b2
JM
186852012-08-20 Joseph Myers <joseph@codesourcery.com>
18686
a35cbf28
JM
18687 * sysdeps/unix/sysv/linux/kernel-features.h
18688 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18690 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18691 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18693 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18694 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18696 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18697 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18698
445f7ecd
JM
18699 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18700 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18701
348363b2
JM
18702 * sysdeps/unix/sysv/linux/kernel-features.h
18703 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18704 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18705 unconditional.
18706 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18707 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18708 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18709 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18710 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18711 Make code unconditional.
18712 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18713 (__mmap64) [!__NR_mmap2]: Likewise.
18714 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18715 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18716 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18717 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18718 [__NR_mmap2]: Make code unconditional.
18719 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18720 (__mmap64) [!__NR_mmap2]: Likewise.
18721
bc5bc0e5
AK
187222012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18723
18724 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18725
88d506de
AJ
187262012-08-18 Andreas Jaeger <aj@suse.de>
18727
18728 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18729
493387d2
MF
187302012-08-18 Mike Frysinger <vapier@gentoo.org>
18731
18732 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18733 * include/unistd.h (__have_sock_cloexec): Likewise.
18734 (__have_pipe2): Likewise.
18735 (__have_dup3): Likewise.
18736
a277af22
MF
187372012-08-18 Mike Frysinger <vapier@gentoo.org>
18738
18739 [BZ #9685]
18740 * include/unistd.h (__have_pipe2): Change define into an extern int.
18741 (__have_dup3): Likewise.
18742 * socket/have_sock_cloexec.c: Include fcntl.h.
18743 (__have_pipe2): New variable.
18744 (__have_dup3): Likewise.
18745
fdab8fd3
MF
187462012-08-17 Mike Frysinger <vapier@gentoo.org>
18747
18748 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18749
31035e80
MP
187502012-08-17 Marek Polacek <polacek@redhat.com>
18751
18752 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18753 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18754
3bd9e993
RM
187552012-08-17 Roland McGrath <roland@hack.frob.com>
18756
c91c505f
RM
18757 * configure.in: Add AC_SUBST for sysheaders.
18758 * configure: Regenerated.
18759 * config.make.in (sysheaders): New substituted variable.
18760
7c6f9d53
RM
18761 * sysdeps/unix/mkfifo.c: Moved ...
18762 * sysdeps/posix/mkfifo.c: ... here.
18763 * sysdeps/unix/mkfifoat.c: Moved ...
18764 * sysdeps/posix/mkfifoat.c: ... here.
18765
18766 * sysdeps/unix/utime.c: Moved ...
18767 * sysdeps/posix/utime.c: ... here.
18768
18769 * sysdeps/unix/time.c: Moved ...
18770 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
18771 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18772 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
18773
18774 * sysdeps/unix/nice.c: Moved ...
18775 * sysdeps/posix/nice.c: ... here.
18776
18777 * sysdeps/unix/alarm.c: Moved ...
18778 * sysdeps/posix/alarm.c: ... here.
18779
3bd9e993
RM
18780 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18781
d1f09384
JL
187822012-08-17 Jeff Law <law@redhat.com>
18783
18784 * intl/Makefile (codeset_mo): New variable.
18785 ($(codeset_mo)): New target.
18786 (tst-codeset.out): Depend on that. Remove explicit rule.
18787 (tst-gettext3.out, tst-gettext5.out): Likewise.
18788 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18789 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18790 * intl/tst-codeset.sh: Remove.
18791 * intl/tst-gettext3.sh: Likewise.
18792 * intl/tst-gettext5.sh: Likewise.
18793
2ae1ae5c
RM
187942012-08-17 Roland McGrath <roland@hack.frob.com>
18795
c31fdb83
RM
18796 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18797 * sysdeps/unix/syscalls.list: ... here.
18798
a0844057
RM
18799 * sysdeps/posix/getaddrinfo.c
18800 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18801 (gaiconf_init, gaiconf_reload): Use them.
18802 [!_STATBUF_ST_NSEC]
18803 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18804 Define using time_t rather than struct timespec.
18805
750c1f2a
RM
18806 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18807 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18808 Macros removed.
18809 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18810 [!NO_THREADS].
18811 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18812 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18813 Likewise.
18814
2ae1ae5c
RM
18815 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18816 __libc_cleanup_push argument.
18817
e66a42f5
RM
18818 * bits/param.h: New file.
18819 * misc/sys/param.h: New file.
18820 * include/sys/param.h: New file.
18821 * misc/Makefile (headers): Add bits/param.h.
18822 * sysdeps/generic/sys/param.h: File removed.
18823 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18824 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18825 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 18826 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 18827
b7c08a66
RM
18828 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18829 last change.
18830
b2e1c562
RM
18831 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18832 [_IO_MTSAFE_IO].
18833 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18834 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18835 New macros.
18836
c75ccd4c
RM
18837 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18838 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18839 rather than -D_IO_MTSAFE_IO conditionally.
18840 * stdio-common/Makefile (CPPFLAGS): Likewise.
18841 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18842 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18843 Use $(libio-mtsafe).
18844 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18845 of -D_IO_MTSAFE_IO.
18846 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18847 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18848 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18849 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18850 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18851 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18852 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18853 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18854 (CFLAGS-fread_u_chk.c): Likewise.
18855 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18856 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18857 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18858 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18859 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18860 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18861 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18862 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18863 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18864
18865 * libio/Makefile: Test [$(libc-reentrant) = yes]
18866 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18867
18868 * Makeconfig
18869 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18870 * sysdeps/pthread/configure: File removed.
18871 * sysdeps/pthread/Makeconfig: New file.
18872 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18873 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18874
d9195db8
GB
188752012-08-16 Gary Benson <gbenson@redhat.com>
18876
18877 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18878 unmapping the first object in a namespace.
18879
86466cd9
RM
188802012-08-16 Roland McGrath <roland@hack.frob.com>
18881
18882 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18883 (__internal_setnetgrent): ... this. Add internal_function to
18884 definition. Add libc_hidden_def.
18885 (setnetgrent): Update caller.
18886 (internal_endnetgrent): Renamed to ...
18887 (__internal_endnetgrent): ... this. Add internal_function to
18888 definition. Add libc_hidden_def.
18889 (endnetgrent): Update caller.
18890 (internal_getnetgrent_r): Renamed to ...
18891 (__internal_getnetgrent_r): ... this. Add internal_function to
18892 definition. Add libc_hidden_def.
18893 (__getnetgrent_r): Update caller.
18894 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18895
c3c8283c
JM
188962012-08-16 Joseph Myers <joseph@codesourcery.com>
18897
18898 * stdlib/longlong.h: Update from GCC.
18899
db1ee0a8
RM
189002012-08-16 Roland McGrath <roland@hack.frob.com>
18901
18902 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18903 on _QL, which is set by umul_ppmm but never used.
18904 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18905 variables, which are set by GMP macros but never used.
18906 * stdio-common/_itowa.c (_itowa): Likewise.
18907 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18908 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18909
30f69637
CD
189102012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18911
18912 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18913 struct La_sh_regs is not constant.
18914 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18915 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18916 and struct La_sparc64_regs are not constant.
18917
93a78ac4
JM
189182012-08-16 Joseph Myers <joseph@codesourcery.com>
18919
18920 * sysdeps/unix/sysv/linux/kernel-features.h
18921 (__ASSUME_POSIX_TIMERS): Remove.
18922 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18923 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18924 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18925 Make code unconditional.
18926 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18927 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18928 Make code unconditional.
18929 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18930 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18931 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18932 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18933 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18934 Make code unconditional.
18935 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18936 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18937 (__libc_missing_posix_timers): Remove.
18938
dd924cd7
RM
189392012-08-15 Roland McGrath <roland@hack.frob.com>
18940
4b4f2771
RM
18941 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18942 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18943
601c888b
RM
18944 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18945
176790a7
RM
18946 * elf/dl-sym.c: Include <stdlib.h>.
18947
329bc018
RM
18948 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18949 constants, which avoids warnings in 32-bit builds.
18950
e04e272d
RM
18951 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18952 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18953
952bf94a
RM
18954 * misc/lseek.c: File moved to ...
18955 * io/lseek.c: ... here.
18956
7c99b50a
RM
18957 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18958
dd924cd7
RM
18959 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18960 shifting LEN more than 31 bits at once.
18961
b3f479a8
LD
189622012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18963
18964 [BZ #14195]
8c4ae0d4
RM
18965 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18966 segmentation fault for a case of two empty input strings.
b3f479a8
LD
18967 * string/test-strncasecmp.c (check1): Renamed to...
18968 (bz12205): ...this.
18969 (bz14195): Add new testcase for two empty input strings and N > 0.
18970 (test_main): Call new testcase, adapt for renamed function.
18971
9c55864e
AJ
189722012-08-15 Andreas Jaeger <aj@suse.de>
18973
18974 [BZ #14090]
18975 * crypt/md5test2.c: New test, based on test supplied by Serge
18976 Belyshev <belyshev@depni.sinp.msu.ru>.
18977 * crypt/Makefile (xtests): Add md5test-giant..
18978 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18979
02dcb6c5
PE
189802012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18981
18982 [BZ #14090]
18983 * crypt/md5.c (md5_process_block): Don't assume the buffer
18984 length is less than 2**32.
18985 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18986 length is less than 2**64.
18987
a3f95dcc
RM
189882012-08-15 Roland McGrath <roland@hack.frob.com>
18989
be75d758
RM
18990 * string/str-two-way.h: Include <sys/param.h>.
18991 (MAX): Macro removed.
18992
7312ca90
RM
18993 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18994 Move #define and #undef of memmove to just before and after
18995 including <string.h>.
18996
9a0a5486
RM
18997 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18998 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18999 and after including <string.h>. Move declarations of
19000 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19001 to before #include "string/memmove.c".
19002
67cc348d
RM
19003 * include/dirent.h: Declare __getdirentries.
19004
a3f95dcc
RM
19005 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19006 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19007
ca98e171
MF
190082012-08-14 Mike Frysinger <vapier@gentoo.org>
19009
19010 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19011 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19012 * sysdeps/i386/configure: Regenerated.
19013 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19014 STABS_CURRENT_FILE, and STABS_FUN.
19015 (END): Remove call to STABS_FUN_END.
19016 (STABS_CURRENT_FILE1): Delete.
19017 (STABS_CURRENT_FILE): Likewise.
19018 (STABS_FUN): Likewise.
19019 (STABS_FUN_END): Likewise.
19020 (STABS_FUN2): Likewise.
19021 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19022 * sysdeps/x86_64/configure: Regenerated.
19023
5908bf46
RM
190242012-08-14 Roland McGrath <roland@hack.frob.com>
19025
19026 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 19027 * elf/dl-lookup.c: Likewise.
5908bf46 19028
f2c05b9e
JM
190292012-08-14 Joseph Myers <joseph@codesourcery.com>
19030
19031 * sysdeps/unix/sysv/linux/kernel-features.h
19032 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19033 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19034 unconditionally.
19035 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19036 unconditionally.
19037 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19038 condition on __ASSUME_CLONE_THREAD_FLAGS.
19039
e11f5155
AJ
190402012-08-14 Andreas Jaeger <aj@suse.de>
19041
19042 * sysdeps/i386/fpu/libm-test-ulps: Update.
19043
51a9ba86
MK
190442012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19045
2fdd4f78
AJ
19046 * include/atomic.h (atomic_exchange_and_add): Split into ...
19047 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19048 New atomic macros.
51a9ba86 19049
ba6cba9e
MT
190502012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19051
19052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19053
42443a47
JL
190542012-08-13 Jeff Law <law@redhat.com>
19055
19056 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19057 null byte in the output string.
19058
121dce05
JM
190592012-08-10 Joseph Myers <joseph@codesourcery.com>
19060
19061 * sysdeps/unix/sysv/linux/kernel-features.h
19062 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19063 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19064 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19065 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19066 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19067 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19068 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19069
bf51f568
JL
190702012-08-09 Jeff Law <law@redhat.com>
19071
19072 [BZ #13939]
19073 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19074 When avoid_arena is set, don't retry in the that arena. Pick the
19075 next one, whatever it might be.
19076 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19077 (arena_lock): Pass in new parameter to arena_get2.
19078 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19079 arena_get2.
19080 (__libc_malloc): Unify retrying after main arena failure with
19081 __libc_memalign version.
19082 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19083
f85fa270
L
190842012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19085
19086 [BZ #14166]
19087 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19088 to __redirect_strstr.
19089 (__strstr_sse42): Use typeof __redirect_strstr.
19090 (__strstr_ia32): Likewise.
19091 (__libc_strstr): New prototype.
19092 (strstr): Renamed to ...
19093 (__libc_strstr): This.
19094 (strstr): New strong alias of __libc_strstr.
19095 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19096 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19097 __redirect_time.
19098 Include <time.h>.
19099 (__libc_time): New prototype.
19100 (time_ifunc): Replace time with __libc_time.
19101 (time): New strong alias and hidden definition of __libc_time.
19102 (__GI_time): Remove strong alias.
19103 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19104 Include <stddef.h>.
19105 (memmove): Redefined to __redirect_memmove.
19106 (__memmove_sse2): Use typeof __redirect_memmove.
19107 (__memmove_ssse3): Likewise.
19108 (__memmove_ssse3_back): Likewise.
19109 (__libc_memmove): New prototype.
19110 (memmove): Renamed to ...
19111 (__libc_memmove): This.
19112 (memmove): New strong alias of __libc_memmove.
19113
33b4a91e
MS
191142012-08-08 Mark Salter <msalter@redhat.com>
19115
19116 * elf/elf.h
19117 (R_MN10300_TLS_GD): Define.
19118 (R_MN10300_TLS_LD): Likewise.
19119 (R_MN10300_TLS_LDO): Likewise.
19120 (R_MN10300_TLS_GOTIE): Likewise.
19121 (R_MN10300_TLS_IE): Likewise.
19122 (R_MN10300_TLS_LE): Likewise.
19123 (R_MN10300_TLS_DTPMOD): Likewise.
19124 (R_MN10300_TLS_DTPOFF): Likewise.
19125 (R_MN10300_TLS_TPOFF): Likewise.
19126 (R_MN10300_SYM_DIFF): Likewise.
19127 (R_MN10300_ALIGN): Likewise.
19128 (R_MN10300_NUM): Update.
19129
b36137f1
JM
191302012-08-08 Joseph Myers <joseph@codesourcery.com>
19131
19132 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19133 Remove.
19134
cdd915fd
RM
191352012-08-08 Roland McGrath <roland@hack.frob.com>
19136
a2433aac
RM
19137 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19138
cdd915fd
RM
19139 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19140 sysdeps/unix -> sysdeps/posix move.
19141 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19142
bf9b740a
AM
191432012-08-07 Allan McRae <allan@archlinux.org>
19144
19145 [BZ #14303]
19146 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19147 (SUNOS_CPP): Likewise.
19148 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19149 not found.
19150 (open_input): Call CPP using execvp.
19151
93df14ee
JM
191522012-08-07 Joseph Myers <joseph@codesourcery.com>
19153
19154 * sysdeps/unix/sysv/linux/kernel-features.h
19155 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19156 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19157 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19158 (__ASSUME_WAITID_SYSCALL): Likewise.
19159 * sysdeps/unix/sysv/linux/dl-execstack.c
19160 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19161 code unconditional.
19162 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19163 conditional code.
19164 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19165 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19166 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19167 code.
19168 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19169 unconditional.
19170 [__ASSUME_WAITID_SYSCALL]: Likewise.
19171 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19172
d34689de
RM
191732012-08-07 Roland McGrath <roland@hack.frob.com>
19174
a281decc
RM
19175 * sysdeps/unix/closedir.c: Renamed to ...
19176 * sysdeps/posix/closedir.c: ... here.
19177 * sysdeps/unix/dirfd.c: Renamed to ...
19178 * sysdeps/posix/dirfd.c: ... here.
19179 * sysdeps/unix/dirstream.h: Renamed to ...
19180 * sysdeps/posix/dirstream.h: ... here.
19181 * sysdeps/unix/fdopendir.c: Renamed to ...
19182 * sysdeps/posix/fdopendir.c: ... here.
19183 * sysdeps/unix/opendir.c: Renamed to ...
19184 * sysdeps/posix/opendir.c: ... here.
19185 * sysdeps/unix/readdir.c: Renamed to ...
19186 * sysdeps/posix/readdir.c: ... here.
19187 * sysdeps/unix/readdir_r.c: Renamed to ...
19188 * sysdeps/posix/readdir_r.c: ... here.
19189 * sysdeps/unix/rewinddir.c: Renamed to ...
19190 * sysdeps/posix/rewinddir.c: ... here.
19191 * sysdeps/unix/seekdir.c: Renamed to ...
19192 * sysdeps/posix/seekdir.c: ... here.
19193 * sysdeps/unix/telldir.c: Renamed to ...
19194 * sysdeps/posix/telldir.c: ... here.
19195 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19196 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19197 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19198 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19199
22895b47
RM
19200 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19201 * bits/fcntl.h: ... here.
19202
707a53b6
RM
19203 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19204 not 0.
19205 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19206 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19207 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19208 (struct flock): Move l_start, l_len to the beginning.
19209 Use __pid_t for l_pid.
19210 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19211 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19212 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19213 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19214 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19215 [__USE_LARGEFILE64] (struct flock64): New type.
19216 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19217
f0bd3e25
RM
19218 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19219 * bits/dirent.h: ... here.
19220
d34689de
RM
19221 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19222 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19223
6dad2c06
JM
192242012-08-07 Joseph Myers <joseph@codesourcery.com>
19225
19226 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19227 Change from 2.6.0 to 2.6.16.
19228 * sysdeps/unix/sysv/linux/configure: Regenerated.
19229 * sysdeps/unix/sysv/linux/kernel-features.h
19230 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19231 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19232 version.
19233 (__ASSUME_UTIMES): Likewise.
19234 (__ASSUME_CLONE_STOPPED): Remove.
19235 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19236 architectures, not kernel version.
19237 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19238 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19239 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19240 (__ASSUME_WAITID_SYSCALL): Likewise.
19241 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19242 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19243 * README: State 2.6.16 as minimum Linux kernel version. Do not
19244 refer to older versions.
19245
03af9520
RM
192462012-08-06 Roland McGrath <roland@hack.frob.com>
19247
8e49df1d
RM
19248 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19249 Define alphasort64 as an alias.
19250 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19251 Define versionsort64 as an alias.
19252 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19253 Define scandir64 as an alias.
19254 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19255 Define scandirat64 as an alias.
19256 * dirent/alphasort64.c (alphasort64):
19257 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19258 * dirent/versionsort64.c: Likewise.
19259 * dirent/scandir64.c: Likewise.
19260 * dirent/scandirat64.c: Likewise.
19261 * sysdeps/wordsize-64/alphasort.c: File removed.
19262 * sysdeps/wordsize-64/alphasort64.c: File removed.
19263 * sysdeps/wordsize-64/scandir.c: File removed.
19264 * sysdeps/wordsize-64/scandir64.c: File removed.
19265 * sysdeps/wordsize-64/scandirat.c: File removed.
19266 * sysdeps/wordsize-64/scandirat64.c: File removed.
19267 * sysdeps/wordsize-64/versionsort.c: File removed.
19268 * sysdeps/wordsize-64/versionsort64.c: File removed.
19269 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19270 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19271 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19272 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19273 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19274 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19275 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19276 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19277
19278 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19279 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19280 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19281 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19282 [defined __arch64__ || defined __sparcv9]
19283 (__INO_T_MATCHES_INO64_T): New macro.
19284 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19285 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19286 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19287 * sysdeps/unix/sysv/linux/bits/dirent.h
19288 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19289 (_DIRENT_MATCHES_DIRENT64): New macro.
19290
03af9520
RM
19291 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19292 Define lockf64 as an alias.
19293 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19294 Define fseeko64 as an alias.
19295 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19296 Define ftello64 as an alias.
19297 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19298 Define _IO_fgetpos64 and fgetpos64 as aliases.
19299 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19300 Define _IO_fsetpos64 and fsetpos64 as aliases.
19301 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19302 Conditionalize body on this.
19303 * libio/fseeko64.c: Likewise.
19304 * libio/ftello64.c: Likewise.
19305 * libio/iofgetpos64.c: Likewise.
19306 * libio/iofsetpos64.c: Likewise.
19307 * sysdeps/wordsize-64/lockf.c: File removed.
19308 * sysdeps/wordsize-64/lockf64.c: File removed.
19309 * sysdeps/wordsize-64/fseeko.c: File removed.
19310 * sysdeps/wordsize-64/fseeko64.c: File removed.
19311 * sysdeps/wordsize-64/ftello.c: File removed.
19312 * sysdeps/wordsize-64/ftello64.c: File removed.
19313 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19314 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19315 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19316 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19317 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19318 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19319 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19320 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19321 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19322 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19323 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19324 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19325 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19326 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19327
19328 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19329 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19330 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19331 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19332 [defined __arch64__ || defined __sparcv9]
19333 (__OFF_T_MATCHES_OFF64_T): New macro.
19334 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19335 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19336 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19337 (__OFF_T_MATCHES_OFF64_T): New macro.
19338
c5757acd
L
193392012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19340
19341 * stdlib/secure-getenv.c (__secure_getenv): Replace
19342 GLIBC_2_16 with GLIBC_2_17.
19343
3a31811e
L
193442012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19345
19346 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19347 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19348
faa2bccb
DM
193492012-08-03 David S. Miller <davem@davemloft.net>
19350
19351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19352
85fe1997
JM
193532012-08-03 Joseph Myers <joseph@codesourcery.com>
19354
19355 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19356 Remove.
19357 (__ASSUME_CORRECT_SI_PID): Likewise.
19358 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19359 (__ASSUME_TMPFS_NAME): Likewise.
19360 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19361 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19362 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19363 (HAVE_AUX_SECURE): Make definition unconditional.
19364 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19365 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19366
4f75b7a0
RM
193672012-08-03 Roland McGrath <roland@hack.frob.com>
19368
19369 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19370 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19371 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19372 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19373 __eloop_threshold instead of SYMLOOP_MAX.
19374
19375 * sysdeps/generic/eloop-threshold.h: New file.
19376 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19377 of MAXSYMLINKS.
19378 * elf/chroot_canon.c (chroot_canon): Likewise.
19379
7aab07e4
JM
193802012-08-03 Joseph Myers <joseph@codesourcery.com>
19381
19382 [BZ #13717]
19383 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19384 Change to 2.6.0 everywhere.
19385 * sysdeps/unix/sysv/linux/configure: Regenerated.
19386 * sysdeps/unix/sysv/linux/kernel-features.h
19387 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19388 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19389 kernel versions.
19390 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19391 (__ASSUME_FUTEX_REQUEUE): Remove.
19392 (__ASSUME_STATFS64): Define unconditionally.
19393 (__ASSUME_AT_SECURE): Likewise.
19394 (__ASSUME_CORRECT_SI_PID): Likewise.
19395 (__ASSUME_TGKILL): Define without depending on kernel version for
19396 i386.
19397 (__ASSUME_UTIMES): Likewise.
19398 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19399 kernel version.
19400 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19401 (__ASSUME_TMPFS_NAME): Likewise.
19402 * README: Update reference to Linux kernel versions.
19403
b67e9372
MP
194042012-08-02 Marek Polacek <polacek@redhat.com>
19405
1f529f7d 19406 [BZ# 14150]
b67e9372
MP
19407 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19408 libc_cv_asm_type_prefix with %.
19409 * configure: Regenerated.
d2441631
RM
19410 * include/libc-symbols.h: Remove comment about
19411 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
19412 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19413 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19414 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19415 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19416 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19417 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19418 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19419 * elf/tst-unique2mod1.c: Likewise.
19420 * elf/tst-unique1mod2.c: Likewise.
19421 * elf/tst-unique1mod1.c: Likewise.
19422 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19423 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19424 Replace ASM_TYPE_DIRECTIVE with .type.
19425 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19426 * sysdeps/i386/sysdep.h: Likewise.
19427 * sysdeps/x86_64/sysdep.h: Likewise.
19428 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
19429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19430 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 19431 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
19432 * sysdeps/powerpc/powerpc32/sysdep.h:
19433 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
19434 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19435 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19436 * sysdeps/i386/fpu/e_powf.S: Likewise.
19437 * sysdeps/i386/fpu/e_expl.S: Likewise.
19438 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19439 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19440 * sysdeps/i386/fpu/e_pow.S: Likewise.
19441 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19442 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19443 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19444 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19445 * sysdeps/i386/fpu/e_log2.S: Likewise.
19446 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19447 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19448 * sysdeps/i386/fpu/e_powl.S: Likewise.
19449 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19450 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19451 * sysdeps/i386/fpu/e_logl.S: Likewise.
19452 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19453 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19454 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19455 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19456 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19457 * sysdeps/i386/fpu/e_log.S: Likewise.
19458 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19459 * sysdeps/i386/fpu/e_logf.S: Likewise.
19460 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19461 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19462 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19463 * sysdeps/i386/fpu/e_log10.S: Likewise.
19464 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19465 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19466 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19467 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19468 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19469 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19470 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19471 * sysdeps/i386/i686/strtok.S: Likewise.
19472 * sysdeps/i386/i386-mcount.S: Likewise.
19473 * sysdeps/i386/strtok.S: Likewise.
19474 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19475 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19476 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19477 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19478 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19479 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19480 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19481 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19482 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19483 * sysdeps/x86_64/_mcount.S: Likewise.
19484 * sysdeps/x86_64/strtok.S: Likewise.
19485 * sysdeps/sh/_mcount.S: Likewise.
19486
2747bf9a
RM
194872012-08-01 Roland McGrath <roland@hack.frob.com>
19488
19489 * libio/iofopen.c: Include <fcntl.h>.
19490 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19491 (_IO_fopen64, fopen64): Define as aliases.
19492 * libio/iofopen64.c: Include <fcntl.h>.
19493 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19494 Conditionalize body on this.
19495 * sysdeps/wordsize-64/iofopen.c: File removed.
19496 * sysdeps/wordsize-64/iofopen64.c: File removed.
19497
3fb791b8
MP
194982012-08-01 Marek Polacek <polacek@redhat.com>
19499
19500 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19501 Use dlfcn directly instead of a variable.
19502 (binfmt-subdir): Do not define.
19503 (dlfcn): Likewise.
19504
a9f1039f
JM
195052012-08-01 Joseph Myers <joseph@codesourcery.com>
19506
23bddc06
JM
19507 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19508 Remove all definitions.
19509 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19510 <kernel-features.h>.
19511 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19512 (miss_F_GETOWN_EX): Remove all definitions.
19513 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19514 macro definition.
19515 [!__ASSUME_FCNTL64]: Remove conditional code.
19516 [__ASSUME_FCNTL64]: Make code unconditional.
19517 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19518 <kernel-features.h>.
19519 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19520 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19521 (lockf64) [__NR_fcntl64]: Make code unconditional.
19522 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19523
a9f1039f
JM
19524 * sysdeps/unix/sysv/linux/kernel-features.h
19525 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19526 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19527 Make code unconditional.
19528 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19529 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19531 [__NR_vfork]: Make code unconditional.
19532 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19533 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19535 [__NR_vfork]: Make code unconditional.
19536 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19537 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19538
09c0ee5f
RM
195392012-08-01 Roland McGrath <roland@hack.frob.com>
19540
48aec5b9
RM
19541 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19542 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19543
cd97c966
RM
19544 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19545 Define mkstemp64 as an alias.
3f55550c
RM
19546 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19547 Define mkstemps64 as an alias.
cd97c966
RM
19548 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19549 Define mkostemp64 as an alias.
b8625cfc
RM
19550 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19551 Define mkostemps64 as an alias.
cd97c966
RM
19552 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19553 Conditionalize body on this.
19554 * misc/mkostemp64.c: Likewise.
b8625cfc 19555 * misc/mkostemps64.c: Likewise.
3f55550c 19556 * misc/mkstemps64.c: Likewise.
cd97c966
RM
19557 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19558 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19559 * sysdeps/wordsize-64/mkostemp.c: File removed.
19560 * sysdeps/wordsize-64/mkstemp.c: File removed.
19561 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19562 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19563 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19564 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19565
09c0ee5f
RM
19566 [BZ #14138]
19567 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19568 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19569 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19570 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19571
19572 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19573 compat_symbol macros from <shlib-compat.h> rather than the underlying
19574 default_symbol_version and symbol_version macros, so that DEFAULT
19575 lines in shlib-versions are respected.
19576 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19577
7e66ee51
FW
195782012-08-01 Florian Weimer <fweimer@redhat.com>
19579
19580 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19581 Declare with warn_unused_result.
19582 (setgid, setregid, setegid, setresgid): Likewise.
19583 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19584 Likewise.
19585 * WUR-REPORT: Remove set*id functions.
19586
d2a54255
PT
195872012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19588
19589 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19590
7ecdb005
RM
195912012-07-31 Roland McGrath <roland@hack.frob.com>
19592
b4180a5e 19593 [BZ #10191]
789bd351
RM
19594 * include/sys/socket.h (__libc_accept, __libc_accept4):
19595 Add attribute_hidden.
19596 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19597
40ce302d
RM
19598 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19599 use of PTR_MANGLE.
19600 * inet/getnetgrent_r.c (setup): Likewise.
19601
7ecdb005
RM
19602 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19603
e2eabb2c
DM
196042012-07-31 David S. Miller <davem@davemloft.net>
19605
19606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19607
d0419dbf
JM
196082012-07-31 Joseph Myers <joseph@codesourcery.com>
19609
19610 [BZ #13629]
19611 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19612 value between 1.0 and 2.0 and smaller part has absolute value less
19613 than 1.0.
19614 * math/s_clog10.c (__clog10): Likewise.
19615 * math/s_clog10f.c (__clog10f): Likewise.
19616 * math/s_clog10l.c (__clog10l): Likewise.
19617 * math/s_clogf.c (__clogf): Likewise.
19618 * math/s_clogl.c (__clogl): Likewise.
19619 * math/libm-test.inc (clog_test): Add more tests.
19620 (clog10_test): Likewise.
19621 * sysdeps/i386/fpu/libm-test-ulps: Update.
19622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19623
2bc13872
FW
196242012-07-31 Florian Weimer <fweimer@redhat.com>
19625
19626 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19627 Exit with zero in case no suitable GID is found, and write a
19628 message to standard error.
19629
bea9b193
RM
196302012-07-30 Roland McGrath <roland@hack.frob.com>
19631
19632 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19633 rather than to 1.
19634 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19635 (MAXPATHLEN): Removed.
19636 (NOGROUP, NODEV): New macros.
19637 (setbit, clrbit, isset, isclr): New macros.
19638 (howmany, roundup, powerof2): New macros.
19639 (DEV_BSIZE): New macro.
19640
19641 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19642 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19643
19644 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19645 definition on [!__NO_LONG_DOUBLE_MATH].
19646
19647 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19648 PTR_MANGLE and PTR_DEMANGLE.
19649
19650 * socket/accept4.c (accept4): Rename to __libc_accept4.
19651 Define accept4 as a weak alias.
19652
19653 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19654 on [_DIRENT_HAVE_D_TYPE].
19655 * io/ftw.c (ftw_dir): Likewise.
19656
19657 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19658
19659 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19660
19661 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19662 Use the BSD numbers rather than the arbitrary ones we had.
19663 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19664 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19665 (SIGXCPU, SIGXFSZ): New macros.
19666 (_NSIG): Now 32.
19667
19668 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19669 initializer on [_LIBC_REENTRANT].
19670
19671 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19672 definitions inside [_POSIX_MAPPED_FILES].
19673
19674 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19675
19676 * dirent/opendir.c: Include <fcntl.h>.
19677
19678 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19679 (__libc_getspecific): Likewise.
19680 (__libc_key_create): Likewise.
19681
19682 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19683 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19684 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19685 (tmpfile64): Define as alias.
19686 * sysdeps/wordsize-64/tmpfile.c: File removed.
19687 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19688 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19689 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19690
19691 * stdio-common/vfscanf.c: Include <stdbool.h>.
19692 * nss/makedb.c: Likewise.
19693 * stdio-common/_i18n_number.h: Likewise.
19694 * argp/argp-help.c: Likewise.
19695 * posix/wordexp.c: Likewise.
19696 * sysdeps/posix/spawni.c: Likewise.
19697 * nss/nss_files/files-initgroups.c: Likewise.
19698 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19699 * nss/nss_files/files-initgroups.c: Likewise.
19700 * nss/nss_db/db-netgrp.c: Likewise.
19701 * nss/nss_db/db-initgroups.c: Likewise.
19702 * io/fchmodat.c: Include <sys/stat.h>.
19703
19704 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19705 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19706
19707 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19708 [HAVE_MMAP].
19709
19710 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19711 Add multiple inclusion protection.
19712
e5abc686
DM
197132012-07-27 David S. Miller <davem@davemloft.net>
19714
19715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19716
815e6fa3
GB
197172012-07-27 Gary Benson <gbenson@redhat.com>
19718
19719 [BZ #14298]
19720 * elf/rtld.c: Include <stap-probe.h>.
19721 (dl_main): Added static probes "init_start" and "init_complete".
19722 * elf/dl-load.c: Include <stap-probe.h>.
19723 (lose): Take new parameter "nsid".
19724 Added static probe "map_failed".
19725 (_dl_map_object_from_fd): Pass namespace id to lose.
19726 Added static probe "map_start".
19727 (open_verify): Pass namespace id to lose.
19728 * elf/dl-open.c: Include <stap-probe.h>.
19729 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19730 and "reloc_complete".
19731 * elf/dl-close.c: Include <stap-probe.h>.
19732 (_dl_close_worker): Added static probes "unmap_start" and
19733 "unmap_complete".
19734 * elf/rtld-debugger-interface.txt: New file documenting the above.
19735
9f98c16c
RM
197362012-07-26 Roland McGrath <roland@hack.frob.com>
19737
19738 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19739 rather than a string variable.
19740 * sunrpc/rpc_main.c (h_output): Likewise.
19741 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19742
f3c22df3
PT
197432012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19744
19745 * inet/check_native.c: New file.
19746
3129cfc6
JM
197472012-07-26 Joseph Myers <joseph@codesourcery.com>
19748
da865e95
JM
19749 [BZ #13629]
19750 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19751 if larger part has absolute value 1.0.
19752 * math/s_clog10.c (__clog10): Likewise.
19753 * math/s_clog10f.c (__clog10f): Likewise.
19754 * math/s_clog10l.c (__clog10l): Likewise.
19755 * math/s_clogf.c (__clogf): Likewise.
19756 * math/s_clogl.c (__clogl): Likewise.
19757 * math/libm-test.inc (clog_test): Add more tests.
19758 (clog10_test): Likewise.
19759 * sysdeps/i386/fpu/libm-test-ulps: Update.
19760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19761
3129cfc6
JM
19762 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19763 (pltexit): Likewise.
19764 (La_regs): Likewise.
19765 (La_retval): Likewise.
19766 (int_retval): Likewise.
19767 Update #error for removed macros to refer only to definitions in
19768 tst-audit.h.
19769 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19770 macro.
19771 (pltexit): Likewise.
19772 (La_regs): Likewise.
19773 (La_retval): Likewise.
19774 (int_retval): Likewise.
19775 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19776 macro.
19777 (pltexit): Likewise.
19778 (La_regs): Likewise.
19779 (La_retval): Likewise.
19780 (int_retval): Likewise.
19781 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19782 macro.
19783 (pltexit): Likewise.
19784 (La_regs): Likewise.
19785 (La_retval): Likewise.
19786 (int_retval): Likewise.
19787 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19788 macro.
19789 (pltexit): Likewise.
19790 (La_regs): Likewise.
19791 (La_retval): Likewise.
19792 (int_retval): Likewise.
19793 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19794 macro.
19795 (pltexit): Likewise.
19796 (La_regs): Likewise.
19797 (La_retval): Likewise.
19798 (int_retval): Likewise.
19799 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19800 macro.
19801 (pltexit): Likewise.
19802 (La_regs): Likewise.
19803 (La_retval): Likewise.
19804 (int_retval): Likewise.
19805 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19806 macro definitions in tst-audit.h.
19807 * sysdeps/i386/tst-audit.h: New file.
19808 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19809 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19810 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19811 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19812 * sysdeps/sh/tst-audit.h: Likewise.
19813 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19814 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19815 * sysdeps/x86_64/tst-audit.h: Likewise.
19816
bfc07087
AJ
198172012-07-26 Andreas Jaeger <aj@suse.de>
19818
b1b2aaf8
AJ
19819 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19820 ptrace.
19821
19822 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19823 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19824 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19825 PTRACE_O_MASK.
19826 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19827 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19828 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19829
bfc07087
AJ
19830 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19831 value.
19832
19833 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19834 _sigsys.
19835 (si_call_addr, si_syscall, si_arch): Define new macro.
19836 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19837 _sigsys.
19838 (si_call_addr, si_syscall, si_arch): Define new marcro.
19839 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19840 _sigsys.
19841 (si_call_addr, si_syscall, si_arch): Define new macro.
19842 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19843 _sigsys.
19844 (si_call_addr, si_syscall, si_arch): Define new macro.
19845
89b4b02f
JM
198462012-07-25 Joseph Myers <joseph@codesourcery.com>
19847
19848 [BZ #13717]
19849 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19850 Change to 2.4.21 where previously 2.4.1.
19851 * sysdeps/unix/sysv/linux/configure: Regenerated.
19852 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19853 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19854 Linux kernel version.
19855 (__ASSUME_STD_AUXV): Remove.
19856 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19857 kernel version.
19858 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19859 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19860 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19861 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19862 (__ASSUME_NETLINK_SUPPORT): Likewise.
19863 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19864 (__no_netlink_support): Remove conditional definition.
19865 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19866 Remove.
19867 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19868 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19869 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19870 (if_nameindex_ioctl): Remove.
19871 (if_nameindex_netlink): Do not handle __no_netlink_support.
19872 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19873 code.
19874 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19875 Remove conditional code.
19876 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19877 code.
19878 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19879 unconditional.
19880 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19881 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19882 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19883 Remove.
19884 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19885 [!__ASSUME_STD_AUXV]: Remove conditional code.
19886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19887 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19888 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19890 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19891 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19892 code.
19893 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19895 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19896 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19897 conditional code.
19898 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19900 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19901 code.
19902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19903 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19904 conditional code.
19905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19906 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19907 code unconditional.
19908 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19909 conditional code.
19910 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19911 unconditional.
19912 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19913 conditional code.
19914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19915 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19916 unconditional.
19917 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19918 conditional code.
19919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19920 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19921 code unconditional.
19922 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19923 conditional code.
19924 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19925 unconditional.
19926 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19927 conditional code.
19928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19929 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19930 code unconditional.
19931 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19932 conditional code.
19933 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19934 unconditional.
19935 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19936 conditional code.
19937
842a39cd
AS
199382012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19939
19940 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19941 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19942 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19943 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19944 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19945 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19946 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19947 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19948 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19949 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19950 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19951 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19952 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19953 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19954 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19955 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19956 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19957 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19958 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19960 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19961 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19962 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19963
84b3fd84
FW
199642012-07-25 Florian Weimer <fweimer@redhat.com>
19965
19966 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
19967 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19968 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19969 Introduce __libc_secure_getenv.
0c7936d5
FW
19970 * stdlib/Versions (2.17): Add secure_getenv
19971 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19972 * stdlib/secure-getenv.c: Rename __secure_getenv to
19973 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19974 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
19975 * stdlib/tst-secure-getenv.c: New.
19976 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
19977 * manual/startup.texi (Environment Access): Document
19978 secure_getenv.
84b3fd84
FW
19979 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19980 __libc_secure_getenv.
19981 * inet/ruserpass.c (ruserpass): Likewise.
19982 * malloc/mtrace.c (mtrace): Likewise.
19983 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 19984 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
19985 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19986 * sysdeps/posix/tempname.c: Likewise. Evaluate
19987 HAVE_SECURE_GETENV.
19988 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 19989 __secure_getenv to __libc_secure_getenv.
84b3fd84 19990 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
19991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19992 Likewise.
19993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19994 Likewise.
19995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19997 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 20002
56e49b71
JM
200032012-07-25 Joseph Myers <joseph@codesourcery.com>
20004
20005 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20006 (struct La_i86_retval): Likewise.
20007 (struct La_x86_64_regs): Likewise.
20008 (struct La_x86_64_retval): Likewise.
20009 (struct La_x32_regs): Likewise.
20010 (struct La_x32_retval): Likewise.
20011 (struct La_ppc32_regs): Likewise.
20012 (struct La_ppc32_retval): Likewise.
20013 (struct La_ppc64_regs): Likewise.
20014 (struct La_ppc64_retval): Likewise.
20015 (struct La_sh_regs): Likewise.
20016 (struct La_sh_retval): Likewise.
20017 (struct La_s390_32_regs): Likewise.
20018 (struct La_s390_32_retval): Likewise.
20019 (struct La_s390_64_regs): Likewise.
20020 (struct La_s390_64_retval): Likewise.
20021 (struct La_sparc32_regs): Likewise.
20022 (struct La_sparc32_retval): Likewise.
20023 (struct La_sparc64_regs): Likewise.
20024 (struct La_sparc64_retval): Likewise.
20025 (struct audit_ifaces): Remove architecture-specific pltenter and
20026 pltexit members.
20027 * sysdeps/i386/ldsodefs.h: New file.
20028 * sysdeps/powerpc/ldsodefs.h: Likewise.
20029 * sysdeps/s390/ldsodefs.h: Likewise.
20030 * sysdeps/sh/ldsodefs.h: Likewise.
20031 * sysdeps/sparc/ldsodefs.h: Likewise.
20032 * sysdeps/x86_64/ldsodefs.h: Likewise.
20033
354691b7
MP
200342012-07-25 Marek Polacek <polacek@redhat.com>
20035
20036 [BZ #6808]
20037 * math/libm-test.inc (yn_test): Add another test.
20038 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20039 to ERANGE when the result is +-Inf.
20040 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20041 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20042 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20043 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20044
bf9e2071
JM
200452012-07-24 Joseph Myers <joseph@codesourcery.com>
20046
20047 * conform/data/time.h-data (NULL): Use macro-constant. Require
20048 equal to 0.
20049 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20050 clock_t.
20051 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20052
57633811
TS
200532012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20054
20055 * configure.in <sysdeps resolving>: Correct printing
20056 Implies_before.
20057 * configure: Regenerate.
20058
c23c33b0
TS
200592012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20060
20061 * math/w_ilogb.c: Include <limits.h>.
20062 * math/w_ilogbl.c: Likewise.
20063
b5982523
JM
200642012-07-20 Joseph Myers <joseph@codesourcery.com>
20065
20066 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20067 va_copy. Document allowing for unavailable va_copy only as
20068 pre-C99 compatibility.
20069 * manual/string.texi (Copying and Concatenation): Use va_copy
20070 instead of __va_copy in concat example.
20071
ac4ea442
PT
200722012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20073
20074 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20075 (__sendto): Use create_address_port. Initialize APORT and deallocate
20076 it if not null.
20077
f98eafbd
PT
20078 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20079 with O_NOLINK passed to __file_name_lookup.
20080
898c7aab
PT
20081 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20082 with O_NOLINK passed to __file_name_lookup.
20083
0ced335a
PT
20084 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20085 negative N or less than NGIDS.
20086
b3404dbd
PT
20087 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20088 type to string_t. Set ERANGE as errno and return it if NAME is not big
20089 enough. Use memcpy instead of strncpy.
20090
0f48659e
JM
200912012-07-20 Joseph Myers <joseph@codesourcery.com>
20092
20093 * elf/Makefile (check-data): Remove.
20094 (localplt.data): New vpath directive.
20095 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20096 instead of $(check-data).
20097 * scripts/data/localplt-generic.data: Move to ...
20098 * sysdeps/generic/localplt.data: ... here.
20099 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20100 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20101 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20103 ... here.
20104 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20106 ... here.
20107 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20109 ... here.
20110 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20112 ... here.
20113 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20115 ... here.
20116 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20118 ... here.
20119
d37cbdaa
AZ
201202012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20121
20122 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20123 PPC32 and PPC64 files.
20124 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20125 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20126
46f85fc2
AK
201272012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20128
20129 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20130 __makecontext_ret to ...
20131 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20132 ... here and call exit if uc_link is NULL. New file.
20133 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20134 __makecontext_ret.S.
20135 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20136 __makecontext_ret to ...
20137 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20138 ... here and call exit if uc_link is NULL. New file.
20139 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20140 __makecontext_ret.S.
20141
08f43f9b
AK
201422012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20143
20144 * elf/elf.h (R_390_IRELATIVE): New definition.
20145 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20146 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20147 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20148 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20149 (elf_machine_lazy_rel): Likewise.
20150 * sysdeps/s390/dl-irel.h: New file.
20151 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20152 * sysdeps/s390/s390-64/memset.S: New asm code.
20153 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20154 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20155 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20156 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20157 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20158 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20159 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20160 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20161 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20162 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20163 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20164 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20165 * sysdeps/s390/s390-32/memset.S: New asm code.
20166 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20167
3b05db33
MP
201682012-07-17 Marek Polacek <polacek@redhat.com>
20169
20170 [BZ #14349]
20171 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20172 * sysdeps/s390/s390-64/configure.in: Likewise.
20173 * sysdeps/sparc/configure.in: Likewise.
20174 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20175 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20176 * sysdeps/i386/configure.in: Likewise.
20177 * sysdeps/x86_64/configure.in: Likewise.
20178 * sysdeps/sh/configure.in: Likewise.
20179 * sysdeps/s390/s390-32/configure: Regenerated.
20180 * sysdeps/s390/s390-64/configure: Likewise.
20181 * sysdeps/x86_64/configure: Likewise.
20182 * sysdeps/sh/configure: Likewise.
20183 * sysdeps/powerpc/powerpc64/configure: Likewise.
20184 * sysdeps/powerpc/powerpc32/configure: Likewise.
20185 * sysdeps/sparc/configure: Likwise.
20186 * sysdeps/i386/configure: Likewise.
20187
a66877c6
MP
20188 * elf/dl-open.c: Comment fixes.
20189
cfc82fd8
JM
201902012-07-17 Joseph Myers <joseph@codesourcery.com>
20191
bd29910a
JM
20192 * Makefile [CXX] (check-data): Remove.
20193 [CXX] (c++-types.data): New vpath directive.
20194 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20195 vpath. Do not allow for C++ type data being missing.
20196 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20197 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20198 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20199 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20200 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20201 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20202 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20204 ... here.
20205 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20207 ... here.
20208 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20210 ... here.
20211 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20213 ... here.
20214 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20216 ... here.
20217 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20219 ... here.
20220 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20222 ... here.
20223 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20225
cfc82fd8
JM
20226 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20227 definitions to architecture-specific files.
20228 (TLS_IE): Likewise.
20229 (TLS_LD): Likewise.
20230 (TLS_GD): Likewise.
20231 * sysdeps/i386/tls-macros.h: New file.
20232 * sysdeps/powerpc/tls-macros.h: Likewise.
20233 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20234 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20235 * sysdeps/sh/tls-macros.h: Likewise.
20236 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20237 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20238 * sysdeps/x86_64/tls-macros.h: Likewise.
20239
f7db3170
TS
202402012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20241
07cbfc23
TS
20242 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20243 zero value for regular exit case.
20244
f7db3170
TS
20245 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20246 (__start_context): Preserve zero value for regular exit case.
20247
dc97c227
TS
202482012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20249 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20250
20251 * manual/setjmp.texi (setcontext): Clarify normal process
20252 termination when uc_link is the null pointer.
20253 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20254 exit call.
20255
d0cd7d02
AS
202562012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20257
20258 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20259 preprocessor. Test for each exception mask separately.
20260
dd318934
AJ
202612012-07-16 Andreas Jaeger <aj@suse.de>
20262
20263 * po/ru.po: Update from translation team.
20264
8048311a
JM
202652012-07-15 Joseph Myers <joseph@codesourcery.com>
20266
20267 * conform/data/string.h-data (NULL): Use macro-constant. Require
20268 equal to 0.
20269 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20270 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20271 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20272 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20273 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20274
b637d46e
AJ
202752012-07-13 Andreas Jaeger <aj@suse.de>
20276
20277 * po/fr.po: Update from translation team.
20278
541428fe
MP
202792012-07-12 Marek Polacek <polacek@redhat.com>
20280
20281 [BZ #14173]
20282 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20283 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20284 loop condition.
20285
ec332e94
JM
202862012-07-12 Joseph Myers <joseph@codesourcery.com>
20287
20288 [BZ #13717]
20289 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20290 Change to 2.4.1 where previously 2.4.0.
20291 * sysdeps/unix/sysv/linux/configure: Regenerated.
20292 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20293 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20294 version.
20295 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20296 (__ASSUME_AT_CLKTCK): Remove.
20297 (__ASSUME_AT_PAGESIZE): Likewise.
20298 (__ASSUME_AT_XID): Likewise.
20299 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20300 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20301 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20302 unconditionally.
20303 (HAVE_AUX_PAGESIZE): Likewise.
20304 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20305 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20306 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20307
7b6e99be
JB
203082012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20309
20310 [BZ #14307]
20311 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20312 the temporary buffer used to invoke __gethostbyname2_r,
20313 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20314 host_data / struct gaih_addrtuple.
20315 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20316 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20317 header file nss/nsswitch.h.
20318 * nss/nsswitch.h (global scope): Add definition of implementation
20319 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20320 resolv/nss_dns/dns-host.c).
20321
608404eb
AJ
203222012-07-11 Andreas Jaeger <aj@suse.de>
20323
20324 * po/fr.po: Update from translation team.
20325
71220aca
AJ
20326 * po/sv.po: Update from translation team
20327 * po/fr.po: Another update from translation team.
20328
28cfe843
AZ
203292012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20330
20331 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20332 for subnormals or multiply small sinh result by itself.
20333 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20335
6b90f981
DM
203362012-07-11 David S. Miller <davem@davemloft.net>
20337
20338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20339
c6825772
AS
203402012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20341
20342 [BZ #14347]
20343 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20344 (INTERNAL_MARK): Shift it here.
20345
7b8e0d49
MP
203462012-07-10 Marek Polacek <polacek@redhat.com>
20347
20348 [BZ #14151]
20349 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20350 libc_cv_asm_global_directive with .globl.
20351 * configure: Regenerated.
20352 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20353 with .globl.
20354 * sysdeps/i386/configure: Regenerated.
20355 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20356 with .globl.
20357 * sysdeps/x86_64/configure: Regenerated.
20358 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20359 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20360 * elf/tst-unique2mod2.c: Likewise.
20361 * elf/tst-unique2mod1.c: Likewise.
20362 * elf/tst-unique1mod2.c: Likewise.
20363 * elf/tst-unique1mod1.c: Likewise.
20364 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20365 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20366 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20367 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20368 * sysdeps/mach/sysdep.h: Likewise.
20369 * sysdeps/i386/sysdep.h: Likewise.
20370 * sysdeps/i386/i386-mcount.S: Likewise.
20371 * sysdeps/x86_64/_mcount.S: Likewise.
20372 * sysdeps/x86_64/sysdep.h: Likewise.
20373 * sysdeps/sh/_mcount.S: Likewise.
20374 * sysdeps/sh/sysdep.h: Likewise.
20375 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20376 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20377 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20378 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20379 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20380 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20381 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20382 * locale/localeinfo.h: Likewise.
20383 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20384 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20385
6c55cda3
RM
203862012-07-09 Roland McGrath <roland@hack.frob.com>
20387
20388 [BZ #14336]
20389 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20390 system".
20391 * manual/message.texi (The Uniforum approach): Likewise.
20392 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20393 (glibc iconv Implementation): Likewise.
20394
638a572e
JM
203952012-07-09 Joseph Myers <joseph@codesourcery.com>
20396
20397 [BZ #14337]
20398 * math/s_clog.c (__clog): Avoid scaling a value down where that
20399 could result in underflow.
20400 * math/s_clog10.c (__clog10): Likewise.
20401 * math/s_clog10f.c (__clog10f): Likewise.
20402 * math/s_clog10l.c (__clog10l): Likewise.
20403 * math/s_clogf.c (__clogf): Likewise.
20404 * math/s_clogl.c (__clogl): Likewise.
20405 * math/libm-test.inc (clog_test): Add more tests.
20406 (clog10_test): Likewise.
20407 * sysdeps/i386/fpu/libm-test-ulps: Update.
20408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20409
261f4859
AS
204102012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20411
0abaf3e4
AS
20412 [BZ #14283]
20413 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20414 by 7 not 8 to examine high bit of fractional part.
20415
261f4859
AS
20416 [BZ #14042]
20417 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20418 for call to __mcount_internal.
20419 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20420 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20421 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20422
f17ac40d
JM
204232012-07-06 Joseph Myers <joseph@codesourcery.com>
20424
9ad63c23
JM
20425 [BZ #14154]
20426 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20427 approximation for values within 0x1p-13f of an odd multiple of
20428 pi/4.
20429 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20430 exception. Add more tests.
20431 * sysdeps/i386/fpu/libm-test-ulps: Update.
20432
f17ac40d
JM
20433 [BZ #6778]
20434 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20435 inputs and return -1 for them. Do not check for +Inf in case not
20436 reachable for +Inf.
20437 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20438 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20439 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20440 and return -1 for them. Do not check for +Inf in case not
20441 reachable for +Inf.
20442 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20443 define.
20444 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20445 and return -1 for them. Do not check for +Inf in case not
20446 reachable for +Inf.
20447 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20448 spurious underflow.
20449 * sysdeps/i386/fpu/libm-test-ulps: Update.
20450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20451
fb21f89b
MF
204522012-07-06 Mike Frysinger <vapier@gentoo.org>
20453
20454 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20455
cdfe2c5e
JM
204562012-07-05 Joseph Myers <joseph@codesourcery.com>
20457
20458 [BZ #14157]
20459 [BZ #14331]
20460 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20461 could result in spurious underflow. Scale down values above
20462 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20463 * math/s_csqrtf.c (__csqrtf): Likewise.
20464 * math/s_csqrtl.c (__csqrtl): Likewise.
20465 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20466 spurious underflow.
20467 * sysdeps/i386/fpu/libm-test-ulps: Update.
20468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20469
70d35b67
AS
204702012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20471
704bc459
AS
20472 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20473 xopen-msg.sed.
20474 * catgets/xopen-msg.awk: New file.
20475 * catgets/xopen-msg.sed: Removed.
20476
70d35b67
AS
20477 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20478 po2text.sed.
20479 * intl/po2test.awk: New file.
20480 * intl/po2test.sed: Removed.
20481
ca61cf32
JM
204822012-07-04 Joseph Myers <joseph@codesourcery.com>
20483
20484 [BZ #14328]
20485 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20486 or multiply small sinh result by itself.
20487 * math/s_ctanf.c (__ctanf): Likewise.
20488 * math/s_ctanh.c (__ctanh): Likewise.
20489 * math/s_ctanhf.c (__ctanhf): Likewise.
20490 * math/s_ctanhl.c (__ctanhl): Likewise.
20491 * math/s_ctanl.c (__ctanl): Likewise.
20492 * math/libm-test.inc (ctan_test_tonearest): New function.
20493 (ctan_test_towardzero): Likewise.
20494 (ctan_test_downward): Likewise.
20495 (ctan_test_upward): Likewise.
20496 (ctanh_test_tonearest): Likewise.
20497 (ctanh_test_towardzero): Likewise.
20498 (ctanh_test_downward): Likewise.
20499 (ctanh_test_upward): Likewise.
20500 (main): Call these new functions.
20501 * sysdeps/i386/fpu/libm-test-ulps: Update.
20502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20503
ca48a46a
MF
205042012-07-03 Mike Frysinger <vapier@gentoo.org>
20505
20506 * .gitignore: Delete /ports entry.
20507
9d63d37d
AJ
205082012-07-03 Andreas Jaeger <aj@suse.de>
20509
20510 * po/bg.po: Update from translation team.
20511 * po/cs.po: Likewise.
20512 * po/de.po: Likewise.
20513 * po/hr.po: Likewise.
20514 * po/nl.pl: Likewise.
20515 * po/pl.po: Likewise.
20516 * po/vi.po: Likewise.
20517
370ca3d2
JM
205182012-07-03 Joseph Myers <joseph@codesourcery.com>
20519
95f5a9a8
JM
20520 * Makeconfig [!+link] (+link-before-libc): New variable.
20521 [!+link] (+link-after-libc): Likewise.
20522 [!+link] (+link-tests): Likewise.
20523 [!+link] (+link): Define in terms of $(+link-before-libc) and
20524 $(+link-after-libc).
20525 [!+link-static] (+link-static-before-libc): New variable.
20526 [!+link-static] (+link-static-after-libc): Likewise.
20527 [!+link-static] (+link-static-tests): Likewise.
20528 [!+link-static] (+link-static): Define in terms of
20529 $(+link-static-before-libc) and $(+link-static-after-libc).
20530 [build-shared] (link-libc-before-gnulib): New variable.
20531 [build-shared] (link-libc-tests): Likewise.
20532 [build-shared] (link-libc): Define in terms of
20533 $(link-libc-before-gnulib).
20534 [!build-shared] (link-libc-tests): New variable.
20535 (link-libc-static-tests): New variable.
20536 [!gnulib] (gnulib-arch): New variable.
20537 [!gnulib] (gnulib-tests): Likewise.
20538 [!gnulib] (static-gnulib-arch): Likewise.
20539 [!gnulib] (static-gnulib-tests): Likewise.
20540 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20541 Define with "=" instead of ":=".
20542 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20543 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20544 * Rules (binaries-all-notests): New variable.
20545 (binaries-all-tests): Likewise.
20546 (binaries-static-notests): Likewise.
20547 (binaries-static-tests): Likewise.
20548 (binaries-all): Define using $(binaries-all-notests) and
20549 $(binaries-all-tests).
20550 (binaries-static): Define using $(binaries-static-notests) and
20551 $(binaries-static-tests).
20552 (binaries-shared-tests): New variable.
20553 (binaries-shared-notests): Likewise.
20554 (binaries-shared): Remove variable.
20555 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20556 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20557 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20558 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20559 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20560 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20561 * elf/Makefile (sln-modules): New variable.
20562 (extra-objs): Add $(sln-modules:=.o).
20563 (ldconfig-modules): Add static-stubs.
20564 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20565 * elf/static-stubs.c: New file.
20566
7a845b2c
JM
20567 [BZ #14283]
20568 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20569 by 7 not 8 to examine high bit of fractional part. Use volatile
20570 variables when splitting into final array of floats if
20571 __FLT_EVAL_METHOD__ != 0.
20572 * math/libm-test.inc (cos_test): Add another test.
20573 (sin_test): Likewise.
20574 * sysdeps/i386/fpu/libm-test-ulps: Update.
20575
e2283f38
JM
20576 [BZ #14273]
20577 * math/libm-test.inc (cosh_test): Add more tests.
20578
370ca3d2
JM
20579 * version.h (RELEASE): Set to "development".
20580 (VERSION): Set to "2.16.90".
20581
ee9247c3
CD
205822012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20583
20584 * NEWS: Update copyright. Remove last-updated date.
20585 Mention math library bug fixes and timezone data changes.
20586 * README: Mention GNU/Hurd, x32, and HPPA support status.
20587
4648c381
TS
205882012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20589
20590 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20591
aac78a43
AJ
205922012-06-27 Andreas Jaeger <aj@suse.de>
20593
20594 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20595
ed3dbfad
AJ
205962012-06-25 Andreas Jaeger <aj@suse.de>
20597
20598 * sysdeps/s390/fpu/libm-test-ulps: Update.
20599
4d0ee855
AS
206002012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20601 Thomas Schwinge <thomas@codesourcery.com>
20602
20603 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20604 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20605 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20606 fanotify_mark.
20607
af1bce34
TS
206082012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20609
a9fa33ba
TS
20610 * sysdeps/mach/start.c: Remove file.
20611 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20612 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20613 * sysdeps/sh/init-first.c: Likewise.
20614
58f902b8
TS
20615 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20616 registers for frame unwinding purposes, add CFI directives.
20617 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20618 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20619 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20620 Likewise.
20621
1518f58b
TS
20622 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20623 __fortify_fail returning.
20624 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20625
db9b5059
TS
20626 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20627 sysdeps/sh/____longjmp_chk.S.
20628 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20629 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20630 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20631 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20632
967705fe
TS
20633 * sysdeps/sh/abort-instr.h: New file.
20634 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20635 process in case exit returns.
20636
a9def8c4
TS
20637 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20638 initialize the GOT register before use.
20639
2a649725
TS
20640 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20641 calculation of ARGC > 4.
20642
af1bce34
TS
20643 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20644 meaningful names to some local labels.
20645
d230f50a
KK
206462012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20647 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20648
20649 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20650 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20651 (__arch_compare_and_exchange_val_16_acq): Likewise.
20652 (__arch_compare_and_exchange_val_32_acq): Likewise.
20653 (atomic_exchange_and_add): Fix gUSA sequence.
20654 (atomic_add): Likewise.
20655 (atomic_add_negative): Likewise.
20656 (atomic_add_zero): Likewise.
20657 (atomic_bit_test_set): Likewise.
20658
0479b305
AS
206592012-06-22 Andreas Schwab <schwab@redhat.com>
20660
20661 [BZ #13579]
20662 * include/link.h (struct link_map): Add l_free_initfini.
20663 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20664 l_initfini.
20665 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20666 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20667 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20668 set.
20669
0e3933b9
CD
206702012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20671
20672 * configure.in: Use AC_LANG_SOURCE.
20673 * configure: Regenerate.
20674
4248b1b1
RM
206752012-06-22 Roland McGrath <roland@hack.frob.com>
20676
20677 * configure.in (libc_cv_localstatedir): New substituted variable.
20678 * configure: Regenerated.
20679 * config.make.in (localstatedir): New variable, substituted from
20680 libc_cv_localstatedir.
20681 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20682 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20683 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20684 * sysdeps/gnu/configure: Regenerated.
20685
006dd861
JL
206862012-06-21 Jeff Law <law@redhat.com>
20687
20688 [BZ #14277]
20689 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20690 free. Simplify list management for _LIBC case.
20691
79662d42
JM
206922012-06-21 Joseph Myers <joseph@codesourcery.com>
20693
b7abb4bf
JM
20694 [BZ #14273]
20695 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20696 Clear sign bit of 64-bit integer value before comparing against
20697 overflow value.
20698
79662d42
JM
20699 * sysdeps/mach/configure: Regenerated.
20700
1f150908
L
207012012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20702
20703 [BZ #14278]
20704 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20705
28363bbf
JL
207062012-06-21 Jeff Law <law@redhat.com>
20707
20708 [BZ #13882]
20709 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20710 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 20711 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
20712 * elf/dl-open.c (dl_open_worker): Likewise.
20713
09615db4
CD
207142012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20715
20716 * scripts/list-sources.sh: Scan PORTS for translations.
20717 * po/libc.pot: Regenerated.
20718
2174c6dd
AJ
207192012-06-21 Andreas Jaeger <aj@suse.de>
20720
20721 [BZ #12194]
20722 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20723 warning.
20724 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20725 * bits/byteswap-16.h (__bswap_16): Likewise.
20726 * bits/byteswap.h (__bswap_constant_16): Likewise.
20727
3ee947b1
L
207282012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20729
20730 [BZ #14117]
a2f34833
L
20731 * sysdeps/i386/fpu_control.h: Removed.
20732 * sysdeps/x86_64/fpu_control.h: Moved to ...
20733 * sysdeps/x86/fpu_control.h: Here.
20734
3ee947b1
L
20735 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20736 (_FPU_SETCW): Likewise.
20737
ed1825f8
L
207382012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20739
25f1282a
L
20740 [BZ #14117]
20741 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20742 * sysdeps/x86/fpu/bits/mathinline.h: This.
20743 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20744
ed1825f8
L
20745 [BZ #14050]
20746 [BZ #14117]
20747 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20748 functions if __x86_64__ is defined.
20749
36d54b74
CLT
207502012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20751
20752 * string/endian.h: Add !__ASSEMBLER__ condition for including
20753 conversion interfaces.
20754
10285c21
JM
207552012-06-15 Joseph Myers <joseph@codesourcery.com>
20756
20757 [BZ #14241]
20758 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20759 of ABS(x) in calculating zero to negative powers other than odd
20760 integers.
20761 * math/libm-test.inc (pow_test): Add more tests.
20762
06c5abbd
AJ
207632012-06-15 Andreas Jaeger <aj@suse.de>
20764
20765 * manual/contrib.texi (Contributors): Update entry of Liubov
20766 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20767 Machado Filho.
20768
a3aeac40
CH
207692012-06-15 Cyril Hrubis <metan@ucw.cz>
20770
20771 * string/string.h: Add __wur to GNU version of strerror_r.
20772
49bdf4c1
L
207732012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20774
20775 [BZ #14229]
20776 * string/Makefile (tests): Add tst-strtok_r.
20777 * string/tst-strtok_r.c: New file.
20778 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20779 RAX_LP/RDX_LP on SAVE_PTR.
20780
834f9b8d
RM
207812012-06-14 Roland McGrath <roland@hack.frob.com>
20782
20783 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20784
75fa1921
JM
207852012-06-14 Joseph Myers <joseph@codesourcery.com>
20786
20787 * libm_test.inc (csqrt_test): Allow more spurious underflow
20788 exceptions.
20789 (j0_test): Likewise.
20790 (j1_test): Likewise.
20791 (y0_test): Likewise.
20792 (y1_test): Likewise.
20793
771766df
CD
207942012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20795
20796 * po/Makefile (libc.pot): Use UTF-8 charset.
20797
ceb9e56b
PP
207982012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20799
20800 [BZ #14210]
20801 Suppress sign-conversion warning from FD_SET.
20802 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20803 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20804 not unsigned long int.
20805 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20806
ddb28975
L
208072012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20808
20809 [BZ #14050]
20810 [BZ #14117]
20811 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20812 __extern_always_inline instead of __extern_inline.
20813 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20814 (__signbit): Likewise.
20815 (__signbitl): Support C++ namespace.
20816 (lrintf): New inline function.
20817 (lrint): Likewise.
20818 (llrintf): Likewise.
20819 (llrint): Likewise.
20820 (fmaxf): Likewise.
20821 (fmax): Likewise.
20822 (fminf): Likewise.
20823 (fmin): Likewise.
20824 (rint): Likewise.
20825 (rintf): Likewise.
20826 (ceil): Likewise.
20827 (ceilf): Likewise.
20828 (floor): Likewise.
20829 (floorf): Likewise.
20830 (nearbyint): Likewise.
20831 (nearbyintf): Likewise.
20832
d7b4fb26
TS
208332012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20834
20835 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20836 non-default versions.
20837
eb55f5c2
RM
208382012-06-11 Roland McGrath <roland@hack.frob.com>
20839
20840 [BZ #14218]
20841 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20842
366af02c
TS
208432012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20844
99ff6e5c
TS
20845 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20846 (FE_UPWARD, FE_DOWNWARD): Don't define.
20847 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20848 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20849
366af02c
TS
20850 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20851 reading it.
20852 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20853 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20854
793ea851
KK
208552012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20856
20857 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20858 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20859 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20860 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20861
a728a38f
L
208622012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20863
20864 [BZ #14117]
c08010c7
L
20865 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20866 * sysdeps/i386/fpu/Implies: New file.
20867 * sysdeps/x86_64/fpu/Implies: Likewise.
20868 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20869 * sysdeps/x86/fpu/bits/fenv.h: This.
20870
a728a38f
L
20871 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20872 __SSE_MATH__.
20873
6e230d11
SP
208742012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20875
20876 [BZ #14134]
20877 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20878 character 0xffff that matches the last element of the
20879 conversion table.
20880
1b671feb
AZ
208812012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20882
20883 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20884 fmodl commit.
20885
6043738b
AZ
208862012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20887
20888 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20889 values higher than 25.6283.
20890
34ae0b32
AZ
208912012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20892
20893 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20894 subnormal exponent extraction and add some __builtin_expect.
20895 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20896 Fix for subnormal mantissa calculation.
20897
1214ec8f
MF
208982012-06-04 Mike Frysinger <vapier@gentoo.org>
20899
20900 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20901 cpu2 is -1 and errno is not ENOSYS.
20902
f3d1f93c
L
209032012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20904
20905 [BZ #14117]
0e4a3cd7
L
20906 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20907 * sysdeps/x86/bits/string.h: This.
20908 * sysdeps/x86_64/bits/string.h: Removed.
20909
6704c645
L
20910 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20911 if not compiling for x86-64, but compiling for >= i486.
20912
48495318
L
20913 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20914 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20915
14adcbfc
L
20916 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20917 New macro from Linux kernel 3.4.0.
20918 (FP_XSTATE_MAGIC2): Likewise.
20919 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20920 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20921 (struct _fpx_sw_bytes): New struct.
20922 (struct _xsave_hdr): Likewise.
20923 (struct _ymmh_state): Likewise.
20924 (struct _xstate): Likewise.
20925
68e408ab
L
20926 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20927 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20928 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20929 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20930 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20931 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20932
f3d1f93c
L
20933 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20934 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20935 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20936 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20937 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20938 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20939
d9dc34cd
TMQMF
209402012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20941
20942 [BZ #13743]
20943 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20944 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20945 (sysdep_headers): Include sys/platform/ppc.h.
20946 * sysdeps/powerpc/test-gettimebase.c: Test for
20947 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20948 * manual/Makefile (appendices): Include platform.texi.
20949 * manual/contrib.texi (Contributors): Update @node pointers.
20950 * manual/maint.texi (Maintenance): Likewise.
20951 (Platform): New node.
20952 * manual/platform.texi: New file. Document the new features.
20953
4af3879c
SP
209542012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20955 Jakub Jelinek <jakub@redhat.com>
20956
20957 [BZ #14188]
20958 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20959 where __builtin_expect is unavailable.
20960
2fd6ff13
DM
209612012-06-03 David S. Miller <davem@davemloft.net>
20962
20963 * stdlib/longlong.h: Updated from GCC.
20964
173f7220
AS
209652012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20966
20967 [BZ #14042]
20968 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20969 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20970 __mcount_internal.
20971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20972 (GLIBC_2.16): Likewise.
20973
f34a1c6f
L
209742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20975
20976 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20977
88a4576f
JM
209782012-06-01 Joseph Myers <joseph@codesourcery.com>
20979
ea32bcdd
JM
20980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20981 (default-abi): New variable.
20982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20983 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20984 variable.
20985 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20986 Likewise.
20987 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20988 Likewise.
20989 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20990 Likewise.
20991
88a4576f
JM
20992 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20993 definition. Document in comment.
20994
402fe938
DM
209952012-06-01 David S. Miller <davem@davemloft.net>
20996
20997 * stdlib/longlong.h: Updated from GCC.
20998
3553723f
L
209992012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21000
21001 [BZ #14117]
3bd872c4
L
21002 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21003 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21004 sys/debugreg.h sys/io.h here.
21005 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21006 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21007 sys/io.h.
21008 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21009 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21010 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21011 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21012 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21013 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21014
3553723f
L
21015 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21016 Define only if __x86_64__ is defined.
21017
4842e4fe
JM
210182012-06-01 Joseph Myers <joseph@codesourcery.com>
21019
c5bfe3d5
JM
21020 [BZ #14048]
21021 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21022 Use int64_t for variable i.
21023 * math/libm-test.inc (fmod_test): Add more tests.
21024
4842e4fe
JM
21025 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21026 z computation is not scheduled after fetestexcept.
21027 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21028 Use math_force_eval instead of asm to ensure calculation scheduled
21029 before exception test.
21030 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21031 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21032
efb73488
AJ
210332012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21034
21035 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21036 computation is not scheduled after fetestexcept.
21037
29bcce7c
L
210382012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21039
21040 [BZ #14117]
21041 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21042 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21043
73a68f94
AZ
210442012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21045
21046 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21047 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21048
67b6df78
L
210492012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21050
edf2933a 21051 [BZ #14117]
ebc64a18
L
21052 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21053 <bits/wordsize.h>.
21054 (__WCHAR_MIN): Support __WORDSIZE == 64.
21055 (__WCHAR_MAX): Likewise.
21056
edf2933a
L
21057 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21058 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21059
57c6cf40
L
21060 [BZ #14183]
21061 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21062 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21063
67b6df78 21064 [BZ #14117]
8eb6281e
L
21065 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21066 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21067
aac639f4
L
21068 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21069 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21070
67b6df78
L
21071 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21072 Defined to 1 if __x86_64__ isn't defined.
21073 (_STAT_VER_LINUX_OLD): New.
21074 (st_atime): Remove duplicate.
21075 (st_mtime): Likewise.
21076 (st_ctime): Likewise.
21077
1c2cfe81
DM
210782012-05-31 David S. Miller <davem@davemloft.net>
21079
21080 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21081 entries.
21082
5be8418c
AS
210832012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21084
e7725326
AS
21085 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21086 gen-libm-test.pl.
21087
5be8418c
AS
21088 [BZ #14132]
21089 * elf/dl-reloc.c: Include <_itoa.h>.
21090 (_dl_reloc_bad_type): Remove use of INTUSE.
21091 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21092 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21093 * stdio-common/psiginfo.c (psiginfo): Likewise.
21094 * stdio-common/psignal.c (psignal): Likewise.
21095 * string/strsignal.c (strsignal): Likewise.
21096 * include/signal.h (_sys_siglist): Declare hidden proto.
21097 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21098 INTVARDEF with libc_hidden_data_def.
21099 * stdio-common/itoa-udigits.c: Likewise.
21100 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21101 (_itoa_lower_digits_internal): Remove declaration.
21102 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21103 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21104 (_sys_sigabbrev_internal): Remove aliases.
21105 (_sys_siglist): Define hidden alias.
21106
507352f1
MT
211072012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21108
21109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21110 bits/sysctl.h.
21111
42bbb1c3
L
211122012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21113
21114 [BZ #14117]
6bd784b6
L
21115 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21116 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21117
8bca20f0
L
21118 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21119 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21120 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21121 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21122 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21123 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21124
f9e890a9
L
21125 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21126 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21127 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21128
471101a1
L
21129 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21130 with __addr.
21131 (insw): Likewise.
21132 (insl): Likewise.
21133 (outsb): Likewise.
21134 (outsw): Likewise.
21135 (outsl): Likewise.
21136
6451c862
L
21137 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21138 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21139 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21140
a254b8c9
L
21141 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21142 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21143 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21144 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21145 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21146 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21147
b8dfdd92
L
21148 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21149 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21150
578cd270
L
21151 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21152 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21153
de662f5f
L
21154 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21155 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21156 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21157
25653439
L
21158 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21159 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21160 to ...
21161 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21162
6bad24a0
L
21163 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21164 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21165 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21166
42bbb1c3
L
21167 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21168 for x86-64.
21169 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21170
2d10d547
JM
211712012-05-31 Joseph Myers <joseph@codesourcery.com>
21172
21173 * math/math.h (M_El): Use two more decimal places.
21174 (M_LOG2El): Likewise.
21175 (M_LOG10El): Likewise.
21176 (M_LN2l): Likewise.
21177 (M_LN10l): Likewise.
21178 (M_PIl): Likewise.
21179 (M_PI_2l): Likewise.
21180 (M_PI_4l): Likewise.
21181 (M_1_PIl): Likewise.
21182 (M_2_PIl): Likewise.
21183 (M_2_SQRTPIl): Likewise.
21184 (M_SQRT2l): Likewise.
21185 (M_SQRT1_2l): Likewise.
21186
f230c29b
DM
211872012-05-31 David S. Miller <davem@davemloft.net>
21188
21189 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21190 values between float registers.
21191 * sysdeps/sparc/sparc64/memset.S: Likewise.
21192 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21193
fed806c3
MF
211942012-05-31 Mike Frysinger <vapier@gentoo.org>
21195
21196 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21197 -D_FORTIFY_SOURCE=1.
21198 (CPPFLAGS-tst-longjmp_chk.c): Define.
21199 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21200 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21201 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21202 CFLAGS-tst-wchar-h.c.
21203
30917259
MP
212042012-05-31 Marek Polacek <polacek@redhat.com>
21205
21206 [BZ #14132]
21207 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21208 __endmntent_internal): Remove declaration.
21209 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21210 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21211 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21212
1c58d5dc
DM
212132012-05-30 David S. Miller <davem@davemloft.net>
21214
21215 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21216 (___Q_simulate_exceptions): Use real FP ops rather than writing
21217 into the %fsr.
21218 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21219 Likewise.
21220
7dc00e0d
L
212212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21222
21223 [BZ #14117]
0bd53985
L
21224 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21225 * sysdeps/x86/bits/xtitypes.h: This.
21226
3a257e66
L
21227 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21228 * sysdeps/x86/bits/wordsize.h: This.
21229
62f62904
L
21230 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21231 * sysdeps/x86/bits/huge_vall.h: This.
21232
404fe9d9
L
21233 * sysdeps/i386/bits/select.h: Removed.
21234 * sysdeps/x86_64/bits/select.h: Renamed to ...
21235 * sysdeps/x86/bits/select.h: This.
21236
d48d0446
L
21237 * sysdeps/i386/bits/setjmp.h: Removed.
21238 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21239 * sysdeps/x86/bits/setjmp.h: This.
21240
7dc00e0d
L
21241 * sysdeps/i386/bits/mathdef.h: Removed.
21242 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21243 * sysdeps/x86/bits/mathdef.h: This.
21244
03277f8f
AS
212452012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21246
21247 [BZ #14132]
21248 * include/sys/socket.h (__connect_internal)
21249 (__libc_sa_len_internal): Remove declaration.
21250 (__connect, __libc_sa_len): Declare hidden_proto.
21251 (SA_LEN): Remove use of INTUSE.
21252 * socket/connect.c: Add libc_hidden_def.
21253 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21254 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21255 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21256 alias.
21257 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21258 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21259 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21260 of adding _internal alias.
21261
13764867
L
212622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21263
21264 [BZ #14117]
6bd97696
L
21265 * sysdeps/i386/bits/link.h: Removed.
21266 * sysdeps/i386/bits/linkmap.h: Likewise.
21267 * sysdeps/x86_64/bits/link.h: Renamed to ...
21268 * sysdeps/x86/bits/link.h: This.
21269 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21270 * sysdeps/x86/bits/linkmap.h: This.
21271
f726f0bb
L
21272 * sysdeps/i386/bits/endian.h: Removed.
21273 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21274 * sysdeps/x86/bits/endian.h: This.
21275
13764867
L
21276 * sysdeps/i386/bits/byteswap.h: Removed.
21277 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21278 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21279 * sysdeps/x86/bits/byteswap.h: This.
21280 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21281 * sysdeps/x86/bits/byteswap-16.h: This.
21282 * sysdeps/i386/Implies: Add x86.
21283 * sysdeps/x86_64/Implies: Likewise.
21284
ae251b0b
DM
212852012-05-30 David S. Miller <davem@davemloft.net>
21286
21287 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21288 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21289 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21290 (FP_TRAPPING_EXCEPTIONS): Define.
21291 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21292 (FP_TRAPPING_EXCEPTIONS): Define.
21293 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21294 subnormals only when inexact has been signalled or underflow
21295 exceptions are enabled.
21296 (_FP_PACK_CANONICAL): Likewise.
21297
d5c90867
L
212982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21299
21300 [BZ #14183]
21301 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21302 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21303
63f1549e
RH
213042012-05-30 Richard Henderson <rth@twiddle.net>
21305
8d8f2279
RH
21306 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21307 with #ifndef NOT_IN_libc.
21308
63f1549e
RH
21309 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21310 marked to avoid plt entry.
21311
0ab0291b
L
213122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21313
21314 [BZ #14112]
21315 * Makeconfig (default-abi): New macro.
21316 (abi-includes): Likewise.
21317 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21318 $(abi-$(default-abi)-lib-soname) for soname if defined.
21319 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21320 abi-variants.
21321 * Makefile (installed-stubs): Likewise.
21322 * include/stubs-biarch.h: Removed.
21323 * scripts/lib-names.awk: Only handle one library at a time.
21324 * scripts/soversions.awk: Remove WORDSIZE support.
21325 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21326 entries.
21327 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21328 Removed.
21329 (syscall-list-default-condition): Likewise.
21330 (syscall-list-default-condition): Likewise.
21331 (syscall-list-includes): Likewise.
21332 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21333 syscall-list-* with abi-*. Handle undefined abi-variants.
21334 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21335 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21336 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21337 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21338 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21339 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21340 Removed.
21341 (syscall-list-32-options): Likewise.
21342 (syscall-list-32-condition): Likewise.
21343 (syscall-list-64-options): Likewise.
21344 (syscall-list-64-condition): Likewise.
21345 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21346 macro.
21347 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21348 Renamed to ...
21349 (abi-*): This.
21350 (abi-64-ld-soname): New macro.
21351 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21352 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21353 Renamed to ...
21354 (abi-*): This.
21355 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21356 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21357
4da0431d
JM
213582012-05-30 Joseph Myers <joseph@codesourcery.com>
21359
3a85279c
JM
21360 * sysdeps/unix/sysv/linux/kernel-features.h
21361 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21362 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21363 include <kernel-features.h>.
21364 [!__NR_ftruncate64]: Remove conditional code.
21365 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21366 [__NR_ftruncate64]: Make code unconditional.
21367 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21368 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21369 include <kernel-features.h>.
21370 [!__NR_ftruncate64]: Remove conditional code.
21371 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21372 [__NR_ftruncate64]: Make code unconditional.
21373 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21375 include <kernel-features.h>.
21376 [!__NR_ftruncate64]: Remove conditional code.
21377 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21378 [__NR_ftruncate64]: Make code unconditional.
21379 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21381 include <kernel-features.h>.
21382 [!__NR_ftruncate64]: Remove conditional code.
21383 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21384 [__NR_ftruncate64]: Make code unconditional.
21385 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21386
4da0431d
JM
21387 * configure.in (libc_cv_fpie): Weaken to a compile test using
21388 LIBC_TRY_CC_OPTION.
21389 * configure: Regenerated.
21390
11ef492c
AK
213912012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21392
21393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21397 Refreshed.
21398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21404 Refreshed.
21405
d66ef399
DM
214062012-05-27 David S. Miller <davem@davemloft.net>
21407
21408 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21409 (___Q_zero): New.
21410 (__Q_simulate_exceptions): Return void. Change to simulate
21411 exceptions by writing into the %fsr.
21412 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21413 (__Qp_handle_exceptions): Likewise.
21414 (numbers): Delete.
21415 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21416 __Qp_handle_exceptions.
21417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21418 __Qp_handle_exceptions.
21419 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21420 as unused and give dummy FP_RND_NEAREST initializer.
21421 (FP_INHIBIT_RESULTS): Define.
21422 (___Q_simulate_exceptions): Update declaration.
21423 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21424 formatting.
21425 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21426 as unused and give dummy FP_RND_NEAREST initializer.
21427 (__Qp_handle_exceptions): Update declaration.
21428 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21429 formatting.
21430
04fb54b5
TS
214312012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21432
21433 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21434 the temporary FPU control word.
21435 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21436 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21437 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21438 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21439 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21440 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21441 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21442 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21443 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21444 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21445 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21446
3f99608f
KK
214472012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21448
21449 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21450 fields.
21451
65a4de4e
CLT
214522012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21453
21454 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21455 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21456 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21457 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21458 Likewise.
21459 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21460 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21461 Likewise.
21462
15749d40
UD
214632012-05-27 Ulrich Drepper <drepper@gmail.com>
21464
21465 * po/h.po: Update from translation team.
21466
25dbcb27
AS
214672012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21468
3d3f8e55
AS
21469 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21470
25dbcb27
AS
21471 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21472 handling of denormals.
21473 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21474 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21475 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21476 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21477 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21478 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21479 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21480 Likewise.
21481
7ad47a80 214822012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
21483
21484 [BZ #14152]
21485 * math/libm-test.inc (fma_test): Don't always expect underflow
21486 exception.
21487
9c6ea9fa
SP
214882012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21489
21490 [BZ #12416]
21491 * elf/tst-execstack.c: Include stackinfo.h.
21492 (do_test): Adjust test case to ensure that pthread_getattr_np
21493 behaviour remains the same after marking stack executable.
21494
a8239222
JM
214952012-05-25 Joseph Myers <joseph@codesourcery.com>
21496
21497 * sysdeps/unix/sysv/linux/kernel-features.h
21498 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21499 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21500 kernel-features.h.
21501 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21502 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21503 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21504 kernel-features.h.
21505 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21506 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21507
918b5606
L
215082012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21509
21510 * configure.in: Define the default includes to being none.
21511 * configure: Regenerated.
21512
3a097cc7
RM
215132012-05-25 Roland McGrath <roland@hack.frob.com>
21514
8422c9a5
RM
21515 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21516 * sysdeps/x86_64/setjmp.S: Likewise.
21517 * sysdeps/i386/bsd-setjmp.S: Likewise.
21518 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21519 * sysdeps/i386/setjmp.S: Likewise.
21520 * sysdeps/i386/__longjmp.S: Likewise.
21521 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21522 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21523
3a097cc7
RM
21524 * include/stap-probe.h: New file.
21525 * configure.in: Handle --enable-systemtap.
21526 * configure: Regenerated.
21527 * config.h.in (USE_STAP_PROBE): New #undef.
21528 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21529 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21530 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21531
21708942
JM
215322012-05-25 Joseph Myers <joseph@codesourcery.com>
21533
21534 [BZ #13717]
21535 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21536 to 2.4.0 where earlier.
21537 * sysdeps/unix/sysv/linux/configure: Regenerated.
21538 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21539 <kernel-features.h>.
21540 [__ASSUME_32BITUIDS]: Make code unconditional.
21541 [!__ASSUME_32BITUIDS]: Remove conditional code.
21542 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21543 <kernel-features.h>.
21544 [__ASSUME_32BITUIDS]: Make code unconditional.
21545 [!__ASSUME_32BITUIDS]: Remove conditional code.
21546 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21547 [__ASSUME_32BITUIDS]: Make code unconditional.
21548 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21549 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21550 <kernel-features.h>.
21551 [__ASSUME_32BITUIDS]: Make code unconditional.
21552 [!__ASSUME_32BITUIDS]: Remove conditional code.
21553 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21554 <kernel-features.h>.
21555 [__ASSUME_32BITUIDS]: Make code unconditional.
21556 [!__ASSUME_32BITUIDS]: Remove conditional code.
21557 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21558 <kernel-features.h>.
21559 [__ASSUME_32BITUIDS]: Make code unconditional.
21560 [!__ASSUME_32BITUIDS]: Remove conditional code.
21561 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21562 <kernel-features.h>.
21563 [__ASSUME_32BITUIDS]: Make code unconditional.
21564 [!__ASSUME_32BITUIDS]: Remove conditional code.
21565 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21566 <kernel-features.h>.
21567 [__ASSUME_32BITUIDS]: Make code unconditional.
21568 [!__ASSUME_32BITUIDS]: Remove conditional code.
21569 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21570 <kernel-features.h>.
21571 [__ASSUME_32BITUIDS]: Make code unconditional.
21572 [!__ASSUME_32BITUIDS]: Remove conditional code.
21573 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21574 <kernel-features.h>.
21575 [__ASSUME_32BITUIDS]: Make code unconditional.
21576 [!__ASSUME_32BITUIDS]: Remove conditional code.
21577 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21578 <kernel-features.h>.
21579 [__ASSUME_32BITUIDS]: Make code unconditional.
21580 [!__ASSUME_32BITUIDS]: Remove conditional code.
21581 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21582 <kernel-features.h>.
21583 [__ASSUME_32BITUIDS]: Make code unconditional.
21584 [!__ASSUME_32BITUIDS]: Remove conditional code.
21585 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21586 <kernel-features.h>.
21587 [__ASSUME_32BITUIDS]: Make code unconditional.
21588 [!__ASSUME_32BITUIDS]: Remove conditional code.
21589 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21590 <kernel-features.h>.
21591 [__NR_setresgid] (__setresgid): Do not declare.
21592 [__ASSUME_32BITUIDS]: Make code unconditional.
21593 [!__ASSUME_32BITUIDS]: Remove conditional code.
21594 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21595 <kernel-features.h>.
21596 [__NR_setresuid] (__setresuid): Do not declare.
21597 [__ASSUME_32BITUIDS]: Make code unconditional.
21598 [!__ASSUME_32BITUIDS]: Remove conditional code.
21599 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21600 <kernel-features.h>.
21601 [__ASSUME_32BITUIDS]: Make code unconditional.
21602 [!__ASSUME_32BITUIDS]: Remove conditional code.
21603 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21604 <kernel-features.h>.
21605 [__ASSUME_32BITUIDS]: Make code unconditional.
21606 [!__ASSUME_32BITUIDS]: Remove conditional code.
21607 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21608 <kernel-features.h>.
21609 [__ASSUME_32BITUIDS]: Make code unconditional.
21610 [!__ASSUME_32BITUIDS]: Remove conditional code.
21611 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21612 <kernel-features.h>.
21613 [__ASSUME_32BITUIDS]: Make code unconditional.
21614 [!__ASSUME_32BITUIDS]: Remove conditional code.
21615 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21616 <kernel-features.h>.
21617 [__ASSUME_32BITUIDS]: Make code unconditional.
21618 [!__ASSUME_32BITUIDS]: Remove conditional code.
21619 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21620 <kernel-features.h>.
21621 [__ASSUME_32BITUIDS]: Make code unconditional.
21622 [!__ASSUME_32BITUIDS]: Remove conditional code.
21623 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21624 <kernel-features.h>.
21625 [__ASSUME_32BITUIDS]: Make code unconditional.
21626 [!__ASSUME_32BITUIDS]: Remove conditional code.
21627 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21628 <kernel-features.h>.
21629 [__ASSUME_32BITUIDS]: Make code unconditional.
21630 [!__ASSUME_32BITUIDS]: Remove conditional code.
21631 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21632 <kernel-features.h>.
21633 [__ASSUME_32BITUIDS]: Make code unconditional.
21634 [!__ASSUME_32BITUIDS]: Remove conditional code.
21635 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21636 <kernel-features.h>.
21637 [__ASSUME_32BITUIDS]: Make code unconditional.
21638 [!__ASSUME_32BITUIDS]: Remove conditional code.
21639 * sysdeps/unix/sysv/linux/kernel-features.h
21640 (__ASSUME_SETRESUID_SYSCALL): Remove.
21641 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21642 (__ASSUME_32BITUIDS): Likewise.
21643 (__ASSUME_LDT_WORKS): Likewise.
21644 (__ASSUME_O_DIRECTORY): Likewise.
21645 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21646 architecture but not kernel version.
21647 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21648 (__ASSUME_MMAP2_SYSCALL): Likewise.
21649 (__ASSUME_STAT64_SYSCALL): Likewise.
21650 (__ASSUME_IPC64): Likewise.
21651 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21652 <kernel-features.h>.
21653 [__ASSUME_32BITUIDS]: Make code unconditional.
21654 [!__ASSUME_32BITUIDS]: Remove conditional code.
21655 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21656 <kernel-features.h>.
21657 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21658 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21659 132096]: Remove conditional code.
21660 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21661 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21662 <kernel-features.h>.
21663 [__ASSUME_32BITUIDS]: Make code unconditional.
21664 [!__ASSUME_32BITUIDS]: Remove conditional code.
21665 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21666 <kernel-features.h>.
21667 [__ASSUME_32BITUIDS]: Make code unconditional.
21668 [!__ASSUME_32BITUIDS]: Remove conditional code.
21669 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21670 <kernel-features.h>.
21671 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21672 unconditional.
21673 (__setresgid): Do not declare.
21674 [__ASSUME_32BITUIDS]: Make code unconditional.
21675 [!__ASSUME_32BITUIDS]: Remove conditional code.
21676 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21677 <kernel-features.h>.
21678 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21679 unconditional.
21680 (__setresuid): Do not declare.
21681 [__ASSUME_32BITUIDS]: Make code unconditional.
21682 [!__ASSUME_32BITUIDS]: Remove conditional code.
21683 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21684 <kernel-features.h>.
21685 [__ASSUME_32BITUIDS]: Make code unconditional.
21686 [!__ASSUME_32BITUIDS]: Remove conditional code.
21687 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21688 <kernel-features.h>.
21689 [__ASSUME_32BITUIDS]: Make code unconditional.
21690 [!__ASSUME_32BITUIDS]: Remove conditional code.
21691
a386f1cc
RH
216922012-05-25 Richard Henderson <rth@twiddle.net>
21693
21694 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21695 dl_hwcap to ifunc resolver.
21696 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21697 elf_ifunc_invoke.
21698 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21699 dl_hwcap to ifunc resolver.
21700 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21701
b6550497
JM
217022012-05-24 Joseph Myers <joseph@codesourcery.com>
21703
21704 [BZ #14153]
21705 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21706 for |x| <= 2**-26, not 2**-57.
21707 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21708 exception.
21709
b0bc23a1
JL
217102012-05-24 Jeff Law <law@redhat.com>
21711
21712 * stdio-common/Makefile (tests): Add bug25.
21713 * stdio-common/bug25.c: New test.
21714
347c92e9
L
217152012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21716
21717 [BZ #13576]
21718 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21719 multiple of MALLOC_ALIGNMENT in size.
21720 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21721
6bcc8b3f
JM
217222012-05-24 Joseph Myers <joseph@codesourcery.com>
21723
21724 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21725 Require >= 256.
21726 (FILENAME_MAX): Use macro-int-constant.
21727 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21728 (_IOFBF): Use macro-int-constant.
21729 (_IOLBF): Likewise.
21730 (_IONBF): Likewise.
21731 (SEEK_CUR): Likewise.
21732 (SEEK_END): Likewise.
21733 (SEEK_SET): Likewise.
21734 (TMP_MAX): Likewise.
21735 (EOF): Use macro-int-constant. Require < 0.
21736 (NULL): Use macro-constant. Require == 0.
21737 (stdin): Require type to be FILE *.
21738 (stdout): Likewise.
21739 (stderr): Likewise.
21740 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21741 macro-int-constant.
21742 (EXIT_SUCCESS): Likewise.
21743 (NULL): Use macro-constant. Require == 0.
21744 (RAND_MAX): Use macro-int-constant.
21745 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21746 [C99-based standards] (strtof): Require function.
21747 [C99-based standards] (strtold): Likewise.
21748 [C99-based standards] (strtoll): Likewise.
21749 [C99-based standards] (strtoull): Likewise.
21750 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21751 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21752 [ISO || ISO99 || ISO11] (math.h): Likewise.
21753 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21754 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21755 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21756
d18ea0c5
AS
217572012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21758
21759 [BZ #14132]
56d25bb8
AS
21760 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21761 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21762 * intl/dgettext.c (DCGETTEXT): Likewise.
21763 * intl/gettext.c (DCGETTEXT): Likewise.
21764 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21765 * posix/regex_internal.h (gettext): Likewise.
21766 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21767 Remove declaration.
21768 * include/argz.h (__argz_count_internal)
21769 (__argz_stringify_internal): Remove declaration.
21770 (__argz_count, __argz_stringify): Declare hidden proto.
21771 * intl/dcgettext.c: Remove use of INTDEF.
21772 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21773 * string/argz-stringify.c: Likewise.
21774 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21775 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21776 Declare hidden proto.
d18ea0c5
AS
21777 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21778 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21779 Declare hidden proto.
21780 * include/stdio.h (__asprintf_internal): Don't declare.
21781 (__asprintf): Don't define as macro. Declare hidden proto.
21782 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21783 (__fsetlocking): Declare hidden proto.
21784 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21785 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21786 hidden proto.
21787 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21788 (_IO_setlinebuf): Remove use of INTUSE.
21789 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21790 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21791 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21792 Remove declaration.
21793 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21794 (_IO_do_flush): Remove use of INTUSE.
21795 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21796 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21797 (_IO_adjust_column, _IO_least_wmarker)
21798 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21799 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21800 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21801 (_IO_default_doallocate, _IO_wdefault_doallocate)
21802 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21803 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21804 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21805 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21806 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21807 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21808 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21809 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21810 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21811 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21812 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21813 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21814 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21815 proto.
21816 (_IO_flush_all_internal, _IO_adjust_column_internal)
21817 (_IO_default_uflow_internal, _IO_default_finish_internal)
21818 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21819 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21820 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21821 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21822 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21823 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21824 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21825 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21826 (_IO_file_close_internal, _IO_file_close_it_internal)
21827 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21828 (_IO_file_init_internal, _IO_file_attach_internal)
21829 (_IO_file_fopen_internal, _IO_file_read_internal)
21830 (_IO_file_sync_internal, _IO_file_seek_internal)
21831 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21832 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21833 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21834 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21835 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21836 (_IO_list_all_internal, _IO_link_in_internal)
21837 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21838 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21839 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21840 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21841 (_IO_do_write_internal, _IO_padn_internal)
21842 (_IO_getline_info_internal, _IO_getline_internal)
21843 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21844 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21845 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21846 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21847 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21848 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21849 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21850 with libc_hidden_ver, remove use of INTUSE.
21851 * libio/genops.c: Likewise.
21852 * libio/freopen.c: Likewise.
21853 * libio/freopen64.c: Likewise.
21854 * libio/iofclose.c: Likewise.
21855 * libio/iofdopen.c: Likewise.
21856 * libio/iofflush.c: Likewise.
21857 * libio/iofflush_u.c: Likewise.
21858 * libio/iofgets.c: Likewise.
21859 * libio/iofgets_u.c: Likewise.
21860 * libio/iofopen.c: Likewise.
21861 * libio/iofopncook.c: Likewise.
21862 * libio/iofread.c: Likewise.
21863 * libio/iofread_u.c: Likewise.
21864 * libio/ioftell.c: Likewise.
21865 * libio/iofwrite.c: Likewise.
21866 * libio/iogetline.c: Likewise.
21867 * libio/iogets.c: Likewise.
21868 * libio/iogetwline.c: Likewise.
21869 * libio/iopadn.c: Likewise.
21870 * libio/iopopen.c: Likewise.
21871 * libio/ioseekoff.c: Likewise.
21872 * libio/ioseekpos.c: Likewise.
21873 * libio/iosetbuffer.c: Likewise.
21874 * libio/iosetvbuf.c: Likewise.
21875 * libio/ioungetc.c: Likewise.
21876 * libio/ioungetwc.c: Likewise.
21877 * libio/iovdprintf.c: Likewise.
21878 * libio/iovsprintf.c: Likewise.
21879 * libio/iovsscanf.c: Likewise.
21880 * libio/memstream.c: Likewise.
21881 * libio/obprintf.c: Likewise.
21882 * libio/oldfileops.c: Likewise.
21883 * libio/oldiofclose.c: Likewise.
21884 * libio/oldiofdopen.c: Likewise.
21885 * libio/oldiofopen.c: Likewise.
21886 * libio/oldiopopen.c: Likewise.
21887 * libio/oldstdfiles.c: Likewise.
21888 * libio/putc.c: Likewise.
21889 * libio/setbuf.c: Likewise.
21890 * libio/setlinebuf.c: Likewise.
21891 * libio/stdfiles.c: Likewise.
21892 * libio/strops.c: Likewise.
21893 * libio/vasprintf.c: Likewise.
21894 * libio/vscanf.c: Likewise.
21895 * libio/vsnprintf.c: Likewise.
21896 * libio/vswprintf.c: Likewise.
21897 * libio/wfiledoalloc.c: Likewise.
21898 * libio/wfileops.c: Likewise.
21899 * libio/wgenops.c: Likewise.
21900 * libio/wmemstream.c: Likewise.
21901 * libio/wstrops.c: Likewise.
21902 * libio/__fpurge.c: Likewise.
21903 * libio/__fsetlocking.c: Likewise.
21904 * assert/assert.c: Likewise.
21905 * debug/fgets_chk.c: Likewise.
21906 * debug/fgets_u_chk.c: Likewise.
21907 * debug/fread_chk.c: Likewise.
21908 * debug/fread_u_chk.c: Likewise.
21909 * debug/gets_chk.c: Likewise.
21910 * debug/obprintf_chk.c: Likewise.
21911 * debug/vasprintf_chk.c: Likewise.
21912 * debug/vdprintf_chk.c: Likewise.
21913 * debug/vsnprintf_chk.c: Likewise.
21914 * debug/vsprintf_chk.c: Likewise.
21915 * malloc/mtrace.c: Likewise.
21916 * misc/error.c: Likewise.
21917 * misc/syslog.c: Likewise.
21918 * stdio-common/asprintf.c: Likewise.
21919 * stdio-common/fxprintf.c: Likewise.
21920 * stdio-common/getw.c: Likewise.
21921 * stdio-common/isoc99_fscanf.c: Likewise.
21922 * stdio-common/isoc99_scanf.c: Likewise.
21923 * stdio-common/isoc99_vfscanf.c: Likewise.
21924 * stdio-common/isoc99_vscanf.c: Likewise.
21925 * stdio-common/isoc99_vsscanf.c: Likewise.
21926 * stdio-common/printf-prs.c: Likewise.
21927 * stdio-common/printf_fp.c: Likewise.
21928 * stdio-common/printf_fphex.c: Likewise.
21929 * stdio-common/printf_size.c: Likewise.
21930 * stdio-common/putw.c: Likewise.
21931 * stdio-common/scanf.c: Likewise.
21932 * stdio-common/sprintf.c: Likewise.
21933 * stdio-common/tmpfile.c: Likewise.
21934 * stdio-common/vfprintf.c: Likewise.
21935 * stdio-common/vfscanf.c: Likewise.
21936 * stdlib/strfmon_l.c: Likewise.
21937 * sunrpc/openchild.c: Likewise.
21938 * sunrpc/xdr_stdio.c: Likewise.
21939 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21940 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21941
d6c33fda
RM
219422012-05-24 Roland McGrath <roland@hack.frob.com>
21943
c1487492
RM
21944 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21945
21946 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21947 in the third column, to generate for the shared library an IFUNC
21948 that uses _dl_vdso_vsym.
21949 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21950 * Makeconfig (object-suffixes-noshared): New variable.
21951
21952 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21953 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21954 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21955 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21956
d6c33fda
RM
21957 [BZ #14132]
21958 * include/sys/time.h (__gettimeofday): Remove macro.
21959 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21960 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21961 Remove INTDEF.
21962 (__gettimeofday): Add libc_hidden_def.
21963 (gettimeofday): Add libc_hidden_weak.
21964 * sysdeps/mach/gettimeofday.c: Likewise.
21965 * sysdeps/posix/gettimeofday.c: Likewise.
21966 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21967 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21968 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21969 (__gettimeofday_internal): Remove strong_alias.
21970 (__gettimeofday): Add libc_hidden_def.
21971 (gettimeofday): Add libc_hidden_weak.
21972 * sysdeps/unix/syscalls.list (gettimeofday):
21973 Remove __gettimeofday_internal alias.
21974
b5a2bbe6
L
219752012-05-24 Daniel Jacobowitz <drow@false.org>
21976 H.J. Lu <hongjiu.lu@intel.com>
21977
21978 [BZ #12495]
21979 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21980 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21981 (largebin_index_32_big): New.
21982 (largebin_index): Use it for 16-byte alignment.
21983 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21984 correction with front_misalign.
21985
cfba4fda
L
219862012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21987
7f907421
L
21988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21990 Likewise.
21991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21992 Likewise.
21993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21994 Likewise.
21995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21996 Likewise.
21997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21998 Likewise.
21999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22000 Likewise.
22001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22002 Likewise.
22003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22004 Likewise.
22005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22006 Likewise.
22007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22008 Likewise.
22009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22010 Likewise.
22011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22012 Likewise.
22013
cfba4fda
L
22014 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22015 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22016
80bad0cc
JM
220172012-05-24 Joseph Myers <joseph@codesourcery.com>
22018
7a25eb06
JM
22019 [BZ #10846]
22020 [BZ #14036]
22021 * math/libm-test.inc (exp_test): Add test from bug 14036.
22022 (pow_test): Add test from bug 10846.
22023
795405f9
JM
22024 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22025 and other flags.
22026 (special_function): Do not include flags in test name.
22027 (parse_args): Likewise.
22028 * sysdeps/i386/fpu/libm-test-ulps: Update.
22029 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22030 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22031 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22033
80bad0cc
JM
22034 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22035 exceptions.
22036 * math/libm-test.inc ("Philosophy"): Update comment about
22037 exception testing.
22038 (UNDERFLOW_EXCEPTION): New macro.
22039 (UNDERFLOW_EXCEPTION_OK): Likewise.
22040 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22041 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22042 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22043 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22044 (INVALID_EXCEPTION_OK): Update value.
22045 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22046 (OVERFLOW_EXCEPTION_OK): Likewise.
22047 (IGNORE_ZERO_INF_SIGN): Likewise.
22048 (test_exceptions): Handle underflow exceptions.
22049 (acos_test): Update for underflow exception expectations.
22050 (cexp_test): Likewise.
22051 (clog_test): Likewise.
22052 (clog10_test): Likewise.
22053 (csqrt_test): Likewise.
22054 (ctan_test): Likewise.
22055 (ctanh_test): Likewise.
22056 (exp_test): Likewise.
22057 (exp10_test): Likewise.
22058 (exp2_test): Likewise.
22059 (expm1_test): Likewise.
22060 (fma_test): Likewise.
22061 (j0_test): Likewise.
22062 (jn_test): Likewise.
22063 (nexttoward_test): Likewise.
22064 (pow_test): Likewise.
22065 (scalbn_test): Likewise.
22066 (scalbln_test): Likewise.
22067 (tan_test): Likewise.
22068 (y1_test): Likewise.
22069 * sysdeps/i386/fpu/libm-test-ulps: Update.
22070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22071
9e0e3d0b
DM
220722012-05-23 David S. Miller <davem@davemloft.net>
22073
22074 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22075 (__libc_sigaction): Remove unused local variables.
22076
ccd0a08f
L
220772012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22078
22079 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22080
62bdf9a6
PE
220812012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22082
f8591f80
PE
22083 mktime: avoid signed integer overflow
22084 * time/mktime.c (__mktime_internal): Do not mishandle the case
22085 where diff == INT_MIN.
22086
94c7d826
PE
22087 mktime: simplify computation of average
22088 * time/mktime.c (ranged_convert): Use new time_t_avg function
22089 instead of rolling our own (probably-slower) code.
22090
ce73d683
PE
22091 mktime: do not assume signed right shift propagates sign bit
22092 * time/mktime.c (isdst_differ): New static function.
22093 (__mktime_internal): No need to normalize tm_isdst now.
22094 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22095 tm_isdst values.
22096
72a22e59
PE
22097 mktime: merge another wrapv change from gnulib
22098 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22099 from some compilers.
22100
68605433
PE
22101 mktime: remove incorrect attempt at unusual arithmetics
22102 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22103 The code didn't really work on such machines anyway.
22104 (TYPE_MINIMUM): Assume two's complement.
22105 (twos_complement_arithmetic): Verify that long_int and time_t
22106 are two's complement (or unsigned, in the latter case).
22107
03cf7fe3
PE
22108 mktime: check signed shifts on long_int and time_t, too
22109 * time/mktime.c (SHR): Check that shifts work as desired
22110 on the types long_int and time_t too, as SHR is used on
22111 such types.
22112
f04dfbc2
PE
22113 mktime: do not assume 'long' is wide enough
22114 * time/mktime.c (verify): Move decl up.
22115 (long_int): New type.
22116 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22117 to remove assumption in the code that 'long' is wide enough to
22118 store year values. This assumption is not true on x32 and on
22119 some non-glibc platforms.
22120
62bdf9a6
PE
22121 mktime: merge wrapv change from gnulib
22122 * time/mktime.c (WRAPV): New macro.
22123 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22124 (guess_time_tm, __mktime_internal): Do not assume that signed
22125 integer overflow wraps around; modern compilers generate code
22126 where this assumption is no longer valid.
22127
5e292e4f
L
221282012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22129
22130 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22131 Replace "jmp L(pseudo_end)" with "ret".
22132 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22133 Likewise.
22134
8caf8c87
AJ
221352012-05-23 Andreas Jaeger <aj@suse.de>
22136
22137 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22138 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22139
1a09dc56
AJ
221402012-05-23 Andreas Jaeger <aj@suse.de>
22141 Maximilian Attems <max@stro.at>
22142
22143 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22144 New macros.
22145
1c87aba0
L
221462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22147
22148 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22149 code so that pseudo_end is just ret and the stack pointer is
22150 correct also for static library in error case.
22151
40e45bd5
JM
221522012-05-23 Joseph Myers <joseph@codesourcery.com>
22153
c2670533
JM
22154 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22155 move to syscalls.list.
22156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22160
40e45bd5
JM
22161 * manual/install.texi (Running make install): Do not mention Linux
22162 kernel version for which pt_chown is not needed.
22163 (Linux): Do not mention problems with nscd with 2.0 kernels.
22164 * INSTALL: Regenerated.
22165
be08eda5
AJ
221662012-05-23 Andreas Jaeger <aj@suse.de>
22167
22168 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22169 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22170 macro.
22171 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22172 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22173 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22174 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22175 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22176 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22177 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22178 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22179 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22180 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22181 * sysdeps/unix/sysv/linux/bits/in.h
22182 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22183
a6a056bb
RM
221842012-05-22 Roland McGrath <roland@hack.frob.com>
22185
22186 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22187 (PREPARE_VERSION): Just use assert instead, it will be elided
22188 under [NDEBUG] anyway.
22189
c9009328
L
221902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22191
22192 * sysdeps/unix/sysv/linux/Makefile: Include
22193 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 22194 (sysdep_routines): Remove sysctl.
c9009328
L
22195 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22196 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22197 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22198 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22199 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22200
73338355
AJ
222012012-05-22 Andreas Jaeger <aj@suse.de>
22202
22203 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22204 that pseudo_end is just ret and the stack pointer is correct also
22205 for static library in error case.
22206
d44638b0
PP
222072012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22208
22209 [BZ #14122]
22210 * nss/nsswitch.c (defconfig_entries): New variable.
22211 (__nss_database_lookup): Don't leak defconfig entries.
22212 (nss_parse_service_list): Don't leak on error paths.
22213 (free_database_entries): New function.
22214 (free_defconfig): New function.
22215 (free_mem): Move common code to free_database_entries.
22216
31a39bd8
L
222172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22218
da0331a8
L
22219 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22220 Add arch_prctl.
22221 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22222
31a39bd8
L
22223 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22224 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22225 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22226 New macro.
22227 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22228 (INTERNAL_SYSCALL_TYPES): Likewise.
22229 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22230 (LOAD_REGS_TYPES_[1-6]): Likewise.
22231 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22232 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22233
45470df3
AZ
222342012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22235
22236 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22237 copysignl for GLIBC_2_0.
22238 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22239 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22240 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22241 logbl for GLIBC_2_0.
22242 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22243 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22244
98a61bcb
L
222452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22246
a4f6e481
L
22247 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22248 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22249
f63d5db6
L
22250 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22251 Use "neg %eax".
22252
98a61bcb
L
22253 * time/mktime.c: Update copyright years.
22254
95770f14
PE
222552012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22256
6226efbd
PE
22257 mktime: merge comment-quoting-style change from gnulib
22258 * time/mktime.c: Quote 'like this' in comments.
22259 The GNU coding standards suggest that we no longer quote `like this',
22260 as "`" and "'" are typically rendered asymmetrically nowadays.
22261 The typical gnulib style is to quote 'like this' when quoting
22262 code, and "like this" when quoting English.
22263
b99e4f78
PE
22264 * time/mktime.c (compile-command): Add "-I.".
22265
643e01e6
PE
22266 mktime: merge mktime-internal.h change from gnulib
22267 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22268
2554247d
PE
22269 mktime: merge time_r change from gnulib
22270 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22271
826dd0ab
PE
22272 mktime: merge DEBUG change from gnulib
22273 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22274 case system <time.h> has a #define.
22275
bd83aabe
PE
22276 mktime: merge <sys/types.h> change from gnulib
22277 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22278 since <time.t> is now guaranteed to define time_t.
22279
95770f14
PE
22280 mktime: merge HAVE_CONFIG_H change from gnulib
22281 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22282
5e1a27a9
L
222832012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22284
0e44a77e
L
22285 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22286 Use "neg %eax".
22287
5e1a27a9
L
22288 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22289 __rlim_t cast.
22290 (struct rusage): Use anonymous union to pad each field to
22291 __syscall_slong_t.
22292
46259bec
DM
222932012-05-21 David S. Miller <davem@davemloft.net>
22294
22295 * Makefules (o-iterator): Remove .s cases.
22296 (compile-command.s): Delete.
22297 (COMPILE.s): Delete.
22298 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22299
59f0c22e
JM
223002012-05-21 Joseph Myers <joseph@codesourcery.com>
22301
22302 * configure.in (libc_cv_predef_stack_protector): Only consider
22303 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22304 * configure: Regenerated.
22305
20c07380
L
223062012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22307
bbb3154b
L
22308 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22309 New macro. Use R*LP on int and pointer.
22310 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
22311 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22312 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
22313 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22314
20c07380
L
22315 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22316 [__WORDSIZE_TIME64_COMPAT32] instead of
22317 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22318 (struct utmp): Likewise.
22319 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22320 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22321 Renamed to ...
22322 (__WORDSIZE_TIME64_COMPAT32): This.
22323 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22324 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22325 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22326 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22327 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22328 (__WORDSIZE_TIME64_COMPAT32): New macro.
22329
d8d1017e
AJ
223302012-05-21 Andreas Jaeger <aj@suse.de>
22331
22332 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22333 only if [SHARED]. Add prototype for __wcschr_ia32.
22334
6c7fb145
RM
223352012-05-21 Roland McGrath <roland@hack.frob.com>
22336
22337 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22338 of %rbp unmolested in the jmp_buf while mangling the low bits.
22339 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22340 unmolested high bits of %rbp while demangling the low bits.
22341 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22342
66274218
AJ
223432012-05-21 Andreas Jaeger <aj@suse.de>
22344
07c58f8f
AJ
22345 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22346 * sunrpc/svc_simple.c: Use it for registerrpc.
22347 * sunrpc/xcrypt.c: Use it for passwd2des.
22348
66274218
AJ
22349 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22350
61f65140
L
223512012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22352
22353 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22354 Don't define if [__SYSCALL_WORDSIZE != 32].
22355 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22356 New macro.
22357
5fefb436
AJ
223582012-05-21 Bruno Haible <bruno@clisp.org>
22359 Andreas Jaeger <aj@suse.de>
22360
22361 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22362 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22363 inptr and inend for must_buffer_ch.
22364 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22365 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22366 * stdio-common/Makefile (tests): Remove bug15.
22367 (bug15-ENV): Remove macro.
22368 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22369 anymore.
22370
d8e272ab
AJ
223712012-05-19 Andreas Jaeger <aj@suse.de>
22372 Roland McGrath <roland@hack.frob.com>
22373
22374 * manual/contrib.texi: Completely rewritten. It contains now an
22375 alphabetical list of contributors and their contributions.
22376
4a56a162
RH
223772012-05-21 Richard Henderson <rth@twiddle.net>
22378
22379 * misc/getauxval.c (__getauxval): Use unsigned long int.
22380 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22381 (getauxval): Use unsigned long int.
22382
d024d23c
L
223832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22384
22385 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22386
cbc00a03
RM
223872012-05-21 Roland McGrath <roland@hack.frob.com>
22388
22389 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22390 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22391 __alignof__ (long double).
22392
478143fa
AZ
223932012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22394
22395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22396
c7683a6d
RH
223972012-05-20 Richard Henderson <rth@twiddle.net>
22398
22399 * misc/getauxval.c: New file.
22400 * misc/sys/auxv.h: New file.
22401 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22402 (routines): Add getauxval.
22403 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22404 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22405 * elf/dl-sysdep.c (_dl_auxv): Remove.
22406 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22407 * elf/dl-support.c (_dl_auxv): New variable.
22408 (_dl_aux_init): Initialize it.
22409 * manual/startup.texi (Auxiliary Vector): New node.
22410 * sysdeps/generic/bits/hwcap.h: New file.
22411 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22412 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22413 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22414 * sysdeps/sparc/sysdep.h: ... here. Include it.
22415 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22416 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
22417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22418 Update.
c7683a6d
RH
22419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22422 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22427
a6f1845d
AZ
224282012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22429
22430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22431
cbcbe830
DM
224322012-05-19 David S. Miller <davem@davemloft.net>
22433
22434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22435
e0b16cc2
JM
224362012-05-19 Joseph Myers <joseph@codesourcery.com>
22437
22438 [BZ #14123]
22439 * math/s_ccosh.c: Include <float.h>
22440 (__ccosh): Avoid internal overflow calculating sinh and cosh
22441 values before multiplying by sin and cos values.
22442 * math/s_ccoshf.c: Likewise.
22443 * math/s_ccoshl.c: Likewise.
22444 * math/s_csin.c: Likewise.
22445 * math/s_csinf.c: Likewise.
22446 * math/s_csinl.c: Likewise.
22447 * math/s_csinh.c: Likewise.
22448 * math/s_csinhf.c: Likewise.
22449 * math/s_csinhl.c: Likewise.
22450 * math/libm-test.inc (ccos_test): Add more tests.
22451 (ccosh_test): Likewise.
22452 (csin_test): Likewise.
22453 (csinh_test): Likewise.
22454 * sysdeps/i386/fpu/libm-test-ulps: Update.
22455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22456
6ad13e08
L
224572012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22458
f66f0ce8
L
22459 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22460 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22461
6ad13e08
L
22462 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22463
b1d072a7
JM
224642012-05-19 Joseph Myers <joseph@codesourcery.com>
22465
22466 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22467 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22468 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22469 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22470 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22471 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22472 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22473 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22474 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22475 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22476 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22477 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22478 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22479 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22480 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22481 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22482 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22483 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22484 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22485 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22486 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22487 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22488 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22489 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22490 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22491 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22492 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22493 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22494 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22495 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22496 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22497
9eae47cb
AJ
224982012-05-18 Andreas Jaeger <aj@suse.de>
22499
22500 * csu/.gitignore: Delete.
22501
bb07f69f
L
225022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22503
22504 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22505 (timex): Use __syscall_slong_t.
22506
e6bdb741
AJ
225072012-05-18 Andreas Jaeger <aj@suse.de>
22508 Carlos O'Donell <carlos_odonell@mentor.com>
22509
22510 * manual/install.texi (Configuring and compiling): Update
22511 description about files modified in the source directory.
d6c33fda 22512 * INSTALL: Regenerated.
e6bdb741 22513
1b74487e
L
225142012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22515
22516 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22517 value. Use "or" to set return value to -1.
22518 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22519 negate return value.
22520
a88b64b9
TMQMF
225212012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22522
22523 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22524 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22525 failure if the compiler has Graphite support disabled.
22526 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22527 Likewise.
22528 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22529 CFLAGS-memmove.c): Likewise.
22530 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22531 Likewise.
22532
3707636e
L
225332012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22534
610b8622
L
22535 * sysdeps/x86_64/x32/_itoa.h: New file.
22536
7cd195df
L
22537 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22538 getdents system call only if kernel and user dirents have the
22539 same d_ino and d_off.
22540
94b07d20
L
22541 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22542 LLONG_MAX != LONG_MAX.
22543 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22544 (_fitoa_word): Likewise.
22545
18298070
L
22546 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22547 years.
22548 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22549 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22550 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22551
553c7ea4
L
22552 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22553 include <bits/wordsize.h>. Check __x86_64__ instead of
22554 __WORDSIZE.
22555 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22556 if __x86_64__ is defined. Use anonymous union on fpstate.
22557
3707636e
L
22558 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22559 anonymous union.
22560
b53ef01a
AS
225612012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22562
37fb1dc0
AS
22563 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22564 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22565 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22566 Refer to _rtld_local_ro instead of _rtld_global_ro.
22567 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22568 Likewise.
22569 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22570 Likewise.
22571 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22572 Likewise.
22573 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22574 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22575 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22576
b53ef01a
AS
22577 * sysdeps/powerpc/powerpc32/dl-machine.c
22578 (__elf_machine_runtime_setup) [PROF]: Don't reference
22579 _dl_prof_resolve.
22580
7a185db2
AJ
225812012-05-18 Andreas Jaeger <aj@suse.de>
22582
22583 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22584 function only available for GCCs before 3.4 since GCC 3.4
22585 introduced a builtin.
22586 (lrint): Likewise.
22587 (llrintf): Likewise.
22588 (llrint): Likewise.
22589 (fmaxf): Likewise.
22590 (fmax): Likewise.
22591 (fminf): Likewise.
22592 (fmin): Likewise.
22593 (rint): Likewise.
22594 (rintf): Likewise.
22595 (nearbyint): Likewise.
22596 (nearbyintf): Likewise.
22597 (ceil): Likewise.
22598 (ceilf): Likewise.
22599 (floor): Likewise.
22600 (floorf): Likewise.
22601
3e5aef87
L
226022012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22603
428bd707
L
22604 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22605 on both fields and cast pointer to __syscall_ulong_t.
22606
3e5aef87
L
22607 * bits/types.h (__fsword_t): New type.
22608 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22609 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22610 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22611 (__FSWORD_T_TYPE): Likewise.
22612 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22613 (__FSWORD_T_TYPE): Likewise.
22614 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22615 (__FSWORD_T_TYPE): Likewise.
22616 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22617 (__FSWORD_T_TYPE): Likewise.
22618 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22619 __SWORD_TYPE with __fsword_t.
22620 (statfs64): Likewise.
22621
1ba7c3dc
DM
226222012-05-17 David S. Miller <davem@davemloft.net>
22623
22624 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22625
59910343
AJ
226262012-05-17 Andreas Jaeger <aj@suse.de>
22627
22628 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22629 warning.
22630
2e4c1e9e
L
226312012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22632
22633 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22634
de7f5ce7
AJ
226352012-05-17 Andreas Jaeger <aj@suse.de>
22636
22637 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22638 when it is used.
22639
286abc3d
CM
226402012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22641
22642 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22643
477cc68e
L
226442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22645
22646 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22647 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22648
1a0994f5
CD
226492012-05-17 Andreas Jaeger <aj@suse.de>
22650 Carlos O'Donell <carlos_odonell@mentor.com>
22651
22652 [BZ #14059]
22653 * sysdeps/x86_64/multiarch/init-arch.h
22654 (bit_YMM_Usable): Rename to...
22655 (bit_AVX_Usable): ... this.
22656 (bit_FMA4_Usable): New macro.
22657 (bit_XMM_state): New macro.
22658 (bit_YMM_state): New macro.
22659 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22660 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22661 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22662 (CPUID_OSXSAVE): New macro.
22663 (CPUID_AVX): New macro.
22664 (CPUID_FMA4): New macro.
22665 (index_YMM_Usable): Rename to...
22666 (index_AVX_Usable): ... this.
22667 (HAS_AVX): Use HAS_ARCH_FEATURE.
22668 (HAS_FMA4): Likewise.
22669 (HAS_YMM_USABLE): Remove.
22670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22671 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22672 are present.
22673 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22674 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22675 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22676 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22677 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22678
0af797de
CM
226792012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22680
22681 * math/libm-test.c: Support platforms without multiple rounding modes.
22682 * math/bug-nextafter.c: Support platforms without FP exceptions.
22683 * math/bug-nexttoward.c: Likewise.
22684 * math/test-fenv.c: Likewise.
22685 * math/test-misc.c: Likewise.
22686 * stdlib/bug-getcontext.c: Likewise.
22687
e39745ff
AJ
226882012-05-17 Andreas Jaeger <aj@suse.de>
22689
22690 * manual/examples/search.c (critter_cmp): Change signature to
22691 avoid warnings.
22692 * manual/string.texi (Collation Functions): Likewise.
22693
48970aba
L
226942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22695
22696 * bits/types.h: Fold copyright years.
22697 * bits/typesizes.h: Likewise.
22698 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22699 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22700 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22701 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22702 * time/time.h: Likewise.
22703
bedee953
PP
227042012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22705
22706 [BZ #208]
22707 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22708 in instead of returning them. Return void.
22709 (__libc_mallinfo): Accumulate over all arenas.
22710 (__malloc_stats): Adjust for change in int_mallinfo interface.
22711
61653dfb
RM
227122012-05-16 Roland McGrath <roland@hack.frob.com>
22713
30b99d79
RM
22714 [BZ #10375]
22715 * configure.in (NM): Add AC_CHECK_TOOL for it.
22716 (libc_extra_cflags): New substituted variable.
22717 Check for -fstack-protector being used implicitly.
22718 * configure: Regenerated.
22719 * config.make.in (config-extra-cflags): New variable,
22720 gets @libc_extra_cflags@.
22721 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22722
61653dfb
RM
22723 [BZ #10375]
22724 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22725 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22726 * configure: Regenerated.
22727 * config.make.in (CPPUNDEFS): New substituted variable.
22728 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22729 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22730 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22731
661768bb
L
227322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22733
22734 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22735 (mq_attr): Use __syscall_slong_t.
22736
d4261567
L
227372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22738
22739 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22740 Check __x86_64__ instead of __WORDSIZE.
22741 (_STAT_VER_LINUX): Likewise.
22742 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22743 __syscall_ulong_t and __syscall_slong_t.
22744 (stat64): Likewise.
22745
cf3ff365
L
227462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22747
22748 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22749
76cf3e4d
L
227502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22751
22752 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22753
a637753a
L
227542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22755
22756 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22757 __syscall_ulong_t.
22758
d5e05119
L
22759 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22760 include <bits/wordsize.h>. Check __x86_64__ instead of
22761 __WORDSIZE.
22762 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22763 defined.
22764 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22765
f62ee380
L
22766 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22767 include <bits/wordsize.h>. Check __x86_64__ instead of
22768 __WORDSIZE.
22769 (user_regs_struct): Use "__extension__ unsigned long long"
22770 instead of "unsigned long" if __x86_64__ is defined.
22771 (user): Likewise. Pad after pointer field if __ILP32__ is
22772 defined.
22773
4e124ced
JM
227742012-05-16 Joseph Myers <joseph@codesourcery.com>
22775
6a3951a0
JM
22776 * configure.in (makeinfo): Require version 4.5 or later. Allow
22777 versions 5 to 9.
22778 * configure: Regenerated.
22779 * manual/install.texi (texinfo): Increase version requirement to
22780 4.5 or later.
22781 * INSTALL: Regenerated.
22782
4e124ced
JM
22783 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22784
953ca31a
L
227852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22786
22787 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22788
617aca05
L
22789 * sysdeps/x86_64/x32/ffs.c: New file.
22790
5762f7ae
L
22791 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22792 __syscall_ulong_t.
22793 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22794 defined. Use __syscall_ulong_t.
22795 (shminfo): Use __syscall_ulong_t.
22796 (shm_info): Likewise.
22797
a26b6856
L
22798 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22799 __syscall_ulong_t.
22800
cb2b9ef7
L
22801 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22802 <bits/wordsize.h>.
22803 (msgqnum_t): Use __syscall_ulong_t.
22804 (msglen_t): Likewise.
22805 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22806 __syscall_ulong_t.
22807
34683bb0
L
22808 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22809 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22810
84a68786
L
22811 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22812
48baa5f1
L
22813 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22814 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22815
180be88b
L
22816 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22817 __syscall_slong_t.
22818
5e90c8ad
L
22819 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22820 include <bits/wordsize.h>. Check __x86_64__ instead of
22821 __WORDSIZE.
22822
23dfb58b
L
22823 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22824 "unsigned long long int" if __x86_64__ is defined.
22825 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22826
ce5d54b0
L
22827 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22828 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22829 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22830
13dc9eac
L
22831 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22832 <stdint.h>.
22833 (GET_PC): Cast to uintptr_t first.
22834 (GET_FRAME): Likewise.
22835 (GET_STACK): Likewise.
22836
a7895d15
L
22837 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22838 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22839 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22840 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22841 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22842 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22843 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22844 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22845 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22846 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22847 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22848 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22849 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22850 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22851 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22852 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22853 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22854 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22855 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22856 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22857 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22858 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22859 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22860 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22861 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22862 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22863 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22864 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22865 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22866
656416c9
AS
228672012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22868
5bd66283
AS
22869 * Makerules (+depfiles): Also collect depfiles from .oS in
22870 $(extra-objs).
22871 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22872 .oS, $(libnldbl-routines)).
22873
656416c9
AS
22874 * Makerules (native-compile-mkdep-flags): Define.
22875 * sunrpc/Makefile (extra-objs): Add $(addprefix
22876 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22877 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22878 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22879 calling $(make-target-directory).
22880
a46f2169
L
228812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22882
22883 * bits/types.h (__snseconds_t): Removed.
22884 * time/time.h (struct timespec): Replace __snseconds_t with
22885 __syscall_slong_t.
22886 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22887 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22888 Likewise.
22889 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22890 (__SNSECONDS_T_TYPE): Likewise.
22891 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22892 (__SNSECONDS_T_TYPE): Likewise.
22893 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22894 (__SNSECONDS_T_TYPE): Likewise.
22895
6af6528b
L
228962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22897
22898 * sysdeps/mach/hurd/bits/typesizes.h
22899 (__SYSCALL_SLONG_TYPE): New macro.
22900 (__SYSCALL_ULONG_TYPE): Likewise.
22901
de986b56
L
229022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22903
22904 * bits/types.h (__syscall_slong_t): New type.
22905 (__syscall_ulong_t): Likewise.
22906
22907 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22908 (__SYSCALL_ULONG_TYPE): Likewise.
22909 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22910 (__SYSCALL_SLONG_TYPE): Likewise.
22911 (__SYSCALL_ULONG_TYPE): Likewise.
22912 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22913 (__SYSCALL_SLONG_TYPE): Likewise.
22914 (__SYSCALL_ULONG_TYPE): Likewise.
22915 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22916 (__SYSCALL_SLONG_TYPE): Likewise.
22917 (__SYSCALL_ULONG_TYPE): Likewise.
22918
85736dc7
L
229192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22920
22921 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22922 Add sigaltstack-offsets.sym.
22923 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22924 <sigaltstack-offsets.h>.
22925 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22926 longjmp_msg pointer.
22927 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22928 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22929 signal stack.
22930 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22931
cc03b296
JM
229322012-05-15 Joseph Myers <joseph@codesourcery.com>
22933
a9538892
JM
22934 * elf/stackguard-macros.h: Remove file.
22935 * sysdeps/generic/stackguard-macros.h: New file.
22936 * sysdeps/i386/stackguard-macros.h: Likewise.
22937 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22938 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22939 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22940 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22941 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22942 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22943 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22944 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22945 <elf/stackguard-macros.h>.
22946
cc03b296
JM
22947 [BZ #14109]
22948 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22949 __aligned__ in attribute.
22950 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22951 (gregset_t): Likewise.
22952
93171016
L
229532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22954
22955 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22956 * sysdeps/x86_64/64/Implies-after: Here. New file.
22957 * sysdeps/x86_64/x32/Implies-after: New file.
22958
d86813a0
L
229592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22960
22961 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22962 and access return value for _dl_profile_fixup. Use R10_LP to
22963 load frame size.
22964
2953ec75
L
229652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22966
22967 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22968
3b550e9e
L
229692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22970
22971 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22972 * sysdeps/x86_64/x32/sysdep.h: New file.
22973
eda41706
L
229742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22975
22976 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22977 * sysdeps/x86_64/setjmp.S: Likewise.
22978
9ea01d93
AZ
229792012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22980
22981 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22982 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22983 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22984 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22985 remove unused global constant.
22986
02a91938
CM
229872012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22988
22989 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22990 include of <not-cancel.h>.
22991
6540185f
RM
229922012-05-15 Roland McGrath <roland@hack.frob.com>
22993
22994 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22995
509072a0
AJ
229962012-05-15 Jeff Law <law@redhat.com>
22997 Andreas Jaeger <aj@suse.de>
22998
22999 [BZ #13594]
23000 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23001 out from...
23002 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23003 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23004 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23005 code changing __hst_map_handle.map.
23006
ba75122d
RM
230072012-05-15 Roland McGrath <roland@hack.frob.com>
23008
23009 * configure.in (sysnames): Look for Implies-before and Implies-after
23010 files.
23011 * configure: Regenerated.
23012
890d8bd8
L
230132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23014
23015 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23016 8-byte data alignment with LP_SIZE alignment.
23017
f6ee6623
L
230182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23019
23020 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23021 into R10_LP.
23022
ea2626f6
L
230232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23024
23025 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23026
085f715e
L
230272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23028
23029 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23030 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23031 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23032 Likewise.
23033 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23034
be8498fc
L
230352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23036
23037 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23038 (stackinfo_sub_sp): Likewise.
23039
70bc83b9
L
230402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23041
23042 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23043 RAX_LP.
23044
9bc0b730
L
230452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23046
23047 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23048 into R*_LP.
23049
6d2850e7
L
230502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23051
23052 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23053 sizes into R*_LP.
23054
3cb84561
L
230552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23056
23057 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23058
54e2ed81
L
230592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23060
23061 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23062 into R11_LP and load __x86_64_shared_cache_size_half into
23063 R8_LP.
23064
8a17f349
L
230652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23066
23067 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23068 R8_LP.
23069
777b1eea
AZ
230702012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23071
23072 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23073 logb for POWER7.
23074 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23075 logbf for POWER7.
23076 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23077 logbl for POWER7.
23078 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23079 powerpc32/power7/fpu/s_logb.c via #include.
23080 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23081 powerpc32/power7/fpu/s_logbf.c via #include.
23082 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23083 powerpc32/power7/fpu/s_logbl.c via #include.
23084
d20d4ac2
JM
230852012-05-15 Joseph Myers <joseph@codesourcery.com>
23086
23087 * README.libm: Remove file.
23088
6cdef1ab
L
230892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23090
23091 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23092 count for x32. Use R*_LP and omit operand-size suffix.
23093
0b254d8f
L
230942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23095
23096 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23097 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23098 * sysdeps/x86_64/x32/shlib-versions: New file.
23099
ceb809dc
RM
231002012-05-14 Roland McGrath <roland@hack.frob.com>
23101
23102 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23103 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23104 Use _dl_fatal_printf instead.
23105
37f1abd4
JM
231062012-05-14 Joseph Myers <joseph@codesourcery.com>
23107
23108 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23109 set if not set by the user. Do not allow for being unset.
23110 * sysdeps/unix/sysv/linux/configure: Regenerated.
23111
11de3a33
L
231122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23113
23114 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23115 the `q' suffix from lea and replace .quad with ASM_ADDR.
23116
e02f153a
L
231172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23118
23119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23120 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23121 instead of $17.
23122 (PTR_DEMANGLE): Likewise.
23123
520ae0fd
L
231242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23125
23126 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23127 (LP_OP): Likewise.
23128 (ASM_ADDR): Likewise.
23129 (RAX_LP): Likewise.
23130 (RBP_LP): Likewise.
23131 (RBX_LP): Likewise.
23132 (RCX_LP): Likewise.
23133 (RDI_LP): Likewise.
23134 (RSI_LP): Likewise.
23135 (RSP_LP): Likewise.
23136 (R8_LP): Likewise.
23137 (R9_LP): Likewise.
23138 (R10_LP): Likewise.
23139 (R10_LP): Likewise.
23140 (R11_LP): Likewise.
23141 (R12_LP): Likewise.
23142 (R13_LP): Likewise.
23143 (R14_LP): Likewise.
23144 (R15_LP): Likewise.
23145
b985be81
L
231462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23147
23148 * sysdeps/x86_64/x32/dl-machine.h: New file.
23149
6a4888ff
AJ
231502012-05-14 Andreas Jaeger <aj@suse.de>
23151
23152 * manual/Makefile (subdir): Remove export of subdir.
23153 (all): Remove target.
23154 (.PHONY): Remove all from list.
23155 (mkinstalldirs): Remove.
23156 (.PHONY): Remove installdirs from list.
23157 ($(inst_infodir)/libc.info): Use make-target-directory.
23158 (installdirs): Remove.
23159 (subdir_%): Remove.
23160 (glibc-targets): Remove.
23161 (lib): Remove.
23162 (stubs): Remove.
23163 ($(objpfx)stubs ../po/manual.pot): Remove.
23164 ($(objpfx)stamp%): Remove.
23165 (make-target-directory): Remove.
23166 (subdir_install): Remove.
23167 (routines): Remove.
23168 (aux): Remove.
23169 (sources): Remove.
23170 (objects): Remove.
23171 (headers): Remove.
23172
23173 [BZ #13750]
23174 * manual/.gitignore: Remove, it's not needed anymore.
23175 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23176 all files in it.
23177 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23178 directory.
23179 (texis): Renamed to $(objpfx)texis.
23180 (texis-path): New, contains path to generated files.
23181 (chapters.%): Use texis-path for complete path, add extra argument
23182 libc-texinfo.sh.
23183 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23184 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23185 (summary,texi, stamp-summary): Use complete path of
23186 files. Generate files in build dir.
23187 (dir-add.texi): Build in build dir.
23188 (libm-err.texi,stamp-libm-err): Likewise.
23189 (version.texi, stamp-version): Likewise.
23190 (.%c.texi): Likewise.
23191 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23192 (mostlyclean): Remove target.
23193 (realclean): Remove target.
23194 (generated): Add new variable with contents from mostlyclean and
23195 realclean, remove entries duplicated in common-mostlyclean, add
23196 stamp-libm-err and stamp-version.
23197 (generated-dirs): Add libc directory.
23198 ($(inst_infodir)/libc.info): Install files from build dir.
23199
23200 * manual/install.texi (Configuring and compiling): Adjust since
23201 the info files are not part of the tar ball anymore.
23202
7ac77294
AJ
232032012-05-14 Andreas Jaeger <aj@suse.de>
23204
23205 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23206 variable.
23207
ffb7875d
JM
232082012-05-14 Joseph Myers <joseph@codesourcery.com>
23209
23210 [BZ #13717]
23211 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23212 to 2.2.0 where earlier.
23213 * sysdeps/unix/sysv/linux/configure: Regenerated.
23214 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23215 Remove conditional code.
23216 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23217 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23218 Remove conditional code.
23219 [!__NR_lchown]: Likewise.
23220 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23221 [__NR_lchown]: Likewise.
23222 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23223 comment referencing __ASSUME_LCHOWN_SYSCALL.
23224 * sysdeps/unix/sysv/linux/i386/sigaction.c
23225 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23226 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23227 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23228 Remove conditional code.
23229 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23230 (__protocol_available): Remove #if 0 code.
23231 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23232 conditional code.
23233 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23234 * sysdeps/unix/sysv/linux/kernel-features.h
23235 (__ASSUME_GETCWD_SYSCALL): Don't define.
23236 (__ASSUME_REALTIME_SIGNALS): Likewise.
23237 (__ASSUME_PREAD_SYSCALL): Likewise.
23238 (__ASSUME_PWRITE_SYSCALL): Likewise.
23239 (__ASSUME_POLL_SYSCALL): Likewise.
23240 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23241 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23242 non-SPARC.
23243 (__ASSUME_SIOCGIFNAME): Don't define.
23244 (__ASSUME_MSG_NOSIGNAL): Likewise.
23245 (__ASSUME_SENDFILE): Define unconditionally.
23246 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23247 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23248 conditional code.
23249 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23250 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23251 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23252 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23253 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23254 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23255 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23257 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23258 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23260 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23261 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23263 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23264 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23266 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23267 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23269 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23270 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23272 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23273 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23275 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23276 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23278 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23279 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23280 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23281 Remove conditional code.
23282 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23283 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23284 Remove conditional code.
23285 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23286 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23287 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23288 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23289 Remove conditional code.
23290 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23291 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23292 Remove conditional code.
23293 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23294 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23295 Remove conditional code.
23296 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23297 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23298 Remove conditional code.
23299 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23300 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23301 Remove conditional code.
23302 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23303 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23304 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23305 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23306 * sysdeps/unix/sysv/linux/sigaction.c
23307 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23308 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23309 * sysdeps/unix/sysv/linux/sigpending.c
23310 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23311 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23312 * sysdeps/unix/sysv/linux/sigprocmask.c
23313 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23314 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23315 * sysdeps/unix/sysv/linux/sigsuspend.c
23316 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23317 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23318 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23319 (__libc_missing_rt_sigs): Remove.
23320 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23321 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23322 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23323 Remove conditional code.
23324 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23325 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23326 return 1.
23327 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23328 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23329 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23330 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23331
1bfb7291
AJ
233322012-05-14 Andreas Jaeger <aj@suse.de>
23333
caae5a81
AJ
23334 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23335 it's not used in glibc.
23336 (__coshm1): Likewise.
23337 (__acosh1p): Likewise.
23338 (__sgn): Likewise.
23339
1bfb7291
AJ
23340 * manual/string.texi (Copying and Concatenation): Add missing
23341 variable in concat example.
23342 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23343
c044d724
L
233442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23345
144c5467 23346 [BZ #14103]
c044d724
L
23347 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23348 __builtin_clzl with __builtin_clzll.
23349
2523c62b
L
233502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23351
23352 [BZ #14104]
23353 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23354 libc_freeres_ptr.
23355
d7bb4c42
LD
233562012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23357
23358 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23359 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23360 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23361 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23362
9dc4e1fb
MF
233632012-05-14 Mike Frysinger <vapier@gentoo.org>
23364
23365 * NEWS: Update ia64 info.
23366
c7df0112
AS
233672012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23368
23369 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23370 used as bcopy.
23371
dc70356c
TS
233722012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23373
23374 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23375 * sysdeps/unix/syscalls.list (dup3): Likewise.
23376 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23377 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23378
9fb1a21f
L
233792012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23380
23381 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23382 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23383
4822a2a5
L
233842012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23385
23386 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23387 thread pointer.
23388 (TLS_IE): Use mov/add instead of movq/addq to load thread
23389 pointer.
23390 (TLS_GD_PREFIX): New.
23391 (TLS_GD): Use it.
23392
842b81d6
DM
233932012-05-11 David S. Miller <davem@davemloft.net>
23394
23395 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23396 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23397 (_FPU_SETCW): Likewise.
23398
1cf463cd
L
233992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23400
23401 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23402 is 32-byte aligned.
23403
60cc4a18
AS
234042012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23405
23406 [BZ #11837]
23407 * iconvdata/gb18030.c: Update tables.
23408 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23409 characters specially.
23410 (BODY for TO_LOOP): Add encoding of missing ranges.
23411
febb44a4
TS
234122012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23413
23414 [BZ #13673]
23415 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23416 * sysdeps/mach/hurd/dup3.c: Likewise.
23417 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23418 * sysdeps/powerpc/memmove.c:: Likewise.
23419
0a10fb9e
L
234202012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23421
23422 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23423 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23424
df8a552f
L
234252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23426
23427 * elf/elf.h (R_X86_64_RELATIVE64): New.
23428 (R_X86_64_NUM): Updated.
23429 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23430 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23431 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23432 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23433 tst-quad1pie tst-quad2pie
23434 (modules-names): Add tst-quadmod1 tst-quadmod2.
23435 ($(objpfx)tst-quad1): New dependency.
23436 ($(objpfx)tst-quad2): Likewise.
23437 ($(objpfx)tst-quad1pie): Likewise.
23438 ($(objpfx)tst-quad2pie): Likewise.
23439 * sysdeps/x86_64/tst-quad1.c: New file.
23440 * sysdeps/x86_64/tst-quad1pie.c: New file.
23441 * sysdeps/x86_64/tst-quad2.c: Likewise.
23442 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23443 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23444 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23445 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23446 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23447
f34d6f84
ST
234482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23449
f42d41d1
ST
23450 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23451 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23452 * streams/stropts.h (t_scalar_t): Define type.
23453
3c3571fc
ST
23454 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23455 (_PATH_PRESERVE): Set to "/var/lib".
23456 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23457
61f06bd3
ST
23458 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23459 instead of int.
23460
918d4d71
ST
23461 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23462 if __dir_mkfile succeeded.
23463
f34d6f84
ST
23464 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23465 checking for _hurd_dtablesize. Unlock it right after having
23466 finished _hurd_dtable allocation.
23467
10589b4a
TS
234682012-05-10 Thomas Schwinge <thomas@schwinge.name>
23469
674cdbc7
TS
23470 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23471 * sysdeps/mach/hurd/configure: Regenerated.
23472 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23473 special-casing to...
23474 * sysdeps/gnu/configure.in: ... this new file.
23475 * sysdeps/unix/sysv/linux/configure: Regenerated.
23476 * sysdeps/gnu/configure: New generated file.
23477
8e41b99f
TS
23478 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23479 for Linux: use nsec instead of usec, as well as:
23480 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23481 members of type struct timespec.
23482 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23483 New macros.
23484 (struct stat64): Likewise.
23485 (_STATBUF_ST_NSEC): New macro.
23486 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23487
10589b4a
TS
23488 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23489 __strtoul_internal rather than strtoul.
23490
63643c85
PT
234912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23492
23493 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23494 and reject them.
23495
3faebe6a
ST
234962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23497
23498 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23499 which preserves existing values.
23500 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23501
c6474b07
PT
235022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23503
23504 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23505 TIMEOUT values. Return EINVAL for NFDS values either negative or
23506 greater than FD_SETSIZE.
23507
1043890b
ST
235082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23509
23510 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23511 allocated, call __vm_protect to finish enabling the existing space, and
23512 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23513 allocate the remainder.
23514
37ed8b9b
PT
235152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23516
23517 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23518 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23519
db653660
ST
235202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23521
37ed8b9b
PT
23522 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23523 sysdeps/mach/hurd/readlink.c.
b29d4053 23524
db653660
ST
23525 * posix/tst-sysconf.c (posix_options): Only use
23526 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23527 _POSIX_SYNCHRONIZED_IO when they are defined
23528 * sysdeps/mach/hurd/bits/posix_opt.h:
23529 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23530 (_XOPEN_REALTIME): Undefine macro.
23531 (_XOPEN_REALTIME_THREADS): Undefine macro.
23532 (_XOPEN_SHM): Undefine macro.
23533 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23534 macro to -1.
23535 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23536 macro to -1.
23537 (_POSIX_ASYNC_IO): Undefine macro.
23538 (_POSIX_PRIORITIZED_IO): Undefine macro.
23539 (_POSIX_SPIN_LOCKS): Define macro to -1.
23540
ee16e894
ST
23541 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23542 SA_NODEFER, SA_RESETHAND.
23543 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23544 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23545 F_DUPFD_CLOEXEC.
23546
6103ae3b
TS
235472012-05-10 Thomas Schwinge <thomas@schwinge.name>
23548
23549 * elf/Makefile (pldd-modules): Define unconditionally.
23550
80b4e5f3
TS
235512012-05-10 Thomas Schwinge <thomas@schwinge.name>
23552
23553 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23554
edadcbd6
ST
235552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23556
23557 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23558 Return ENOENT when name is empty.
23559 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23560
80694780
TS
235612012-05-10 Thomas Schwinge <thomas@schwinge.name>
23562
1792c087
TS
23563 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23564
80694780
TS
23565 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23566
6b645f0d
ST
235672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23568
80694780
TS
23569 Fix mlock in all cases except non-readable pages.
23570 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23571 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 23572
6b645f0d
ST
23573 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23574 (__mkdir): When path is `/', just fail with EEXIST.
23575 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23576
e468f8a3
TS
235772012-05-10 Thomas Schwinge <thomas@schwinge.name>
23578
23579 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23580 <sys/uio.h> (for writev).
23581 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23582 and <sys/param.h> (for MIN).
23583
a4186cff
PT
235842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23585
23586 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23587 REQUESTED_TIME. Properly set the remaining time and return EINTR
23588 if interrupted.
23589
510bbf14
TS
235902012-05-10 Thomas Schwinge <thomas@schwinge.name>
23591
23592 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23593 Depend on against $(link-rpcuserlibs).
23594
5d5722e8
ST
235952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23596
a4186cff
PT
23597 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23598 (__libc_stack_end): Do not use attribute_relro.
23599 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23600 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 23601 to libthread-provided value.
a4186cff
PT
23602 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23603 attribute_relro.
5d5722e8 23604
37233df9
TS
236052012-05-10 Thomas Schwinge <thomas@schwinge.name>
23606
be971a2b
TS
23607 [BZ #3748]
23608 * bits/libc-lock.h (__libc_once_get): New macro.
23609 * sysdeps/mach/bits/libc-lock.h: Likewise.
23610 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23611 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23612 instead of using implementation details.
23613
37233df9
TS
23614 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23615 * libio/freopen.c: Likewise.
23616 * libio/freopen64.c: Likewise.
23617 * misc/syslog.c: Likewise.
23618 * nscd/connections.c: Likewise.
23619 * nscd/netgroupcache.c: Likewise.
23620 * sysdeps/posix/getcwd.c: Likewise.
23621
38de94a5
RM
236222012-05-10 Roland McGrath <roland@hack.frob.com>
23623
23624 * math/w_ilogbf.c: Add #include <limits.h>.
23625
67530489
ST
236262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23627
a4186cff 23628 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
23629 path instead of returning without unlocking.
23630
67530489
ST
23631 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23632 immediate-write ioctls.
23633 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23634
5aa3a74a
TS
236352012-05-10 Thomas Schwinge <thomas@schwinge.name>
23636
18bad2ae
TS
23637 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23638 __builtin_frame_address instead of making assumptions about the
23639 location of the return address relative to DATA. Force early load of
23640 the return address.
23641 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23642 __builtin_frame_address.
23643
5aa3a74a
TS
23644 dup3 for GNU Hurd.
23645 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23646 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23647 implement dup3 and do some further code clean-ups.
23648 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23649 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23650
ecd0de9a
ST
236512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23652
cd9fa985
ST
23653 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23654
a4186cff
PT
23655 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23656 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23657 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23658 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23659 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23660 d->port.lock.
802ca5a5 23661
a4186cff
PT
23662 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23663 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23664 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 23665
bcf55240
TS
236662012-05-10 Thomas Schwinge <thomas@schwinge.name>
23667
6960eb42
TS
23668 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23669 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23670 definitions.
23671
eb43375f
TS
23672 accept4 for GNU Hurd.
23673 * include/sys/socket.h (__libc_accept4): New prototype.
23674 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23675 to implement __libc_accept4.
23676 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23677 __libc_accept4.
23678 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23679
bcf55240
TS
23680 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23681 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23682 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23683 signal-defines.sym.
23684
6178c55b
ST
236852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23686
a4186cff 23687 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 23688
6f080c2f
TS
236892012-05-10 Thomas Schwinge <thomas@schwinge.name>
23690
23691 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23692 assertion on O_CLOEXEC flag.
23693 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23694 * hurd/intern-fd.c: Likewise.
23695 * hurd/port2fd.c: Likewise.
23696
bcfe3a54
ST
236972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23698
23699 [BZ #3906]
23700 * bits/in.h (IPV6_PKTINFO): Define new macro.
23701 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23702
89c9aa49
AZ
237032012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23704
23705 [BZ #13954]
23706 [BZ #13955]
23707 [BZ #13956]
23708 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23709 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23710 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23711 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23712 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23713 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23714 * math/libm-test.inc (logb_test) : Additional logb tests.
23715
021db4be
AJ
237162012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23717 Andreas Jaeger <aj@suse.de>
23718
23719 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23720 * configure: Regenerated.
23721 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23722 * config.make.in (link-obsolete-rpc): New substituted variable.
23723 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23724 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23725 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23726 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23727 so that libc.a contains the symbols.
23728 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23729 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23730 * sunrpc/auth_none.c: Likewise.
23731 * sunrpc/auth_unix.c: Likewise.
23732 * sunrpc/authdes_prot.c: Likewise.
23733 * sunrpc/authuxprot.c: Likewise.
23734 * sunrpc/clnt_gen.c: Likewise.
23735 * sunrpc/clnt_perr.c: Likewise.
23736 * sunrpc/clnt_raw.c: Likewise.
23737 * sunrpc/clnt_simp.c: Likewise.
23738 * sunrpc/clnt_tcp.c: Likewise.
23739 * sunrpc/clnt_udp.c: Likewise.
23740 * sunrpc/clnt_unix.c: Likewise.
23741 * sunrpc/des_crypt.c: Likewise.
23742 * sunrpc/des_soft.c: Likewise.
23743 * sunrpc/get_myaddr.c: Likewise.
23744 * sunrpc/key_call.c: Likewise.
23745 * sunrpc/key_prot.c: Likewise.
23746 * sunrpc/netname.c: Likewise.
23747 * sunrpc/pm_getmaps.c: Likewise.
23748 * sunrpc/pm_getport.c: Likewise.
23749 * sunrpc/pmap_clnt.c: Likewise.
23750 * sunrpc/pmap_prot.c: Likewise.
23751 * sunrpc/pmap_prot2.c: Likewise.
23752 * sunrpc/pmap_rmt.c: Likewise.
23753 * sunrpc/publickey.c: Likewise.
23754 * sunrpc/rpc_cmsg.c: Likewise.
23755 * sunrpc/rpc_common.c: Likewise.
23756 * sunrpc/rpc_dtable.c: Likewise.
23757 * sunrpc/rpc_prot.c: Likewise.
23758 * sunrpc/rpc_thread.c: Likewise.
23759 * sunrpc/rtime.c: Likewise.
23760 * sunrpc/svc.c: Likewise.
23761 * sunrpc/svc_auth.c: Likewise.
23762 * sunrpc/svc_raw.c: Likewise.
23763 * sunrpc/svc_run.c: Likewise.
23764 * sunrpc/svc_tcp.c: Likewise.
23765 * sunrpc/svc_udp.c: Likewise.
23766 * sunrpc/svc_unix.c: Likewise.
23767 * sunrpc/svcauth_des.c: Likewise.
23768 * sunrpc/xcrypt.c: Likewise.
23769 * sunrpc/xdr.c: Likewise.
23770 * sunrpc/xdr_array.c: Likewise.
23771 * sunrpc/xdr_float.c: Likewise.
23772 * sunrpc/xdr_intXX_t.c: Likewise.
23773 * sunrpc/xdr_mem.c: Likewise.
23774 * sunrpc/xdr_rec.c: Likewise.
23775 * sunrpc/xdr_ref.c: Likewise.
23776 * sunrpc/xdr_sizeof.c: Likewise.
23777 * sunrpc/xdr_stdio.c: Likewise.
23778
b5c086a2
RM
237792012-05-10 Roland McGrath <roland@hack.frob.com>
23780
23781 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23782 change. Update copyright years.
23783
6d74dd09
JM
237842012-05-10 Joseph Myers <joseph@codesourcery.com>
23785
23786 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23787
28e72501
MK
237882012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23789 Joseph Myers <joseph@codesourcery.com>
23790 Paul Pluzhnikov <ppluzhnikov@google.com>
23791
23792 [BZ #14012]
23793 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23794 requiring rpcgen.
23795 [cross-compiling] (extra-libs): Likewise.
23796 [cross-compiling] (extra-libs-others): Likewise.
23797 [cross-compiling] (librpcsvc-routines): Likewise.
23798 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23799 [cross-compiling] (omit-deps): Likewise.
23800 (sunrpc-CPPFLAGS): New variable.
23801 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23802 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23803 (cross-rpcgen-objs): New variable.
23804 (extra-objs): Append $(cross-rpcgen-objs).
23805 ($(cross-rpcgen-objs)): New rule.
23806 ($(objpfx)cross-rpcgen): Likewise.
23807 (rpcgen-cmd): Define to use $(built-program-file). Expand
23808 comment.
23809 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23810 ($(objpfx)x%.stmp): Likewise.
23811 * sunrpc/proto.h [IS_IN_build] (_): Define.
23812 [IS_IN_build] (_libc_intl_domainname): Likewise.
23813
c8c59454
L
238142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23815
23816 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23817 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23818 and R_X86_64_TPOFF64.
23819
6f27cd16
JM
238202012-05-10 Joseph Myers <joseph@codesourcery.com>
23821
23822 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23823 sysdeps/unix/sysv/syscalls.list.
23824 (stime): Likewise.
23825 (utime): Likewise.
23826 * sysdeps/unix/sysv/syscalls.list: Remove file.
23827
02467e1c
PE
238282012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23829
23830 [BZ #3440]
23831 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23832 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23833 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23834 (__LC_IDENTIFICATION): Make these macros useful in #if
23835 expressions, as required by C99.
23836
da392631
AS
238372012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23838
23839 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23840 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23841 after this.
23842
8115f29b
L
238432012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23844
23845 * stdlib/longlong.h: Updated from GCC.
23846
bdd74070
AJ
238472012-05-09 Andreas Jaeger <aj@suse.de>
23848
edfe0dbe
AJ
23849 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23850 default is first entry.
23851 (run_mode): Set type.
23852 (main): Remove informal message about syslog.
23853 (options): Fix typo.
23854
bcfe3a54
ST
23855 [BZ #14053]
23856 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 23857 to asm.
bcfe3a54
ST
23858 (lrint): Likewise.
23859 (llrintf): Likewise.
23860 (llrint): Likewise.
23861 (rint): Likewise.
23862 (rintf): Likewise.
23863 (nearbyint): Likewise.
23864 (nearbyintf): Likewise.
bdd74070 23865
91d8d69e
AJ
238662012-05-09 Andreas Jaeger <aj@suse.de>
23867 Pedro Alves <palves@redhat.com>
23868
23869 * nscd/nscd.c (run_mode): Use enum.
23870 (main): Cleanup coding style issue.
23871
bb90b80b
AJ
238722012-05-09 Alexandre Oliva <aoliva@redhat.com>
23873 Andreas Jaeger <aj@suse.de>
23874
bcfe3a54
ST
23875 * nscd/nscd.c (go_background): Replaced with...
23876 (run_mode): ... this.
bb90b80b 23877 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
23878 (options): Add -F --foreground.
23879 (main): Implement it.
23880 (parse_opt): Parse it.
bb90b80b 23881
1a4b75a1
AJ
238822012-05-09 Andreas Jaeger <aj@suse.de>
23883
23884 [BZ #14083]
23885 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23886 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23887 -Wconversion warning.
23888 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23889 Likewise.
23890
b1cc2472
JM
238912012-05-09 Joseph Myers <joseph@codesourcery.com>
23892
23893 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23894 == 0.
23895 (LC_ALL): Use macro-int-constant.
23896 (LC_COLLATE): Likewise.
23897 (LC_CTYPE): Likewise.
23898 (LC_MESSAGES): Likewise.
23899 (LC_MONETARY): Likewise.
23900 (LC_NUMERIC): Likewise.
23901 (LC_TIME): Likewise.
23902 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23903 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23904 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23905 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23906 Specify type.
23907 [C99-based standards] (float_t): Expect type.
23908 [C99-based standards] (double_t): Expect type.
23909 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23910 type.
23911 [C99-based standards] (HUGE_VALL): Likewise.
23912 [C99-based standards] (INFINITY): Likewise.
23913 [C99-based standards] (NAN): Likewise.
23914 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23915 [C99-based standards] (FP_NAN): Likewise.
23916 [C99-based standards] (FP_NORMAL): Likewise.
23917 [C99-based standards] (FP_SUBNORMAL): Likewise.
23918 [C99-based standards] (FP_ZERO): Likewise.
23919 [C99-based standards] (FP_FAST_FMA): Use
23920 optional-macro-int-constant. Specify type. Require == 1.
23921 [C99-based standards] (FP_FAST_FMAF): Likewise.
23922 [C99-based standards] (FP_FAST_FMAL): Likewise.
23923 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23924 [C99-based standards] (FP_ILOGBNAN): Likewise.
23925 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23926 Specify type.
23927 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23928 [C99-based standards] (math_errhandling): Specify type.
23929 [ISO99 || ISO11] (signgam): Do not allow.
23930 [non-C99-based standards] (copysignf): Do not allow.
23931 [non-C99-based standards] (exp2f): Likewise.
23932 [non-C99-based standards] (log2f): Likewise.
23933 [non-C99-based standards] (modff): Allow.
23934 [non-C99-based standards] (erff): Do not allow.
23935 [non-C99-based standards] (erfcf): Likewise.
23936 [non-C99-based standards] (gammaf): Likewise.
23937 [non-C99-based standards] (hypotf): Likewise.
23938 [non-C99-based standards] (j0f): Likewise.
23939 [non-C99-based standards] (j1f): Likewise.
23940 [non-C99-based standards] (jnf): Likewise.
23941 [non-C99-based standards] (lgammaf): Likewise.
23942 [non-C99-based standards] (tgammaf): Likewise.
23943 [non-C99-based standards] (y0f): Likewise.
23944 [non-C99-based standards] (y1f): Likewise.
23945 [non-C99-based standards] (ynf): Likewise.
23946 [non-C99-based standards] (isnanf): Likewise.
23947 [non-C99-based standards] (acoshf): Likewise.
23948 [non-C99-based standards] (asinhf): Likewise.
23949 [non-C99-based standards] (atanhf): Likewise.
23950 [non-C99-based standards] (cbrtf): Likewise.
23951 [non-C99-based standards] (expm1f): Likewise.
23952 [non-C99-based standards] (ilogbf): Likewise.
23953 [non-C99-based standards] (log1pf): Likewise.
23954 [non-C99-based standards] (logbf): Likewise.
23955 [non-C99-based standards] (nextafterf): Likewise.
23956 [non-C99-based standards] (remainderf): Likewise.
23957 [non-C99-based standards] (rintf): Likewise.
23958 [non-C99-based standards] (scalbf): Likewise.
23959 [non-C99-based standards] (copysignl): Likewise.
23960 [non-C99-based standards] (exp2l): Likewise.
23961 [non-C99-based standards] (log2l): Likewise.
23962 [non-C99-based standards] (modfl): Allow.
23963 [non-C99-based standards] (erfl): Do not allow.
23964 [non-C99-based standards] (erfcl): Likewise.
23965 [non-C99-based standards] (gammal): Likewise.
23966 [non-C99-based standards] (hypotl): Likewise.
23967 [non-C99-based standards] (j0l): Likewise.
23968 [non-C99-based standards] (j1l): Likewise.
23969 [non-C99-based standards] (jnl): Likewise.
23970 [non-C99-based standards] (lgammal): Likewise.
23971 [non-C99-based standards] (tgammal): Likewise.
23972 [non-C99-based standards] (y0l): Likewise.
23973 [non-C99-based standards] (y1l): Likewise.
23974 [non-C99-based standards] (ynl): Likewise.
23975 [non-C99-based standards] (isnanl): Likewise.
23976 [non-C99-based standards] (acoshl): Likewise.
23977 [non-C99-based standards] (asinhl): Likewise.
23978 [non-C99-based standards] (atanhl): Likewise.
23979 [non-C99-based standards] (cbrtl): Likewise.
23980 [non-C99-based standards] (expm1l): Likewise.
23981 [non-C99-based standards] (ilogbl): Likewise.
23982 [non-C99-based standards] (log1pl): Likewise.
23983 [non-C99-based standards] (logbl): Likewise.
23984 [non-C99-based standards] (nextafterl): Likewise.
23985 [non-C99-based standards] (remainderl): Likewise.
23986 [non-C99-based standards] (rintl): Likewise.
23987 [non-C99-based standards] (scalbl): Likewise.
23988 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23989 [non-C99-based standards] (FP_*): Do not allow.
23990 [C99-based standards] (FP_*): Change to
23991 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23992 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23993 allow.
23994 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23995 (SIG_ERR): Likewise.
23996 [X/Open-based standards] (SIG_HOLD): Likewise.
23997 (SIG_IGN): Likewise.
23998 (SIGABRT): Use macro-int-constant. Specify type. Require
23999 positive value.
24000 (SIGFPE): Likewise.
24001 (SIGILL): Likewise.
24002 (SIGINT): Likewise.
24003 (SIGSEGV): Likewise.
24004 (SIGTER): Likewise.
24005 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24006 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24007 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24008 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24009 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24010 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24011 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24012 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24013 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24014 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24015 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24016 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24017 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24018 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24019 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24020 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24021 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24022 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24023 [X/Open-based standards] (SIGTRAP): Likewise.
24024 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24025 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24026 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24027 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24028 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24029 allow.
24030
b9f1922d
IW
240312012-05-08 Ian Wienand <ianw@vmware.com>
24032
24033 [BZ #14080]
24034 * time/tzset.c (__tzset_parse_tz): Update default rules for
24035 daylight time changes in the Energy Policy Act of 2005.
24036
1db86e88
AJ
240372012-05-09 Andreas Jaeger <aj@suse.de>
24038
24039 [BZ #13983]
24040 * elf/ldconfig.c (parse_conf): Change string to make clear that
24041 ldconfig only issued a warning if ld.so.conf does not exist.
24042
dee4a4e3
DM
240432012-05-08 David S. Miller <davem@davemloft.net>
24044
ee0db190
DM
24045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24046 movxtod instead of popping the value on the stack.
24047
dee4a4e3
DM
24048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24049
6a43ec98
CD
240502012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24051
24052 * config.h.in: Add HAVE_ARM_PCS_VFP.
24053
05c2c961
RMG
240542012-05-08 Roland Mc Grath <roland@hack.frob.com>
24055
bcfe3a54
ST
24056 [BZ #13979]
24057 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24058 checking but the checks are disabled for any reason.
05c2c961 24059
4b30f61a
L
240602012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24061
24062 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24063 and ELF64_R_TYPE with ELFW(R_TYPE).
24064
eee2bc67
JM
240652012-05-08 Joseph Myers <joseph@codesourcery.com>
24066
7ea5391a
JM
24067 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24068 (ulimit): Likewise.
24069
eee2bc67
JM
24070 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24071 (settimeofday): Likewise.
24072
abb66a67
MF
240732012-05-08 Mike Frysinger <vapier@gentoo.org>
24074
24075 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24076 a struct th_u2 inside the union, and move tu_block/tu_code into
24077 a new th_u3 union of tu_block/tu_code inside of that. Move
24078 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24079 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24080 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24081 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24082 (th_stuff): Change to th_u1.tu_stuff.
24083 (th_data): Define.
24084 (th_msg): Change to th_u1.th_u2.tu_data.
24085
7f18b530
DM
240862012-05-07 David S. Miller <davem@davemloft.net>
24087
05760585
DM
24088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24089
7f18b530
DM
24090 [BZ #14074]
24091 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24092 (SETUP_PIC_REG): Use it.
24093 (SETUP_PIC_REG_LEAF): Use it.
24094
495fd99f
JM
240952012-05-07 Joseph Myers <joseph@codesourcery.com>
24096
24097 [BZ #13885]
24098 [BZ #13923]
24099 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24100 USE_AS_EXPM1L.
24101 (EXPL_FINITE): Likewise.
24102 (FLDLOG): Likewise.
24103 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24104 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24105 e_expl.S.
24106 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24107 USE_AS_EXPM1L.
24108 (EXPL_FINITE): Likewise.
24109 (FLDLOG): Likewise.
24110 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24111 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24112 e_expl.S.
24113 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24114 test of -max_value argument for long double.
24115 * sysdeps/i386/fpu/libm-test-ulps: Update.
24116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24117
6693d694
DM
241182012-05-06 David S. Miller <davem@davemloft.net>
24119
24120 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24121 quad soft-float symbols whose references which are compiler
24122 generated.
24123 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24124
6c23e11c
JM
241252012-05-06 Joseph Myers <joseph@codesourcery.com>
24126
d8b82cad
JM
24127 [BZ #13884]
24128 [BZ #13914]
24129 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24130 USE_AS_EXP10L.
24131 (EXPL_FINITE): Likewise.
24132 (FLDLOG): Likewise.
24133 (c0): Likewise.
24134 (c1): Likewise.
24135 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24136 Adjust comments for base varying.
24137 (__expl_finite): Change alias to EXPL_FINITE.
24138 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24139 e_expl.S.
24140 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24141 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24142 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24143 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24144 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24145 USE_AS_EXP10L.
24146 (EXPL_FINITE): Likewise.
24147 (FLDLOG): Likewise.
24148 (c0): Likewise.
24149 (c1): Likewise.
24150 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24151 Adjust comments for base varying.
24152 (__expl_finite): Change alias to EXPL_FINITE.
24153 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24154 tests for bugs.
24155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24156
6c23e11c
JM
24157 [BZ #14064]
24158 * math/libm-test.inc (check_float_internal): Correct ulp
24159 calculation for subnormal expected results.
24160
29ba805c
AJ
241612012-05-06 Andreas Jaeger <aj@suse.de>
24162
24163 * Makeconfig (+math-flags): New, set to -frounding-math.
24164 (+cflags): Add +math-flags so that all of glibc gets compiled with
24165 it.
24166
24167 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24168
7b17aeda
JM
241692012-05-05 Joseph Myers <joseph@codesourcery.com>
24170
5779f134
JM
24171 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24172 Disable one test.
24173
41498f4d
JM
24174 [BZ #13787]
24175 [BZ #13922]
24176 [BZ #14036]
24177 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24178 (__ieee754_expl): Allow for and saturate large arguments.
24179 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24180 (u_threshold): Likewise.
24181 (__exp): Call __ieee754_exp before checking for overflow and
24182 underflow.
24183 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24184 (u_threshold): Likewise.
24185 (__expf): Call __ieee754_expf before checking for overflow and
24186 underflow.
24187 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24188 (u_threshold): Likewise.
24189 (__expl): Call __ieee754_expl before checking for overflow and
24190 underflow.
24191 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24192 (__ieee754_expl): Allow for and saturate large arguments.
24193 * math/libm-test.inc (exp_test): Add another test. Do not allow
24194 missing overflow exception on overflow.
24195 (expm1_test): Do not allow missing overflow exception on overflow.
24196
6698b8bf
JM
24197 * sysdeps/i386/fpu/e_expl.c: Move to ...
24198 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24199 rather than using inline asm.
24200 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24201 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24202 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24203
7b17aeda
JM
24204 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24205 (nice): Likewise.
24206 (poll): Likewise.
24207 (signal): Likewise.
24208 (time): Likewise.
24209 (times): Likewise.
24210
f7c85819
JM
242112012-05-04 Joseph Myers <joseph@codesourcery.com>
24212
24213 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24214 sysdeps/unix/common/syscalls.list.
24215 (fchmod): Likewise.
24216 (fchown): Likewise.
24217 (ftruncate): Likewise.
24218 (getrusage): Likewise.
24219 (gettimeofday): Likewise.
24220 (setpgid): Likewise.
24221 (setregid): Likewise.
24222 (setreuid): Likewise.
24223 (sigaction): Likewise.
24224 (truncate): Likewise.
24225 (vhangup): Likewise.
24226 * sysdeps/unix/common/syscalls.list: Remove file.
24227 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24228 * sysdeps/unix/sysv/linux/Implies: Likewise.
24229
336270d0
L
242302012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24231
24232 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24234 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24235 Moved to ...
24236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24237 Here.
24238 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24239 to ...
24240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24241 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24242 to ...
24243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24244 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24245 to ...
24246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24247 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24248 to ...
24249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24250 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24251 to ...
24252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24253 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24254 to ...
24255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24256 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24257 to ...
24258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24259 Here.
24260 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24261 to ...
24262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24263 Here.
24264 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24265 to ...
24266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24267 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24268 Moved to ...
24269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24270 Here.
24271 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24272 to ...
24273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24274
d128e450
JM
242752012-05-04 Joseph Myers <joseph@codesourcery.com>
24276
fa8ee516
JM
24277 * sysdeps/unix/common/bits/dirent.h: Remove file.
24278 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24279
d128e450
JM
24280 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24281 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24282 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24283 * sysdeps/unix/bsd/isatty.c: Likewise.
24284 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24285 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24286 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24287
ff8faaf0 242882012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 24289
62881be4 24290 [BZ #13563]
31dc8730
AZ
24291 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24292 long double comparison inaccuracies.
24293 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24295
6fef930c
AS
242962012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24297
24298 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24299 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24300
8f203e6c
JM
243012012-05-04 Joseph Myers <joseph@codesourcery.com>
24302
24303 [BZ #14049]
24304 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24305 nonzero digits before rounding a hex value.
24306 * stdlib/tst-strtod.c (tests): Add another test.
24307
5197d9c2
AK
243082012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24309
24310 * sysdeps/s390/fpu/libm-test-ulps: Update.
24311
f0c1dedf
AJ
243122012-05-03 Andreas Jaeger <aj@suse.de>
24313
24314 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24315 does not get optimized out.
24316 (malloc_opt_barrier): New.
24317
a65ef2ae 243182012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 24319 Roland McGrath <roland@hack.frob.com>
a65ef2ae 24320
2b942cb7 24321 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 24322 intermediate file deletion.
2b942cb7 24323 (generated): Add .symlist files.
a65ef2ae 24324
54b71e02
JM
243252012-05-03 Joseph Myers <joseph@codesourcery.com>
24326
24327 [BZ #13775]
24328 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24329 Redirect under this condition.
24330 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24331 [__USE_GNU] (__dprintf_chk): Not under this condition.
24332 [__USE_GNU] (__vdprintf_chk): Likewise.
24333 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24334 under this condition.
24335 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24336 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24337 [__USE_XOPEN2K8] (vdprintf): Likewise.
24338 [__USE_GNU] (__dprintf_chk): Not under this condition.
24339 [__USE_GNU] (__vdprintf_chk): Likewise.
24340 [__USE_GNU] (dprintf): Likewise.
24341 [__USE_GNU] (vdprintf): Likewise.
24342
d3dfcc41
RM
243432012-05-03 Roland McGrath <roland@hack.frob.com>
24344
24345 * elf/Makefile (common-generated): Set this instead of generated for
24346 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24347 $(all-built-dso)-derived lists.
24348
7ac30cc5
AJ
243492012-05-03 Andreas Jaeger <aj@suse.de>
24350
0c51e550
AJ
24351 * sysdeps/i386/fpu/libm-test-ulps: Update.
24352
7ac30cc5
AJ
24353 * FAQ: Removed.
24354 * FAQ.in: Likewise.
24355 * scripts/gen-FAQ.pl: Likewise.
24356 * manual/install.texi (Installation): Point to online location of
24357 FAQ.
24358 * Makefile (files-for-dist): Remove FAQ.
24359 (FAQ): Remove.
24360
d4c2917f
AM
243612012-05-02 Allan McRae <allan@archlinux.org>
24362
24363 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24364 (LDFLAGS-reldepmod5.so): Likewise.
24365 (LDFLAGS-reldep6mod1.so): Likewise.
24366 (LDFLAGS-reldep6mod4.so): Likewise.
24367 (LDFLAGS-reldep8mod3.so): Likewise.
24368 (LDFLAGS-unload4mod1.so): Likewise.
24369 (LDFLAGS-unload4mod2.so): Likewise.
24370 (LDFLAGS-tst-initorder): Likewise.
24371 (LDFLAGS-tst-initordera2.so): Likewise.
24372 (LDFLAGS-tst-initordera3.so): Likewise.
24373 (LDFLAGS-tst-initordera4.so): Likewise.
24374 (LDFLAGS-tst-initorderb2.so): Likewise.
24375 (LDFLAGS-noload): Likewise.
24376 (LDFLAGS-next): Likewise.
24377 (LDFLAGS-order2mod1.so): Likewise.
24378 (LDFLAGS-order2mod2.so): Likewise.
24379 (LDFLAGS-tst-initorder2): Likewise.
24380 (LDFLAGS-tst-initorder2a.so): Likewise.
24381 (LDFLAGS-tst-initorder2b.so): Likewise.
24382 (LDFLAGS-tst-initorder2c.so): Likewise.
24383 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24384
d77f993f
DM
243852012-05-02 David S. Miller <davem@davemloft.net>
24386
24387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24388
171a70b4
PP
243892012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24390
24391 [BZ #14055]
24392 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24393
0be196ad
AJ
243942012-05-02 Andreas Jaeger <aj@suse.de>
24395
24396 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24397 since we manipulate rounding mode.
24398 (CPPFLAGS-test-idouble.c): Likewise.
24399 (CPPFLAGS-test-ifloat.c): Likewise.
24400 (CFLAGS-test-ldouble.c): Likewise.
24401 (CFLAGS-test-double.c): Likewise.
24402 (CFLAGS-test-float.c): Likewise.
24403 (CFLAGS-test-misc.c): Likewise.
24404 (CFLAGS-test-test-fenv.c): Likewise.
24405
4f9d04aa
AZ
244062012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24407
2b942cb7
RM
24408 [BZ #2550]
24409 [BZ #2570]
24410 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24411 comparisons to determine direction to adjust input.
4f9d04aa 24412
82a79e7d
RM
244132012-05-01 Roland McGrath <roland@hack.frob.com>
24414
f5a01ca9
RM
24415 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24416 output to the target.
24417
90fe4186
RM
24418 * scripts/localplt.awk: New file.
24419 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24420 (check-localplt-CFLAGS): Variable removed.
24421 ($(all-built-dso:=.jmprel)): New static pattern rule.
24422 (generated): Add those targets.
24423 (localplt-built-dso): New variable.
24424 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24425
24426 * elf/check-localplt.c: File removed.
24427
82397ed6
RM
24428 * scripts/check-execstack.awk: New file.
24429 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24430 (check-execstack-CFLAGS): Variable removed.
24431 ($(objpfx)check-execstack.h): Target removed.
24432 ($(objpfx)execstack-default): New target.
24433 (generated): Add that instead of check-execstack.h.
24434 ($(all-built-dso:=.phdr)): New static pattern rule.
24435 (generated): Add those targets.
24436 * elf/check-execstack.c: File removed.
24437
82a79e7d
RM
24438 * scripts/check-textrel.awk: New file.
24439 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24440 (check-textrel-CFLAGS): Variable removed.
24441 (all-built-dso): Use := to define.o
24442 ($(all-built-dso:=.dyn)): New static pattern rule.
24443 (generated): Add those targets.
24444 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24445 * config.make.in (READELF): New substituted variable.
24446 * elf/check-textrel.c: File removed.
24447
62fde54f 244482012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 24449
615605c9
JM
24450 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24451 allow.
24452 * conform/data/ctype.h-data [C99-based standards] (isblank):
24453 Expect function.
24454 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24455 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24456 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24457 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24458 Specify type. Require positive value.
24459 (EILSEQ): Likewise.
24460 (ERANGE): Likewise.
24461 [ISO || POSIX] (EILSEQ): Do not expect.
24462 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24463 Specify type. Require positive value.
24464 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24465 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24466 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24467 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24468 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24469 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24470 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24471 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24472 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24473 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24474 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24475 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24476 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24477 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24478 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24479 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24480 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24481 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24482 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24483 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24484 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24485 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24486 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24487 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24488 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24489 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24490 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24491 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24492 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24493 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24494 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24495 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24496 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24497 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24498 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24499 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24500 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24501 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24502 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24503 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24504 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24505 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24506 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24507 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24508 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24509 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24510 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24511 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24512 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24513 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24514 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24515 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24516 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24517 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24518 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24519 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24520 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24521 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24522 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24523 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24524 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24525 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24526 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24527 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24528 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24529 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24530 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24531 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24532 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24533 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24534 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24535 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24536 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24537 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24538 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24539 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24540 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24541 Require >= 2.
24542 (FLT_ROUNDS): Expect as macro, not constant.
24543 (FLT_MANT_DIG): Use macro-int-constant.
24544 (DBL_MANT_DIG): Likewise.
24545 (LDBL_MANT_DIG): Likewise.
24546 (FLT_DIG): Likewise.
24547 (DBL_DIG): Likewise.
24548 (LDBL_DIG): Likewise.
24549 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24550 (DBL_MIN_EXP): Likewise.
24551 (LDBL_MIN_EXP): Likewise.
24552 (FLT_MAX_EXP): Use macro-int-constant.
24553 (DBL_MAX_EXP): Likewise.
24554 (LDBL_MAX_EXP): Likewise.
24555 (FLT_MAX_10_EXP): Likewise.
24556 (DBL_MAX_10_EXP): Likewise.
24557 (LDBL_MAX_10_EXP): Likewise.
24558 (FLT_MAX): Use macro-constant.
24559 (DBL_MAX): Likewise.
24560 (LDBL_MAX): Likewise.
24561 (FLT_EPSILON): Use macro-constant. Give upper bound.
24562 (DBL_EPSILON): Likewise.
24563 (LDBL_EPSILON): Likewise.
24564 (FLT_MIN): Likewise.
24565 (DBL_MIN): Likewise.
24566 (LDBL_MIN): Likewise.
24567 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24568 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24569 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24570 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24571 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24572 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24573 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24574 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24575 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24576 [ISO11] (FLT_TRUE_MIN): Likewise.
24577 [ISO11] (LDBL_TRUE_MIN): Likewise.
24578 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24579 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24580 (SCHAR_MIN): Use macro-int-constant. Specify type.
24581 (SCHAR_MAX): Likewise.
24582 (UCHAR_MAX): Likewise.
24583 (CHAR_MIN): Likewise.
24584 (CHAR_MAX): Likewise.
24585 (MB_LEN_MAX): Use macro-int-constant.
24586 (SHRT_MIN): Use macro-int-constant. Specify type.
24587 (SHRT_MAX): Likewise.
24588 (USHRT_MAX): Likewise.
24589 (INT_MAX): Likewise.
24590 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24591 bound negative.
24592 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24593 bound with "U".
24594 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24595 bound with "L".
24596 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24597 bound negative. Suffix upper bound with "L".
24598 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24599 bound with "UL".
24600 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24601 Specify type.
24602 [C99-based standards] (LLONG_MAX): Likewise.
24603 [C99-based standards] (ULLONG_MAX): Likewise.
24604 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24605 == 0.
24606 [ISO11] (max_align_t): Require type.
24607 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24608
c9140a62
JM
24609 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24610 from $CFLAGS, without defining away __attribute__ calls.
24611 (checknamespace): Use $CFLAGS_namespace.
24612
9af0bf29
JM
24613 * conform/conformtest.pl (@keywords): Only include C99 keywords
24614 for standards based on C99 or C11.
24615
343222a2
JM
24616 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24617 Disable tests.
24618 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24619 UNIX98]: Likewise.
24620
661f8cf0
JM
24621 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24622 usability of symbols in #if.
24623
ee74b9cb
JM
24624 * conform/conformtest.pl: If macro or constant types start
24625 "promoted:", expect the symbol to be of the following type
24626 promoted by the integer promotions.
62fde54f 24627
aafc49b3
JM
24628 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24629 in one place. Also handle "macro-constant".
24630
fefdf574
JM
24631 * conform/conformtest.pl: Only accept expected macro values with
24632 "==". Parse all "macro" lines in one place.
24633 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24634
f2d922fe
JM
24635 * conform/conformtest.pl: Handle braced types on "constant" lines
24636 instead of handling "typed-constant".
24637 * conform/data/signal.h-data: Use "constant" instead of
24638 "typed-constant".
24639
d22956c9
JM
24640 * conform/conformtest.pl: Handle "optional-" at start of lines in
24641 one place rather than duplicating several cases. Handle each
24642 format of "macro" line with initial "optional-".
24643
028e2e38
JM
24644 * conform/conformtest.pl: Only accept expected constant or
24645 optional-constant values with "==". Parse all "constant" lines in
24646 one place. Parse all "optional-constant" lines in one place.
24647 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24648 * conform/data/fmtmsg.h-data: Likewise.
24649 * conform/data/netinet/in.h-data: Likewise.
24650 * conform/data/tar.h-data: Likewise.
24651 * conform/data/limits.h-data: Use "==" form on "constant" and
24652 "optional-constant" lines.
24653
1b8f2850
JM
24654 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24655 Use -std=c99 for XOPEN2K.
24656 (@knownproblems): Remove.
24657 (newtoken): Don't check %isknown.
24658
a05a144b
JM
24659 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24660 Do not expect macro.
24661 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24662 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24663 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24664 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24665 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24666 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24667 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24668 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24669 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24670 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24671 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24672 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24673 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24674 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24675 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24676 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24677 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24678 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24679 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24680 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24681 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24682 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24683 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24684 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24685 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24686 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24687 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24688 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24689 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24690 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24691 [XPG3] (acosh): Likewise.
24692 [XPG3] (asinh): Likewise.
24693 [XPG3] (atanh): Likewise.
24694 [XPG3] (cbrt): Likewise.
24695 [XPG3] (expm1): Likewise.
24696 [XPG3] (ilogb): Likewise.
24697 [XPG3] (log1p): Likewise.
24698 [XPG3] (logb): Likewise.
24699 [XPG3] (nextafter): Likewise.
24700 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24701 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24702 [XPG3] (remainder): Likewise.
24703 [XPG3] (rint): Likewise.
24704 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24705 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24706 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24707 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24708 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24709 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24710 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24711 [UNIX98 || XOPEN2K] (scalb): Expect.
24712 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24713 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24714 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24715 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24716 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24717 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24718 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24719 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24720 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24721 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24722 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24723 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24724 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24725 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24726 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24727 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24728 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24729 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24730 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24731 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24732 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24733 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24734 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24735 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24736 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24737 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24738 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24739 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24740 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24741 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24742 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24743 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24744 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24745 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24746 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24747 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24748 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24749 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24750 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24751 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24752 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24753 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24754 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24755 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24756 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24757 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24758 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24759 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24760 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24761 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24762 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24763 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24764 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24765 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24766 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24767 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24768 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24769 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24770 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24771 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24772 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24773 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24774 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24775 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24776 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24777 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24778 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24779 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24780 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24781 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24782 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24783 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24784 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24785 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24786 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24787 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24788 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24789 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24790 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24791 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24792 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24793 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24794 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24795 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24796 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24797 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24798 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24799 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24800 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24801 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24802 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24803 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24804 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24805 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24806 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24807 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24808 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24809 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24810 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24811 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24812 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24813 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24814 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24815 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24816 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24817 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24818 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24819 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24820 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24821 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24822 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24823 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24824 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24825 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24826 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24827 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24828 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24829 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24830 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24831 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24832 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24833 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24834 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24835 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24836 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24837 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24838 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24839 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24840 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24841 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24842 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24843 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24844 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24845 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24846 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24847 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24848 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24849
73c5ebe3
JM
24850 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24851 _XOPEN_SOURCE_EXTENDED for XPG4.
24852
39c33b6c
JM
24853 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24854
62fde54f
JM
24855 * Makeconfig (localtime): Remove variable.
24856 (inst_localtime-file): Likewise.
24857
0741d64c
AS
248582012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24859
24860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24861 Update.
24862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24863 Update.
24864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24865 Update.
24866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24867 Update.
24868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24869 Update.
24870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24871 Update.
24872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24873 Update.
24874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24875 Update.
24876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24877 Update.
24878
7cb029ee
JM
248792012-05-01 Joseph Myers <joseph@codesourcery.com>
24880
24881 [BZ #2550]
24882 [BZ #2570]
24883 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24884 comparisons to determine direction to adjust input.
24885 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24886 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24887 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24888 Likewise.
24889 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24890 Likewise.
24891 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24892 Likewise.
24893 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24894 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24895 Likewise.
24896 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24897 Likewise.
24898 * math/libm-test.inc (nexttoward_test): Add more tests.
24899
412bd966
AS
249002012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24901
24902 [BZ #14040]
24903 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24904 in version GLIBC_2.1, not GLIBC_2.0.
24905 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24906 Likewise.
24907
9568c0c2
JM
249082012-04-30 Joseph Myers <joseph@codesourcery.com>
24909
adfbc8ac
JM
24910 [BZ #13942]
24911 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24912 (1 - x) * (1 + x).
24913 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24914 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24915 * math/libm-test.inc (acos_test): Add more tests.
24916 (asin_test): Likewise.
24917 * sysdeps/i386/fpu/libm-test-ulps: Update.
24918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24919
5ba3cc69
JM
24920 [BZ #14034]
24921 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24922 of square root.
24923 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24924 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24925 * math/libm-test.inc (acos_test_tonearest): New function.
24926 (acos_test_towardzero): Likewise.
24927 (acos_test_downward): Likewise.
24928 (acos_test_upward): Likewise.
24929 (asin_test_tonearest): Likewise.
24930 (asin_test_towardzero): Likewise.
24931 (asin_test_downward): Likewise.
24932 (asin_test_upward): Likewise.
24933 (main): Call the new functions.
24934 * sysdeps/i386/fpu/libm-test-ulps: Update.
24935 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24936
9568c0c2
JM
24937 [BZ #13884]
24938 [BZ #13924]
24939 * math/e_exp10.c: Include <float.h>.
24940 (__ieee754_exp10): Handle underflow here rather than multiplying
24941 large negative argument by M_LN10.
24942 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24943 of __ieee754_expf.
24944 * math/e_exp10l.c: Include <float.h>.
24945 (__ieee754_exp10l): Handle underflow here rather than multiplying
24946 large negative argument by M_LN10l.
24947 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24948 spurious overflow exception on underflow.
24949
5ac3ea17
MP
249502012-04-29 Marek Polacek <polacek@redhat.com>
24951
24952 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24953 (__fortify_function): New macro.
24954 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24955 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24956 __extern_always_inline.
24957 * libio/bits/stdio2.h: Likewise.
24958 * libio/bits/stdio.h: Likewise.
24959 * string/string.h: Likewise.
24960 * string/bits/string3.h: Likewise.
24961 * include/stdio.h: Likewise.
24962 * stdlib/bits/stdlib.h: Likewise.
24963 * stdlib/stdlib.h: Likewise.
24964 * rt/bits/mqueue2.h: Likewise.
24965 * rt/mqueue.h: Likewise.
24966 * posix/bits/unistd.h: Likewise.
24967 * posix/unistd.h: Likewise.
24968 * io/bits/poll2.h: Likewise.
24969 * io/bits/fcntl2.h: Likewise.
24970 * io/fcntl.h: Likewise.
24971 * io/sys/poll.h: Likewise.
24972 * misc/bits/syslog.h: Likewise.
24973 * misc/bits/syslog-ldbl.h: Likewise.
24974 * misc/sys/syslog.h: Likewise.
24975 * socket/bits/socket2.h: Likewise.
24976 * socket/sys/socket.h: Likewise.
24977 * debug/tst-chk1.c: Likewise.
24978 * wcsmbs/bits/wchar2.h: Likewise.
24979 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24980 * wcsmbs/wchar.h: Likewise.
24981
ecf0ebfb
AJ
249822012-04-29 Andreas Jaeger <aj@suse.de>
24983
24984 * Makerules (tests): Remove enable-check-abi protection.
24985 (check-abi-warn): Remove.
24986 (check-abi-%): Remove check-abi-warn usage.
24987
24988 * configure.in: Remove check-abi configure option.
24989 * configure: Regenerated.
24990 * config.make.in (enable-check-abi): Remove.
24991
6d5c57fa
AS
249922012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24993
24c5d07e 24994 [BZ #14033]
ded5180a
AS
24995 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24996 double functions to double *_finite functions.
24997
7e0d315d
AS
24998 [BZ #13941]
24999 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25000 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25001 LDBL_MIN_EXP.
25002 * stdio-common/Makefile (tests): Add tst-sprintf3.
25003 * stdio-common/tst-sprintf3.c: New file.
25004
6d5c57fa
AS
25005 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25006 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25007
0749ff8b
JM
250082012-04-28 Joseph Myers <joseph@codesourcery.com>
25009
25010 * conform/conformtest.pl: Remove duplicate typed-constant
25011 handling.
25012
8dbd5d7b
DM
250132012-04-28 David S. Miller <davem@davemloft.net>
25014
25015 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25016 (check-abi-%): Remove AWK script prerequisite and explicit
25017 abilist directory.
25018 (check-abi): Rewrite to just diff the symlist with the abilist.
25019 (config-tls, config-abi-config): Delete, no longer used.
25020 (update-abi-%): Remove AWK script and explicit abilist directory.
25021 (update-abi): Rewrite to simply compare and conditionally copy the
25022 symlist and the sysdep abilist file. Remove update-abi-config
25023 checks.
25024 * abilist/ld.abilist: Remove.
25025 * abilist/libBrokenLocale.abilist: Remove.
25026 * abilist/libanl.abilist: Remove.
25027 * abilist/libcrypt.abilist: Remove.
25028 * abilist/libdl.abilist: Remove.
25029 * abilist/librt.abilist: Remove.
25030 * abilist/libthread_db.abilist: Remove.
25031 * abilist/libutil.abilist: Remove.
25032 * scripts/extract-abilist.awk: Remove.
25033 * scripts/merge-abilist.awk: Remove.
25034 * sysdeps/generic/libcidn.abilist: New file.
25035 * sysdeps/generic/libnss_compat.abilist: New file.
25036 * sysdeps/generic/libnss_db.abilist: New file.
25037 * sysdeps/generic/libnss_dns.abilist: New file.
25038 * sysdeps/generic/libnss_files.abilist: New file.
25039 * sysdeps/generic/libnss_hesiod.abilist: New file.
25040 * sysdeps/generic/libnss_nis.abilist: New file.
25041 * sysdeps/generic/libnss_nisplus.abilist: New file.
25042 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25043 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25044 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25045 file.
25046 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25047 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25048 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25049 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25050 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25051 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25052 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25053 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25054 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25055 file.
25056 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25057 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25058 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25059 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25060 file.
25061 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25062 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25063 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25064 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25065 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25066 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25067 file.
25068 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25069 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25070 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25071 file.
25072 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25074 New file.
25075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25076 New file.
25077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25078 New file.
25079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25080 New file.
25081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25082 New file.
25083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25084 New file.
25085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25086 New file.
25087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25088 New file.
25089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25090 New file.
25091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25092 New file.
25093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25094 New file.
25095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25096 New file.
25097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25098 New file.
25099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25100 file.
25101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25102 New file.
25103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25104 New file.
25105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25106 file.
25107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25108 New file.
25109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25110 New file.
25111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25112 file.
25113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25114 New file.
25115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25116 New file.
25117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25118 New file.
25119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25120 New file.
25121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25122 New file.
25123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25124 New file.
25125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25127 file.
25128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25129 New file.
25130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25131 file.
25132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25133 file.
25134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25135 file.
25136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25137 file.
25138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25139 file.
25140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25141 New file.
25142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25143 file.
25144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25145 file.
25146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25147 New file.
25148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25149 file.
25150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25152 file.
25153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25154 New file.
25155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25156 file.
25157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25158 file.
25159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25160 file.
25161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25162 file.
25163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25164 file.
25165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25166 New file.
25167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25168 file.
25169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25170 file.
25171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25172 New file.
25173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25174 file.
25175 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25176 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25177 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25178 file.
25179 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25180 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25181 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25182 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25183 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25184 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25185 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25186 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25187 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25188 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25191 file.
25192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25193 New file.
25194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25195 file.
25196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25197 file.
25198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25199 file.
25200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25201 file.
25202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25203 file.
25204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25205 New file.
25206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25207 New file.
25208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25209 file.
25210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25211 New file.
25212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25213 file.
25214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25216 file.
25217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25218 New file.
25219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25220 file.
25221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25222 file.
25223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25224 file.
25225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25226 file.
25227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25228 file.
25229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25230 New file.
25231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25232 New file.
25233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25234 file.
25235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25236 New file.
25237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25238 file.
25239
41d73a1b
JM
252402012-04-28 Joseph Myers <joseph@codesourcery.com>
25241
25242 * conform/conformtest.pl: Fix typo in handling typed-constant from
25243 allow-header.
25244
28aeeda4
JM
252452012-04-27 Joseph Myers <joseph@codesourcery.com>
25246
adae8f5e
JM
25247 * README: Cut down references to pre-2.6 Linux kernels and
25248 Linuxthreads. Update lists of configurations in libc and ports
25249 and sort alphabetically. Say "or newer" with Linux kernel version
25250 requirements.
25251
28aeeda4
JM
25252 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25253
a462cb63
RA
252542012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25255
25256 [BZ #887]
25257 * math/libm-test.inc (logb_test_downward): New test to expose
25258 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25259 rounding mode.
25260
6ad3493e
JM
252612012-04-27 Joseph Myers <joseph@codesourcery.com>
25262
25263 [BZ #14027]
25264 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25265 to be done.
25266 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25267 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25268
2ce4f015
JM
252692012-04-26 Joseph Myers <joseph@codesourcery.com>
25270
5aeb141a
JM
25271 * sysdeps/unix/i386/brk.S: Remove file.
25272 * sysdeps/unix/i386/dl-brk.S: Likewise.
25273 * sysdeps/unix/i386/pipe.S: Likewise.
25274 * sysdeps/unix/i386/sigreturn.S: Likewise.
25275 * sysdeps/unix/i386/syscall.S: Likewise.
25276 * sysdeps/unix/i386/vfork.S: Likewise.
25277 * sysdeps/unix/i386/wait.S: Likewise.
25278
7143acae
JM
25279 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25280 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25281
2ce4f015
JM
25282 * configure.in (arm*-none*): Do not allow without
25283 --enable-hacker-mode.
25284 (netbsd*): Remove case setting base_os.
25285 (386bsd*): Likewise.
25286 (freebsd*): Likewise.
25287 (bsdi*): Likewise.
25288 (osf*): Likewise.
25289 (sunos*): Likewise.
25290 (ultrix*): Likewise.
25291 (newsos*): Likewise.
25292 (dynix*): Likewise.
25293 (*bsd*): Likewise.
25294 (sysv*): Likewise.
25295 (isc*): Likewise.
25296 (esix*): Likewise.
25297 (sco*): Likewise.
25298 (minix*): Likewise.
25299 (irix4*): Likewise.
25300 (irix6*): Likewise.
25301 (solaris[2-9]*): Likewise.
25302 (none): Likewise.
25303 * configure: Regenerated.
25304
0ac229c8
AZ
253052012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25306
25307 [BZ #11521]
25308 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25309 overflow or cancellation in calculating denominator.
25310 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25311 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25312 down expression to avoid unexpected rounding in newer GCCs.
25313 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25314
33f244f4
DM
253152012-04-26 David S. Miller <davem@davemloft.net>
25316
25317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25318 long-double compat symbols.
25319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25332
cfa1f3e8
DM
253332012-04-25 David S. Miller <davem@davemloft.net>
25334
25335 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25336 HWCAP_* values only after the memory barriers have been defined.
25337 (atomic_full_barrier): Define.
25338 (atomic_read_barrier): Define.
25339 (atomic_write_barrier): Define.
25340
6e236b92
SP
253412012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25342
25343 * shlib-versions: Add libgcc_s version information.
25344 * sysdeps/generic/libgcc_s.h: Remove.
25345 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25346 libgcc_s.h.
25347 * sysdeps/gnu/unwind-resume.c: Likewise.
25348 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25349
aab39a09
DM
253502012-04-25 David S. Miller <davem@davemloft.net>
25351
25352 * sysdeps/unix/sparc/brk.S: Delete.
25353 * sysdeps/unix/sparc/dl-brk.S: Delete.
25354 * sysdeps/unix/sparc/pipe.S: Delete.
25355 * sysdeps/unix/sparc/sysdep.S: Delete.
25356 * sysdeps/unix/sparc/sysdep.h: Delete.
25357 * sysdeps/unix/sparc/vfork.S: Delete.
25358 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25359 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25360 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25361 ret_ERRVAL, r0, r1, MOVE): Define.
25362 (JUMPTARGET): Remove.
25363 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25364 sysdeps/unix/sparc/sysdep.h
25365 (ENTRY, END): Remove.
25366 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25367
a3cc4f48
JM
253682012-04-25 Joseph Myers <joseph@codesourcery.com>
25369
2ed8cda2
JM
25370 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25371 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25372 -DIS_IN_build.
25373
35d76d59
JM
25374 * timezone/README: Update upstream location and email address for
25375 tzcode and tzdata.
25376 * timezone/zdump.c: Update from tzcode 2012b.
25377 * timezone/zic.c: Likewise.
25378
a3cc4f48
JM
25379 * configure.in (libc_cv_as_needed): Remove test.
25380 * configure: Regenerated.
25381 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25382 conditional definition.
25383 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25384 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25385 * config.make.in (have-as-needed): Remove variable.
25386
ceab42c3
SP
253872012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25388 Paul Pluzhnikov <ppluzhnikov@google.com>
25389
25390 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25391 strings correctly.
25392
3ce2865f
CLT
253932012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25394
25395 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25396 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25397 * sysdeps/sh/strlen.S: Likewise.
25398
f37e0d68
JM
253992012-04-24 Joseph Myers <joseph@codesourcery.com>
25400
ae186e9a
JM
25401 * sysdeps/unix/fork.S: Remove file.
25402 * sysdeps/unix/i386/fork.S: Likewise.
25403 * sysdeps/unix/sparc/fork.S: Likewise.
25404
b96914af
JM
25405 * sysdeps/unix/system.c: Remove file.
25406 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25407
f37e0d68
JM
25408 * sysdeps/unix/getegid.S: Remove file.
25409 * sysdeps/unix/geteuid.S: Likewise.
25410
87ef29ca
RM
254112012-04-24 Roland McGrath <roland@hack.frob.com>
25412
83bcd236
RM
25413 * scripts/check-localplt.awk: New file.
25414 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25415 of diff.
25416 * scripts/data/localplt-generic.data: Add a comment.
25417
87ef29ca
RM
25418 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25419 NODE when __dir_mkfile failed.
25420 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25421 Reported by Ludovic Courtès <ludo@gnu.org>.
25422
e5a6e567
AJ
254232012-04-24 Andreas Jaeger <aj@suse.de>
25424
25425 * Makerules (common-clean): Also remove gen-as-const-headers
25426 files.
25427
c1820385
JM
254282012-04-24 Joseph Myers <joseph@codesourcery.com>
25429
25430 * Makerules (native-compile): Do not change working directory for
25431 build. Use $(OUTPUT_OPTION) in command.
25432 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25433
94e02fc4
AZ
254342012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25435
25436 [BZ #13886]
25437 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25438 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25439 * math/libm-test.inc (floor_test): Add more tests.
25440 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25441
3a533ca3
JM
254422012-04-24 Joseph Myers <joseph@codesourcery.com>
25443
940ab4b3
JM
25444 * sysdeps/unix/getdents.c: Remove file.
25445 * sysdeps/unix/sysv/getdents.c: Likewise.
25446 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25447
90e037bd
JM
25448 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25449 sysdeps/unix/mman/syscalls.list.
25450 (mmap): Likewise.
25451 (mprotect): Likewise.
25452 (msync): Likewise.
25453 (munmap): Likewise.
25454 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25455 * sysdeps/unix/mman/syscalls.list: Remove.
25456 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25457
3a533ca3
JM
25458 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25459 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25460 * configure: Regenerated.
25461 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25462 $(libgcc_s_suffix).
25463 * config.make.in (libgcc_s_suffix): Remove variable.
25464
1ad743de
JM
254652012-04-23 Joseph Myers <joseph@codesourcery.com>
25466
4ad451e2
JM
25467 * sysdeps/unix/sysv/gethostname.c: Move to ...
25468 * sysdeps/posix/gethostname.c: ... here.
25469
5e37ce39
JM
25470 * sysdeps/unix/execve.S: Remove file.
25471
1ad743de
JM
25472 * sysdeps/unix/_exit.S: Remove file.
25473
4e681b5b
AJ
254742012-04-23 Andreas Jaeger <aj@suse.de>
25475
25476 [BZ #13739]
25477 * manual/Makefile: Remove make dist support, there's no
25478 need for a stand-alone documentation tar ball.
25479 (TEXI2DVI): Define always, it's not in Makeconfig.
25480 (dist): Removed.
25481 (tar-it): Removed.
25482 (edition): Removed.
25483 (glibc-doc-$(edition).tar): Removed
25484 (%.Z): Removed.
25485 (%.gz): Removed.
25486 (%.uu): Removed.
25487 (ETAGS): Remove, it's in Makeconfig.
25488 (move-if-change): Remove, it's in Makeconfig.
25489
38686a03 254902012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
25491
25492 [BZ #13970]
25493 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25494 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25495 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25496 (strtod_l, strtof_l, strtold_l): Remove __wur.
25497 It is not necessarily an error to ignore strtol's return value.
25498 One can reliably look at the stored endptr to decide whether
25499 the number had valid syntax.
25500
7c0616fa
AJ
255012012-04-21 Andreas Jaeger <aj@suse.de>
25502
803cb6b7 25503 [BZ #13739]
7c0616fa
AJ
25504 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25505
b0fe253f
JM
255062012-04-21 Joseph Myers <joseph@codesourcery.com>
25507
25508 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25509 * sysdeps/unix/sysv/Versions: Remove file.
25510
8280f22d
MT
255112012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25512
25513 [BZ #13927]
25514 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25515
75ce411f 255162012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
25517
25518 [BZ #7064]
25519 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25520 version from __vm86.
25521
097d59fa
JM
255222012-04-20 Joseph Myers <joseph@codesourcery.com>
25523
a90f3bcb
JM
25524 * sysdeps/unix/common/lxstat.c: Remove file.
25525 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25526
edc7ea78
JM
25527 * sysdeps/unix/sysv/Makefile: Remove file.
25528
cb78c221
JM
25529 * sysdeps/unix/sysv/direct.h: Remove file.
25530
efa6a45f
JM
25531 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25532 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25533 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25534 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25535 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25536 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25537 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25538
9c9f2d0c
JM
25539 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25540
4541c83b
JM
25541 * sysdeps/unix/xmknod.c: Remove file.
25542 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25543
f5d153a0
JM
25544 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25545
aa746595
JM
25546 * sysdeps/unix/sysv/i386/time.S: Remove file.
25547
cce5905e
JM
25548 * sysdeps/unix/fxstat.c: Remove file.
25549 * sysdeps/unix/xstat.c: Likewise.
25550 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25551
37fa3841
JM
25552 * sysdeps/unix/sysv/sigaction.c: Remove file.
25553
ff1962a3
JM
25554 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25555 (sysdep_headers): Remove variable.
25556 [termio.h not in sysdep_headers] (generated): Likewise.
25557 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25558 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25559 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25560 * sysdeps/unix/sysv/tcflow.c: Likewise.
25561 * sysdeps/unix/sysv/tcflush.c: Likewise.
25562 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25563 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25564 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25565 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25566 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25567
e7740d31
JM
25568 * sysdeps/unix/siglist.c: Remove file.
25569
ee06f18b
JM
25570 * sysdeps/unix/getppid.S: Remove file.
25571
097d59fa
JM
25572 * sysdeps/unix/mkdir.c: Remove file.
25573 * sysdeps/unix/rmdir.c: Likewise.
25574
ff3d51ec
AS
255752012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25576
25577 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25578 ERR_MAX value.
25579 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25580 errlist-compat value.
25581
50f81fd7
DM
255822012-04-18 David S. Miller <davem@davemloft.net>
25583
25584 * sysdeps/generic/memcopy.h (reg_char): Delete.
25585 * debug/strcat_chk.c: Use char, not reg_char.
25586 * debug/strcpy_chk.c: Likewise.
25587 * debug/strncat_chk.c: Likewise.
25588 * debug/strncpy_chk.c: Likewise.
25589 * string/memchr.c: Likewise.
25590 * string/memrchr.c: Likewise.
25591 * string/rawmemchr.c: Likewise.
25592 * string/strcat.c: Likewise.
25593 * string/strchr.c: Likewise.
25594 * string/strchrnul.c: Likewise.
25595 * string/strcmp.c: Likewise.
25596 * string/strcpy.c: Likewise.
25597 * string/strncat.c: Likewise.
25598 * string/strncmp.c: Likewise.
25599 * string/strncpy.c: Likewise.
25600
8ff41c46
WS
256012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25602
25603 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25604 __builtin_memcopy is called when src and dest ranges are known to not
25605 overlap.
25606
6b652f46
WS
256072012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25608
25609 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25610 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25611 fwd_align_merge macro call.
25612 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25613 bwd_align_merge macro call.
25614 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25615
b282631e
WS
256162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25617
25618 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25619 bwd_align_merge macros.
25620 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25621 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25622 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25623
95aa737c
DM
256242012-04-18 David S. Miller <davem@davemloft.net>
25625
25626 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25627
7a99a614
AJ
256282012-04-18 Andreas Jaeger <aj@suse.de>
25629
25630 [BZ# 6794]
25631 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25632 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25633 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25634
25635 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25636 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25637 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25638
25639 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25640 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25641 Adjust for changed ldbl-128 files.
25642
25643 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25644 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25645 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25646
e5270c23
DM
256472012-04-17 David S. Miller <davem@davemloft.net>
25648
25649 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25650
fb5e92c9
AS
256512012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25652
25653 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25654 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25655 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25656 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25657 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25658 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25659
76da7265
AZ
256602012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25661
25662 [BZ #6794]
25663 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25664 * math/libm-test.inc: Add ilogb errno and exception tests.
25665 * math/w_ilogb.c: New file: ilogb wrapper.
25666 * math/w_ilogbf.c: New file: ilogbf wrapper.
25667 * math/w_ilogbl.c: New file: ilogbl wrapper.
25668 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25669 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25670 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25671 exception being thrown with 0.0 as argument.
25672 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25673 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25674 exception being thrown with 0.0 as argument.
25675 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25676 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25677 exception being thrown with 0.0 as argument.
25678 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25679 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25680 exception being thrown with 0.0 as argument.
25681 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25682 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 25683 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
25684 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25685 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25686 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25687 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25688 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25689 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25690
0396e69d
PB
256912012-04-17 Petr Baudis <pasky@ucw.cz>
25692
25693 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25694 with altivec.
25695
750b5926
MP
256962012-04-16 Marek Polacek <polacek@redhat.com>
25697
25698 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25699
751728a1
MP
257002012-04-16 Marek Polacek <polacek@redhat.com>
25701
25702 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25703 operands of fdivp instruction.
25704
34a27407
L
257052012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25706
25707 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25708 * elf/tst-auditmod3b.c: Likewise.
25709 * elf/tst-auditmod4b.c: Likewise.
25710 * elf/tst-auditmod5b.c: Likewise.
25711 * elf/tst-auditmod6b.c: Likewise.
25712 * elf/tst-auditmod6c.c: Likewise.
25713 * elf/tst-auditmod7b.c: Likewise.
25714 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25715 * sysdeps/x86_64/preconfigure.in: Likewise.
25716 * sysdeps/x86_64/preconfigure: Regenerated.
25717
7e73e17d
L
257182012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25719
25720 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25721 __ILP32__.
25722
c7a6ab72
AB
257232012-04-13 Antoine Balestrat <merkil33@gmail.com>
25724
25725 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25726 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25727
a9e8e0e0
CL
257282012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25729
25730 [BZ #13973]
25731 * locale/iso-639.def: Fix gl language name. Spotted by
25732 Yaron Shahrabani.
25733
ec98af7d
RM
257342012-04-12 Roland McGrath <roland@hack.frob.com>
25735
25736 [BZ #2074]
25737 * libio/libio.h (__io_write_fn): Update comment.
25738
247c3ede
PB
257392012-04-12 Petr Baudis <pasky@ucw.cz>
25740
25741 [BZ #2074]
25742 * stdio.texi (Hook Functions): The user provided writer function
25743 is not allowed to return -1.
25744
55939d6d
DM
257452012-04-11 David S. Miller <davem@davemloft.net>
25746
25747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25748
90020f5a
MF
257492012-04-11 Mike Frysinger <vapier@gentoo.org>
25750
25751 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25752 Add a leading slash to rtkaio.
25753
288f9098
JM
257542012-04-11 Jim Meyering <meyering@redhat.com>
25755
90020f5a
MF
25756 [BZ #11959]
25757 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25758 It is not necessarily an error to ignore fwrite's return
25759 value. One can reliably use ferror to test for errors after
25760 the fact.
288f9098 25761
4be2b570
L
257622012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25763
25764 * bits/types.h (__snseconds_t): New type.
25765 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25766
25767 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25768 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25769 (__SNSECONDS_T_TYPE): Likewise.
25770 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25771 (__SNSECONDS_T_TYPE): Likewise.
25772 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25773 (__SNSECONDS_T_TYPE): Likewise.
25774
288f9098 257752012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
25776
25777 [BZ #2636]
25778 * manual/time.texi (Processor Time): Return type of times is
25779 elapsed real time since an arbitrary point in the past.
25780 (CPU Time): Move CLK_TCK from here...
25781 (Processor Time): ...to here. Correct description.
25782 * manual/conf.texi (Constants for Sysconf): Correct description of
25783 _SC_CLK_TCK.
25784
d7dd4413
DM
257852012-04-10 David S. Miller <davem@davemloft.net>
25786
25787 [BZ #13967]
25788 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25789 where the is a gap between DT_REL(A) and DT_JMPREL.
25790
b46068fc
L
257912012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25792
25793 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25794 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25795 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25796
73d65cc3
SP
257972012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25798
25799 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25800 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25801 (dl_main): Handle --inhibit-cache.
25802 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25803 _dl_inhibit_cache.
25804 * elf/dl-load.c (_dl_map_object): Use it.
25805 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25806
bcc8d661
JM
258072012-04-09 Joseph Myers <joseph@codesourcery.com>
25808
8f9a2fae
JM
25809 [BZ #13872]
25810 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25811 (__ieee754_powl): Saturate large exponents rather than testing for
25812 overflow of y*log2(x).
25813 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25814 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25815 exceptions.
25816
bcc8d661
JM
25817 [BZ #11521]
25818 * math/s_ctan.c: Include <float.h>.
25819 (__ctan): Avoid internal overflow or cancellation in calculating
25820 denominator.
25821 * math/s_ctanf.c: Likewise.
25822 * math/s_ctanl.c: Likewise.
25823 * math/s_ctanh.c: Likewise.
25824 * math/s_ctanhf.c: Likewise.
25825 * math/s_ctanhl.c: Likewise.
25826 * math/libm-test.inc (ctan_test): Add more tests.
25827 (ctanh_test): Likewise.
25828 * sysdeps/i386/fpu/libm-test-ulps: Update.
25829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25830
823fbbb4
AJ
258312012-04-09 Andreas Jaeger <aj@suse.de>
25832
03879793
AJ
25833 [BZ #6894]
25834 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25835 is an optional BSD extension.
25836
823fbbb4
AJ
25837 [BZ #10254]
25838 * manual/stdio.texi (Opening Streams): Document additional fopen
25839 parameters.
25840
8de131cb
RM
258412012-04-09 Roland McGrath <roland@hack.frob.com>
25842
25843 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25844 %eax without telling the compiler.
25845
c0ed9d7d
CD
258462012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25847
25848 [BZ # 13963]
25849 * manual/install.texi: Use sourceware.org.
25850
c483f6b4
JM
258512012-04-09 Joseph Myers <joseph@codesourcery.com>
25852
d7dd9453
JM
25853 [BZ #13873]
25854 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25855 (__ieee754_pow): Generate overflow and underflow using huge*huge
25856 and tiny*tiny rather than just returning constant infinity or zero
25857 for large exponents.
25858 * math/libm-test.inc (pow_test): Require overflow exceptions for
25859 applicable cases of large exponents.
25860
c483f6b4
JM
25861 [BZ #706]
25862 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25863 (__ieee754_pow): Use iterative multiplication algorithm only for
25864 integer exponents with absolute value below 1024. Check for odd
25865 integer exponents when using algorithm for real exponents.
25866 * math/libm-test.inc (pow_test): Add more tests.
25867 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25868
d2de7579
JM
258692012-04-08 Joseph Myers <joseph@codesourcery.com>
25870
25871 [BZ #13705]
25872 * math/libm-test.inc (exp_test): Do not allow overflow exception
25873 on underflow test.
25874
f77f1232
AJ
258752012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25876
25877 [BZ #13705]
25878 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25879 instead of __kernel_standard_f.
25880
3884932b
MF
258812012-04-08 Mike Frysinger <vapier@gentoo.org>
25882
25883 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25884 * sysdeps/x86_64/memset_chk.S: Likewise.
25885
54472e9c
AJ
258862012-04-08 Andreas Jaeger <aj@suse.de>
25887
6ab0fbfc
AJ
25888 [BZ #10153]
25889 * manual/startup.texi (Environment Access): Describe return value
25890 for putenv and setenv.
25891
61efba8c
AJ
25892 [BZ #6895]
25893 * manual/filesys.texi (Directory Entries): Add description for
25894 DT_LNK.
25895
95c3f29a
AJ
25896 [BZ #6890]
25897 * manual/filesys.texi (Directory Entries): Clarify that it's file
25898 system not operating system in the description of DT_UNKNOWN.
25899
54472e9c
AJ
25900 [BZ #6578]
25901 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25902
624254b1
SC
259032012-04-08 Stephen Compall <s11@member.fsf.org>
25904
25905 [BZ #6649]
25906 * manual/llio.texi (Opening and Closing Files): Add cross
25907 reference to explain mode argument.
25908
1e4920e0
MF
259092012-04-07 Mike Frysinger <vapier@gentoo.org>
25910
25911 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25912 * sysdeps/x86_64/memset_chk.S: Likewise.
25913
5ed848f3
DM
259142012-04-07 David S. Miller <davem@davemloft.net>
25915
25916 * elf/elf.h (R_SPARC_WDISP10): Define.
25917 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25918 R_SPARC_SIZE32.
25919 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25920 R_SPARC_SIZE64 and R_SPARC_H34.
25921
96154cd8
CD
259222012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25923
25924 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25925 conditions and remove no longer applicable assertion.
25926
9904dc47
L
259272012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25928
25929 * bits/byteswap.h: Include <features.h>.
25930 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25931 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25932
f8887d0a
L
259332012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25934
25935 * bits/byteswap.h (__bswap_16): Removed.
25936 Include <bits/byteswap-16.h> to get __bswap_16.
25937 * sysdeps/i386/bits/byteswap.h: Likewise.
25938 * sysdeps/s390/bits/byteswap.h: Likewise.
25939 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25940 * bits/byteswap-16.h: New file.
25941 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25942 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25943 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25944 * string/Makefile (headers): Add bits/byteswap-16.h.
25945
62470f60
PP
259462012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25947
25948 [BZ #13895]
25949 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25950 extra indirection.
25951 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25952 * nss/tst-nss-static.c: New.
25953
4dad7bab
RM
259542012-04-06 Robert Millan <rmh@gnu.org>
25955
25956 [BZ #6486]
25957 * manual/llio.texi (File Position Primitive): lseek
25958 refers to WHENCE when it really means OFFSET.
25959
e9142a17
AJ
259602012-04-06 Andreas Jaeger <aj@suse.de>
25961
2c040eff
AJ
25962 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25963 strncmp declarations.
25964
e9142a17
AJ
25965 * abilist/libc.abilist: Add __poll and __ppoll.
25966
ff9f1c5f
DM
259672012-04-05 David S. Miller <davem@davemloft.net>
25968
dcd2ae90
DM
25969 * scripts/check-local-headers.sh: Accept a host triplet in the
25970 path matched by the exclude regexp.
25971
993eb054
DM
25972 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25973 definition.
25974 * sysdeps/powerpc/powerpc32/dl-machine.h
25975 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25976 * sysdeps/s390/s390-32/dl-machine.h
25977 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25978 * sysdeps/sparc/sparc32/dl-machine.h
25979 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25980 * sysdeps/sparc/sparc64/dl-machine.h
25981 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25982
ff9f1c5f
DM
25983 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25984 lazy binding.
48e2e132 25985 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
25986 undefined symbol errors.
25987
48e2e132 25988 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
25989 DT_NEEDED entries.
25990
e80d6f94
MM
259912012-04-05 Michael Matz <matz@suse.de>
25992
25993 [BZ #13592]
25994 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25995
349fa79f
AJ
259962012-04-05 Andreas Jaeger <aj@suse.de>
25997
25998 [BZ #13908]
25999 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26000 comment.
26001
f402708f
KK
260022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26003
26004 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26005 which ROUND is no valid rounding mode.
26006
2ecccfc9
KK
260072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26008
26009 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26010 read again.
26011 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26012
8a53f50f
KK
260132012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26014
26015 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26016 an exception using FPU order intentionally.
26017
260182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26019
26020 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26021 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26022 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26023 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26024
d653abb7
SJ
260252012-04-05 Simon Josefsson <simon@josefsson.org>
26026
26027 [BZ #12340]
26028 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26029 EINVAL when BUFLEN is too smal.
26030
c3b1bf7d
TS
260312012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26032
26033 [BZ #13553]
26034 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26035 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26036
b1aa60f3
AJ
260372012-04-03 Andreas Jaeger <aj@suse.de>
26038
c3b1bf7d 26039 [BZ #13938]
67f60a26
AJ
26040 * manual/setjmp.texi (System V contexts): Fix sentence.
26041
b1aa60f3
AJ
26042 [BZ #13926]
26043 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26044 New macro for this case.
26045 [!__GNUC__] (__bswap_64): New inline function for this case.
26046 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26047 * bits/byteswap.h: Likewise.
26048 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26049 ull, guard with __GLIBC_HAVE_LONG_LONG.
26050
26051 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26052 __GLIBC_HAVE_LONG_LONG.
26053
26054 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26055 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26056
39c59c35
TMQMF
260572012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26058
26059 [BZ #13691]
26060 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26061 inptr and inend, rather than using last_ch.
26062
135ffda8
DM
260632012-04-02 David S. Miller <davem@davemloft.net>
26064
26065 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26066 * stdio-common/printf-parse.h (read_int): Change return type to
26067 'int', return -1 on INT_MAX overflow.
26068 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26069 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26070 overflows INT_MAX. Check for overflow of in-format-string precision
26071 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26072 SIZE_MAX not INT_MAX for integer overflow test.
26073 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26074 skip the construct in the format string but do not record anything.
26075 * stdio-common/bug22.c: Adjust to test both width/prevision
26076 INT_MAX overflow as well as total length INT_MAX overflow. Check
26077 explicitly for proper errno values.
26078
228c019e
TS
260792012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26080
302cadd3
TS
26081 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26082 CHAR_MAX.
26083 * string/test-strcmp.c [! WIDE]: Likewise.
26084 * time/tst-mktime2.c: Likewise for INT_MAX.
26085 * string/test-string.h: #include <sys/param.h> for MIN.
26086
228c019e
TS
26087 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26088 * sysdeps/i386/init-first.c (init): Likewise.
26089 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26090 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26091 * sysdeps/sh/init-first.c (init): Likewise.
26092
cfa633f5
UD
260932012-04-01 Ulrich Drepper <drepper@gmail.com>
26094
26095 * po/ru.po: Update from translation team.
d1635ef8 26096 * po/vi.po: Likewise.
cfa633f5 26097
6cd0a5ea
SP
260982012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26099
26100 * resolv/nss_dns/dns-host.c: Merge copyright years.
26101
4b43400f
LD
261022012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26103
26104 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26105 Optimize memcpy with prefetch if
26106 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26107 src, dst pointers have unequal 16 byte alignments.
26108
48c41d04
SP
261092012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26110
26111 [BZ #13928]
26112 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26113 from a CNAME entry and return the minimum ttl for the query.
26114 (gaih_getanswer_slice): Likewise.
26115
b8dc394d
JL
261162012-03-30 Jeff Law <law@redhat.com>
26117
26118 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26119 due to long keys.
26120 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26121 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26122
2f5a5ed0
JL
26123 * resolv/nss_dns/dns-host.c: Update copyright year.
26124
1d39e359
UD
261252012-03-30 Ulrich Drepper <drepper@gmail.com>
26126
c030f70c 26127 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 26128 requests to save a system call. Fix check that all bytes are sent.
c030f70c 26129
1d39e359
UD
26130 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26131 comments for sendmmsg.
26132
261332012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
26134
26135 [BZ #13691]
26136 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26137 with only 1 character between 0x0041 and 0x01b0.
26138 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26139 * wcsmbs/tst-mbsnrtowcs.c: New file.
26140
20fde227
DM
261412012-03-29 David S. Miller <davem@davemloft.net>
26142
26143 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26144 small copies by hand.
26145
984a4237
JL
261462012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26147
26148 [BZ #13761]
26149 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26150 _nss_compat_initgroups_dyn): Fall back to malloc/free
26151 for large group memberships.
26152
18c9d62b
DM
261532012-03-28 David S. Miller <davem@davemloft.net>
26154
88d85d4f
DM
26155 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26156 that branches into memcpy.
26157 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26158 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26159 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26160 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26161 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26162 bits.
26163 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26164 implementation too.
26165 * sysdeps/sparc/mempcpy.S: New file.
26166
e5aa83e1
DM
26167 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26168 the IFUNC routine in the libc case.
26169 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26170
88570753
DM
26171 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26172 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26173 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26174 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26175 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26176 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26177 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26178 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26179
249d7567
DM
26180 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26181 loop to 256 bytes instead of 64 bytes and fix test signedness.
26182
18c9d62b
DM
26183 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26184 * sysdeps/sparc/sparc32/Makefile: rather than here...
26185 * sysdeps/sparc/sparc64/Makefile: and here.
26186
05f3d1f6
UD
261872012-03-28 Ulrich Drepper <drepper@gmail.com>
26188
26189 * malloc/mallocbug.c: Avoid warnings about unused variables.
26190
86ae07a8
JL
261912012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26192
26193 [BZ #13760]
26194 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26195 in the right place. Discard and retry query if response is
26196 larger than input buffer size.
26197
41bf21a1
JM
261982012-03-28 Joseph Myers <joseph@codesourcery.com>
26199
d6270972
JM
26200 [BZ #369]
26201 [BZ #2678]
26202 [BZ #3866]
26203 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26204 x for large integer exponent.
26205 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26206 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26207 sign of result as needed afterwards.
26208 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26209 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26210 result for underflowing pow the same as for overflow.
26211 (__kernel_standard_l): Handle powl overflow and underflow here
26212 rather than calling __kernel_standard.
26213 * math/libm-test.inc (pow_test): Add more tests.
26214
414fca03 26215 [BZ #3868]
41bf21a1
JM
26216 [BZ #13879]
26217 [BZ #13910]
26218 [BZ #13911]
26219 [BZ #13912]
26220 [BZ #13913]
26221 [BZ #13915]
26222 [BZ #13916]
26223 [BZ #13917]
26224 [BZ #13918]
26225 [BZ #13919]
26226 [BZ #13920]
26227 [BZ #13921]
26228 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26229 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26230 (__kernel_standard_l): New function.
26231 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26232 __kernel_standard.
26233 * math/w_acosl.c (__acosl): Likewise.
26234 * math/w_asinl.c (__asinl): Likewise.
26235 * math/w_atan2l.c (__atan2l): Likewise.
26236 * math/w_atanhl.c (__atanhl): Likewise.
26237 * math/w_coshl.c (__coshl): Likewise.
26238 * math/w_exp10l.c (__exp10l): Likewise.
26239 * math/w_exp2l.c (__exp2l): Likewise.
26240 * math/w_fmodl.c (__fmodl): Likewise.
26241 * math/w_hypotl.c (__hypotl): Likewise.
26242 * math/w_j0l.c (__j0l, __y0l): Likewise.
26243 * math/w_j1l.c (__j1l, __y1l): Likewise.
26244 * math/w_jnl.c (__jnl, __ynl): Likewise.
26245 * math/w_lgammal.c (__lgammal): Likewise.
26246 * math/w_log10l.c (__log10l): Likewise.
26247 * math/w_log2l.c (__log2l): Likewise.
26248 * math/w_logl.c (__logl): Likewise.
26249 * math/w_powl.c (__powl): Likewise.
26250 * math/w_remainderl.c (__remainderl): Likewise.
26251 * math/w_scalbl.c (sysv_scalbl): Likewise.
26252 * math/w_sinhl.c (__sinhl): Likewise.
26253 * math/w_sqrtl.c (__sqrtl): Likewise.
26254 * math/w_tgammal.c (__tgammal): Likewise.
26255 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26256 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26257 * math/libm-test.inc (acos_test): Add more tests.
26258 (acosh_test): Likewise.
26259 (asin_test): Likewise.
26260 (atanh_test): Likewise.
26261 (exp_test): Likewise.
26262 (exp10_test): Likewise.
26263 (exp2_test): Likewise.
26264 (expm1_test): Likewise.
26265 (lgamma_test): Likewise.
26266 (log_test): Likewise.
26267 (log10_test): Likewise.
26268 (log1p_test): Likewise.
26269 (log2_test): Likewise.
26270 (pow_test): Do not allow some spurious overflow exceptions.
26271 (sqrt_test): Add more tests.
26272 (tgamma_test): Likewise.
26273 (y0_test): Likewise.
26274 (y1_test): Likewise.
26275 (yn_test): Likewise.
26276
dd62fda6
AB
262772012-03-27 Anton Blanchard <anton@samba.org>
26278
26279 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26280 MAP_HUGETLB.
26281 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26282 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26283 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26284
1e3cdfda
AJ
262852012-03-27 David S. Miller <davem@davemloft.net>
26286
b855ab85
DM
26287 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26288
1e3cdfda
AJ
26289 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26290 have-as-vis3 check.
26291
262922012-03-27 Andreas Jaeger <aj@suse.de>
26293
26294 * sysdeps/x86_64/elf/configure.in: Moved to ...
26295 * sysdeps/x86_64/configure.in: ... here.
26296 * sysdeps/x86_64/elf/start.S: Moved to ...
26297 * sysdeps/x86_64/start.S: ... here.
26298 * sysdeps/x86_64/elf/configure: Delete.
26299
26300 * sysdeps/x86_64/configure.in: Merge contents from
26301 sysdeps/i386/configure.in (without i686 check).
26302
26303 * sysdeps/i386/elf/Versions: Merge into ...
26304 * sysdeps/i386/Versions: ... this.
26305 * sysdeps/i386/elf/Versions: Delete file.
26306 * sysdeps/i386/elf/start.S: Moved to ...
26307 * sysdeps/i386/start.S: ...here.
26308 * sysdeps/i386/elf/configure.in: Merge into...
26309 * sysdeps/i386/configure.in: ...here.
26310 * sysdeps/i386/elf/configure.in: Delete file.
26311 * sysdeps/i386/elf/configure: Delete file.
26312
26313 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26314 * debug/backtracesyms.c: ... here.
26315 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26316 * debug/backtracesymsfd.c: ... here.
26317 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26318 * sysdeps/generic/ifunc-sel.h: ... here.
26319
26320 * sysdeps/unix/i386/start.c: Delete file.
26321 * sysdeps/unix/sparc/start.c: Delete file.
26322 * sysdeps/unix/start.c: Delete file.
26323
26324 * sysdeps/sh/elf/configure.in: Moved to ...
26325 * sysdeps/sh/configure.in: ... here.
26326 * sysdeps/sh/elf/start.S: Moved to ...
26327 * sysdeps/sh/start.S: ... here.
26328 * sysdeps/sh/elf/configure: Delete file.
26329
26330 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26331 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26332 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26333 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26334 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26335 * sysdeps/powerpc/powerpc64/start.S: here.
26336 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26337 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26338 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26339 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26340 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26341
26342 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26343 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26344 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26345 * sysdeps/powerpc/powerpc32/start.S: ... here.
26346 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26347 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26348 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26349
26350 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26351 * sysdeps/powerpc/ifunc-sel.h: ... here.
26352 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26353 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26354
26355 * sysdeps/sparc/elf/configure.in: Moved to ...
26356 * sysdeps/sparc/configure.in: ... here.
26357 * sysdeps/sparc/elf/configure: Delete file.
26358 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26359 * sysdeps/sparc/sparc32/start.S: ... here.
26360 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26361 * sysdeps/sparc/sparc64/start.S: ... here.
26362 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26363 * sysdeps/sparc/sparc32/Makefile: ... this.
26364 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26365 * sysdeps/sparc/sparc64/Makefile: ... this.
26366
26367 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26368 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26369 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26370 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26371 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26372 * sysdeps/s390/s390-32/setjmp.S: ... here.
26373 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26374 * sysdeps/s390/s390-32/configure.in: ... here.
26375 * sysdeps/s390/s390-32/elf/configure: Delete file.
26376 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26377 * sysdeps/s390/s390-32/start.S: ... here.
26378
26379 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26380 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26381 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26382 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26383 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26384 * sysdeps/s390/s390-64/setjmp.S: ... here.
26385 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26386 * sysdeps/s390/s390-64/configure.in: ... here
26387 * sysdeps/s390/s390-64/elf/configure: Delete file.
26388 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26389 * sysdeps/s390/s390-64/start.S: ... here.
26390 * sysdeps/s390/s390-64/elf/configure: Delete.
26391
26392 * configure.in: Remove support for elf directories in sysdeps.
26393
26394 * configure: Regenerated.
26395 * sysdeps/i386/configure: Regenerated.
26396 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26397 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26398 * sysdeps/s390/s390-32/configure: Regenerated.
26399 * sysdeps/s390/s390-64/configure: Regenerated.
26400 * sysdeps/sh/configure: Regenerated.
26401 * sysdeps/sparc/configure: Regenerated.
26402 * sysdeps/x86_64/configure: Regenerated.
26403
a3f61311
AS
264042012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26405
c876e002
AS
26406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26407
a3f61311
AS
26408 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26409 denormal result into account.
26410
ac4c54f0
RM
264112012-03-25 Roland McGrath <roland@hack.frob.com>
26412
26413 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26414 Reported by Allan McRae <allan@archlinux.org>.
26415
6a9b9c02
JL
264162012-03-23 Jeff Law <law@redhat.com>
26417
26418 * nss/getnssent.c (__nss_getent): Fix typo.
26419
4c42a0c1
DM
264202012-03-23 David S. Miller <davem@davemloft.net>
26421
26422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26423
1532c7ac
L
264242012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26425
26426 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26427 to pad to uint64_t for each field.
26428 (dl_tls_index): Replace unsigned long with uint64_t.
26429
3ff42526
PP
264302012-03-23 Daniel Jacobowitz <dmj@google.com>
26431 Paul Pluzhnikov <ppluzhnikov@google.com>
26432
26433 [BZ #6528]
26434 * grp/Makefile (otherlibs): Don't set it.
26435 * inet/Makefile (otherlibs): Likewise.
26436 * login/Makefile (otherlibs): Likewise.
26437 * nscd/Makefile (otherlibs): Likewise.
26438 * posix/Makefile (otherlibs): Likewise.
26439 * pwd/Makefile (otherlibs): Likewise.
26440 * rt/Makefile (otherlibs): Likewise.
26441 * sunrpc/Makefile (otherlibs): Likewise.
26442 * nss/Makefile (otherlibs): Likewise.
26443 Add libnss_files to routines and static-only-routines.
26444 ($(objpfx)getent): Remove rule.
26445 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26446 static-only-routines.
26447
7c69cd14
JM
264482012-03-22 Joseph Myers <joseph@codesourcery.com>
26449
26450 [BZ #13892]
26451 * math/s_cexp.c: Include <float.h>.
26452 (__cexp): Handle exp result overflowing not necessarily
26453 overflowing both real and imaginary parts of result.
26454 * math/s_cexpf.c: Likewise.
26455 * math/s_cexpl.c: Likewise.
26456 * math/libm-test.inc (cexp_test): Add more tests.
26457 * sysdeps/i386/fpu/libm-test-ulps: Update.
26458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26459
81b035fe
L
264602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26461
26462 * include/link.h (ELFW): New macro.
26463 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26464 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26465
1da7940c
L
264662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26467
26468 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26469 with uint64_t.
26470
b749dbb9
L
264712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26472
26473 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26474 declaration.
26475 (struct La_x32_retval): Likewise.
26476
2ff87f3f
L
264772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26478
26479 * sysdeps/x86_64/preconfigure.in: New file.
26480 * sysdeps/x86_64/preconfigure: New generated file.
26481
c0df8e69
JM
264822012-03-22 Joseph Myers <joseph@codesourcery.com>
26483
48e44791
JM
26484 [BZ #13824]
26485 * math/e_exp2l.c: Include <float.h>.
26486 (__ieee754_exp2l): Handle overflow and underflow cases
26487 separately. Only pass fractional part of argument to
26488 __ieee754_expl.
26489 * math/libm-test.inc (exp2_test): Add more tests.
26490
c0df8e69
JM
26491 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26492 negating x to take absolute value.
26493 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26494 Likewise.
26495 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26496 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26497 Likewise.
26498 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26499 computing low part if x was negated.
26500 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26501
c8e43ba7
L
265022012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26503
26504 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26505 la_x32_gnu_pltexit.
26506 (pltexit): Cast int_retval to ptrdiff_t.
26507 * elf/tst-auditmod3b.c: Likewise.
26508 * elf/tst-auditmod4b.c: Likewise.
26509 * elf/tst-auditmod5b.c: Likewise.
26510 * elf/tst-auditmod6b.c: Likewise.
26511 * elf/tst-auditmod6c.c: Likewise.
26512 * elf/tst-auditmod7b.c: Likewise.
26513
26514 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26515 and x32_gnu_pltexit.
26516
26517 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26518 __ELF_NATIVE_CLASS.
26519 (La_x32_regs): New macro.
26520 (La_x32_retval): Likewise.
26521 (la_x32_gnu_pltenter): New function prototype.
26522 (la_x32_gnu_pltexit): Likewise.
26523
7998fa78
AS
265242012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26525
dcb33988
AS
26526 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26527 exponent.
26528
233fc563
AS
26529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26530
7998fa78
AS
26531 * configure.in (libc_cv_cc_nofma): Check for option to disable
26532 generation of FMA instructions.
26533 * configure: Regenerate.
26534 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26535 * sysdeps/ieee754/dbl-64/Makefile: New file.
26536 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26537 Remove brandred-fma4.
26538 (CFLAGS-brandred-fma4.c): Remove.
26539 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26540 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26541 define.
26542 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26543 define.
26544
8e95c99a
L
265452012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26546
26547 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26548 LLONG_MAX != LONG_MAX.
26549 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26550 (_fitoa_word): Likewise.
26551 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26552 LLONG_MAX != LONG_MAX.
26553 * stdio-common/_itowa.h: Include <_itoa.h>.
26554 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26555 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26556 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26557 only if not defined.
26558 (_ITOA_WORD_TYPE): Likewise.
26559 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26560 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26561
6f4db457
DM
265622012-03-21 David S. Miller <davem@davemloft.net>
26563
26564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26565
7785fe5a
L
265662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26567
26568 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26569 of x86_64 when setting libc_cv_slibdir, libdir and
26570 libc_cv_localedir.
26571 * sysdeps/unix/sysv/linux/configure: Regenerated.
26572
4535cd55
JM
265732012-03-21 Joseph Myers <joseph@codesourcery.com>
26574
26575 * manual/lang.texi (Old Varargs): Remove section.
26576 (How Variadic): Update menu.
26577 (va_start): Do not mention varargs.h.
26578
17228132
TS
265792012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26580 Joseph Myers <joseph@codesourcery.com>
26581
26582 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26583 link test.
26584 * configure: Regenerated.
26585
8149f976
TS
265862012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26587
05f3d1f6
UD
26588 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26589 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26590 conformtest.pl
8149f976 26591
1a4ac776
JM
265922012-03-21 Joseph Myers <joseph@codesourcery.com>
26593
be22ce65
JM
26594 * NOTES: Remove.
26595 * Makefile (files-for-dist): Remove NOTES.
26596 (NOTES): Remove rule.
26597 * README: Don't refer to NOTES.
26598 * manual/creature.texi: Don't include macros.texi.
26599 * manual/intro.texi (creature.texi): Remove comment referring to
26600 NOTES.
26601
40b601fb
JM
26602 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26603 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26604 * configure: Regenerated.
26605 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26606 LIBC_TRY_CC_OPTION.
26607 (libc_cv_as_i686): Likewise.
26608 (libc_cv_cc_avx): Likewise.
26609 (libc_cv_cc_sse2avx): Likewise.
26610 (libc_cv_cc_fma4): Likewise.
26611 (libc_cv_cc_novzeroupper): Likewise.
26612 * sysdeps/i386/configure: Regenerated.
26613
1a4ac776
JM
26614 [BZ #13883]
26615 * sysdeps/i386/fpu/s_cexp.S: Remove.
26616 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26617 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26618 * math/libm-test.inc (cexp_test): Add more tests.
26619 * sysdeps/i386/fpu/libm-test-ulps: Update.
26620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26621
a458e7fe
AM
266222012-03-21 Allan McRae <allan@archlinux.org>
26623
26624 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26625
0cb7efc5
JM
266262012-03-21 Joseph Myers <joseph@codesourcery.com>
26627
26628 [BZ #13871]
26629 * math/w_exp2.c: Do not include <float.h>.
26630 (o_threshold, u_threshold): Remove.
26631 (__exp2): Calculate result before checking finiteness and calling
26632 __kernel_standard.
26633 * math/w_exp2f.c: Likewise.
26634 * math/w_exp2l.c: Likewise.
26635 * math/libm-test.inc (exp2_test): Require overflow exception for
26636 1e6 input.
2460d3aa
JM
26637
26638 [BZ #3866]
26639 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26640 range of signed 64-bit integers before using fistpll. Remove
26641 checks for whether integers fit in mantissa bits.
26642 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26643 the range of signed 32-bit integers before using fistpl. Remove
26644 checks for whether integers fit in mantissa bits.
26645 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26646 (__ieee754_powl): Test for y outside the range of signed 64-bit
26647 integers before using fistpll. Reduce 64-bit values to 63-bit
26648 ones as needed.
26649 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26650 divide-by-zero is raised for zero to large negative powers.
26651 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26652 (__ieee754_powl): Test for y outside the range of signed 64-bit
26653 integers before using fistpll. Reduce 64-bit values to 63-bit
26654 ones as needed.
26655 * math/libm-test.inc (pow_test): Add more tests.
26656
eb96ffb0
L
266572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26658
26659 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26660 <stdio-common/_itoa.h>.
26661 * debug/segfault.c: Likewise.
26662 * elf/dl-cache.c: Likewise.
26663 * elf/dl-minimal.c: Likewise.
26664 * elf/dl-misc.c: Likewise.
26665 * elf/dl-sysdep.c: Likewise.
26666 * elf/dl-version.c: Likewise.
26667 * elf/rtld.c: Likewise.
26668 * hurd/hurdsock.c: Likewise.
26669 * hurd/lookup-retry.c: Likewise.
26670 * malloc/malloc.c: Likewise.
26671 * malloc/mtrace.c: Likewise.
26672 * nscd/nscd_getgr_r.c: Likewise.
26673 * nscd/nscd_getpw_r.c: Likewise.
26674 * nscd/nscd_getserv_r.c: Likewise.
26675 * posix/getopt_init.c: Likewise.
26676 * posix/wordexp.c: Likewise.
26677 * stdio-common/_itoa.c: Likewise.
26678 * stdio-common/printf_fphex.c: Likewise.
26679 * stdio-common/vfprintf.c: Likewise.
26680 * string/_strerror.c: Likewise.
26681 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26682 * sysdeps/i386/i686/hp-timing.h: Likewise.
26683 * sysdeps/mach/_strerror.c: Likewise.
26684 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26685 * sysdeps/mach/hurd/sethostid.c: Likewise.
26686 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26687 * sysdeps/mach/xpg-strerror.c: Likewise.
26688 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26689 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26690 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26691 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26692 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26693 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26694 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26695 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26696 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26697 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26698 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26699 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26700 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26701 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26702 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26703 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26704 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26705 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26706 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26707 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26708 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26709
26710 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26711
26712 * stdio-common/_itoa.h: Moved to ...
26713 * sysdeps/generic/_itoa.h: Here.
26714
26715 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26716
26717 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26718 instead of "_itoa.h" and "_itowa.h".
26719 * stdio-common/vfprintf.: Likewise.
26720
d1af992d
L
267212012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26722
26723 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26724 <bits/wordsize.h>.
26725 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26726 (__signbit): Likwise.
26727 (llrintf): Likwise.
26728 (llrint): Likwise.
26729
114883e0
L
267302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26731
26732 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26733 __WORDSIZE != 64.
26734
c135cc1b
JM
267352012-03-20 Joseph Myers <joseph@codesourcery.com>
26736
26737 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26738 OVERFLOW_EXCEPTION_OK.
26739 * math/libm-test.inc ("Philosophy"): Update comment about
26740 exception testing.
26741 (OVERFLOW_EXCEPTION): Define.
26742 (OVERFLOW_EXCEPTION_OK): Likewise.
26743 (INVALID_EXCEPTION_OK): Renumber.
26744 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26745 (IGNORE_ZERO_INF_SIGN): Likewise.
26746 (test_exceptions): Handle FE_OVERFLOW.
26747 (exp10_test): Expect overflow exceptions.
26748 (exp2_test): Likewise.
26749 (expm1_test): Likewise.
26750 (nextafter_test): Likewise.
26751 (pow_test): Likewise.
26752 (scalbn_test): Likewise.
26753 (scalbln_test): Likewise.
26754
95443d88
L
267552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26756
26757 * sysdeps/x86_64/bits/atomic.h
26758 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26759 64bit integer.
26760 (atomic_exchange_acq): Likewise.
26761 (__arch_exchange_and_add_body): Likewise.
26762 (__arch_add_body): Likewise.
26763 (atomic_add_negative): Likewise.
26764 (atomic_add_zero): Likewise.
26765
490df6c4
L
267662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26767
c2722551 26768 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
26769 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26770
5e52b189
L
267712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26772
26773 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26774 Check __x86_64__ instead of __WORDSIZE.
26775
a9879d4c
L
267762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26777
26778 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26779
5df98260
DM
267802012-03-19 David S. Miller <davem@davemloft.net>
26781
e1497744
DM
26782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26783
5df98260
DM
26784 * sysdeps/sparc/fpu/fenv_private.h: New file.
26785 * sysdeps/sparc/fpu/math_private.h: Use it.
26786 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26787 Remove.
26788 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26789 (libc_feholdexcept_setroundl): Remove.
26790 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26791 Remove.
26792 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26793 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26794
b4c35121
L
267952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26796
26797 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26798 int64_t instead of long int.
26799 (INSERT_WORDS64): Likwise.
26800
56965fd7
L
268012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26802
26803 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26804 _Unwind_GetCFA return to _Unwind_Ptr first.
26805
83d1aec8
JM
268062012-03-19 Joseph Myers <joseph@codesourcery.com>
26807
1897ad44
JM
26808 [BZ #13629]
26809 * math/s_clog.c: Include <float.h>.
26810 (__clog): Scale large or subnormal inputs.
26811 * math/s_clogf.c: Likewise.
26812 * math/s_clogl.c: Likewise.
26813 * math/s_clog10.c: Include <float.h>.
26814 (M_LOG10_2): Define.
26815 (__clog10): Scale large or subnormal inputs.
26816 * math/s_clog10f.c: Likewise.
26817 * math/s_clog10l.c: Likewise.
26818 * math/libm-test.inc (clog_test): Add more tests.
26819 (clog10_test): Likewise.
26820 * sysdeps/i386/fpu/libm-test-ulps: Update.
26821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26822
7726d6a9
JM
26823 [BZ #11451]
26824 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26825 x and y.
26826 * math/libm-test.inc (atan2_test): Add another test.
26827
83d1aec8
JM
26828 * Makerules (common-objdir-compile): Remove.
26829 * sysdeps/unix/Makefile (config-generated): Do not add
26830 $(unix-generated) to variable.
26831 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26832 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26833 Remove rule.
26834 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26835 Likewise.
26836 [generic bits/local_lim.h] (before-compile): Do not append to
26837 variable.
26838 [generic bits/local_lim.h] (common-generated): Likewise.
26839 [generic sys/param.h] (before-compile): Do not append to variable.
26840 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26841 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26842 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26843 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26844 include.
26845 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26846 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26847 [generic sys/param.h] ($(addprefix
26848 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26849 [generic sys/param.h] (common-generated): Do not append to
26850 variable.
26851 [generic sys/param.h] (sysdep_headers): Likewise.
26852 [generic bits/errno.h] (before-compile): Do not append to
26853 variable.
26854 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26855 rule.
26856 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26857 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26858 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26859 [generic bits/errno.h] (common-generated): Do not append to
26860 variable.
26861 [generic bits/ioctls.h] (before-compile): Do not append to
26862 variable.
26863 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26864 rule.
26865 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26866 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26867 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26868 rule.
26869 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26870 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26871 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26872 [generic bits/ioctls.h] (common-generated): Do not append to
26873 variable.
26874 [generic sys/syscall.h] (syscall.h): Remove variable.
26875 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26876 rule.
26877 [generic sys/syscall.h] (before-compile): Do not append to
26878 variable.
26879 [generic sys/syscall.h] (common-generated): Likewise.
26880 * sysdeps/unix/errnos-tmpl.c: Remove file.
26881 * sysdeps/unix/errnos.awk: Likewise.
26882 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26883 * sysdeps/unix/ioctls.awk: Likewise.
26884 * sysdeps/unix/mk-local_lim.c: Likewise.
26885 * sysdeps/unix/snarf-ioctls: Likewise.
26886
4851a949
RH
268872012-03-19 Richard Henderson <rth@twiddle.net>
26888
bd37f2ee
RH
26889 * sysdeps/i386/fpu/fenv_private.h: New file.
26890 * sysdeps/i386/fpu/math_private.h: Use it.
26891 (math_opt_barrier, math_force_eval): Remove.
26892 (libc_feholdexcept_setround_53bit): Remove.
26893 (libc_feupdateenv_53bit): Remove.
26894 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26895 (math_opt_barrier, math_force_eval): Remove.
26896 (libc_feholdexcept): Remove.
26897 (libc_feholdexcept_setround): Remove.
26898 (libc_fetestexcept, libc_fesetenv): Remove.
26899 (libc_feupdateenv_test): Remove.
26900 (libc_feupdateenv, libc_feholdsetround): Remove.
26901 (libc_feresetround): Remove.
26902
d0adc922
RH
26903 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26904 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26905
0fe0f1f8
RH
26906 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26907 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26908 (libc_feupdateenv_testl): New.
26909 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26910 (libc_feupdateenv_testf): New.
26911 (libc_feupdateenv): Use libc_feupdateenv_test.
26912 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26913 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26914
eb92c487
RH
26915 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26916 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26917 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26918 (libc_feresetround_noex): New.
26919 (libc_feresetround_noexf): New.
26920 (libc_feresetround_noexl): New.
26921 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26922 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26923 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26924 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26925 SET_RESTORE_ROUND.
26926 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26927 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26928 (__cos): Likewise.
26929 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26930 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26931 SET_RESTORE_ROUND_NOEX.
26932 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26933 SET_RESTORE_ROUND_NOEXF.
26934 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26935 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26936 (libc_feholdsetroundf): New.
26937 (libc_feresetround, libc_feresetroundf): New.
26938
7d2e8012
RH
26939 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26940 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26941 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26942
b4dabbb4
RH
26943 * sysdeps/generic/math_private.h: Include <fenv.h>.
26944 (default_libc_feholdexcept): New.
26945 (default_libc_feholdexcept_setround): New.
26946 (default_libc_fesetenv, default_libc_feupdateenv): New.
26947 (libc_feholdexcept): Only define if undefined.
26948 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26949 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26950 (libc_feholdexcept_setroundl): Likewise.
26951 (libc_feholdexcept_setround_53bit): Likewise.
26952 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26953 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26954 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26955 (libc_feupdateenv_53bit): Likewise.
26956 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26957 (libc_feholdexcept): Convert from macro to inline function.
26958 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26959 (libc_fesetenv, libc_feupdateenv): Likewise.
26960
4851a949
RH
26961 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26962 not previously defined.
26963 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26964 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26965 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26966 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26967 * sysdeps/ieee754/flt-32/math_private.h: New file.
26968 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26969 math_private.h below SET_FLOAT_WORD.
26970 (__isnan, __isinf_ns, __finite): Remove.
26971 (__isnanf, __isinf_nsf, __finitef): Remove.
26972
e79d442e
AS
269732012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26974
26975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26976
90b80344
DM
269772012-03-17 David S. Miller <davem@davemloft.net>
26978
26979 [BZ #6471]
26980 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26981 for 2.16.
26982
edc21804
DM
269832012-03-16 David S. Miller <davem@davemloft.net>
26984
77e927af
DM
26985 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26986 warnings.
26987
374976dd
DM
26988 [BZ #6471]
26989 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26990 properly.
26991 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26992 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26993 sysdep_routines when subdir is sysvipc.
26994 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26995 __getshmlba helper.
26996
edc21804
DM
26997 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26998
473c3ef3
L
269992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27000
27001 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27002 [__LP64__].
27003
eb0f39b6
L
270042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27005
27006 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27007 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27008 (__lround): Renamed to ...
27009 (__llround): This. Replace long int with long long int.
27010 Define lround functions as aliases of llround functions.
27011 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27012
6b6cd74b
L
270132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27014
27015 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27016 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27017 adresses to uintptr_t. Replace "long int" and "unsigned long
27018 int" with "greg_t" on va_arg.
27019
f1a77b01
L
270202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27021
27022 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27023 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27024
27025 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27026 Move e_machine check before EI_CLASS check. Handle x32
27027 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27028 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27029 SKIP_EM_IA_64 and include
27030 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27031
27032 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27033 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27034 (add_system_dir): New macro.
27035
27036 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27037 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27038
11b90b9f
JM
270392012-03-16 Joseph Myers <joseph@codesourcery.com>
27040
c36e1d23
JM
27041 [BZ #2551]
27042 [BZ #2552]
27043 [BZ #2553]
27044 [BZ #2554]
27045 [BZ #2562]
27046 [BZ #2563]
27047 [BZ #2565]
27048 [BZ #2566]
27049 [BZ #2576]
27050 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27051 (y0): Likewise.
27052 * math/w_j0f.c (j0f): Likewise.
27053 (y0f): Likewise.
27054 * math/w_j0l.c (__j0l): Likewise.
27055 (__y0l): Likewise.
27056 * math/w_j1.c (j1): Likewise.
27057 (y1): Likewise.
27058 * math/w_j1f.c (j1f): Likewise.
27059 (y1f): Likewise.
27060 * math/w_j1l.c (__j1l): Likewise.
27061 (__y1l): Likewise.
27062 * math/w_jn.c (jn): Likewise.
27063 (yn): Likewise.
27064 * math/w_jnf.c (jnf): Likewise.
27065 (ynf): Likewise.
27066 * math/w_jnl.c (__jnl): Likewise.
27067 (__ynl): Likewise.
27068 * math/libm-test.inc (j0_test): Add more tests.
27069 (j1_test): Likewise.
27070 (jn_test): Likewise. Add trailing semicolon to existing test.
27071 (y0_test): Likewise.
27072 (y1_test): Likewise.
27073 * sysdeps/i386/fpu/libm-test-ulps: Update.
27074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27075
11b90b9f
JM
27076 [BZ #13851]
27077 [BZ #13854]
27078 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27079 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27080 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27081 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27082 (__tanl): Set errno for infinite argument.
27083 * sysdeps/i386/fpu/mptan.c: Remove.
27084 * sysdeps/i386/fpu/s_tan.S: Likewise.
27085 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27086 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27087 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27088 * math/libm-test.inc (tan_test): Add more tests and enable more
27089 tests for double and long double.
27090 * sysdeps/i386/fpu/libm-test-ulps: Update.
27091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27092
6a1bd2a1
JK
270932012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27094
27095 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27096 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27097
10a803e0
RM
270982012-03-16 Roland McGrath <roland@hack.frob.com>
27099
27100 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27101 * configure.in: Use it for both main tree and add-ons.
27102 * configure: Regenerated.
27103
f196c7f7
L
271042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27105
27106 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27107
8848d99d
JM
271082012-03-16 Joseph Myers <joseph@codesourcery.com>
27109
96cbe7f4
JM
27110 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27111 in comment.
27112
8848d99d
JM
27113 [BZ #13851]
27114 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27115 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27116 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27117 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27118 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27119 infinite argument.
27120 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27121 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27122 != 0 for prec == 2.
27123 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27124 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27125 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27126 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27127 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27128 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27129 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27130 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27131 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27132 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27133 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27134 * math/libm-test.inc (cos_test): Add more tests and enable more
27135 tests for long double.
27136 (sin_test): Likewise.
27137 (sincos_test): Likewise.
27138 * sysdeps/i386/fpu/libm-test-ulps: Update.
27139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27140
dd7f4703
DM
271412012-03-16 David S. Miller <davem@davemloft.net>
27142
27143 * sysdeps/sparc/fpu/math_private.h: New file.
27144
006f1daa
DM
271452012-03-15 David S. Miller <davem@davemloft.net>
27146
c0c83bc8
DM
27147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27148 file.
e6a62e18 27149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
27150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27151 file.
e6a62e18
DM
27152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27157 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27158 sysdep routines.
27159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27160
88cb87d9
DM
27161 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27162 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27163
006f1daa 27164 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
27165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27166 sparc-ifunc.h
006f1daa 27167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
27168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27169 Likewise.
27170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27171 Likewise.
006f1daa
DM
27172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
27175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27176 Likewise.
006f1daa
DM
27177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
27181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27182 Likewise.
27183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27184 Likewise.
006f1daa
DM
27185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27189 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27190 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27191 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27192 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27193 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27194 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27198 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27199 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27200 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27201 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27202 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27203 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27204 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27205 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27206 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27207 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27208 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27209
11e0098e
AS
272102012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27211
27212 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27213 scaling.
27214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27215
e85b09d0
AJ
272162012-03-15 Andreas Jaeger <aj@suse.de>
27217
27218 [BZ #13852]
27219 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27220 ieee754/flt-32 implementation for sin, cos and sincos.
27221 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27222 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27223 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27224 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27225 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27226 ieee754/flt-32 implementation for tan.
27227
27228 * math/libm-test.inc (cos_test): Enable some large input tests for
27229 float as well
27230 (sin_test): Likewise.
27231 (sincos_test): Likewise.
27232 (tan_test): Add tests for large input.
27233
27234 * sysdeps/i386/fpu/libm-test-ulps: Update.
27235
81c64153
AJ
272362012-03-15 Andreas Jaeger <aj@suse.de>
27237
27238 [BZ #13658]
27239 * math/libm-test.inc (cos_test): Add more test cases.
27240 (sin_test): Likewise.
27241 (sincos_test): Likewise.
27242
7bbfa5c6
AJ
272432012-03-15 Andreas Jaeger <aj@suse.de>
27244
27245 [BZ #13837]
27246 * math/libm-test.inc (cos_test): Add a test case for large input
27247 value.
27248 (sin_test): Likewise.
27249 (sincos_test): Likewise.
27250
272512012-03-15 Andreas Jaeger <aj@suse.de>,
27252 Joseph Myers <joseph@codesourcery.com>
27253
27254 [BZ #13658]
0671f479 27255 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
27256 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27257 * sysdeps/i386/fpu/branred.c: Likewise.
27258 * sysdeps/i386/fpu/dosincos.c: Likewise.
27259 * sysdeps/i386/fpu/mpa.c: Likewise.
27260 * sysdeps/i386/fpu/s_cos.S: Likewise.
27261 * sysdeps/i386/fpu/s_sin.S: Likewise.
27262 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27263 * sysdeps/i386/fpu/sincos32.c: Likewise.
27264
27265 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27266 Define.
27267 (libc_feupdateenv_53bit): Define.
27268 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27269 Define.
27270 (libc_feupdateenv_53bit): Define.
27271
27272 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27273 53 bit (without extend i386 double precision).
27274
27275 * math/libm-test.inc (sincos_test): Add tests for large input.
27276 (sin): Likewise.
27277 (cos): Likewise.
27278
27279 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27280
9cad04ea
AS
272812012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27282
27283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27284
f7062b9a
DM
272852012-03-15 David S. Miller <davem@davemloft.net>
27286
27287 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27288 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27289 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27290 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
27302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27303 file.
f7062b9a 27304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
27305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27306 file.
f7062b9a 27307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
27308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27309 file.
f7062b9a 27310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
27311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27312 file.
f7062b9a
DM
27313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27314 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27315 fmin/fmax sysdep routines.
27316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27317
7bd951ff
DM
273182012-03-14 David S. Miller <davem@davemloft.net>
27319
559398ab
DM
27320 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27321 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27322 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27323 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27324 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27325 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27326 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27327 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27328 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27329 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27330 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27331 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27335 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27337 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27338 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27339 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27340 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27341 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27342 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27343 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27344 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27345 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27346 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27347 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27348 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27349 routines.
27350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27351 file.
559398ab 27352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
27353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27354 file.
559398ab 27355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
27356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27357 file.
559398ab 27358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
27359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27360 file.
559398ab 27361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
27362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27363 file.
559398ab 27364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
27365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27366 file.
27367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27368 file.
27369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27370 file.
27371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27372 file.
27373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27374 New file.
27375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27376 file.
27377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27378 file.
559398ab 27379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
27380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27381 file.
559398ab 27382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27384 file.
559398ab 27385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
27386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27387 file.
559398ab 27388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
27389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27390 VIS3 routines.
559398ab
DM
27391
27392 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27393 New file.
27394
5a1c1e32
DM
27395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27396
eae47a36
DM
27397 * sysdeps/sparc/configure.in: New file.
27398 * sysdeps/sparc/configure: Generate.
27399 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27400 * configure: Regenerate.
27401 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27402 * config.make.in (have-as-vis3): New.
27403 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27404 available use -Av9d instead of -Av9a.
27405 * sysdeps/sparc/sparc64/Makefile: Likewise.
27406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
27407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27408 New file.
27409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27410 file.
27411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27412 New file.
27413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27414 file.
eae47a36
DM
27415 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27416 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27417 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27418 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27419 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27420
c0c83bc8
DM
27421 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27422 fzeros/fnegs to load 0x80000000 into a float register instead of
27423 using the stack.
7bd951ff
DM
27424 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27425
bd951ccb
JM
274262012-03-14 Joseph Myers <joseph@codesourcery.com>
27427
27428 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27429 bits/syscall.h.
27430 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27431 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27432 ($(inst_includedir)/bits/syscall.h): Remove rule.
27433 ($(objpfx)bits/syscall.d): Include instead of
27434 $(objpfx)syscall-list.d.
27435 (generated): Change syscall-list.h and syscall-list.d to
27436 bits/syscall.h and bits/syscall.d.
27437
bb4e6db2
RM
274382012-03-14 Roland McGrath <roland@hack.frob.com>
27439
27440 [BZ #13846]
27441 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27442
aa4a2ae1
JM
274432012-03-14 Joseph Myers <joseph@codesourcery.com>
27444
e456826d
JM
27445 [BZ #13841]
27446 * math/s_csqrt.c: Include <float.h>.
27447 (__csqrt): Scale large or subnormal inputs.
27448 * math/s_csqrtf.c: Likewise.
27449 * math/s_csqrtl.c: Likewise.
27450 * math/libm-test.inc (csqrt_test): Add more tests.
27451 * sysdeps/i386/fpu/libm-test-ulps: Update.
27452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27453
aa4a2ae1
JM
27454 [BZ #13840]
27455 * math/libm-test.inc (hypot_test): Add more tests.
27456
7c10fd35
DM
274572012-03-13 David S. Miller <davem@davemloft.net>
27458
27459 [BZ #13840]
27460 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27461 double-precision for the calculation instead of scaling.
27462
f453b98b
JM
274632012-03-13 Joseph Myers <joseph@codesourcery.com>
27464
27465 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27466 manipulate bits before adding and subtracting TWO52[sx].
27467 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27468 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27469 Likewise.
27470 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27471
09a3453f
DM
274722012-03-13 David S. Miller <davem@davemloft.net>
27473
8e59da90
DM
27474 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27475 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27476 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27477 rtld-global-offsets.h
27478 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27479
2a8ab7f2
DM
27480 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27481 large parameters.
27482
10f62770
DM
27483 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27484
5f0bdb18
DM
27485 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27486 'err' in the ifdef scope in which it is actually used.
27487
09a3453f
DM
27488 * nss/nss_db/db-init.c: Include string.h
27489
b4b2eb5e
DM
274902012-03-12 David S. Miller <davem@davemloft.net>
27491
98bb2f1c
DM
27492 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27493 masking out of the most significant byte of random value used.
27494 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27495 Fix coding style in previous change.
27496
b4b2eb5e
DM
27497 * sysdeps/unix/sysv/linux/kernel-features.h
27498 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27499 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27500 expression.
27501 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27502 later.
27503
6e226b09
DM
275042012-03-11 David S. Miller <davem@davemloft.net>
27505
a1bcbd40
DM
27506 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27507 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27508 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27509 for 'resultvar' otherwise things get truncated on 64-bit.
27510
cb9d6174
DM
27511 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27512 Fix masking out of the most significant byte of random value used.
27513
6e226b09
DM
27514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27515
058c132d
AS
275162012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27517
27518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27519
2d2cd515
DM
275202012-03-09 David S. Miller <davem@davemloft.net>
27521
27522 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27523 variables with appropriate CPP guards.
27524 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27525 frame pointer, not the stack pointer. Correct layout comments. Fix test
27526 on resulting framesize and the management of the outregs buffer for pltexit.
27527 Preserve floating point return values across _dl_call_pltexit call.
27528 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27529 framesize and the management of the outregs buffer for pltexit.
27530 Preserve floating point return values across _dl_call_pltexit
27531 call.
27532 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27533 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27534 (print_exit): Fix format string for return register value.
27535
9a07f9d0
JM
275362012-03-10 Joseph Myers <joseph@codesourcery.com>
27537
27538 * sunrpc/Makefile (others): Add rpcgen.
27539 ($(objpfx)rpcgen): Remove special build rule and dependency on
27540 libc.
27541 * sunrpc/rpcgen.c: New file.
27542
547b5e30
PE
275432012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27544
c524201a
PE
27545 [BZ #13673]
27546 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27547 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27548 * sysdeps/i386/crti.S: Likewise.
27549 * sysdeps/i386/crtn.S: Likewise.
27550 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27551 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27552 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27553 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27554 * sysdeps/sh/crti.S: Likewise.
27555 * sysdeps/sh/crtn.S: Likewise.
27556 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27557
7b6235f2
PE
27558 [BZ #13673]
27559 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27560 with URL.
27561 * locale/programs/locfile-kw.gperf: Likewise.
27562 * locale/programs/charmap-kw.h: Regenerated.
27563 * locale/programs/locfile-kw.h: Likewise.
27564
547b5e30
PE
27565 [BZ #13673]
27566 * intl/plural.y: Replace FSF snail mail address with URL.
27567 * intl/plural.c: Regenerated.
27568
5f0a5dae
RH
275692012-03-09 Richard Henderson <rth@twiddle.net>
27570
27571 * include/math_private.h: Remove file.
27572 * math/math_private.h: Move file ...
27573 * sysdeps/generic/math_private.h: ... here.
27574
b8c03620
RH
27575 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27576 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27577 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27578
4e234f5d 27579 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
27580 and <math_private.h>.
27581 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27582 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27583 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27584 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27585 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27586 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27587 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27588 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27589 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27590 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27591 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27592 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27593 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27594 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27595 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27596 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27597 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27598 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27599 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27600 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27601 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27602 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27603 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27604 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27605 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27606 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27607 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27608 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27609 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27610 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27611 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27612 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27613 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27614 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27615 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27616 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27617 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27618 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27619 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27620 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27621 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27622 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27623 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27624 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27625 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27626 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27627 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27628 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27629 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27630 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27631 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27632 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27633 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27634 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27635 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27636 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27637 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27638 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27639 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27640 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27641 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27642 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27643 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27644 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27645 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27646 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27647 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27648 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27649 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27650 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27651 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27652 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27653 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27654 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27655 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27656 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27657 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27658 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27659 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27660 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27661 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27662 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27663 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27664 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27665 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27666 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27667 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27668 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27669 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27670 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27671 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27672 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27673 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27674 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27675 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27676 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27677 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27678 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27679 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27680 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27681 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27682 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27683 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27684 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27685 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27686 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27687 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27688 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27689 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27690 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27691 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27692 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27693 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27694 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27695 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27696 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27697 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27698 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27699 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27700 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27701 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27702 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27703 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27704 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27705 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27706 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27707 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27708 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27709 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27710 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27711 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27712 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27713 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27714 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27715 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27716 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27717 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27718 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27719 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27720 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27721 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27722 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27723 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27724 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27725 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27726 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27727 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27728 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27729 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27730 * sysdeps/ieee754/k_standard.c: Likewise.
27731 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27732 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27733 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27734 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27735 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27736 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27737 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27738 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27739 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27740 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27741 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27742 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27743 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27744 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27745 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27746 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27747 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27748 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27749 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27750 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27751 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27752 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27753 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27754 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27755 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27756 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27757 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27758 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27759 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27760 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27761 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27762 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27763 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27764 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27765 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27766 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27767 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27768 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27769 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27770 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27771 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27772 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27773 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27774 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27775 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27776 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27777 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27778 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27779 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27780 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27781 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27782 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27783 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27784 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27785 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27786 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27787 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27788 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27789 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27790 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27791 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27792 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27793 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27794 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27795 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27796 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27797 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27798 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27799 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27800 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27801 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27802 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27803 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27804 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27805 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27806 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27807 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27808 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27809 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27810 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27811 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27812 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27813 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27814 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27815 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27816 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27817 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27818 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27819 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27820 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27821 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27822 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27823 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27824 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27825 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27826 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27827 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27828 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27829 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27830 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27831 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27832 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27833 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27834 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27835 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27836 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27837 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27838 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27839 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27840 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27841 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27842 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27843 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27844 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27845 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27846 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27847 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27848 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27849 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27850 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27851 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27852 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27853 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27854 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27855 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27856 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27857 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27858 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27859 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27860 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27861 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27862 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27863 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27864 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27865 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27866 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27867 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27868 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27869 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27870 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27871 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27872 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27873 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27874 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27875 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27876 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27877 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27878 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27879 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27880 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27881 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27882 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27883 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27884 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27885 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27886 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27887 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27888 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27889 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27890 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27891 * sysdeps/ieee754/s_lib_version.c: Likewise.
27892 * sysdeps/ieee754/s_matherr.c: Likewise.
27893 * sysdeps/ieee754/s_signgam.c: Likewise.
27894 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27895 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27896 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27897 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27898 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27899 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27900 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27901 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27902 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27903 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27904 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27905 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27906 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27907 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27908 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27909 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27910 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27911 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27912 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27913 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27914 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 27915
1991fa03
JM
279162012-03-09 Joseph Myers <joseph@codesourcery.com>
27917
27918 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27919 * sunrpc/rpc_main.c: Likewise.
27920 * sunrpc/rpc_svcout.c: Likewise.
27921
60d6f5a6
DM
279222012-03-09 David S. Miller <davem@davemloft.net>
27923
27924 * include/math_private.h: New file.
27925
4962050e
JM
279262012-03-09 Joseph Myers <joseph@codesourcery.com>
27927
02a6f887
JM
27928 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27929 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27930 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27931 from <bits/socket_type.h>.
27932 (enum __socket_type): Don't define here.
27933 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27934 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27935 bits/socket_type.h.
27936
c6e013c1
JM
27937 [BZ #13566]
27938 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27939 checking __USE_GNU.
27940
4962050e
JM
27941 * Makerules ($(inst_includedir)/%.h): New rule.
27942 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27943 (install-others): Remove variable setting.
27944 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27945
38842f45
RH
279462012-03-08 Richard Henderson <rth@twiddle.net>
27947
67bb6da6
RH
27948 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27949 from macro to inline function; merge with the
27950 !__LIBC_INTERNAL_MATH_INLINES version.
27951 (__ieee754_sqrtf): Likewise.
27952
15194b4b
RH
27953 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27954 to inline function.
27955 (__rintf, __floor, __floorf): Likewise.
27956
64e21ede
RH
27957 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27958 macro to inline function.
27959 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27960
38842f45
RH
27961 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27962 not <math/math_private.h>.
27963
c64bf5fe
DM
279642012-03-08 David S. Miller <davem@davemloft.net>
27965
27966 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27967 copyright year.
27968 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27969
82d86f28
TS
279702012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27971
27972 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27973 normalization.
27974 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27975 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27976
aea5d727
UD
279772012-03-08 Ulrich Drepper <drepper@gmail.com>
27978
27979 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27980 be defined individually, they must be defined as a block. Define
27981 S for printing a string instead of hidint the different by using a
27982 macro for adding the 'l'.
27983 * stdio-common/tst-fphex-wide.c: Adjust.
27984
70bca0a3
MP
279852012-03-07 Marek Polacek <polacek@redhat.com>
27986
27987 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27988
65b81130
MP
279892012-03-08 Marek Polacek <polacek@redhat.com>
27990
27991 [BZ #13806]
27992 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27993 * stdio-common/tst-fphex.c: Define a few macros to make the
27994 test reusable. Use them.
27995 * stdio-common/tst-fphex-wide.c: New file.
27996
07037eeb
JM
279972012-03-08 Joseph Myers <joseph@codesourcery.com>
27998
a7a93d50
JM
27999 [BZ #6911]
28000 * manual/macros.texi (gnusystems): New macro.
28001 (nongnusystems): Likewise.
28002 (gnulinuxhurdsystems): Likewise.
28003 (gnuhurdsystems): Likewise..
28004 (gnulinuxsystems): Likewise.
28005 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28006 variants of the GNU system, not "GNU system".
28007 * manual/conf.texi: Likewise.
28008 * manual/errno.texi: Likewise. Update example of errno macro
28009 expansion.
28010 * manual/filesys.texi: Likewise.
28011 (getumask): Document as specific to GNU/Hurd.
28012 * manual/install.texi: Likewise. Reword some references to
28013 GNU/Linux.
28014 * manual/intro.texi: Likewise.
28015 * manual/io.texi: Likewise.
28016 (File Name Portability): Detail which constraints are inapplicable
28017 to all GNU systems and which are only inapplicable to GNU/Hurd.
28018 * manual/job.texi: Likewise.
28019 * manual/llio.texi: Likewise.
28020 (O_NOCTTY): Document as present on GNU/Linux.
28021 * manual/maint.texi: Likewise.
28022 * manual/memory.texi: Likewise.
28023 * manual/pattern.texi: Likewise.
28024 * manual/pipe.texi: Likewise.
28025 * manual/process.texi: Likewise.
28026 * manual/resource.texi: Likewise.
28027 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28028 child on GNU/Hurd.
28029 * manual/setjmp.texi: Likewise.
28030 * manual/signal.texi: Likewise.
28031 * manual/startup.texi: Likewise.
28032 * manual/stdio.texi: Likewise.
28033 * manual/terminal.texi: Likewise.
28034 (ONLCR): Document as POSIX.
28035 (OXTABS): Document availability on GNU/Linux as XTABS.
28036 (ONOEOT): Document availability separately from other bits.
28037 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28038 * manual/time.texi: Likewise.
28039 * manual/users.texi: Likewise.
28040 * INSTALL: Regenerated.
28041 * sysdeps/gnu/errlist.c: Regenerated.
28042
07037eeb
JM
28043 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28044 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28045 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28046 puts.
28047 * configure: Regenerated.
28048
d1d3431a
JM
280492012-03-07 Joseph Myers <joseph@codesourcery.com>
28050
af6a1e37
JM
28051 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28052 default includes instead of AC_HEADER_CHECK.
28053 * sysdeps/i386/configure: Regenerated.
28054
d1d3431a
JM
28055 [BZ #10716]
28056 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28057 * math/s_cacoshf.c (__cacoshf): Likewise.
28058 * math/s_cacoshl.c (__cacoshl): Likewise.
28059 * math/s_casinh.c (__casinh): Set signs of result from argument.
28060 * math/s_casinhf.c (__casinhf): Likewise.
28061 * math/s_casinhl.c (__casinhl): Likewise.
28062 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28063 (casinh_test): Add more tests.
28064 * sysdeps/i386/fpu/libm-test-ulps: Update.
28065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28066
482ff4da
UD
280672012-03-07 Ulrich Drepper <drepper@gmail.com>
28068
872fda05
UD
28069 * po/zh_TW.po: Update from translation team.
28070
a4300c7a
UD
28071 * login/Makefile (distribute): Remove variable.
28072 * catgets/Makefile: Likewise.
28073 * mach/Makefile: Likewise.
28074 * malloc/Makefile: Likewise.
28075 * misc/Makefile: Likewise.
28076 * iconv/Makefile: Likewise.
28077 * nscd/Makefile: Likewise.
28078 * hurd/Makefile: Likewise.
28079 * manual/Makefile: Likewise.
28080 * locale/Makefile: Likewise.
28081 * intl/Makefile: Likewise.
28082 * conform/Makefile: Likewise.
28083 * nss/Makefile: Likewise.
28084 * time/Makefile: Likewise.
28085 * soft-fp/Makefile: Likewise.
28086 * dirent/Makefile: Likewise.
28087 * gmon/Makefile: Likewise.
28088 * po/Makefile: Likewise.
28089 * rt/Makefile: Likewise.
28090 * socket/Makefile: Likewise.
28091 * math/Makefile: Likewise.
28092 * signal/Makefile: Likewise.
28093 * debug/Makefile: Likewise.
28094 * elf/Makefile: Likewise.
28095 * timezone/Makefile: Likewise.
28096 * stdlib/Makefile: Likewise.
28097 * iconvdata/Makefile: Likewise.
28098 * sunrpc/Makefile: Likewise.
28099 * io/Makefile: Likewise.
28100 * argp/Makefile: Likewise.
28101 * inet/Makefile: Likewise.
28102 * hesiod/Makefile: Likewise.
28103 * grp/Makefile: Likewise.
28104 * csu/Makefile: Likewise.
28105 * wctype/Makefile: Likewise.
28106 * crypt/Makefile: Likewise.
28107 * libio/Makefile: Likewise.
28108 * string/Makefile: Likewise.
28109 * nis/Makefile: Likewise.
28110 * resolv/Makefile: Likewise.
28111 * stdio-common/Makefile: Likewise.
28112 * wcsmbs/Makefile: Likewise.
28113 * dlfcn/Makefile: Likewise.
28114 * posix/Makefile: Likewise.
28115
3b7c4e74 28116 [BZ #6959]
482ff4da
UD
28117 * timezone/Makefile: Don't install timezone files, just the programs
28118 and scripts.
28119
f72ed77d
UD
281202012-03-06 Ulrich Drepper <drepper@gmail.com>
28121
a000466f
UD
28122 * nss/databases.def: Add missing gshadow entry.
28123
f72ed77d
UD
28124 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28125
a53b7a4e
MP
281262012-03-06 Marek Polacek <polacek@redhat.com>
28127
28128 [BZ #13726]
28129 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28130 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28131 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28132 * stdio-common/tst-long-dbl-fphex.c: New file.
28133
e9258400
DM
281342012-03-06 David S. Miller <davem@davemloft.net>
28135
28136 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28137 (set_obp_int): New function.
28138 (get_obp_int): New function.
28139 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
28140 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28141 Avoid unused variable warnings on 'val' and use builtin_expect.
28142 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28143 __builtin_expect.
e9258400
DM
28144 (INLINE_CLONE_SYSCALL): Likewise.
28145
3bd2c723
DM
281462012-03-05 David S. Miller <davem@davemloft.net>
28147
28148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28149
bbb78d03
AS
281502012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28151
884c5db4
AS
28152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28153
bbb78d03
AS
28154 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28155 only for |x| >= 40.
28156 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28157
1c9f702a 281582012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
28159
28160 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28161 Replace gettimeofday with __vdso_gettimeofday.
28162
7be16f82
RM
28163 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28164 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28165 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
28166
28167 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28168 time with __vdso_time.
28169
ed58a00f
JM
281702012-03-05 Joseph Myers <joseph@codesourcery.com>
28171
28172 * manual/lang.texi (size_t): Note types to which size_t may be
28173 equivalent with the GNU C Library, but do not describe when
28174 differences between them are significant.
28175
30ee4ced
AJ
281762012-03-05 Andreas Jaeger <aj@suse.de>
28177
28178 * sysdeps/i386/fpu/libm-test-ulps: Update.
28179
b7cd39e8
JM
281802012-03-05 Joseph Myers <joseph@codesourcery.com>
28181
28182 [BZ #3976]
28183 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28184 (__ieee754_pow): Save and restore rounding mode and use
28185 round-to-nearest for main computations.
28186 * math/libm-test.inc (pow_test_tonearest): New function.
28187 (pow_test_towardzero): Likewise.
28188 (pow_test_downward): Likewise.
28189 (pow_test_upward): Likewise.
28190 (main): Call the new functions.
28191 * sysdeps/i386/fpu/libm-test-ulps: Update.
28192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
28193
28194 [BZ #3976]
28195 * math/libm-test.inc (cosh_test_tonearest): New function.
28196 (cosh_test_towardzero): Likewise.
28197 (cosh_test_downward): Likewise.
28198 (cosh_test_upward): Likewise.
28199 (sinh_test_tonearest): Likewise.
28200 (sinh_test_towardzero): Likewise.
28201 (sinh_test_downward): Likewise.
28202 (sinh_test_upward): Likewise.
28203 (main): Call the new functions.
28204 * sysdeps/i386/fpu/libm-test-ulps: Update.
28205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28206
6c6a98c9
TV
282072012-03-05 Tom de Vries <tom@codesourcery.com>
28208
28209 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28210 default stack guard is set in last bytes.
28211 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28212
21bb2d2e 282132012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 28214
21bb2d2e 28215 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 28216
21bb2d2e
AJ
28217 [BZ #13656]
28218 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28219 possibly allocate from heap instead of stack.
28220 * stdio-common/bug-vfprintf-nargs.c: New file.
28221 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 28222
c6922934
AS
282232012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28224
28225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28226
bc957d53
MP
282272012-03-03 Marek Polacek <polacek@redhat.com>
28228
28229 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28230 * math/math_private.h: Likewise.
28231 * stdlib/tst-strtod.c: Likewise.
28232 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28233 * sysdeps/x86_64/bits/atomic.h: Likewise.
28234
6358490d
DM
282352012-03-02 David S. Miller <davem@davemloft.net>
28236
28237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28241 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28242 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28243 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28244 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28245
01ae168d
RM
282462012-03-02 Roland McGrath <roland@hack.frob.com>
28247
d9a17c07
RM
28248 [BZ #13792]
28249 * manual/examples/README: New file, says the example source files
28250 can be used under GPL>=2.
28251 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28252 line containing just "*/".
28253 * manual/examples/add.c: Add copyright header (GPL>=2).
28254 * manual/examples/argp-ex1.c: Likewise.
28255 * manual/examples/argp-ex2.c: Likewise.
28256 * manual/examples/argp-ex3.c: Likewise.
28257 * manual/examples/argp-ex4.c: Likewise.
28258 * manual/examples/atexit.c: Likewise.
28259 * manual/examples/db.c: Likewise.
28260 * manual/examples/dir.c: Likewise.
28261 * manual/examples/dir2.c: Likewise.
28262 * manual/examples/execinfo.c: Likewise.
28263 * manual/examples/filecli.c: Likewise.
28264 * manual/examples/filesrv.c: Likewise.
28265 * manual/examples/fmtmsgexpl.c: Likewise.
28266 * manual/examples/genpass.c: Likewise.
28267 * manual/examples/inetcli.c: Likewise.
28268 * manual/examples/inetsrv.c: Likewise.
28269 * manual/examples/isockad.c: Likewise.
28270 * manual/examples/longopt.c: Likewise.
28271 * manual/examples/memopen.c: Likewise.
28272 * manual/examples/memstrm.c: Likewise.
28273 * manual/examples/mkfsock.c: Likewise.
28274 * manual/examples/mkisock.c: Likewise.
28275 * manual/examples/mygetpass.c: Likewise.
28276 * manual/examples/pipe.c: Likewise.
28277 * manual/examples/popen.c: Likewise.
28278 * manual/examples/rprintf.c: Likewise.
28279 * manual/examples/search.c: Likewise.
28280 * manual/examples/select.c: Likewise.
28281 * manual/examples/setjmp.c: Likewise.
28282 * manual/examples/sigh1.c: Likewise.
28283 * manual/examples/sigusr.c: Likewise.
28284 * manual/examples/stpcpy.c: Likewise.
28285 * manual/examples/strdupa.c: Likewise.
28286 * manual/examples/strftim.c: Likewise.
28287 * manual/examples/strncat.c: Likewise.
28288 * manual/examples/subopt.c: Likewise.
28289 * manual/examples/swapcontext.c: Likewise.
28290 * manual/examples/termios.c: Likewise.
28291 * manual/examples/testopt.c: Likewise.
28292 * manual/examples/testpass.c: Likewise.
28293 * manual/examples/timeval_subtract.c: Likewise.
28294
01ae168d
RM
28295 [BZ #13792]
28296 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28297 function to ...
28298 * manual/timeval_subtract.c.texi: ... here, new file.
28299
49efa33d
DM
283002012-03-02 David S. Miller <davem@davemloft.net>
28301
28302 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28303
28afd92d
JM
283042012-03-02 Joseph Myers <joseph@codesourcery.com>
28305
804360ed
JM
28306 [BZ #3976]
28307 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28308 (__sin): Save and restore rounding mode and use round-to-nearest
28309 for all computations.
28310 (__cos): Save and restore rounding mode and use round-to-nearest
28311 for all computations.
28312 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28313 <fenv.h>.
28314 (tan): Save and restore rounding mode and use round-to-nearest for
28315 all computations.
28316 * math/libm-test.inc (cos_test_tonearest): New function.
28317 (cos_test_towardzero): Likewise.
28318 (cos_test_downward): Likewise.
28319 (cos_test_upward): Likewise.
28320 (sin_test_tonearest): Likewise.
28321 (sin_test_towardzero): Likewise.
28322 (sin_test_downward): Likewise.
28323 (sin_test_upward): Likewise.
28324 (tan_test_tonearest): Likewise.
28325 (tan_test_towardzero): Likewise.
28326 (tan_test_downward): Likewise.
28327 (tan_test_upward): Likewise.
28328 (main): Call the new functions.
28329 * sysdeps/i386/fpu/libm-test-ulps: Update.
28330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28331
a6d06d7b
JM
28332 [BZ #10135]
28333 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28334 small n, then large n, before computing and testing k+n.
28335 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28336 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28337 Likewise.
28338 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28339 Likewise.
28340 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28341 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28342 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28343 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28344 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28345 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28346 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28347 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28348 * math/libm-test.inc (scalbn_test): Add more tests.
28349 (scalbln_test): Likewise.
28350
07e12bb3
JM
28351 * manual/filesys.texi (mode_t): Describe constraints on size and
28352 signedness, not exact equivalence to a particular type.
28353 (ino_t): Likewise.
28354 (ino64_t): Likewise.
28355 (dev_t): Likewise.
28356 (nlink_t): Likewise.
28357 (blkcnt_t): Likewise.
28358 (blkcnt64_t): Likewise.
28359 * manual/llio.texi (off_t): Likewise.
28360
28afd92d
JM
28361 [BZ #3976]
28362 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28363 (__ieee754_exp): Save and restore rounding mode and use
28364 round-to-nearest for all computations.
28365 * math/libm-test.inc (exp_test_tonearest): New function.
28366 (exp_test_towardzero): Likewise.
28367 (exp_test_downward): Likewise.
28368 (exp_test_upward): Likewise.
28369 (main): Call the new functions.
28370 * sysdeps/i386/fpu/libm-test-ulps: Update.
28371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28372
b1eeb65d
CD
283732012-03-01 Chris Demetriou <cgd@google.com>
28374
28375 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28376 have predictable order.
28377
53362a4b
DM
283782012-03-01 David S. Miller <davem@davemloft.net>
28379
3c969083
DM
28380 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28381
759707de
DM
28382 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28383 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28384 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28385 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28386
dfdb8ff2
DM
28387 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28388 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28389 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28391 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28392 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28393 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28394 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28395 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28396
ead89f96
DM
28397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28398
7f66bd07
DM
28399 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28400 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28401 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28402
53362a4b
DM
28403 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28404 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28405 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28406 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28407 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28408 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28409 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28410 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28411 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28412 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28413 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28414 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28415 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28416 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28417 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28418 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28419 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28420 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28421 * sysdeps/sparc/elf/configure: Regenerated.
28422
7b1902cb
JM
284232012-03-01 Joseph Myers <joseph@codesourcery.com>
28424
bec039bc
JM
28425 * configure.in (AS, LD): Require binutils 2.20 or later.
28426 * configure: Regenerated.
28427 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28428 as required minimum version.
28429 * INSTALL: Regenerated.
28430
7b1902cb
JM
28431 [BZ #2541]
28432 [BZ #4108]
28433 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28434 before squaring exponent.
28435 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28436 bottom long double and 27 bits of top long double before squaring
28437 exponent.
28438 * math/libm-test.inc (erfc_test): Add more tests.
28439 * sysdeps/i386/fpu/libm-test-ulps: Update.
28440 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28442
f775c276
KT
284432012-03-01 Kai Tietz <ktietz@redhat.com>
28444
28445 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28446 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28447 containing bit-fields.
28448 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28449 * soft-fp/single.h (_FP_UNION_S): Likewise.
28450 * soft-fp/double.h (_FP_UNION_D): Likewise.
28451
5b8a4d4a
JM
284522012-02-29 Joseph Myers <joseph@codesourcery.com>
28453
0bab47b6
JM
28454 [BZ #13786]
28455 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28456 not include ../strcmp.S.
28457 [USE_AS_STRNCASECMP_L]: Likewise.
28458 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28459 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28460 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28461 (__strncasecmp_l_ia32): Define as alias to
28462 __strncasecmp_l_nonascii.
28463
0fcad3e2
JM
28464 [BZ #5794]
28465 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28466 * sysdeps/i386/fpu/libm-test-ulps: Update.
28467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28468
5b8a4d4a
JM
28469 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28471
8fdceb2e
JL
284722012-02-29 Jeff Law <law@redhat.com>
28473
28474 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28475 out of bounds read.
28476
1f393a11
MP
284772012-02-29 Marek Polacek <polacek@redhat.com>
28478
28479 [BZ #13706]
28480 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28481 * elf/Makefile: Add rules to run tst-unused-dep.out.
28482
8847f037
DM
284832012-02-28 David S. Miller <davem@davemloft.net>
28484
28485 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28486 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28487 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28488 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28489 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28490 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28491
169d7f11
JM
284922012-02-29 Joseph Myers <joseph@codesourcery.com>
28493
28494 * math/libm-test.inc (llround_test): Move one test from
28495 lround_test. Use TEST_f_L in moved test.
28496 (lround_test): Move misplaced test to llround_test. Add testcase
28497 from bug 2561.
28498
39adf059
UD
284992012-02-28 Ulrich Drepper <drepper@gmail.com>
28500
28501 * sysdeps/x86_64/fpu/e_expf.S: New file.
28502 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28503
71b5d1c5
SB
285042012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28505
28506 [BZ #13637]
28507 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28508 of remain_len that may cause incomplete multi-byte character and
28509 false match.
28510 * posix/bug-regex33.c: New file.
28511 * posix/Makefile (tests): Add bug-regex33.
28512
1f77f049
JM
285132012-02-28 Joseph Myers <joseph@codesourcery.com>
28514
28515 * manual/macros.texi: New file.
28516 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28517 * manual/libc.texinfo: Include macros.texi.
28518 * manual/creatute.texi: Likewise.
28519 * manual/install.texi: Likewise.
28520 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28521 @glibcadj{} in references to the GNU C Library.
28522 * manual/charset.texi: Likewise.
28523 * manual/conf.texi: Likewise.
28524 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28525 when not using those macros.
28526 * manual/creature.texi: Likewise.
28527 * manual/crypt.texi: Likewise.
28528 * manual/errno.texi: Likewise.
28529 * manual/filesys.texi: Likewise.
28530 * manual/header.texi: Likewise.
28531 * manual/install.texi: Likewise.
28532 * manual/intro.texi: Likewise.
28533 * manual/io.texi: Likewise.
28534 * manual/job.texi: Likewise.
28535 * manual/lang.texi: Likewise.
28536 * manual/libc.texiinfo: Likewise.
28537 * manual/llio.texi: Likewise.
28538 * manual/locale.texi: Likewise.
28539 * manual/maint.texi: Likewise.
28540 * manual/math.texi: Likewise.
28541 * manual/memory.texi: Likewise.
28542 * manual/message.texi: Likewise.
28543 * manual/nss.texi: Likewise.
28544 * manual/pattern.texi: Likewise.
28545 * manual/process.texi: Likewise.
28546 * manual/resource.texi: Likewise.
28547 * manual/search.texi: Likewise.
28548 * manual/setjmp.texi: Likewise.
28549 * manual/signal.texi: Likewise.
28550 * manual/socket.texi: Likewise.
28551 * manual/startup.texi: Likewise.
28552 * manual/stdio.texi: Likewise.
28553 * manual/string.texi: Likewise.
28554 * manual/sysinfo.texi: Likewise.
28555 * manual/syslog.texi: Likewise.
28556 * manual/terminal.texi: Likewise.
28557 * manual/time.texi: Likewise.
28558 * manual/users.texi: Likewise.
28559 * INSTALL: Regenerated.
28560 * NOTES: Regenerated.
d40c5d54 28561 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 28562
450bf206
AS
285632012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28564
28565 * include/dirent.h: Include <dirstream.h> before
28566 <dirent/dirent.h>.
28567
741a235b
DM
285682012-02-28 David S. Miller <davem@davemloft.net>
28569
28570 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28571 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28572 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28573 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28574
d6b5aa58
DM
285752012-02-27 David S. Miller <davem@davemloft.net>
28576
1aff59a3
DM
28577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28579 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28580 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28581
d6b5aa58
DM
28582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28583 frame pointer instead of stack pointer relative arg slot.
28584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28585 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28586 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28587
433f48bf
CD
285882012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28589
28590 [BZ #3992]
28591 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28592
d674b76d
DM
285932012-02-27 David S. Miller <davem@davemloft.net>
28594
28595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28599 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28600 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28601 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28602 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28603
0e7727f7
JM
286042012-02-27 Joseph Myers <joseph@codesourcery.com>
28605
28606 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28607 later. Allow versions 5-9.
43be4ca2 28608 * configure: Regenerated.
0e7727f7
JM
28609 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28610 required minimum version and 4.6 as recommended version. Do not
28611 mention bugs in GCC 2.7 and 2.8.
43be4ca2 28612 * INSTALL: Regenerated.
0e7727f7 28613
a78bc654
DM
286142012-02-27 David S. Miller <davem@davemloft.net>
28615
428d5830
DM
28616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28620 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28621 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28622 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28623 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28624
a78bc654
DM
28625 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28626 manipulate bits before adding and subtracting TWO112[sx].
28627 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28628
4579f81c
RM
286292012-02-27 Roland McGrath <roland@hack.frob.com>
28630
36c8acb4
RM
28631 [BZ #13775]
28632 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28633 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28634 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28635 being in POSIX, because they are in 1003.1-2008.
28636
84ad622b
RM
28637 * rt/tst-aio.c: Include <fcntl.h>.
28638 * rt/tst-aio7.c: Likewise.
28639 * rt/tst-aio64.c: Likewise.
28640
4579f81c
RM
28641 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28642
abd923db
JM
286432012-02-27 Joseph Myers <joseph@codesourcery.com>
28644
28645 * manual/install.texi (--with-headers): Describe headers as
28646 interface headers, not private headers.
28647 (Specific advice for GNU/Linux systems): Describe use of headers
28648 from "make headers_install", not private headers from older
28649 kernels.
43be4ca2 28650 * INSTALL: Regenerated.
abd923db
JM
28651 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28652 Change to 2.6.19.
28653 * sysdeps/unix/sysv/linux/configure: Regenerated.
28654
6664049b
JM
28655 * manual/llio.texi (fclean): Remove documentation.
28656
bb8b6697
JM
28657 * manual/Makefile (libc-texi-generated): New variable. Include
28658 version.texi.
28659 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28660 $(libc-texi-generated), not duplicated list of files.
28661 (version.texi, stamp-version): New rules.
28662 (realclean): Remove $(libc-texi-generated), not individual files
28663 from that list. Do not remove dir-add.texinfo.
28664 * manual/libc.texinfo: Comment out uses of edition numbers and
28665 references to printed manual. Remove last-updated dates.
28666 (EDITION): Comment out.
28667 (ISBN): Likewise.
28668 (VERSION, UPDATED): Remove.
28669 (version.texi): Include.
28670
12e5c3b9
AS
286712012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28672
28673 * sysdeps/posix/spawni.c: Include <signal.h>.
28674 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28675 * sysdeps/pthread/aio_fsync.c: Likewise.
28676
4efeffc1 286772012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 28678
ba63ba08
UD
28679 * conform/Makefile (tests): Run only when not cross-compiling and
28680 when fast-check is not defined.
28681
d94a4670
UD
28682 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28683 * conform/data/limits.h-data: Fixes for POSIX2008.
28684 * conform/run-conformtest.sh: Run all tests.
28685 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28686 headers.
28687 * include/bits/dlfcn.h: Likewise.
28688 * include/langinfo.h: Likewise.
28689 * include/monetary.h: Likewise.
28690 * include/sys/poll.h: Likewise.
28691
28692 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28693 for __USE_GNU.
28694 * posix/spawn.h: Define __need_sigset_t.
28695 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28696 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28697 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28698 to get sigevent_t only.
28699 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28700 only for __USE_GNU.
28701 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28702 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28703 process_vm_writev only for __USE_GNU.
28704 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
28705
28706 * conform/Makefile: For now ignore errors from run-conformtest.
28707 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28708 POSIX to avoid namespace pollution. Don't prepend headers.
28709 * conform/data/aio.h-data: Fixes for POSIX testing.
28710 * conform/data/fcntl.h-data: Likewise.
28711 * conform/data/glob.h-data: Likewise.
28712 * conform/data/grp.h-data: Likewise.
28713 * conform/data/pthread.h-data: Likewise.
28714 * conform/data/pwd.h-data: Likewise.
28715 * conform/data/signal.h-data: Likewise.
28716 * conform/data/spawn.h-data: Likewise.
28717 * conform/data/stdio.h-data: Likewise.
28718 * conform/data/stdlib.h-data: Likewise.
28719 * conform/data/stropts.h-data: Likewise.
28720 * conform/data/sys/mman.h-data: Likewise.
28721 * conform/data/sys/stat.h-data: Likewise.
28722 * conform/data/sys/types.h-data: Likewise.
28723 * conform/data/sys/wait.h-data: Likewise.
28724 * conform/data/time.h-data: Likewise.
28725 * conform/data/unistd.h-data: Likewise.
28726 * conform/data/utime.h-data: Likewise.
28727
28728 * io/sys/stat.h: fchmod was always in POSIX.
28729 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28730 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28731 * rt/aio.h: Define __need_timespec before including <time.h>.
28732 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28733 struct. Add forward declaration of pthread_attr_t and use it in
28734 sigevent.
28735 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28736 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28737 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28738 always remove CLK_TCK definition.
28739
c20105c3
AS
287402012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28741
28742 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28743
7a270350
UD
287442012-02-25 Ulrich Drepper <drepper@gmail.com>
28745
31341567
UD
28746 * conform/run-conformtest.sh: New file.
28747 * conform/Makefile: Run run-conformtest for tests.
28748 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28749 support.
28750
28751 * conform/data/uchar.h-data: New file.
28752 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28753 * conform/data/arpa/inet.h-data: Likewise.
28754 * conform/data/assert.h-data: Likewise.
28755 * conform/data/complex.h-data: Likewise.
28756 * conform/data/cpio.h-data: Likewise.
28757 * conform/data/ctype.h-data: Likewise.
28758 * conform/data/dirent.h-data: Likewise.
28759 * conform/data/dlfcn.h-data: Likewise.
28760 * conform/data/errno.h-data: Likewise.
28761 * conform/data/fcntl.h-data: Likewise.
28762 * conform/data/float.h-data: Likewise.
28763 * conform/data/fmtmsg.h-data: Likewise.
28764 * conform/data/fnmatch.h-data: Likewise.
28765 * conform/data/ftw.h-data: Likewise.
28766 * conform/data/glob.h-data: Likewise.
28767 * conform/data/grp.h-data: Likewise.
28768 * conform/data/iconv.h-data: Likewise.
28769 * conform/data/inttypes.h-data: Likewise.
28770 * conform/data/langinfo.h-data: Likewise.
28771 * conform/data/libgen.h-data: Likewise.
28772 * conform/data/limits.h-data: Likewise.
28773 * conform/data/locale.h-data: Likewise.
28774 * conform/data/math.h-data: Likewise.
28775 * conform/data/monetary.h-data: Likewise.
28776 * conform/data/mqueue.h-data: Likewise.
28777 * conform/data/ndbm.h-data: Likewise.
28778 * conform/data/net/if.h-data: Likewise.
28779 * conform/data/netdb.h-data: Likewise.
28780 * conform/data/netinet/in.h-data: Likewise.
28781 * conform/data/nl_types.h-data: Likewise.
28782 * conform/data/poll.h-data: Likewise.
28783 * conform/data/pthread.h-data: Likewise.
28784 * conform/data/pwd.h-data: Likewise.
28785 * conform/data/regex.h-data: Likewise.
28786 * conform/data/sched.h-data: Likewise.
28787 * conform/data/search.h-data: Likewise.
28788 * conform/data/semaphore.h-data: Likewise.
28789 * conform/data/setjmp.h-data: Likewise.
28790 * conform/data/signal.h-data: Likewise.
28791 * conform/data/spawn.h-data: Likewise.
28792 * conform/data/stdarg.h-data: Likewise.
28793 * conform/data/stdio.h-data: Likewise.
28794 * conform/data/stdlib.h-data: Likewise.
28795 * conform/data/string.h-data: Likewise.
28796 * conform/data/strings.h-data: Likewise.
28797 * conform/data/stropts.h-data: Likewise.
28798 * conform/data/sys/ipc.h-data: Likewise.
28799 * conform/data/sys/mman.h-data: Likewise.
28800 * conform/data/sys/msg.h-data: Likewise.
28801 * conform/data/sys/resource.h-data: Likewise.
28802 * conform/data/sys/select.h-data: Likewise.
28803 * conform/data/sys/sem.h-data: Likewise.
28804 * conform/data/sys/shm.h-data: Likewise.
28805 * conform/data/sys/socket.h-data: Likewise.
28806 * conform/data/sys/stat.h-data: Likewise.
28807 * conform/data/sys/statvfs.h-data: Likewise.
28808 * conform/data/sys/time.h-data: Likewise.
28809 * conform/data/sys/timeb.h-data: Likewise.
28810 * conform/data/sys/times.h-data: Likewise.
28811 * conform/data/sys/types.h-data: Likewise.
28812 * conform/data/sys/uio.h-data: Likewise.
28813 * conform/data/sys/un.h-data: Likewise.
28814 * conform/data/sys/utsname.h-data: Likewise.
28815 * conform/data/sys/wait.h-data: Likewise.
28816 * conform/data/syslog.h-data: Likewise.
28817 * conform/data/tar.h-data: Likewise.
28818 * conform/data/termios.h-data: Likewise.
28819 * conform/data/utime.h-data: Likewise.
28820 * conform/data/utmpx.h-data: Likewise.
28821 * conform/data/varargs.h-data: Likewise.
28822 * conform/data/wchar.h-data: Likewise.
28823 * conform/data/wctype.h-data: Likewise.
28824 * conform/data/wordexp.h-data: Likewise.
28825
28826 * include/stropts.h: New file.
28827 * include/uchar.h: New file.
28828 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28829 * include/assert.h: Likewise.
28830 * include/ctype.h: Likewise.
28831 * include/dirent.h: Likewise.
28832 * include/dlfcn.h: Likewise.
28833 * include/fcntl.h: Likewise.
28834 * include/fnmatch.h: Likewise.
28835 * include/glob.h: Likewise.
28836 * include/grp.h: Likewise.
28837 * include/libio.h: Likewise.
28838 * include/locale.h: Likewise.
28839 * include/math.h: Likewise.
28840 * include/net/if.h: Likewise.
28841 * include/netdb.h: Likewise.
28842 * include/netinet/in.h: Likewise.
28843 * include/pthread.h: Likewise.
28844 * include/pwd.h: Likewise.
28845 * include/regex.h: Likewise.
28846 * include/sched.h: Likewise.
28847 * include/search.h: Likewise.
28848 * include/setjmp.h: Likewise.
28849 * include/signal.h: Likewise.
28850 * include/stdio.h: Likewise.
28851 * include/stdlib.h: Likewise.
28852 * include/string.h: Likewise.
28853 * include/sys/cdefs.h: Likewise.
28854 * include/sys/mman.h: Likewise.
28855 * include/sys/msg.h: Likewise.
28856 * include/sys/resource.h: Likewise.
28857 * include/sys/select.h: Likewise.
28858 * include/sys/socket.h: Likewise.
28859 * include/sys/stat.h: Likewise.
28860 * include/sys/statvfs.h: Likewise.
28861 * include/sys/time.h: Likewise.
28862 * include/sys/times.h: Likewise.
28863 * include/sys/uio.h: Likewise.
28864 * include/sys/utsname.h: Likewise.
28865 * include/sys/wait.h: Likewise.
28866 * include/termios.h: Likewise.
28867 * include/time.h: Likewise.
28868 * include/ulimit.h: Likewise.
28869 * include/unistd.h: Likewise.
28870 * include/utime.h: Likewise.
28871 * include/wchar.h: Likewise.
28872 * include/wctype.h: Likewise.
28873 * include/wordexp.h: Likewise.
28874
28875 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28876
7a270350
UD
28877 * time/time.h: TIME_UTC must be a macro.
28878 Make timespec_get available for ISO C11 only as well.
28879
7724defc
UD
288802012-02-24 Ulrich Drepper <drepper@gmail.com>
28881
28882 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28883 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28884
6b1d1d46
JM
288852012-02-24 Joseph Myers <joseph@codesourcery.com>
28886
28887 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 28888
0f8bbd69
JM
288892012-02-24 Joseph Myers <joseph@codesourcery.com>
28890
28891 * manual/texinfo.tex: Update to version 2012-01-19.16.
28892
66ab80bc
JM
288932012-02-24 Joseph Myers <joseph@codesourcery.com>
28894
28895 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28896
74981cc5
RM
288972012-02-24 Roland McGrath <roland@hack.frob.com>
28898
ee968201
RM
28899 [BZ #13738]
28900 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28901 * manual/fdl-1.3.texi: New file.
28902 * manual/fdl-1.1.texi: File removed.
28903
74981cc5
RM
28904 [BZ #13738]
28905 * manual/libc.texinfo (FDL_VERSION): New @set.
28906 Use it for mention of FDL in cover text.
28907 (Documentation License): Use it in @include file name.
28908
7bb764bc
JM
289092012-02-22 Joseph Myers <joseph@codesourcery.com>
28910 Roland McGrath <roland@hack.frob.com>
28911
28912 [BZ #5461]
28913 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28914 not LONG_LONG_MAX and LONG_LONG_MIN.
28915 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28916 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28917 name.
28918 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28919
6cbeae47
JM
289202012-02-22 Joseph Myers <joseph@codesourcery.com>
28921
28922 [BZ #2547]
28923 [BZ #11365]
28924 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28925 manipulate bits before adding and subtracting TWO23[sx].
28926 * math/libm-test.inc (nearbyint_test): Add more tests.
28927
fe45ce09
JM
289282012-02-22 Joseph Myers <joseph@codesourcery.com>
28929
28930 [BZ #2548]
28931 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28932 bits before adding and subtracting TWO23[sx].
28933 * math/libm-test.inc (rint_test): Add more tests.
28934 (rint_test_tonearest): Likewise.
28935 (rint_test_towardzero): Likewise.
28936 (rint_test_downward): Likewise.
28937 (rint_test_upward: Likewise.
28938
ff3b3d82
JM
289392012-02-22 Joseph Myers <joseph@codesourcery.com>
28940
28941 [BZ #10110]
28942 * include/stdc-predef.h: New file. Extracted from features.h.
28943 * include/features.h: Include stdc-predef.h.
28944 * Makefile (headers): Add stdc-predef.h.
28945 * CONFORMANCE (Compiler limitations): Update.
28946
ef0aab35
JM
289472012-02-22 Joseph Myers <joseph@codesourcery.com>
28948
28949 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28950
58639409
DM
289512012-02-21 David S. Miller <davem@davemloft.net>
28952
28953 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28954 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28955
c0e70b25
DM
289562012-02-20 David S. Miller <davem@davemloft.net>
28957
28958 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28959 using a normal save/restore sequence, rather than allocating a
28960 dummy stack frame just to store a frame pointer and restore.
28961 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28962
fb06851d
JM
289632012-02-21 Joseph Myers <joseph@codesourcery.com>
28964
28965 * manual/install.texi: Fix stray word in line-wrapped comment.
28966
7a8b71c3
DM
289672012-02-20 David S. Miller <davem@davemloft.net>
28968
d510c123
DM
28969 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28970 both binutils and gcc support GOTDATA.
28971
0722d7c2
DM
28972 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28973 "rd %pc" in the PIC register setup sequences.
28974
3d2b3019
DM
28975 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28976 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28977 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28978 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28979 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28980 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28981 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28982 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28983 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28984 (SYSCALL_ERROR_HANDLER): Likewise.
28985 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28986 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28987 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28988 (SYSCALL_ERROR_HANDLER): Likewise.
28989
c80098a9
DM
28990 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28991 (HAVE_GCC_GOTDATA): New.
28992 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28993 relocation support in both binutils and gcc.
28994 * sysdeps/sparc/elf/configure: Regenerate.
28995
3a2545a0
DM
28996 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28997 * sysdeps/sparc/sparc32/elf/configure: Delete.
28998 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28999 * sysdeps/sparc/sparc64/elf/configure: Delete.
29000 * sysdeps/sparc/elf/configure.in: New file.
29001 * sysdeps/sparc/elf/configure: Generate.
29002
7a8b71c3
DM
29003 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29004 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29005 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29006 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29007 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29008
f1e86fca
JM
290092012-02-21 Joseph Myers <joseph@codesourcery.com>
29010
29011 * manual/install.texi: Do not mention specific glibc version
29012 numbers.
29013 * manual/libc.texinfo (VERSION, UPDATED): Update.
29014 (@copying): Use @copyright{} and range of years.
29015
0e7dfaef
JM
290162012-02-21 Joseph Myers <joseph@codesourcery.com>
29017
29018 [BZ #13695]
29019 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29020 [crti.S not in sysdirs] (generated): Do not append.
29021 [crti.S not in sysdirs] (omit-deps): Likewise.
29022 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29023 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29024 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29025 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29026 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29027 Likewise.
29028 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29029 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29030 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29031 * csu/defs.awk: Remove file.
29032 * sysdeps/generic/initfini.c: Likewise.
29033 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29034 variable.
29035 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29036 Likewise.
29037
599af3ca
JM
290382012-02-20 Joseph Myers <joseph@codesourcery.com>
29039
29040 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29041 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29042 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29043 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29044 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29045 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29046 <bits/epoll.h>.
29047 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29048 (__EPOLL_PACKED): Define to empty if not defined by
29049 <bits/epoll.h>.
29050 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29051 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29052 bits/epoll.h.
29053
0e499750
JM
290542012-02-20 Joseph Myers <joseph@codesourcery.com>
29055
29056 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29057 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29058 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29059 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29060 <bits/timerfd.h>.
29061 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29062 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29063 bits/timerfd.h.
29064
5ad91f6e
JM
290652012-02-20 Joseph Myers <joseph@codesourcery.com>
29066
29067 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29068 in C locale.
29069 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29070 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29071 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29073
06b99b02
AJ
290742012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29075
29076 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29077 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29078
7638c0fd
AS
290792012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29080
29081 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29082 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29083 defined.
29084 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29085 Likewise.
29086 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29087 entry for 2.16.
29088
92221550
AJ
290892012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29090
29091 * math/w_acos.c: Use non-signaling floating-point comparisons.
29092 * math/w_acosf.c: Likewise.
29093 * math/w_acosh.c: Likewise.
29094 * math/w_acoshf.c: Likewise.
29095 * math/w_acoshl.c: Likewise.
29096 * math/w_acosl.c: Likewise.
29097 * math/w_asin.c: Likewise.
29098 * math/w_asinf.c: Likewise.
29099 * math/w_asinl.c: Likewise.
29100 * math/w_atanh.c: Likewise.
29101 * math/w_atanhf.c: Likewise.
29102 * math/w_atanhl.c: Likewise.
29103 * math/w_exp2.c: Likewise.
29104 * math/w_exp2f.c: Likewise.
29105 * math/w_exp2l.c: Likewise.
29106 * math/w_j0.c: Likewise.
29107 * math/w_j0f.c: Likewise.
29108 * math/w_j0l.c: Likewise.
29109 * math/w_j1.c: Likewise.
29110 * math/w_j1f.c: Likewise.
29111 * math/w_j1l.c: Likewise.
29112 * math/w_jn.c: Likewise.
29113 * math/w_jnf.c: Likewise.
29114 * math/w_log.c: Likewise.
29115 * math/w_log10.c: Likewise.
29116 * math/w_log10f.c: Likewise.
29117 * math/w_log10l.c: Likewise.
29118 * math/w_log2.c: Likewise.
29119 * math/w_log2f.c: Likewise.
29120 * math/w_log2l.c: Likewise.
29121 * math/w_logf.c: Likewise.
29122 * math/w_logl.c: Likewise.
29123 * math/w_sqrt.c: Likewise.
29124 * math/w_sqrtf.c: Likewise.
29125 * math/w_sqrtl.c: Likewise.
29126 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29127 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29128 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29129 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29130 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29131
ebaf36eb
JM
291322012-02-19 Joseph Myers <joseph@codesourcery.com>
29133
29134 [BZ #9739]
29135 * manual/string.texi (strnlen): Use correct parameter name in
29136 equivalent expression.
29137
71c254a6
JM
291382012-02-19 Joseph Myers <joseph@codesourcery.com>
29139
29140 [BZ #11174]
29141 * manual/users.texi (seteuid): Consistently use neweuid for
29142 argument name.
29143
16d2c631
JM
291442012-02-19 Joseph Myers <joseph@codesourcery.com>
29145
29146 [BZ #13704]
29147 * manual/nss.texi (Services in the NSS configuration): Correct
29148 list of services in example configuration file.
29149
cd837b09
NB
291502012-02-19 Nick Bowler <nbowler@draconx.ca>
29151
29152 [BZ #11322]
29153 * manual/arith.texi: Remove statements about negative zero
29154 behaving identically to zero.
29155
02c4bbad
JM
291562012-02-18 Joseph Myers <joseph@codesourcery.com>
29157
29158 [BZ #5993]
29159 * manual/install.texi: Do not document upgrading from libc5.
29160
366842e7
JM
291612012-02-18 Joseph Myers <joseph@codesourcery.com>
29162
29163 [BZ #4596]
29164 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29165
dd54084d
DM
291662012-02-18 David S. Miller <davem@davemloft.net>
29167
29168 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29169 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29170 %o7 across the call.
29171 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29172 instead.
29173 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29174 SETUP_PIC_REG_LEAF.
29175 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29176 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29177 * sysdeps/sparc/crtn.S: Likewise.
29178
2bcc53a3
UD
291792012-02-17 Ulrich Drepper <drepper@gmail.com>
29180
29181 * aout/Makefile: Remove.
29182
09c093b5
RK
291832012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29184
29185 [BZ #13058]
29186 * manual/examples/argp-ex1.c (main): Format definition in GNU
29187 style.
29188 * manual/examples/argp-ex2.c (main): Likewise.
29189 * manual/examples/argp-ex3.c (main): Likewise.
29190 * manual/examples/argp-ex4.c (main): Likewise.
29191 * manual/examples/longopt.c (main): Use new-style prototype
29192 definition.
29193 * manual/examples/strncat.c (main): Specify return type and use
29194 (void) for arguments.
29195 * manual/examples/subopt.c (main): Use char **argv argument.
29196
2ee633a2
JM
291972012-02-17 Joseph Myers <joseph@codesourcery.com>
29198
29199 [BZ #5077]
29200 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29201 rounding modes.
29202
0520adde
FB
292032012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29204
29205 [BZ #6907]
29206 * manual/string.texi (strchr): Change when strchrnul is
29207 recommended.
29208
3f4081cd
DGM
292092012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29210
29211 [BZ #174]
29212 * manual/locale.texi (setlocale): Document LOCPATH.
29213
d1b10e78
JM
292142012-02-17 Joseph Myers <joseph@codesourcery.com>
29215
29216 [BZ #10210]
29217 * manual/process.texi (execle): Move @dots{} before last argument.
29218
79c6869c
PB
292192012-02-17 Paul Bolle <pebolle@tiscali.nl>
29220
29221 [BZ #12047]
29222 * manual/charset.texi (Generic Charset Conversion): Fix typo
29223 (LC_TYPE -> LC_CTYPE).
29224
cc6e48bc
NB
292252012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29226
29227 [BZ #5805]
29228 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29229 (scalbnf): Likewise.
29230 (scalbnl): Likewise.
29231 (scalbln): Likewise.
29232 (scalblnf): Likewise.
29233 (scalblnl): Likewise.
29234 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29235 (vwarnx): Likewise.
29236 (verr): Likewise.
29237 (verrx): Likewise.
29238 * manual/filesys.texi (telldir): Use braces around return type.
29239 * manual/llio.texi (mmap): Add space after comma.
29240 (mmap64): Likewise.
29241 * manual/math.texi (jn): Use @var{} on parameter names.
29242 (jnf): Likewise.
29243 (jnl): Likewise.
29244 (yn): Likewise.
29245 (ynf): Likewise.
29246 (ynl): Likewise.
29247 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29248 line.
29249 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29250 "...".
29251 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29252 (sched_get_priority_max): Likewise.
29253 * manual/signal.texi (sigvec): Add space after comma.
29254 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29255 names.
29256 (if_indextoname): Likewise.
29257 (if_freenameindex): Likewise.
29258 (sendto): Use ',' instead of '.' in prototype.
29259 * manual/startup.texi (syscall): Use @dots{} instead of literal
29260 "...".
29261 * manual/stdio.texi (__fpending): Separate initial words of
29262 paragraph from @deftypefun line.
29263 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29264 "...".
29265 (vsyslog): Use @var{} on parameter names.
29266 * manual/terminal.texi (stty): Use @var{} on parameter names.
29267 * manual/users.texi (getutmp): Use @var{} on parameter names.
29268 (getutmpx): Likewise.
29269
5b23062f
JM
292702012-02-17 Joseph Myers <joseph@codesourcery.com>
29271
29272 [BZ #6884]
29273 * manual/stdio.texi (fopen): Fix typos in description of
29274 ",ccs=STRING".
29275
8dee4833
AJ
292762012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29277
29278 [BZ #4026]
29279 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29280 get clock_id definition.
29281
9078ce93
TS
292822012-02-17 Thomas Schwinge <thomas@schwinge.name>
29283
29284 [BZ #4822]
29285 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29286 (madvise): Cast every argument to void on its own.
29287
3835c55f
JM
292882012-02-17 Joseph Myers <joseph@codesourcery.com>
29289
29290 [BZ #9902]
29291 * manual/startup.texi (Exit Status): Fix typo.
29292
35c47e37
JM
292932012-02-17 Joseph Myers <joseph@codesourcery.com>
29294
29295 [BZ #10140]
29296 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29297 * manual/examples/argp-ex2.c: Likewise.
29298 * manual/examples/argp-ex3.c: Likewise.
29299
e3b69ca7
RH
293002012-02-16 Richard Henderson <rth@redhat.com>
29301
29302 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29303 * sysdeps/s390/s390-32/initfini.c: Remove.
29304 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29305 * sysdeps/s390/s390-64/initfini.c: Remove.
29306
df83af67
KK
293072012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29308
29309 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29310 compiler output for sysdeps/generic/initfini.c.
29311 * sysdeps/sh/elf/initfini.c: Remove file.
29312
f63f3380
DM
293132012-02-16 David S. Miller <davem@davemloft.net>
29314
fb59b3a4
DM
29315 [BZ #11494]
29316 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29317
f63f3380
DM
29318 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29319 * sysdeps/sparc/crti.S: New file.
29320 * sysdeps/sparc/crtn.S: New file.
29321 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29322 * sysdeps/sparc/sparc64/Makefile: Likewise.
29323
df6a4a4a
MF
293242012-02-15 Mike Frysinger <vapier@gentoo.org>
29325
6dd8f3dc 29326 [BZ #3335]
df6a4a4a
MF
29327 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29328
1cac7236
RM
293292012-02-15 Roland McGrath <roland@hack.frob.com>
29330
d2c736f8
RM
29331 [BZ #4822]
29332 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29333
1cac7236
RM
29334 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29335 (write, read, close): Likewise.
29336 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29337
8e475601
JM
293382012-02-15 Joseph Myers <joseph@codesourcery.com>
29339
29340 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29341 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29342 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29343 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29344 <bits/signalfd.h>.
29345 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29346 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29347 bits/signalfd.h.
29348
ed656b40
MP
293492012-02-14 Marek Polacek <polacek@redhat.com>
29350
29351 * sysdeps/x86_64/crti.S: New file.
29352 * sysdeps/x86_64/crtn.S: New file.
29353 * sysdeps/x86_64/elf/initfini.c: Remove file.
29354
2a979d3a
JM
293552012-02-13 Joseph Myers <joseph@codesourcery.com>
29356
29357 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29358 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29359 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29360 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29361 <bits/inotify.h>.
29362 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29363 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29364 bits/inotify.h.
29365
2a418ac3
JM
293662012-02-13 Joseph Myers <joseph@codesourcery.com>
29367
29368 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29369 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29370 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29371 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29372 <bits/eventfd.h>.
29373 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29374 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29375 bits/eventfd.h.
29376
fb779be7
TS
293772012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29378
e19e83c5
RM
29379 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29380 __feraiseexcept instead of feraiseexcept.
7c35ffed 29381
fb779be7
TS
29382 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29383 nanosleep invocations.
29384 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29385 strings, and add error checking for a nanosleep invocations.
29386
59ba27a6
PE
293872012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29388
29389 Replace FSF snail mail address with URLs, as per GNU coding standards.
29390 Most of the snail mail addresses were wrong anyway, and omitting
29391 them makes the source code easier to maintain. Almost all of the
29392 changes are to license notices and to locale LC_IDENTIFICATION
29393 addresses, except for this one:
29394 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29395 not its snail mail address.
29396
57b957eb
RH
293972012-02-09 Richard Henderson <rth@twiddle.net>
29398
af850b1c
RH
29399 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29400 of kernel-features.h.
29401
57b957eb
RH
29402 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29403
6b73181a
MP
294042012-02-08 Marek Polacek <polacek@redhat.com>
29405
29406 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29407 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29408 * sysdeps/gnu/_G_config.h: Likewise.
29409 * sysdeps/generic/_G_config.h: Likewise.
29410
26ecc33a
AS
294112012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29412
6c6dbc63
AS
29413 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29414 tests.
29415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29416
e216c012
AS
29417 * sysdeps/powerpc/powerpc32/crti.S: New file.
29418 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29419 * sysdeps/powerpc/powerpc64/crti.S: New file.
29420 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29421
26ecc33a
AS
29422 * Makeconfig (have-initfini): Don't set.
29423 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29424 * configure.in (nopic_initfini): Don't substitute.
29425 * config.h.in (HAVE_INITFINI): Don't #undef.
29426 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29427 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29428
3add8e13
JM
294292012-02-08 Joseph Myers <joseph@codesourcery.com>
29430
29431 Support crti.S and crtn.S provided directly by architectures.
29432 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29433 [crti.S in sysdirs] (omit-deps): Likewise.
29434 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29435 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29436 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29437 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29438 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29439 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29440 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29441 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29442 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29443 compiler output for sysdeps/generic/initfini.c.
29444 * sysdeps/i386/elf/Makefile: Remove file.
29445 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29446
a22f12b4
MP
294472012-02-07 Marek Polacek <polacek@redhat.com>
29448
29449 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29450 * sysdeps/gnu/_G_config.h: Likewise.
29451 * sysdeps/mach/hurd/_G_config.h: Likewise.
29452
148cf100
MP
294532012-02-07 Marek Polacek <polacek@redhat.com>
29454
29455 * math/Makefile (tests): Add tst-CMPLX2.
29456 * math/tst-CMPLX2.c: New file.
29457
cfdc0dd7
AS
294582012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29459
84ba42c4
AS
29460 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29461
cfdc0dd7
AS
29462 * math/libm-test.inc (jn_test): Add missing L suffix.
29463
622c86f4
MP
294642012-02-06 Marek Polacek <polacek@redhat.com>
29465
29466 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29467 * sysdeps/i386/fpu/e_powf.S: Likewise.
29468 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29469 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29470 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29471 * sysdeps/i386/fpu/e_pow.S: Likewise.
29472 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29473 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29474 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29475 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29476 * sysdeps/i386/fpu/e_log2.S: Likewise.
29477 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29478 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29479 * sysdeps/i386/fpu/e_powl.S: Likewise.
29480 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29481 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29482 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29483 * sysdeps/i386/fpu/e_logl.S: Likewise.
29484 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29485 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29486 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29487 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29488 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29489 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29490 * sysdeps/i386/fpu/e_log.S: Likewise.
29491 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29492 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29493 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29494 * sysdeps/i386/fpu/e_logf.S: Likewise.
29495 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29496 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29497 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29498 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29499 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29500 * sysdeps/i386/fpu/e_log10.S: Likewise.
29501 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29502 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29503 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29504 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29505 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29506 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29507 * sysdeps/i386/asm-syntax.h: Likewise.
29508 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29509 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29510 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29511 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29512 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29513 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29514 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29515 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29516 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29517 * sysdeps/powerpc/sysdep.h: Likewise.
29518 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29519 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29520
d4a54ac6
JM
295212012-02-06 Joseph Myers <joseph@codesourcery.com>
29522
29523 [BZ #411]
29524 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29525
314054ea
JM
295262012-02-06 Joseph Myers <joseph@codesourcery.com>
29527
29528 * sysdeps/i386/sysdep.h: Include <features.h>.
29529 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29530 version.
29531
d8e0ca50
JM
295322012-02-05 Joseph Myers <joseph@codesourcery.com>
29533
29534 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29535 Define.
29536 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29537 LOAD_PIC_REG_STR.
29538
b1da7dd9
JM
295392012-02-03 Joseph Myers <joseph@codesourcery.com>
29540
29541 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29542 (SETUP_PIC_REG): Use GET_PC_THUNK.
29543 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29544 macro.
29545
9a1d9254
JM
295462012-02-03 Joseph Myers <joseph@codesourcery.com>
29547
29548 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29549 for non-PIC compilation.
29550 (SETUP_PIC_REG): Add .p2align directive.
29551 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29552 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29553 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29554 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29555 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29556 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29557 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29558 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29559 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29560 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29561 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29562 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29563 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29564 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29565 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29566 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29567 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29568 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29569 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29570 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29571 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29572 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29573 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29574 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29575 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29576 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29577 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29578 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29579 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29580 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29581 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29582 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29583 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29584 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29585 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29586 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29587 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29588 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29589 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29590 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29591 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29592
65dc3b75
JM
295932012-02-03 Joseph Myers <joseph@codesourcery.com>
29594
29595 * math/tst-CMPLX.c: Include <stdio.h>.
29596
d55bf177
JM
295972012-01-31 Joseph Myers <joseph@codesourcery.com>
29598
29599 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29600 float.
29601 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29602 * sysdeps/sparc/bits/mathdef.h: Likewise.
29603
69db4f8f
MP
296042012-01-31 Marek Polacek <polacek@redhat.com>
29605
29606 * libio/libio.h: Don't define _PARAMS.
29607 * locale/programs/config.h: Don't define PARAMS.
29608 * stdlib/strtol_l.c: Likewise.
29609 (__strtol_l): Remove PARAMS from the prototype.
29610
41b81892
UD
296112012-01-31 Ulrich Drepper <drepper@gmail.com>
29612
3b49edc0
UD
29613 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29614 names. Just use the correct names. Remove unnecessary wrapper
29615 functions.
29616 * malloc/arena.c: Likewise.
29617 * malloc/hooks.c: Likewise.
29618
41b81892
UD
29619 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29620 ARENA_TEST says not to. Simplify test for creation of a new arena.
29621 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29622
27a25b6e
UD
296232012-01-30 Ulrich Drepper <drepper@gmail.com>
29624
29625 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29626 into tail calls.
29627 (update_get_addr): New function.
29628 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29629 GET_ADDR_MODULE parameter.
29630
c8a89e7d
JM
296312012-01-30 Joseph Myers <joseph@codesourcery.com>
29632
29633 * crypt/cert.c: Remove __STDC__ conditionals.
29634 * crypt/crypt-entry.c: Likewise.
29635 * crypt/crypt_util.c: Likewise.
29636 * libio/filedoalloc.c: Likewise.
29637 * libio/fileops.c: Likewise.
29638 * libio/genops.c: Likewise.
29639 * libio/iofclose.c: Likewise.
29640 * libio/iofdopen.c: Likewise.
29641 * libio/iofopen.c: Likewise.
29642 * libio/iofopen64.c: Likewise.
29643 * libio/iogetdelim.c: Likewise.
29644 * libio/iopopen.c: Likewise.
29645 * libio/obprintf.c: Likewise.
29646 * libio/oldfileops.c: Likewise.
29647 * libio/oldiofclose.c: Likewise.
29648 * libio/oldiofdopen.c: Likewise.
29649 * libio/oldiofopen.c: Likewise.
29650 * libio/oldiopopen.c: Likewise.
29651 * libio/wfiledoalloc.c: Likewise.
29652 * libio/wgenops.c: Likewise.
29653 * locale/programs/xmalloc.c: Likewise.
29654 * misc/syslog.c: Likewise.
29655 * stdio-common/xbug.c: Likewise.
29656 * string/memchr.c: Likewise.
29657 * string/memcmp.c: Likewise.
29658 * string/memrchr.c: Likewise.
29659 * string/rawmemchr.c: Likewise.
29660 * sysdeps/posix/getcwd.c: Likewise.
29661 * time/strftime_l.c: Likewise.
29662
3b100462
JM
296632012-01-30 Joseph Myers <joseph@codesourcery.com>
29664
29665 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
29666 * config.make.in (config-cflags-sse2avx): Define.
29667 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29668 Fix typo.
29669
607998af
CM
296702012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29671
29672 * scripts/config.guess: Update from upstream config git repository.
29673 * scripts/config.sub: Likewise.
29674
3601428f
CM
296752012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29676
3ac8b282
CM
29677 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29678 (EM_NUM): Update.
29679 (R_TILEPRO_*, R_TILEGX_*): New macros.
29680
e034841e
CM
29681 * scripts/firstversions.awk: Fix bug in version range handling.
29682
540d7568
CM
29683 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29684
3601428f
CM
29685 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29686
463de862
CM
29687 * include/sys/epoll.h: New file.
29688 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29689 libc_hidden_def.
29690
73139a76
UD
296912012-01-28 Ulrich Drepper <drepper@gmail.com>
29692
96bc5b45
UD
29693 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29694 Avoid unnecessary __WORDSIZE == 64 test.
29695 (fmaxf): Use VEX format if possible.
29696 (fmax): Likewise.
29697 (fminf): Likewise.
29698 (fmin): Likewise.
29699
56f6f6a2
UD
29700 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29701 * math/math_private.h: Remove libc_fegetround* and
29702 libc_fesetround*.
29703 * sysdeps/i386/configure.in: Check for -msse2avx.
29704 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29705 also if SSE2AVX is defined.
29706 Remove libc_fegetround* and libc_fesetround*.
29707 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29708 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29709 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29710 of HAS_YMM_USABLE.
29711 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29712 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29713 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29714 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29715 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29716
73139a76
UD
29717 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29718
d73f93a4
AZ
297192012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29720
29721 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29722 size is not set.
29723 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29724
6ee65ed6
UD
297252012-01-27 Ulrich Drepper <drepper@gmail.com>
29726
29727 [BZ #13618]
29728 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29729 relocation.
29730 * Makeconfig (libm): Define.
29731 * elf/Makefile: Add rules to build and run tst-relsort1.
29732 * elf/tst-relsort1.c: New file.
29733 * elf/tst-relsort1mod1.c: New file.
29734 * elf/tst-relsort1mod2.c: New file.
29735
8db21882
JM
297362012-01-27 Joseph Myers <joseph@codesourcery.com>
29737
29738 * math/s_ldexp.c: Remove __STDC__ conditionals.
29739 * math/s_ldexpf.c: Likewise.
29740 * math/s_ldexpl.c: Likewise.
29741 * math/s_nextafter.c: Likewise.
29742 * math/s_nexttowardf.c: Likewise.
29743 * math/s_significand.c: Likewise.
29744 * math/s_significandf.c: Likewise.
29745 * math/s_significandl.c: Likewise.
29746 * math/w_jnl.c: Likewise.
29747 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29748 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29749 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29750 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29751 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29752 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29753 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29754 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29755 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29756 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29757 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29758 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29759 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29760 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29761 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29762 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29763 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29764 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29765 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29766 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29767 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29768 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29769 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29770 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29771 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29772 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29773 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29774 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29775 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29776 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29777 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29778 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29779 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29780 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29781 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29782 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29783 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29784 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29785 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29786 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29787 * sysdeps/ieee754/k_standard.c: Likewise.
29788 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29789 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29790 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29791 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29792 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29793 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29794 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29795 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29796 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29797 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29798 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29799 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29800 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29801 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29802 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29803 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29804 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29805 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29806 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29807 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29808 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29809 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29810 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29811 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29812 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29813 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29814 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29815 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29816 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29817 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29818 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29819 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29820 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29821 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29822 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29823 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29824 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29825 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29826 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29827 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29828 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29829 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29830 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29831 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29832 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29833 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29834 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29835 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29836 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29837 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29838 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29839 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29840 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29841 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29842 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29843 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29844 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29845 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29846 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29847 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29848 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29849 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29850 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29851 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29852 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29853 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29854 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29855 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29856 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29857 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29858 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29859 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29860 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29861 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29862 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29863 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29864 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29865 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29866 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29867 * sysdeps/ieee754/s_matherr.c: Likewise.
29868 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29869 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29870 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29871 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29872
965a54a4
JM
298732012-01-26 Joseph Myers <joseph@codesourcery.com>
29874
29875 * crypt/md5.h: Remove __STDC__ conditionals.
29876 * libio/libioP.h: Likewise.
29877 * locale/programs/config.h: Likewise.
29878 * sysdeps/generic/sysdep.h: Likewise.
29879 * sysdeps/i386/asm-syntax.h: Likewise.
29880 * sysdeps/s390/asm-syntax.h: Likewise.
29881 * sysdeps/unix/sysdep.h: Likewise.
29882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29884
7071ad79
JM
298852012-01-26 Joseph Myers <joseph@codesourcery.com>
29886
29887 * libio/libio.h: Remove __STDC__ conditionals.
29888 * malloc/obstack.h: Likewise.
29889 * math/complex.h: Likewise.
29890 * math/math.h: Likewise.
29891 * sysdeps/generic/_G_config.h: Likewise.
29892 * sysdeps/gnu/_G_config.h: Likewise.
29893 * sysdeps/mach/hurd/_G_config.h: Likewise.
29894 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29895 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29896 * sysdeps/sparc/bits/mathdef.h: Likewise.
29897
afc5ed09
UD
298982012-01-26 Ulrich Drepper <drepper@gmail.com>
29899
29900 [BZ #13583]
29901 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 29902 Clean up HAS_* macros.
afc5ed09 29903 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
29904 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29905 possible.
29906 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29907 HAS_AVX.
29908 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29909 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29910 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29911 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29912 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 29913
bdb6de1d
JM
299142012-01-25 Joseph Myers <joseph@codesourcery.com>
29915
29916 * elf/tst-unique3.cc (gets): Remove declaration.
29917 * elf/tst-unique3lib.cc (gets): Likewise.
29918 * elf/tst-unique3lib2.cc (gets): Likewise.
29919 * elf/tst-unique4.cc (gets): Likewise.
29920
b15549e6
UD
299212012-01-24 Ulrich Drepper <drepper@gmail.com>
29922
29923 * include/stdio.h: Add C++ protection. Add gets declarations and
29924 definitions.
29925 * debug/tst-chk1.c: Don't declare gets here.
29926 * stdio-common/tst-gets.c: Likewise.
29927
a037381f
JM
299282012-01-24 Joseph Myers <joseph@codesourcery.com>
29929
29930 * posix/glob: Remove directory.
29931
f1d4aa75
JM
299322012-01-24 Joseph Myers <joseph@codesourcery.com>
29933
29934 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29935
81c0c964
PT
299362012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29937
29938 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29939 of the non-standard EPFNOSUPPORT.
29940
0ea698ae
ST
299412011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29942
29943 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29944 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29945 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29946
d220b117
UD
299472012-01-21 Ulrich Drepper <drepper@gmail.com>
29948
29949 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29950
3e1aa84e
UD
299512012-01-20 Ulrich Drepper <drepper@gmail.com>
29952
29953 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29954 transient errors.
29955 * nscd/grpcache.c (cache_addgr): Likewise.
29956 * nscd/hstcache.c (cache_addhst): Likewise.
29957 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29958 * nscd/pwdcache.c (cache_addpw): Likewise.
29959 * nscd/servicescache.c (cache_addserv): Likewise.
29960
400aa020
UD
299612012-01-16 Ulrich Drepper <drepper@gmail.com>
29962
d77e7869
UD
29963 * malloc/malloc.c: Various cleanups.
29964 * malloc/hooks.c: Likewise.
29965
400aa020
UD
29966 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29967 * stdlib/bug-fmtmsg1.c: New file.
29968
29969 * stdlib/fmtmsg.c (init): Add missing unlock.
29970 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29971
e0a309cf
MP
299722012-01-12 Marek Polacek <polacek@redhat.com>
29973
29974 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29975 and _GNU_SOURCE.
29976
929d11c7
WS
299772012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29978
29979 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29980 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29981 macro to ensure uniqueness of label name.
29982 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29983 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29984
41d0e869
UD
299852012-01-11 Ulrich Drepper <drepper@gmail.com>
29986
0cc5ed3b
UD
29987 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29988
41d0e869
UD
29989 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29990 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29991 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29992 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29993
a47a831a
UD
299942012-01-10 Ulrich Drepper <drepper@gmail.com>
29995
daa891c0
UD
29996 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29997
29998 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29999 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30000 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30001
e58ef0f2
UD
30002 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30003
a47a831a 30004 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
30005 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30006 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 30007 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
30008
30009 * math/bits/math-finite.h: Add ldexp support.
30010
a0bfc9c7
MP
300112012-01-10 Marek Polacek <polacek@redhat.com>
30012
30013 * locale/programs/localedef.h (show_archive_content): Add noreturn
30014 attribute.
30015
d6e97a1d
UD
300162012-01-09 Ulrich Drepper <drepper@gmail.com>
30017
30018 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30019
d5835c26
UD
300202012-01-08 Ulrich Drepper <drepper@gmail.com>
30021
e5f484c6
UD
30022 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30023
d5835c26
UD
30024 * io/Makefile (headers): Add bits/poll2.h.
30025
d1f741e9
WS
300262011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30027
30028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30029 typo #include statement.
30030
ec09c1c4
UD
300312012-01-08 Ulrich Drepper <drepper@gmail.com>
30032
30033 * include/sys/cdefs.h: Define __attribute_alloc_size.
30034 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30035 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30036 * elf/pldd.c: Likewise.
30037 * iconv/iconv_charmap.c: Likewise.
30038 * iconv/iconvconfig.c: Likewise.
30039 * iconv/strtab.c: Likewise.
30040 * locale/programs/locale.c: Likewise.
30041 * locale/programs/localedef.h: Likewise.
30042 * locale/programs/simple-hash.c: Likewise.
30043 * nscd/nscd.h: Likewise.
30044 * nss/makedb.c: Likewise.
30045 * sysdeps/generic/ldconfig.h: Likewise.
30046 * locale/programs/localedef.c: Remove xmalloc prototype.
30047 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30048
20b38e03
PP
300492012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30050
30051 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30052 appropriate.
30053
a0da5fe1
UD
300542012-01-08 Ulrich Drepper <drepper@gmail.com>
30055
1d5a644a 30056 * math/Makefile (tests): Add tst-CMPLX.
669704fd 30057 * math/tst-CMPLX.c: New file.
1d5a644a 30058
8784a6db
UD
30059 * math/complex.h (CMPLXL): Fix typo.
30060
d9a216c0
UD
30061 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30062 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30063 GLIBC_2.16.
30064 * debug/tst-chk1.c: Add poll and ppoll tests.
30065 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30066 * include/sys/poll.h: Add hidden proto for ppoll.
30067 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30068 * sysdeps/mach/hurd/ppoll.c: Likewise.
30069 * io/ppoll.c: Likewise.
30070 * debug/poll_chk.c: New file.
30071 * debug/ppoll_chk.c: New file.
30072 * include/bits/poll2.h: New file.
30073 * io/bits/poll2.h: New file.
30074
ac097f5c
UD
30075 [BZ #1350]
30076 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30077
2119dcfa
UD
30078 * configure.in: static is always set to yes. Remove.
30079 * config.make.in: Don't set build-static.
30080 * Makeconfig: Remove use of build-static.
30081 * dlfcn/Makefile: Likewise.
30082 * elf/Makefile: Likewise.
30083 * math/Makefile: Likewise.
30084 * misc/Makefile: Likewise.
30085 * nptl/Makefile: Likewise.
30086 * sysdeps/mach/hurd/Makefile: Likewise.
30087
121766a9
UD
30088 * configure.in: PWD_P is not used anymore.
30089 * config.make.in: Remove PWD_P entry.
30090
51a1d39c 30091 * configure.in: Remove last remnants of RANLIB.
8720d066 30092 No need to check for signed size_t anymore.
215f4bdc
UD
30093 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30094 and IA-64.
3857022a 30095 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
30096 * aclocal.m4: Likewise.
30097
d3ed7225
UD
30098 * wcsmbs/mbrtoc16.c: Implement using towc function.
30099 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30100 * wcsmbs/wcsmbsload.c: Likewise.
30101 * iconv/gconv_simple.c: Likewise.
30102 * iconv/gconv_int.h: Likewise.
30103 * iconv/gconv_builtin.h: Likewise.
30104 * iconv/iconv_prog.c: Remove CHAR16 handling.
30105
30106 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30107
30108 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30109
a0da5fe1
UD
30110 * configure.in: Remove --with-elf and --enable-bounded options.
30111 Dont set base_machine for ia64. More non-ELF conditions removed.
30112 Remove testing and setting of leading underscore information.
30113 * config.make.in (build-bounded): Set to no.
30114 * config.h.in: Remove NO_UNDERSCORES entry.
30115 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30116 them.
30117 * csu/start.c: Remove !NO_UNDERSCORE code.
30118 * locale/localeinfo.h: Likewise.
30119 * sysdeps/generic/machine-gmon.h: Likewise.
30120 * sysdeps/generic/sysdep.h: Likewise.
30121 * sysdeps/i386/sysdep.h: Likewise.
30122 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30123 * sysdeps/mach/sysdep.h: Likewise.
30124 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30125 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30126 * sysdeps/sh/sysdep.h: Likewise.
30127 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30128 * sysdeps/unix/i386/sysdep.S: Likewise.
30129 * sysdeps/unix/sparc/start.c: Likewise.
30130 * sysdeps/unix/sparc/sysdep.S: Likewise.
30131 * sysdeps/unix/sparc/sysdep.h: Likewise.
30132 * sysdeps/unix/start.c: Likewise.
30133 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30134 * sysdeps/x86_64/sysdep.h: Likewise.
30135
df78418a
UD
301362012-01-07 Ulrich Drepper <drepper@gmail.com>
30137
a784e502
UD
30138 [BZ #13553]
30139 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30140 for non-gcc.
30141 * argp/argp-fmtstream.h: Use const instead __const.
30142 * argp/argp.h: Likewise.
30143 * assert/assert.h: Likewise.
30144 * bits/fenv.h: Likewise.
30145 * bits/sched.h: Likewise.
30146 * bits/sigset.h: Likewise.
30147 * bits/sigthread.h: Likewise.
30148 * catgets/nl_types.h: Likewise.
30149 * conform/data/pthread.h-data: Likewise.
30150 * crypt/crypt-private.h: Likewise.
30151 * crypt/crypt.h: Likewise.
30152 * crypt/crypt_util.c: Likewise.
30153 * ctype/ctype.h: Likewise.
30154 * debug/execinfo.h: Likewise.
30155 * debug/mbsnrtowcs_chk.c: Likewise.
30156 * debug/mbsrtowcs_chk.c: Likewise.
30157 * debug/wcsnrtombs_chk.c: Likewise.
30158 * debug/wcsrtombs_chk.c: Likewise.
30159 * debug/wcstombs_chk.c: Likewise.
30160 * dirent/dirent.h: Likewise.
30161 * dlfcn/dlfcn.h: Likewise.
30162 * elf/neededtest4.c: Likewise.
30163 * grp/grp.h: Likewise.
30164 * gshadow/gshadow.h: Likewise.
30165 * iconv/gconv.h: Likewise.
30166 * iconv/gconv_int.h: Likewise.
30167 * iconv/gconv_simple.c: Likewise.
30168 * iconv/iconv.h: Likewise.
30169 * iconv/loop.c: Likewise.
30170 * iconv/skeleton.c: Likewise.
30171 * include/aio.h: Likewise.
30172 * include/aliases.h: Likewise.
30173 * include/argz.h: Likewise.
30174 * include/arpa/inet.h: Likewise.
30175 * include/assert.h: Likewise.
30176 * include/dirent.h: Likewise.
30177 * include/dlfcn.h: Likewise.
30178 * include/execinfo.h: Likewise.
30179 * include/fcntl.h: Likewise.
30180 * include/fenv.h: Likewise.
30181 * include/glob.h: Likewise.
30182 * include/grp.h: Likewise.
30183 * include/libintl.h: Likewise.
30184 * include/mntent.h: Likewise.
30185 * include/netdb.h: Likewise.
30186 * include/pwd.h: Likewise.
30187 * include/rpc/netdb.h: Likewise.
30188 * include/sched.h: Likewise.
30189 * include/search.h: Likewise.
30190 * include/shadow.h: Likewise.
30191 * include/signal.h: Likewise.
30192 * include/stdio.h: Likewise.
30193 * include/stdlib.h: Likewise.
30194 * include/string.h: Likewise.
30195 * include/sys/socket.h: Likewise.
30196 * include/sys/stat.h: Likewise.
30197 * include/sys/statfs.h: Likewise.
30198 * include/sys/statvfs.h: Likewise.
30199 * include/sys/syslog.h: Likewise.
30200 * include/sys/time.h: Likewise.
30201 * include/sys/uio.h: Likewise.
30202 * include/time.h: Likewise.
30203 * include/unistd.h: Likewise.
30204 * include/utmp.h: Likewise.
30205 * include/wchar.h: Likewise.
30206 * include/wctype.h: Likewise.
30207 * inet/aliases.h: Likewise.
30208 * inet/arpa/inet.h: Likewise.
30209 * inet/netinet/ether.h: Likewise.
30210 * inet/netinet/in.h: Likewise.
30211 * intl/libintl.h: Likewise.
30212 * io/bits/fcntl2.h: Likewise.
30213 * io/fcntl.h: Likewise.
30214 * io/ftw.h: Likewise.
30215 * io/sys/poll.h: Likewise.
30216 * io/sys/stat.h: Likewise.
30217 * io/sys/statfs.h: Likewise.
30218 * io/sys/statvfs.h: Likewise.
30219 * io/utime.h: Likewise.
30220 * libio/bits/stdio.h: Likewise.
30221 * libio/bits/stdio2.h: Likewise.
30222 * libio/libio.h: Likewise.
30223 * libio/libioP.h: Likewise.
30224 * libio/stdio.h: Likewise.
30225 * locale/lc-ctype.c: Likewise.
30226 * locale/locale.h: Likewise.
30227 * login/utmp.h: Likewise.
30228 * malloc/arena.c: Likewise.
30229 * malloc/malloc.c: Likewise.
30230 * malloc/malloc.h: Likewise.
30231 * malloc/mcheck.c: Likewise.
30232 * malloc/mtrace.c: Likewise.
30233 * math/bits/mathcalls.h: Likewise.
30234 * math/fenv.h: Likewise.
30235 * math/math_private.h: Likewise.
30236 * misc/bits/error.h: Likewise.
30237 * misc/bits/syslog.h: Likewise.
30238 * misc/err.h: Likewise.
30239 * misc/error.h: Likewise.
30240 * misc/fstab.h: Likewise.
30241 * misc/mntent.h: Likewise.
30242 * misc/regexp.h: Likewise.
30243 * misc/search.h: Likewise.
30244 * misc/sgtty.h: Likewise.
30245 * misc/sys/mman.h: Likewise.
30246 * misc/sys/syslog.h: Likewise.
30247 * misc/sys/uio.h: Likewise.
30248 * misc/sys/xattr.h: Likewise.
30249 * misc/ttyent.h: Likewise.
30250 * nis/rpcsvc/ypclnt.h: Likewise.
30251 * nss/nss.h: Likewise.
30252 * posix/bits/unistd.h: Likewise.
30253 * posix/fnmatch.h: Likewise.
30254 * posix/glob.h: Likewise.
30255 * posix/sched.h: Likewise.
30256 * posix/spawn.h: Likewise.
30257 * posix/sys/wait.h: Likewise.
30258 * posix/unistd.h: Likewise.
30259 * posix/wordexp.h: Likewise.
30260 * pwd/pwd.h: Likewise.
30261 * resolv/netdb.h: Likewise.
30262 * resource/sys/resource.h: Likewise.
30263 * rt/aio.h: Likewise.
30264 * rt/bits/mqueue2.h: Likewise.
30265 * rt/mqueue.h: Likewise.
30266 * shadow/shadow.h: Likewise.
30267 * signal/signal.h: Likewise.
30268 * socket/send.c: Likewise.
30269 * socket/sendto.c: Likewise.
30270 * socket/sys/socket.h: Likewise.
30271 * stdio-common/printf.h: Likewise.
30272 * stdlib/bits/stdlib.h: Likewise.
30273 * stdlib/fmtmsg.h: Likewise.
30274 * stdlib/monetary.h: Likewise.
30275 * stdlib/stdlib.h: Likewise.
30276 * stdlib/ucontext.h: Likewise.
30277 * streams/stropts.h: Likewise.
30278 * string/argz.h: Likewise.
30279 * string/bits/string2.h: Likewise.
30280 * string/string.h: Likewise.
30281 * string/strings.h: Likewise.
30282 * sunrpc/rpc/auth.h: Likewise.
30283 * sunrpc/rpc/auth_des.h: Likewise.
30284 * sunrpc/rpc/clnt.h: Likewise.
30285 * sunrpc/rpc/netdb.h: Likewise.
30286 * sunrpc/rpc/pmap_clnt.h: Likewise.
30287 * sunrpc/rpc/xdr.h: Likewise.
30288 * sysdeps/generic/inttypes.h: Likewise.
30289 * sysdeps/generic/net/if.h: Likewise.
30290 * sysdeps/generic/sys/swap.h: Likewise.
30291 * sysdeps/gnu/net/if.h: Likewise.
30292 * sysdeps/gnu/utmpx.h: Likewise.
30293 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30294 * sysdeps/i386/i486/bits/string.h: Likewise.
30295 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30296 * sysdeps/s390/bits/string.h: Likewise.
30297 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30298 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30299 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30300 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30301 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30302 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30303 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30304 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30305 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30306 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30307 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30308 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30309 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30310 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30311 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30312 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30313 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30314 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30315 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30316 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30317 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30318 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30319 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30320 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30321 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30322 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30323 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30324 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30325 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30326 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30327 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30328 * sysvipc/sys/ipc.h: Likewise.
30329 * sysvipc/sys/msg.h: Likewise.
30330 * sysvipc/sys/sem.h: Likewise.
30331 * sysvipc/sys/shm.h: Likewise.
30332 * termios/termios.h: Likewise.
30333 * time/sys/time.h: Likewise.
30334 * time/time.h: Likewise.
30335 * wcsmbs/bits/wchar2.h: Likewise.
30336 * wcsmbs/uchar.h: Likewise.
30337 * wcsmbs/wchar.h: Likewise.
30338 * wctype/wctype.h: Likewise.
30339
0269750c
UD
30340 [BZ #13551]
30341 * Makeconfig: Remove all but ELF support including AIX support.
30342 * Makerules: Likewise.
30343 * config.h.in: Likewise.
30344 * config.make.in: Likewise.
30345 * configure: Likewise.
30346 * configure.in: Likewise.
30347 * csu/Makefile: Likewise.
30348 * csu/version.c: Likewise.
30349 * debug/Makefile: Likewise.
30350 * dlfcn/Makefile: Likewise.
30351 * elf/Makefile: Likewise.
30352 * extra-lib.mk: Likewise.
30353 * iconv/Makefile: Likewise.
30354 * include/libc-symbols.h: Likewise.
30355 * include/shlib-compat.h: Likewise.
30356 * resolv/Makefile: Likewise.
30357 * resolv/res_libc.c: Likewise.
30358 * rt/Makefile: Likewise.
30359 * sysdeps/i386/asm-syntax.h: Likewise.
30360 * sysdeps/i386/sysdep.h: Likewise.
30361 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30362 * sysdeps/mach/sysdep.h: Likewise.
30363 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30364 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30365 * sysdeps/s390/asm-syntax.h: Likewise.
30366 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30367 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30368 * sysdeps/sh/sysdep.h: Likewise.
30369 * sysdeps/unix/sparc/sysdep.h: Likewise.
30370 * sysdeps/wordsize-32/divdi3.c: Likewise.
30371 * sysdeps/x86_64/sysdep.h: Likewise.
30372
00bbd29b
UD
30373 * argp/Versions: Remove _argp_unlock_xxx.
30374
30375 [BZ #13559]
30376 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30377 * abilist/libBrokenLocale.abilist: Likewise.
30378 * abilist/libanl.abilist: Likewise.
30379 * abilist/libc.abilist: Likewise.
30380 * abilist/libcrypt.abilist: Likewise.
30381 * abilist/libdl.abilist: Likewise.
30382 * abilist/libm.abilist: Likewise.
30383 * abilist/libnsl.abilist: Likewise.
30384 * abilist/libpthread.abilist: Likewise.
30385 * abilist/libresolv.abilist: Likewise.
30386 * abilist/librt.abilist: Likewise.
30387 * abilist/libthread_db.abilist: Likewise.
30388 * abilist/libutil.abilist: Likewise.
30389 * abilist/libnss_db.abilist: New file.
30390
30391 * scripts/abilist.awk: Add support for indirect functions.
30392
a2693a0e
UD
30393 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30394
3f05895f
UD
30395 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30396
ecb6fb48
UD
30397 * shlib-versions: Remove entries for ports architectures.
30398
664f8cb9
UD
30399 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30400 files in ports.
30401 * elf/stackguard-macros.h: Remove support for IA-64.
30402 * elf/tst-auditmod1.c: Likewise.
30403 * sysdeps/generic/ldsodefs.h: Likewise.
30404
7ae81d88
UD
30405 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30406 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30407 configure files.
30408
bdeba135
UD
30409 [BZ #13552]
30410 * configure.in: Remove --enable-omitfp support.
30411 * FAQ.in: Adjust.
30412 * config.make.in: Likewise.
30413 * Makeconfig: Likewise.
30414 * manual/install.texi: Likewise.
30415
d75a0a62
UD
30416 In case anyone cares, the IA-64 architecture could move to ports.
30417 * sysdeps/ia64/*: Removed.
30418 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 30419 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 30420
dcc9756b
UD
30421 [BZ #13555]
30422 * configure.in: Remove entries for unsupported architectures.
30423
d3761ebc 30424 [BZ #13533]
9954432e
UD
30425 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30426 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30427 routines.
30428 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30429 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30430 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30431 fall back to using wcrtomb.
30432 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30433 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30434 renaming.
30435 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30436 * wcsmbs/tst-c16c32-1.c: New file.
30437
30438 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30439 local variable.
30440
c3a87236
UD
30441 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30442
28926a1b
UD
30443 * elf/tst-unique3.cc: Add explicit declaration of gets.
30444 * elf/tst-unique3lib.cc: Likewise.
30445 * elf/tst-unique3lib2.cc: Likewise.
30446 * elf/tst-unique4.cc: Likewise.
30447
df78418a
UD
30448 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30449
8ecd6b2a
JM
304502012-01-06 Joseph Myers <joseph@codesourcery.com>
30451
30452 [BZ #13566]
30453 * assert/assert.h (static_assert): Don't define for C++.
30454 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30455 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30456
9f115170
UD
304572012-01-03 Ulrich Drepper <drepper@gmail.com>
30458
5e0d0300
UD
30459 * iconv/loop.c (single loop): Fix assertion in storing of
30460 remaining bytes.
30461
9f115170
UD
30462 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30463
81fb02b0
UD
304642012-01-01 Ulrich Drepper <drepper@gmail.com>
30465
30466 * posix/getconf.c: Update copyright year.
30467 * nss/getent.c: Likewise.
a316c1f6 30468 * nss/makedb.c: Likewise.
81fb02b0
UD
30469 * iconv/iconvconfig.c: Likewise.
30470 * iconv/iconv_prog.c: Likewise.
30471 * elf/ldconfig.c: Likewise.
a316c1f6
UD
30472 * elf/pldd.c: Likewise.
30473 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
30474 * catgets/gencat.c: Likewise.
30475 * csu/version.c: Likewise.
30476 * elf/ldd.bash.in: Likewise.
30477 * elf/sprof.c (print_version): Likewise.
30478 * locale/programs/locale.c: Likewise.
30479 * locale/programs/localedef.c: Likewise.
a316c1f6 30480 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
30481 * nscd/nscd.c (print_version): Likewise.
30482 * debug/xtrace.sh: Likewise.
30483 * malloc/memusage.sh: Likewise.
30484 * malloc/mtrace.pl: Likewise.
30485 * debug/catchsegv.sh: Likewise.
30486
2ba92745
JJ
304872011-12-30 Jakub Jelinek <jakub@redhat.com>
30488
30489 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30490 pure attribute.
30491
dadebdae
UD
304922011-12-24 Ulrich Drepper <drepper@gmail.com>
30493
d3761ebc 30494 [BZ #13533]
db6af3eb
UD
30495 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30496 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30497 transformations.
30498 * iconv/gconv_int.h: Likewise.
30499 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30500 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30501 from libc for GLIBC_2.16.
30502 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30503 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30504 * wcsmbs/uchar.h: Really define mbstate_t.
30505 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30506 * wcsmbs/c16rtomb.c: New file.
30507 * wcsmbs/mbrtoc16.c: New file.
30508 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30509 for C/POSIX locale.
30510 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30511 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30512
dadebdae
UD
30513 * wcsmbs/wchar.h: Add missing __restrict.
30514
67371b56
UD
305152011-12-23 Ulrich Drepper <drepper@gmail.com>
30516
74033a25
UD
30517 [BZ #13532]
30518 * time/Makefile (routines): Add timespec_get.
30519 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30520 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30521 timespec for ISO C11.
30522 * time/timespec_get.c: New file.
30523 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30524 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30525
380d7e87
UD
30526 [BZ #13531]
30527 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30528 * stdlib/stdlib.h: Declare aligned_alloc.
30529 * Versions.def: Add GLIBC_2.16 for libc.
30530 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30531
4e9e7a35
UD
30532 [BZ 13527]
30533 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30534 ISO C11.
30535
380d7e87 30536 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
30537 code.
30538
03a71829
UD
30539 [BZ #13528]
30540 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30541
839e283e
UD
30542 [BZ #13529]
30543 * assert/assert.h (static_assert): Define.
30544
ce5294e2 30545 * version.h: Update for 2.16 development version.
90fa7312 30546
8d44e150 30547 [BZ #13526]
d7809905
UD
30548 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30549 _ISOC11_SOURCE.
30550
c0da14cd
UD
30551 * version.h (RELEASE): Bump for 2.15 release.
30552 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30553
530a3249
MP
30554 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30555 Patch by Marek Polacek <mpolacek@redhat.com>.
30556
67371b56
UD
30557 * bits/byteswap.h: Protect long long constants with __extension__.
30558 * sysdeps/i386/bits/byteswap.h: Likewise.
30559 * sysdeps/ia64/bits/byteswap.h: Likewise.
30560 * sysdeps/s390/bits/byteswap.h: Likewise.
30561 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30562
15db4de1
LD
305632011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30564
30565 [BZ #13540]
bbe315ea
LD
30566 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30567 destination buffer.
15db4de1
LD
30568 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30569
2b2596b1
MP
305702011-12-23 Marek Polacek <polacek@redhat.com>
30571
30572 * elf/dl-addr.c (determine_info): Add inline keyword.
30573 * elf/tst-auditmod4b.c (check_avx): Likewise.
30574 * elf/tst-auditmod6b.c (check_avx): Likewise.
30575 * elf/tst-auditmod6c.c (check_avx): Likewise.
30576 * elf/tst-auditmod7b.c (check_avx): Likewise.
30577
70c6c246
UD
305782011-12-23 Ulrich Drepper <drepper@gmail.com>
30579
30580 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30581 !__SSE_MATH__.
30582
c044cf14
LD
305832011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30584
15db4de1 30585 [BZ #13540]
c044cf14
LD
30586 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30587 processing for last bytes.
30588
6b13d9d9
BH
305892011-08-06 Bruno Haible <bruno@clisp.org>
30590
d455f537
BH
30591 [BZ #13061]
30592 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30593 U+0385, not to U+1FEE.
30594
6b13d9d9
BH
30595 [BZ #13062]
30596 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30597 entry for U+00A5 U+0301.
30598
db910efd
UD
305992011-12-22 Ulrich Drepper <drepper@gmail.com>
30600
27deeafc
UD
30601 [BZ #13166]
30602 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30603 buffer for the output is too small.
30604
aed9d171
UD
30605 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30606 optimization.
30607
db910efd
UD
30608 [BZ #13185]
30609 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30610 SSE flags if possible.
30611
2bd779ae
LD
306122011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30613
e7f9dac3 30614 [BZ #13540]
2bd779ae
LD
30615 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30616 processing for last bytes.
30617
154bfc16
JM
306182011-12-22 Joseph Myers <joseph@codesourcery.com>
30619
30620 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30621 (syscall-list-default-options, syscall-list-default-condition)
30622 (syscall-list-includes): Define.
30623 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30624 list of ABIs and options and #if conditions for each ABI. Do not
30625 handle common syscalls between ABIs specially.
30626 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30627 Remove.
30628 (syscall-list-variants, syscall-list-32bit-options)
30629 (syscall-list-32bit-condition, syscall-list-64bit-options)
30630 (syscall-list-64bit-condition): Define.
30631 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30632 (syscall-list-variants, syscall-list-32bit-options)
30633 (syscall-list-32bit-condition, syscall-list-64bit-options)
30634 (syscall-list-64bit-condition): Define.
30635 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30636 Remove.
30637 (syscall-list-variants, syscall-list-32bit-options)
30638 (syscall-list-32bit-condition, syscall-list-64bit-options)
30639 (syscall-list-64bit-condition): Define.
30640 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30641 Remove.
30642 (syscall-list-variants, syscall-list-32bit-options)
30643 (syscall-list-32bit-condition, syscall-list-64bit-options)
30644 (syscall-list-64bit-condition): Define.
30645
21eaf3a5
UD
306462011-12-22 Ulrich Drepper <drepper@gmail.com>
30647
16c6f992
UD
30648 * locale/iso-639.def: Add brx entry.
30649
41043168
UD
30650 [BZ #13328]
30651 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30652 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30653
21eaf3a5
UD
30654 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30655 __feraiseexcept_renamed.
30656
e3a851a2
UD
306572011-12-21 Ulrich Drepper <drepper@gmail.com>
30658
4920765e
UD
30659 [BZ #13538]
30660 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30661 EPOLLET with unsigned values.
30662 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30663 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30664
e3a851a2
UD
30665 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30666 to large cancellation.
30667 * math/s_cacoshf.c: Likewise.
30668 * math/s_cacoshl.c: Likewise.
30669
b27e24b8
RK
306702011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30671
30672 [BZ #13305]
aebefeee 30673 [BZ #12786]
b27e24b8
RK
30674 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30675 * math/s_cacoshf.c: Likewise.
30676 * math/s_cacoshl.c: Likewise.
30677
ee190f67
UD
306782011-12-21 Ulrich Drepper <drepper@gmail.com>
30679
30680 [BZ #13439]
30681 * iconv/gconv.h: Define __GCONV_SWAP.
30682 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30683 * iconvdata/utf-16.c: Likewise.
30684 * iconvdata/utf-32.c: Likewise.
30685
707f25df
AS
306862011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30687
30688 [BZ #13524]
30689 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30690 numerator after shifting it by one limb.
30691
d2daaa1e
RÁE
306922011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30693
30694 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30695 under [__USE_EXTERN_INLINES].
30696
a4647e72
UD
306972011-12-17 Ulrich Drepper <drepper@gmail.com>
30698
30699 [BZ #13446]
30700 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30701
f0b264f1
AZ
307022011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30703
30704 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30705 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30706 optimized code.
30707 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30708 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30709 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30710 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30711 for strncasecmp/strncasecmp_l compilation.
30712 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30713 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30714
8ef4f244
MP
307152011-12-08 Marek Polacek <mpolacek@redhat.com>
30716
30717 [BZ #13484]
30718 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30719 of __asm__.
30720
97ac2654
UD
307212011-12-17 Ulrich Drepper <drepper@gmail.com>
30722
30723 [BZ #13506]
30724 * time/tzfile.c (__tzfile_read): Check values from file header.
30725
91d2a845
WS
307262011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30727
30728 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30729 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30730 * powerpc/powerpc32/dl-start.S: Likewise.
30731 * powerpc/powerpc32/elf/start.S: Likewise.
30732 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30733 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30734 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30735 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30736 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30737 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30738 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30739 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30740 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30741 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30742 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30743 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30744 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30745 * powerpc/powerpc32/memset.S: Likewise.
30746 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30747 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30748 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30749 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30750 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30751 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30752 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30753 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30754 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30755 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30756 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30757 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30758 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30759
a1267ba1
AZ
307602011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30761
30762 * math/libm-test.inc: Added more nearbyint tests.
30763 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30764 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30765 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30766 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30767
ad8ac1bd
RL
307682011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30769
30770 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30771 FD_CLOEXEC.
30772
1d3e4b61
UD
307732011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30774
30775 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30776 Add wcscpy-ssse3 wcscpy-c.
30777 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30778 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30779 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30780 * sysdeps/x86_64/wcschr.S: New file.
30781 * sysdeps/x86_64/wcsrchr.S: New file.
30782 * string/test-strcmp.c: Remove checking of wcscmp function for
30783 wrong alignments.
30784 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30785 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30786 wcsrchr-sse2 wcsrchr-c.
30787 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30788 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30789 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30790 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30791 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30792 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30793 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30794 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30795 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30796 * wcsmbc/wcschr.c (WCSCHR): New macro.
30797
5b330a2d
UD
307982011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30799
30800 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30801 * wcsmbs/test-wcsrchr.c: New file.
30802 * string/test-strrchr.c: Add wcsrchr support.
30803 (WIDE): New macro.
30804 * wcsmbs/test-wcscpy.c: New file.
30805 * string/test-strcpy.c: Add wcscpy support.
30806 (WIDE): New macro.
26428b7c 30807
f039c043
UD
308082011-12-10 Ulrich Drepper <drepper@gmail.com>
30809
30810 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30811 the inner loop.
30812
850fb039
AS
308132011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30814
30815 [BZ #13472]
30816 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30817
4efbd5cb
UD
308182011-12-04 Ulrich Drepper <drepper@gmail.com>
30819
52ff5dd0 30820 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 30821 Minor optimizations.
52ff5dd0 30822
4efbd5cb
UD
30823 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30824 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30825 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30826
8a426e12
UD
308272011-12-03 Ulrich Drepper <drepper@gmail.com>
30828
aff2453d
UD
30829 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30830 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30831 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30832 for gcc to avoid warnings.
30833 * inet/Makefile (tests): Add tst-checks.
30834 * inet/tst-checks.c: New file.
30835
30836 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30837 warning.
30838
30839 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30840 __wmemcmp_sse2.
30841
30842 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30843 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30844
8a426e12
UD
30845 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30846
9bea3473
UD
308472011-12-02 Ulrich Drepper <drepper@gmail.com>
30848
3a965496
UD
30849 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30850 problem.
30851
9bea3473
UD
30852 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30853
f101631b
UD
308542011-11-29 Joseph Myers <joseph@codesourcery.com>
30855
30856 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30857 conditional on GCC version.
30858 (__arch_compare_and_exchange_val_8_acq)
30859 (__arch_compare_and_exchange_val_16_acq)
30860 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30861 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30862 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30863
a98275aa
UD
308642011-12-02 Joseph Myers <joseph@codesourcery.com>
30865
30866 * sysdeps/sh/backtrace.c: New file.
30867
d4cc29a2
AS
308682011-12-02 Andreas Schwab <schwab@redhat.com>
30869
30870 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30871 parenthesis.
30872
6257af2d
AS
308732011-12-01 Andreas Schwab <schwab@redhat.com>
30874
30875 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30876 falling back to utime.
30877
b5f44c1a
AS
308782011-11-30 Andreas Schwab <schwab@redhat.com>
30879
30880 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30881 expectations for float.
30882
f3a6cc0a
AS
308832011-11-29 Andreas Schwab <schwab@redhat.com>
30884
30885 * locale/weight.h (findidx): Add parameter len.
30886 * locale/weightwc.h (findidx): Likewise.
30887 * posix/fnmatch_loop.c (FCT): Adjust caller.
30888 * posix/regcomp.c (build_equiv_class): Likewise.
30889 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30890 * posix/regexec.c (check_node_accept_bytes): Likewise.
30891 * string/strcoll_l.c (STRCOLL): Likewise.
30892 * string/strxfrm_l.c (STRXFRM): Likewise.
30893
9d65ea3a
UD
308942011-11-17 Ulrich Drepper <drepper@gmail.com>
30895
30896 * Makefile.in: Remove CVSOPT handling.
30897 * configure.in: Remove use of AC_REVISION.
30898 * iconvdata/Makefile (distribute): No need to filter out CVS.
30899 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30900 handling.
30901
5583a086
AS
309022011-11-16 Andreas Schwab <schwab@redhat.com>
30903
30904 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30905 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30906 [USE_AS_STRNCASECMP_L]: Likewise.
30907 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30908 NO_TLS_DIRECT_SEG_REFS.
30909 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30910 Fix argument offsets for non-PIC.
30911 [USE_AS_STRNCASECMP_L]: Likewise.
30912 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30913 NO_TLS_DIRECT_SEG_REFS.
30914
d62a8200
UD
309152011-11-15 Ulrich Drepper <drepper@gmail.com>
30916
9d65ea3a 30917 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
30918 O_CLOEXEC.
30919 * locale/loadlocale.c (_nl_load_locale): Likewise.
30920
09f93bd3
AS
309212011-11-15 Andreas Schwab <schwab@redhat.com>
30922
446514f9
AS
30923 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30924 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30925 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30926 (SYSCALL_GETTIME): Set errno on error.
30927
09f93bd3
AS
30928 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30929 count references to noai6ai_cached.
30930
312be3f9
UD
309312011-11-15 Ulrich Drepper <drepper@gmail.com>
30932
30933 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30934
30935 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30936 FD_CLOEXEC for /proc/self/maps.
30937
30938 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30939 FD_CLOEXEC for /proc/meminfo.
30940
30941 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30942 gai.conf.
30943
30944 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30945 FD_CLOEXEC for given file.
30946
30947 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30948
30949 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30950 FD_CLOEXEC for /etc/hosts.
30951 (_gethtent): Likewise.
30952
30953 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30954
30955 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30956 cancellation and set FD_CLOEXEC for /etc/netgroup.
30957
30958 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30959 reading /etc/publickey.
30960
30961 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30962 allow cancellation when reading /etc/group.
30963
30964 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30965 cancellation.
30966 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30967
30968 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30969 when using data file.
30970
30971 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30972
30973 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30974 (write_nis_obj): Use "c" and "e" in fopen.
30975
30976 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30977
30978 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30979
30980 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30981
30982 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30983
30984 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30985 locale.alias.
30986
30987 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30988
30989 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30990
30991 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30992
30993 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30994 file parsing and set FD_CLOEXEC.
30995
82af0fa8
UD
309962011-11-14 Ulrich Drepper <drepper@gmail.com>
30997
30998 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30999
a5fb313c
AS
310002011-11-14 Andreas Schwab <schwab@redhat.com>
31001
31002 * malloc/arena.c (arena_get2): Don't call reused_arena when
31003 _int_new_arena failed.
31004
6abf3465
UD
310052011-11-14 Ulrich Drepper <drepper@gmail.com>
31006
31007 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31008 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31009 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31010 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31011 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31012 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31013 to compile strcasecmp and strncasecmp.
31014 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31015 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31016
31017 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31018
76e3966e
UD
310192011-11-13 Ulrich Drepper <drepper@gmail.com>
31020
31021 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31022 locale-defines.sym to gen-as-const-headers.
31023 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31024 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31025 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31026 to compile strcasecmp and strncasecmp.
31027 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31028 strcasecmp_l and strncasecmp_l.
31029 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31030 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31031 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31032 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31033 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31034 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31035 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31036 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31037 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31038 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31039 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31040
ab26144e
UD
310412011-11-12 Ulrich Drepper <drepper@gmail.com>
31042
7edb22ef
UD
31043 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31044 result of SYSDEP_GETTIME_CPU to retval.
31045 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31046 parameter list to macro. Remove trailing semicolon. Adjust users.
31047
9694fc44
UD
31048 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31049 variable.
31050
8ad89ef8
UD
31051 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31052 mantissa words.
31053 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31054
0c822ef9
UD
31055 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31056 from unused variable.
31057
874e0564
UD
31058 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31059 DWARF definitions.
31060 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31061 for assembling.
31062
3a2edc79
UD
31063 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31064 over namespaces.
31065
f3c2577f
UD
31066 * sunrpc/rpc_prot.c (rejected): Fix case value.
31067
294ce126
UD
31068 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31069 unsigned long long int to avoid warnings in shift.
31070
5e2b63c6
UD
31071 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31072 of use of trans.
31073 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31074 variable tmp.
31075
e7f4b08e
UD
31076 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31077 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31078 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31079
ab26144e
UD
31080 * nis/nis_table.c (nis_list): Use variable of correct type for
31081 result of __follow_path call.
31082
8a6d5255
AZ
310832011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31084
31085 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31086 of math functions ceil, trunc, floor, round, and sqrt, when
31087 avaliable on the platform.
31088 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31089 name clash.
31090 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31091 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31092 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31093
aaddc98c
MP
310942011-10-30 Marek Polacek <mpolacek@redhat.com>
31095
31096 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31097 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31098
95b7042b
RM
310992011-11-11 Roland McGrath <roland@hack.frob.com>
31100
31101 * include/unistd.h: Fix __readlink return type.
31102 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31103
57769839
UD
311042011-11-11 Ulrich Drepper <drepper@gmail.com>
31105
31106 * stdlib/ucontext.h: Undo last change for makecontext.
31107
edc5984d
AS
311082011-11-11 Andreas Schwab <schwab@redhat.com>
31109
98591e58
AS
31110 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31111
edc5984d
AS
31112 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31113 * setjmp/setjmp.h: Mark functions as non-leaf.
31114 * setjmp/bits/setjmp2.h: Likewise.
31115 * stdlib/ucontext.h: Likewise.
31116
77cdc054
AS
311172011-11-10 Andreas Schwab <schwab@redhat.com>
31118
31119 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31120 (reused_arena): Don't check arena limit.
31121 (arena_get2): Atomically check arena limit.
31122
fe72eebd
UD
311232011-11-08 Ulrich Drepper <drepper@gmail.com>
31124
5f078c32
UD
31125 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31126 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31127
fe72eebd
UD
31128 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31129 instructions.
31130
ae1bc2fa
AS
311312011-11-07 Andreas Schwab <schwab@redhat.com>
31132
7583a88d
AS
31133 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31134 handler when locking.
31135
ae1bc2fa
AS
31136 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31137 Fix size of allocated buffer.
31138
10fb0bfa
AS
311392011-11-04 Andreas Schwab <schwab@redhat.com>
31140
998832a4
AS
31141 [BZ #10103]
31142 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31143 declarations for long double functions.
31144 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31145
10fb0bfa
AS
31146 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31147
3d7ba52b
AS
311482011-11-03 Andreas Schwab <schwab@redhat.com>
31149
a9ae54a1
AS
31150 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31151 installed.
31152
3d7ba52b
AS
31153 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31154 is disabled.
31155
bc8db248
ST
311562011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31157
31158 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31159
45b96dd6
AS
311602011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31161
647776f6
AS
31162 * include/alloca.h (stackinfo_alloca_round): Define.
31163 (extend_alloca): Use it.
31164 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31165 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31166 here.
31167
d91a8b93
AS
31168 * scripts/check-local-headers.sh: Ignore libaudit.h.
31169
45b96dd6
AS
31170 * nscd/Makefile (extra-objs): Make recursively expanded.
31171
432d41ce
UD
311722011-11-01 Ulrich Drepper <drepper@gmail.com>
31173
34372fc6
UD
31174 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31175 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31176
fadb59f8
UD
31177 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31178 * posix/tst-rfc3484-2.c: Likewise.
31179 * posix/tst-rfc3484-3.c: Likewise.
31180
78239589
UD
31181 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31182 process_vm_writev.
31183 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31184 process_vm_writev.
31185 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31186 process_vm_writev from libc using GLIBC_2.15 version.
31187
432d41ce
UD
31188 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31189
02f9c6cf
PP
311902011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31191
31192 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31193 stack usage.
31194
3a2c0242
UD
311952011-10-31 Ulrich Drepper <drepper@gmail.com>
31196
f4ec4833
UD
31197 [BZ #13367]
31198 * nss/getent.c (initgroups_keys): Show error message in case no group
31199 names are given.
31200
3a2c0242
UD
31201 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31202 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31203 __bump_nl_timestamp.
31204 * nscd/connections (nscd_init): When host database is served open
31205 netlink socket and request notification about configuration changes.
31206 (main_loop_poll): Track netlink file descriptor and bump timestamp
31207 in case data becomes available.
31208 (main_loop_epoll): Likewise.
31209 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31210 (database_pers_head): Add extra_data fileds.
31211 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31212 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31213 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31214 Adjust caller.
31215 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31216 in6ai data, call __free_in6ai.
31217 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31218 Add -DHAVE_NETLINK.
31219 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31220 interface information. Reuse previous data if netlink timestamp
31221 is not changed.
31222 (__bump_nl_timestamp): New function.
31223 (__free_in6ai): New function.
31224
636064eb
UD
312252011-10-30 Ulrich Drepper <drepper@gmail.com>
31226
31227 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31228 close_not_cancel_no_status here.
31229 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31230
9beb2334
UD
312312011-10-29 Ulrich Drepper <drepper@gmail.com>
31232
6ef76f3b
UD
31233 [BZ #13276]
31234 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31235 return value.
31236
0ffc4f3e 31237 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
31238 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31239 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31240
cb95113e
UD
312412011-07-03 Andreas Jaeger <aj@suse.de>
31242
31243 [BZ #10709]
31244 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31245 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31246 * math/libm-test.inc (sin_test): Add test case.
31247
a1b560ff
UD
312482011-10-29 Ulrich Drepper <drepper@gmail.com>
31249
c9aaface
UD
31250 [BZ #13337]
31251 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31252 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31253
d272e7f1
UD
31254 * elf/chroot_canon.c (chroot_canon): Cleanups.
31255
1bc33071
UD
31256 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31257
1760874d
TJ
31258 [BZ #13335]
31259 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31260 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31261
51d91b18
UD
31262 * string/test-strchr.c: Make usable for strchrnul testing.
31263 * string/test-strchrnul.c: New file.
31264 * string/Makefile (strop-tests): Add strchrnul.
31265
a1b560ff 31266 * po/it.po: Update from translation team.
b611fb81 31267 * po/es.po: Likewise.
a1b560ff 31268
a5b81e1f
UD
312692011-10-28 Ulrich Drepper <drepper@gmail.com>
31270
fd52bc6d
UD
31271 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31272 the three constants needed as parameters. Drop the others.
31273 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31274 __m128i_strloadu_tolower.
52e4b9eb
UD
31275 Create and initialize variable zero and use it in all the places
31276 where _mm_setzero_si128 was used.
fd52bc6d 31277
a5b81e1f
UD
31278 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31279 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31280 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31281 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31282 anymore.
31283 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31284 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31285 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31286 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31287 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31288 __mpranred, __mptan.
31289 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31290 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31291 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31292 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31293 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31294 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31295 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31296 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31297 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31298
b4343346
AS
312992011-10-28 Andreas Schwab <schwab@redhat.com>
31300
0c92d8a8
AS
31301 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31302 redefine if SHARED.
31303 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31304
b4343346
AS
31305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31306 wide char related routines to wcsmbs subdir.
31307
3871f58f
AS
313082011-10-27 Andreas Schwab <schwab@redhat.com>
31309
31310 [BZ #13344]
31311 * misc/sys/cdefs.h (__THROWNL): Define.
31312 * posix/unistd.h: Use __THREADNL instead of __THREAD
31313 for memory synchronization functions.
31314
94d44d9f
RM
313152011-10-26 Roland McGrath <roland@hack.frob.com>
31316
21b64b15 31317 [BZ #13349]
94d44d9f
RM
31318 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31319 doesn't exist.
31320 * manual/stdio.texi (Obstack Streams): Node removed.
31321
f6ce9294
AS
313222011-10-26 Andreas Schwab <schwab@redhat.com>
31323
80479147
AS
31324 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31325 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31326 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31327
f6ce9294
AS
31328 * math/math_private.h (math_force_eval): Allow non-addressable
31329 arguments.
31330 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31331
618280a1
UD
313322011-10-25 Ulrich Drepper <drepper@gmail.com>
31333
e0016b11
UD
31334 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31335 file is not needed.
31336
31337 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31338 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31339 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31340 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31341 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31342 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31343 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31344 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31345 Add AVX variants.
31346 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31347 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31348 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31349 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31350 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31351 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31352 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31353 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31354 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31355 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31356 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31357 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31358 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31359 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31360 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31361 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31362 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31363 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31364 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31365
31366 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31367 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31368
618280a1
UD
31369 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31370 place. Use VEX encoding when compiling for AVX.
31371
37822576
AS
313722011-10-25 Andreas Schwab <schwab@redhat.com>
31373
1f1e1947
AS
31374 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31375 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31376
37822576
AS
31377 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31378
31ea014d
UD
313792011-10-25 Ulrich Drepper <drepper@gmail.com>
31380
d7826aa1 31381 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 31382 useless if() expression.
d7826aa1
UD
31383 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31384 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31385 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31386 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31387 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31388 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31389 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31390 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31391 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31392 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31393 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31394 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31395 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31396 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31397 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31398 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31399 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31400 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31401 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31402
31ea014d
UD
31403 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31404
16437fec
AS
314052011-10-25 Andreas Schwab <schwab@redhat.com>
31406
31407 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31408 condition.
31409 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31410
31d3cc00
UD
314112011-10-25 Ulrich Drepper <drepper@gmail.com>
31412
31413 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31414 .text section. Avoid duplicate constants.
31415 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31416 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31417 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31418 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31419 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31420 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31421 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31422 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31423 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31424 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31425 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31426 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31427 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31428 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31429 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31430 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31431 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31432 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31433 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31434 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31435 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31436 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31437 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31438 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31439 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31440 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31441 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31442 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31443 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31444 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31445 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31446 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31447 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31448 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31449 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31450 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31451 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31452 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31453 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31454 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31455 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31456 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31457 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31458 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31459 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31460
58985aa9
UD
314612011-10-24 Ulrich Drepper <drepper@gmail.com>
31462
202c9deb
UD
31463 * sysdeps/x86_64/dla.h: Move to ...
31464 * sysdeps/x86_64/fpu/dla.h: ...here.
31465 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31466 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 31467
af968f62
UD
31468 * config.make.in: Add have-mfma4 entry.
31469 * configure.in: Substitute libc_cv_cc_fma4.
31470 * math/Makefile (dbl-only-routines): Add sincostab.
31471 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31472 Use __sincostab not sincos.
31473 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31474 name is a macro.
31475 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31476 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31477 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31478 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31479 using __copysign.
31480 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31481 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31482 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31483 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31484 and __inv.
31485 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31486 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31487 __copysign.
31488 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31489 define aliases when function name is a macro.
31490 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31491 sysdeps/ieee754/dbl-64/sincos.tbl.
31492 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31493 fma4-enabled routines.
31494 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31495 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31496 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31497 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31498 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31499 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31500 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31501 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31502 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31503 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31504 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31505 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31506 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31507 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31508 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31509 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31510 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31511 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31512 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31513 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31514 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31515 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31516 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31517 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31518 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31519 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31520 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31521 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31522 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31523 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31524
58985aa9
UD
31525 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31526 rename.
31527 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31528 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31529 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31530 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31531 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31533 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31534 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31535
a201fbcf
AS
315362011-10-24 Andreas Schwab <schwab@redhat.com>
31537
31538 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31539
fc2ee42a
LD
315402011-10-23 Ulrich Drepper <drepper@gmail.com>
31541
bb3129bd
UD
31542 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31543
0275fff8
UD
31544 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31545 prediction.
31546 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31547
2fa2ae85
UD
31548 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31549 Remove unused variable magic_bits.
31550 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31551
fc2ee42a
LD
31552 * string/strnlen.c: Define and use STRNLEN macro.
31553 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31554 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31555 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31556 * wcsmbs/wcslen.c: Define and use WCSLEN.
31557 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31558 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31559 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31560 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31561 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31562 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31563 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31564
ce7dd29f
LD
315652011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31566
31567 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31568 strnlen-sse2-no-bsf.
31569 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31570 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31571 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31572 Add strnlen support.
31573 (USE_AS_STRNLEN): New macro.
31574 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31575 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31576 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31577 * sysdeps/x86_64/wcslen.S: New file.
31578
979c70a3
MZ
315792011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31580
31581 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31582 XMM-moves are used for copying on small sizes.
31583
2d09f82f
LD
315842011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31585
31586 * wcsmbs/Makefile (strop-tests): Add wcschr.
31587 * wcsmbs/test-wcschr.c: New file.
31588 * string/test-strchr.c: Update.
31589 Add wcschr support.
31590 (WIDE): New macro.
31591
619fccca
LD
315922011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31593
2d09f82f 31594 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
31595 * wcsmbs/test-wcslen.c: New file.
31596 * string/test-strlen.c: Update.
31597 Add wcslen support.
31598 (WIDE): New macro.
31599
09f699ea
UD
316002011-10-23 Ulrich Drepper <drepper@gmail.com>
31601
31602 * po/it.po: Update from translation team.
31603
95584d3b
LD
316042011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31605
31606 * sysdeps/x86_64/wcscmp.S: Update.
31607 Fix wrong comparison semantics.
31608 wcscmp shall use signed comparison not unsigned.
31609 Don't use substraction to avoid overflow bug.
31610 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31611 * wcsmbc/wcscmp.c: Likewise.
31612 * string/test-strcmp.c: Likewise.
31613 Add new tests to check cases with negative values.
31614
c8b3296b
UD
316152011-10-23 Ulrich Drepper <drepper@gmail.com>
31616
31617 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31618 * sysdeps/x86_64/dla.h: ...here. New file.
31619 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31620 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31621 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31622 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31623 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31624 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31625 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31626 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31627 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31628
246ad57a
AS
316292011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31630
31631 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31632 __ynl_finite aliases.
31633
a1a87169
UD
316342011-10-22 Ulrich Drepper <drepper@gmail.com>
31635
0d355eb7
UD
31636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31637
a1a87169
UD
31638 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31639 define DLA_FMA.
31640 [DLA_FMA] (EMULV): Use DLA_FMA.
31641 [DLA_FMA] (MUL12): Use EMULV.
31642 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31643 that are not needed.
31644 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31645 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31646 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31647 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31648 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31649 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31650 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31651
ee2aafe0
AS
316522011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31653
31654 * math/s_nan.c: Undef __nan.
31655 * math/s_nanf.c: Undef __nanf.
31656 * math/s_nanl.c: Undef __nanl.
31657 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31658 "math_private.h".
31659
bc62c2fb
UD
316602011-10-22 Ulrich Drepper <drepper@gmail.com>
31661
77425c63
UD
31662 * math/s_catan.c: Add branch predictions.
31663 * math/s_catanf.c: Likewise.
31664 * math/s_catanh.c: Likewise.
31665 * math/s_catanhf.c: Likewise.
31666 * math/s_catanhl.c: Likewise.
31667 * math/s_catanl.c: Likewise.
31668 * math/s_cexp.c: Likewise.
31669 * math/s_cexpf.c: Likewise.
31670 * math/s_cexpl.c: Likewise.
31671 * math/s_clog.c: Likewise.
31672 * math/s_clog10.c: Likewise.
31673 * math/s_clog10f.c: Likewise.
31674 * math/s_clog10l.c: Likewise.
31675 * math/s_clogf.c: Likewise.
31676 * math/s_clogl.c: Likewise.
31677 * math/s_csqrt.c: Likewise.
31678 * math/s_csqrtf.c: Likewise.
31679 * math/s_csqrtl.c: Likewise.
31680 * math/s_ctanf.c: Likewise.
31681 * math/s_ctanh.c: Likewise.
31682 * math/s_ctanhf.c: Likewise.
31683 * math/s_ctanhl.c: Likewise.
31684 * math/s_ctanl.c: Likewise.
31685
bc62c2fb
UD
31686 * math/math_private.h: Define __nan, __nanf, __nanl.
31687 * math/s_cacosh.c: Include <math_private.h>.
31688 * math/s_cacoshl.c: Likewise.
31689 * math/s_casinh.c: Likewise.
31690 * math/s_casinhf.c: Likewise.
31691 * math/s_casinhl.c: Likewise.
31692 * math/s_ccos.c: Rely entire on ccosh.
31693 * math/s_ccosf.c: Rely entire on ccoshf.
31694 * math/s_ccosl.c: Rely entirely on ccoshl.
31695 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31696 Remove tests for FE_INVALID.
31697 * math/s_ccoshf.c: Likewise.
31698 * math/s_ccoshl.c: Likewise.
31699 * math/s_csin.c: Likewise.
31700 * math/s_csinf.c: Likewise.
31701 * math/s_csinh.c Likewise.
31702 * math/s_csinhf.c: Likewise.
31703 * math/s_csinhl.c: Likewise.
31704 * math/s_csinl.c: Likewise.
31705 * math/s_ctan.c: Likewise.
31706 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31707 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31708 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31709
8ec250a4
UD
317102011-10-21 Ulrich Drepper <drepper@gmail.com>
31711
c196fed8
UD
31712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31713 compilation problems.
31714
8ec250a4
UD
31715 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31716 __builtin_expect.
31717
8d4f46c6
UD
317182011-10-20 Ulrich Drepper <drepper@gmail.com>
31719
ed72b654
UD
31720 * sysdeps/i386/configure.in: Test for -mfma4 option.
31721 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31722 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31723 COMMON_CPUID_INDEX_80000001.
31724 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31725 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31726 use it if FMA3 is not supported.
31727 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31728
8d4f46c6
UD
31729 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31730 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31731
d45c60c2
AS
317322011-10-20 Andreas Schwab <schwab@redhat.com>
31733
31734 [BZ #12892]
31735 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31736 it would create a cycle with a link time dependency.
31737
d9a4d2ab
UD
317382011-10-19 Ulrich Drepper <drepper@gmail.com>
31739
855d1560
UD
31740 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31741 instruction.
31742 * string/Makefile (strop-tests): Add rawmemchr.
31743 * string/test-rawmemchr.c: New file.
31744
d9a4d2ab
UD
31745 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31746 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31747 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31748 when compiling str{,n}casecmp and when AVX is available. Hook up
31749 new optimized code in initializers.
31750
8f3b1ffe
AS
317512011-10-19 Andreas Schwab <schwab@redhat.com>
31752
31753 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31754 __feraiseexcept instead of feraiseexcept.
31755
d38f1dba
UD
317562011-10-18 Ulrich Drepper <drepper@gmail.com>
31757
d9a8d0ab
UD
31758 * math/math_private.h: Define defaults for libc_fetestexcept and
31759 libc_feupdateenv.
31760 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31761 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31762 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31763 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31764 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31765 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31766 libc_fetestexcept and libc_feupdateenv.
31767
4855e3dd
UD
31768 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31769 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31770 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31771 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31772 libc_feholdexcept_setround.
31773
581d30e3
UD
31774 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31775 Add s_nearbyint-c and s_nearbyintf-c.
31776 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31777 nearbyintf inlines.
31778 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31779 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31780 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31781 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31782
d38f1dba
UD
31783 * math/math_private.h: Define defaults for libc_fegetround,
31784 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31785 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31786 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31787 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31788 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31789 standard functions.
31790 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31791 Remove comments and hacks for old compiler versions.
31792 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31793 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31794 libc_feholdexceptl.
31795
caa6c9d8
AS
317962011-10-18 Andreas Schwab <schwab@redhat.com>
31797
31798 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
31799 (__feraiseexcept_renamed): Add __NTH.
31800 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
31801 namespace violations.
31802
97c066e6
UD
318032011-10-17 Ulrich Drepper <drepper@gmail.com>
31804
99ce7b04
UD
31805 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31806
1004d182
UD
31807 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31808
228a984d
UD
31809 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31810 recently added interfaces.
31811 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31812
c8553a6a
UD
31813 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31814 about macro parameter expansion.
31815
ed22dcf6
UD
31816 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31817 __NO_MATH_INLINES is defined. Cleanups.
31818
31819 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31820 and __floorf is target has SSE4.1.
31821 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31822 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31823 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31824 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31825
b171c137
UD
31826 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31827 name.
31828 (floorf): Likewise.
31829
97c066e6
UD
31830 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31831
629f62ef
AS
318322011-10-17 Andreas Schwab <schwab@redhat.com>
31833
49a43d80
AS
31834 * misc/sys/cdefs.h: Fix last change.
31835
629f62ef
AS
31836 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31837 database lookup.
31838
e453f6cd
UD
318392011-10-16 Ulrich Drepper <drepper@gmail.com>
31840
aa78043a
UD
31841 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31842
ad0f5cad
UD
31843 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31844 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31845 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31846 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31847 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31848 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31849 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31850 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31851 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31852 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31853 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31854 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31855 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31856 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31857 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31858 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31859 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31860 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31861 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31862 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31863 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31864 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31865
31866 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31867 ceil, ceilf, floor, floorf.
31868
31869 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31870 Perform IRELATIVE relocations last.
31871
e453f6cd
UD
31872 * elf/do-rel.h: Add another parameter nrelative, replacing the
31873 local variable with the same name. Change name of the function
31874 to end in Rel or Rela (uppercase).
31875 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31876 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31877 elf_dynamic_do_##reloc function.
31878
fd5bdc09
UD
318792011-10-15 Ulrich Drepper <drepper@gmail.com>
31880
79b195b5
UD
31881 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31882 is sufficient, at least on modern CPUs.
31883
d4a28569
UD
31884 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31885
b61099b5
UD
31886 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31887 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31888
bcf01e6d
UD
31889 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31890 __expl_finite.
31891 * math/bits/math-finite.h: Add entries for exp.
31892 * math/e_expl.c: Add __*_finite alias.
31893 * sysdeps/i386/fpu/e_exp.S: Likewise.
31894 * sysdeps/i386/fpu/e_expf.S: Likewise.
31895 * sysdeps/i386/fpu/e_expl.c: Likewise.
31896 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31897 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31898 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31899 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31900 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31901 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31902 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31903
ba1a0d59
UD
31904 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31905 is sufficient, at least on modern CPUs.
31906
fd5bdc09
UD
31907 * ctype/ctype-info.c (__ctype_init): Define.
31908 * include/ctype.h (__ctype_init): Declare.
31909 (__ctype_b_loc): The variable is always initialized.
31910 (__ctype_toupper_loc): Likewise.
31911 (__ctype_tolower_loc): Likewise.
31912 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31913 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31914
7872cfb0
AS
319152011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31916
b468825a
AS
31917 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31918
7872cfb0
AS
31919 * configure.in: Also look in $cxxmachine/include for C++ system
31920 headers.
31921
be13f7bf
LD
319222011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31923
31924 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31925 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31926 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31927 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31928 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31929 (USE_AS_WMEMCMP): New macro.
31930 Fixing indents.
31931 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31932 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31933 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31934 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31936 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31937 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31938 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31939 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31940 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31941 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31942 (USE_AS_WMEMCMP): New macro.
31943 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31944 * sysdeps/string/test-memcmp.c: Update.
31945 Fix simple_wmemcmp.
31946 Add new tests.
31947 * wcsmbs/wmemcmp.c: Update.
31948 (WMEMCMP): New macro.
31949 Fix overflow bug.
31950
556a2007
AJ
319512011-10-12 Andreas Jaeger <aj@suse.de>
31952
31953 [BZ #13268]
31954 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31955
538faaa7
UD
319562011-10-15 Ulrich Drepper <drepper@gmail.com>
31957
ab6737ff
UD
31958 * libio/iofwide.c (do_length): Avoid warning.
31959
538faaa7
UD
31960 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31961
396a21b1
UD
319622011-10-14 Ulrich Drepper <drepper@gmail.com>
31963
cdf2901f
UD
31964 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31965
38ad40ce
UD
31966 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31967 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31968 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31969 * sysdeps/i386/i686/fpu/e_log.S: New file.
31970 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31971 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31972
396a21b1
UD
31973 * ctype/ctype.h: Add support for inlined isXXX functions when
31974 compiling C++ code.
31975
6b1f68c9
AS
319762011-10-14 Andreas Schwab <schwab@redhat.com>
31977
349290c0
AS
31978 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31979
6b1f68c9
AS
31980 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31981
f2282d42
RM
319822011-10-13 Roland McGrath <roland@hack.frob.com>
31983
31984 [BZ #13291]
31985 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31986
5298ffa8
AS
319872011-10-13 Andreas Schwab <schwab@redhat.com>
31988
714fad23
AS
31989 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31990 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31991 feraiseexcept.
31992
81dcc7fb
AS
31993 * sysdeps/x86_64/memrchr.S: Check for zero size.
31994
5298ffa8
AS
31995 * string/stratcliff.c: Add memrchr tests.
31996
951fbcec
LD
319972011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31998
31999 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32000 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32001 rawmemchr-sse2 rawmemchr-sse2-bsf.
32002 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32003 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32004 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32005 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32006 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32007 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32008 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32009 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32010 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32011 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32012 * string/memrchr.c (MEMRCHR): New macro.
32013
0ac5ae23
UD
320142011-10-12 Ulrich Drepper <drepper@gmail.com>
32015
32016 Add integration with gcc's -ffinite-math-only and optimize wrapper
32017 functions in libm.
32018 * Versions.def: Define GLIBC_2.15 version for libm.
32019 * math/Makefile (headers): Add bits/math-finite.h.
32020 * math/bits/math-finite.h: New file.
32021 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32022 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32023 * math/e_acoshl.c: Add __*_finite alias.
32024 * math/e_acosl.c: Likewise.
32025 * math/e_asinl.c: Likewise.
32026 * math/e_atan2l.c: Likewise.
32027 * math/e_atanhl.c: Likewise.
32028 * math/e_coshl.c: Likewise.
32029 * math/e_exp10.c: Likewise.
32030 * math/e_exp10f.c: Likewise.
32031 * math/e_exp10l.c: Likewise.
32032 * math/e_exp2l.c: Likewise.
32033 * math/e_fmodl.c: Likewise.
32034 * math/e_gammal_r.c: Likewise.
32035 * math/e_hypotl.c: Likewise.
32036 * math/e_j0l.c: Likewise.
32037 * math/e_j1l.c: Likewise.
32038 * math/e_jnl.c: Likewise.
32039 * math/e_lgammal_r.c: Likewise.
32040 * math/e_log10l.c: Likewise.
32041 * math/e_log2l.c: Likewise.
32042 * math/e_logl.c: Likewise.
32043 * math/e_powl.c: Likewise.
32044 * math/e_sinhl.c: Likewise.
32045 * math/e_sqrtl.c: Likewise.
32046 * math/e_scalb.c: Completely rewritten and optimized.
32047 * math/e_scalbf.c: Likewise.
32048 * math/e_scalbl.c: Likewise.
32049 * math/w_acos.c: Likewise.
32050 * math/w_acosf.c: Likewise.
32051 * math/w_acosl.c: Likewise.
32052 * math/w_acosh.c: Likewise.
32053 * math/w_acoshf.c: Likewise.
32054 * math/w_acoshl.c: Likewise.
32055 * math/w_asin.c: Likewise.
32056 * math/w_asinf.c: Likewise.
32057 * math/w_asinl.c: Likewise.
32058 * math/w_atan2.c: Likewise.
32059 * math/w_atan2f.c: Likewise.
32060 * math/w_atan2l.c: Likewise.
32061 * math/w_atanh.c: Likewise.
32062 * math/w_atanhf.c: Likewise.
32063 * math/w_atanhl.c: Likewise.
32064 * math/w_exp10.c: Likewise.
32065 * math/w_exp10f.c: Likewise.
32066 * math/w_exp10l.c: Likewise.
32067 * math/w_fmod.c: Likewise.
32068 * math/w_fmodf.c: Likewise.
32069 * math/w_fmodl.c: Likewise.
32070 * math/w_j0.c: Likewise.
32071 * math/w_j0f.c: Likewise.
32072 * math/w_j0l.c: Likewise.
32073 * math/w_j1.c: Likewise.
32074 * math/w_j1f.c: Likewise.
32075 * math/w_j1l.c: Likewise.
32076 * math/w_jn.c: Likewise.
32077 * math/w_jnf.c: Likewise.
32078 * math/w_log.c: Likewise.
32079 * math/w_logf.c: Likewise.
32080 * math/w_logl.c: Likewise.
32081 * math/w_log10.c: Likewise.
32082 * math/w_log10f.c: Likewise.
32083 * math/w_log10l.c: Likewise.
32084 * math/w_log2.c: Likewise.
32085 * math/w_log2f.c: Likewise.
32086 * math/w_log2l.c: Likewise.
32087 * math/w_pow.c: Likewise.
32088 * math/w_powf.c: Likewise.
32089 * math/w_powl.c: Likewise.
32090 * math/w_remainder.c: Likewise.
32091 * math/w_remainderf.c: Likewise.
32092 * math/w_remainderl.c: Likewise.
32093 * math/w_scalb.c: Likewise.
32094 * math/w_scalbf.c: Likewise.
32095 * math/w_scalbl.c: Likewise.
32096 * math/w_sqrt.c: Likewise.
32097 * math/w_sqrtf.c: Likewise.
32098 * math/w_sqrtl.c: Likewise.
32099 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32100 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32101 used.
32102 * math/math_private.h: Declare __kernel_standard_f.
32103 * math/w_cosh.c: Remove cruft and optimize a bit.
32104 * math/w_coshf.c: Likewise.
32105 * math/w_coshl.c: Likewise.
32106 * math/w_exp2.c: Likewise.
32107 * math/w_exp2f.c: Likewise.
32108 * math/w_exp2l.c: Likewise.
32109 * math/w_hypot.c: Likewise.
32110 * math/w_hypotf.c: Likewise.
32111 * math/w_hypotl.c: Likewise.
32112 * math/w_lgamma.c: Likewise.
32113 * math/w_lgamma_r.c: Likewise.
32114 * math/w_lgammaf.c: Likewise.
32115 * math/w_lgammaf_r.c: Likewise.
32116 * math/w_lgammal.c: Likewise.
32117 * math/w_lgammal_r.c: Likewise.
32118 * math/w_sinh.c: Likewise.
32119 * math/w_sinhf.c: Likewise.
32120 * math/w_sinhl.c: Likewise.
32121 * math/w_tgamma.c: Likewise.
32122 * math/w_tgammaf.c: Likewise.
32123 * math/w_tgammal.c: Likewise.
32124 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32125 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32126 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32127 Minor optimizations. Pretty printing. Remove cruft.
32128 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32129 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32130 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32131 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32132 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32133 * sysdeps/i386/fpu/e_asin.S: Likewise.
32134 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32135 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32136 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32137 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32138 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32139 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32140 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32141 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32142 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32143 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32144 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32145 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32146 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32147 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32148 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32149 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32150 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32151 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32152 * sysdeps/i386/fpu/e_log.S: Likewise.
32153 * sysdeps/i386/fpu/e_log10.S: Likewise.
32154 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32155 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32156 * sysdeps/i386/fpu/e_log2.S: Likewise.
32157 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32158 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32159 * sysdeps/i386/fpu/e_logf.S: Likewise.
32160 * sysdeps/i386/fpu/e_logl.S: Likewise.
32161 * sysdeps/i386/fpu/e_pow.S: Likewise.
32162 * sysdeps/i386/fpu/e_powf.S: Likewise.
32163 * sysdeps/i386/fpu/e_powl.S: Likewise.
32164 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32165 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32166 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32167 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32168 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32169 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32170 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32171 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32172 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32173 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32174 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32175 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32176 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32177 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32178 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32179 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32180 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32181 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32182 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32183 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32184 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32185 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32186 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32187 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32188 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32189 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32190 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32191 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32192 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32193 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32194 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32195 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32196 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32197 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32198 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32199 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32200 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32201 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32202 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32203 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32204 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32205 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32206 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32207 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32208 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32209 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32210 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32211 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32212 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32213 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32214 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32215 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32216 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32217 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32218 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32219 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32220 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32221 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32222 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32223 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32224 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32225 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32226 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32227 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32228 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32229 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32230 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32231 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32232 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32233 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32234 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32235 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32236 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32237 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32238 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32239 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32240 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32241 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32242 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32243 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32244 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32245 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32246 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32247 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32248 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32249 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32250 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32251 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32252 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32253 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32254 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32255 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32256 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32257 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32258 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32259 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32260 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32261 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32262 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32263 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32264 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32265 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32266 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32267 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32268 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32269 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32270 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32271 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32272 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32273 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32274 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32275 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32276 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32277 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32278 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32279 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32280 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32281 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32282 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32283 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32284 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32285 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32286 (__isnanf): Likewise.
32287 (__isinf_ns): Likewise.
32288 (__isinf_nsf): Likewise.
32289 (__finite): Likewise.
32290 (__finitef): Likewise.
32291 (__ieee754_sqrt): Define as macro.
32292 (__ieee754_sqrtf): Define as macro.
32293 (__ieee754_sqrtl): Define as macro.
32294 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32295 inlined copy.
32296 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32297 __FINITE_MATH_ONLY__ consistent.
32298 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32299
12cc2fcd
AS
323002011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32301
a843a204
AS
32302 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32303 of rawmemchr.
32304
12cc2fcd
AS
32305 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32306
c853acd5
UD
323072011-10-09 Ulrich Drepper <drepper@gmail.com>
32308
32309 * po/ja.po: Update from translation team.
32310
c658d255
RM
323112011-10-08 Roland McGrath <roland@hack.frob.com>
32312
110946e4
RM
32313 * locale/programs/locarchive.c (prepare_address_space): New function.
32314 (create_archive, enlarge_archive, open_archive): Use it.
32315
50604220
RM
32316 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32317 inside [SHARED], where it is used.
32318
c658d255
RM
32319 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32320
32321 * nss/getent.c (netgroup_keys): Remove unused variable.
32322 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32323
6a621eb7
UD
323242011-10-08 Ulrich Drepper <drepper@gmail.com>
32325
7edb55ce
UD
32326 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32327 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32328 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32329 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32330 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32331 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32332 * math/Makefile (libm-calls): Add s_isinf_ns.
32333 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32334 * math/multc3.c: Likewise.
32335 * math/s_casin.c: Likewise.
32336 * math/s_casinf.c: Likewise.
32337 * math/s_casinl.c: Likewise.
32338 * math/s_ccos.c: Likewise.
32339 * math/s_ccosf.c: Likewise.
32340 * math/s_ccosl.c: Likewise.
32341 * math/s_ctan.c: Likewise.
32342 * math/s_ctanf.c: Likewise.
32343 * math/s_ctanh.c: Likewise.
32344 * math/s_ctanhf.c: Likewise.
32345 * math/s_ctanhl.c: Likewise.
32346 * math/s_ctanl.c: Likewise.
32347 * math/w_fmod.c: Likewise.
32348 * math/w_fmodf.c: Likewise.
32349 * math/w_fmodl.c: Likewise.
32350 * math/w_remainder.c: Likewise.
32351 * math/w_remainderf.c: Likewise.
32352 * math/w_remainderl.c: Likewise.
32353 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32354 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32355 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32356 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32357 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32358 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32359 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32360 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32361
187da0ae
UD
32362 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32363 of the number.
32364 * stdio-common/printf_fphex.c: Likewise.
32365 * stdio-common/printf_size.c: Likewise.
32366
9277c064
UD
32367 * math/e_exp10.c: Include math_private.h using <...> not "...".
32368 * math/e_exp10f.c: Likewise.
32369 * math/e_exp10l.c: Likewise.
32370 * math/e_exp2l.c: Likewise.
32371 * math/e_j0l.c: Likewise.
32372 * math/e_j1l.c: Likewise.
32373 * math/e_jnl.c: Likewise.
32374 * math/e_lgammal_r.c: Likewise.
32375 * math/e_rem_pio2l.c: Likewise.
32376 * math/e_scalb.c: Likewise.
32377 * math/e_scalbf.c: Likewise.
32378 * math/e_scalbl.c: Likewise.
32379 * math/k_cosl.c: Likewise.
32380 * math/k_sinl.c: Likewise.
32381 * math/k_tanl.c: Likewise.
32382 * math/s_cacoshf.c: Likewise.
32383 * math/s_catan.c: Likewise.
32384 * math/s_catanf.c: Likewise.
32385 * math/s_catanh.c: Likewise.
32386 * math/s_catanhf.c: Likewise.
32387 * math/s_catanhl.c: Likewise.
32388 * math/s_catanl.c: Likewise.
32389 * math/s_ccosh.c: Likewise.
32390 * math/s_ccoshf.c: Likewise.
32391 * math/s_ccoshl.c: Likewise.
32392 * math/s_cexp.c: Likewise.
32393 * math/s_cexpf.c: Likewise.
32394 * math/s_cexpl.c: Likewise.
32395 * math/s_clog.c: Likewise.
32396 * math/s_clog10.c: Likewise.
32397 * math/s_clog10f.c: Likewise.
32398 * math/s_clog10l.c: Likewise.
32399 * math/s_clogf.c: Likewise.
32400 * math/s_clogl.c: Likewise.
32401 * math/s_csin.c: Likewise.
32402 * math/s_csinf.c: Likewise.
32403 * math/s_csinh.c: Likewise.
32404 * math/s_csinhf.c: Likewise.
32405 * math/s_csinhl.c: Likewise.
32406 * math/s_csinl.c: Likewise.
32407 * math/s_csqrt.c: Likewise.
32408 * math/s_csqrtf.c: Likewise.
32409 * math/s_csqrtl.c: Likewise.
32410 * math/s_ctan.c: Likewise.
32411 * math/s_ctanf.c: Likewise.
32412 * math/s_ctanh.c: Likewise.
32413 * math/s_ctanhf.c: Likewise.
32414 * math/s_ctanhl.c: Likewise.
32415 * math/s_ctanl.c: Likewise.
32416 * math/s_ldexp.c: Likewise.
32417 * math/s_ldexpf.c: Likewise.
32418 * math/s_ldexpl.c: Likewise.
32419 * math/s_significand.c: Likewise.
32420 * math/s_significandf.c: Likewise.
32421 * math/s_significandl.c: Likewise.
32422 * math/w_acos.c: Likewise.
32423 * math/w_acosf.c: Likewise.
32424 * math/w_acosh.c: Likewise.
32425 * math/w_acoshf.c: Likewise.
32426 * math/w_acoshl.c: Likewise.
32427 * math/w_acosl.c: Likewise.
32428 * math/w_asin.c: Likewise.
32429 * math/w_asinf.c: Likewise.
32430 * math/w_asinl.c: Likewise.
32431 * math/w_atan2.c: Likewise.
32432 * math/w_atan2f.c: Likewise.
32433 * math/w_atan2l.c: Likewise.
32434 * math/w_atanh.c: Likewise.
32435 * math/w_atanhf.c: Likewise.
32436 * math/w_atanhl.c: Likewise.
32437 * math/w_cosh.c: Likewise.
32438 * math/w_coshf.c: Likewise.
32439 * math/w_coshl.c: Likewise.
32440 * math/w_dremf.c: Likewise.
32441 * math/w_exp10.c: Likewise.
32442 * math/w_exp10f.c: Likewise.
32443 * math/w_exp10l.c: Likewise.
32444 * math/w_exp2.c: Likewise.
32445 * math/w_exp2f.c: Likewise.
32446 * math/w_fmod.c: Likewise.
32447 * math/w_fmodf.c: Likewise.
32448 * math/w_fmodl.c: Likewise.
32449 * math/w_hypot.c: Likewise.
32450 * math/w_hypotf.c: Likewise.
32451 * math/w_hypotl.c: Likewise.
32452 * math/w_j0.c: Likewise.
32453 * math/w_j0f.c: Likewise.
32454 * math/w_j0l.c: Likewise.
32455 * math/w_j1.c: Likewise.
32456 * math/w_j1f.c: Likewise.
32457 * math/w_j1l.c: Likewise.
32458 * math/w_jn.c: Likewise.
32459 * math/w_jnf.c: Likewise.
32460 * math/w_jnl.c: Likewise.
32461 * math/w_lgamma.c: Likewise.
32462 * math/w_lgamma_r.c: Likewise.
32463 * math/w_lgammaf.c: Likewise.
32464 * math/w_lgammaf_r.c: Likewise.
32465 * math/w_lgammal.c: Likewise.
32466 * math/w_lgammal_r.c: Likewise.
32467 * math/w_log.c: Likewise.
32468 * math/w_log10.c: Likewise.
32469 * math/w_log10f.c: Likewise.
32470 * math/w_log10l.c: Likewise.
32471 * math/w_log2.c: Likewise.
32472 * math/w_log2f.c: Likewise.
32473 * math/w_log2l.c: Likewise.
32474 * math/w_logf.c: Likewise.
32475 * math/w_logl.c: Likewise.
32476 * math/w_pow.c: Likewise.
32477 * math/w_powf.c: Likewise.
32478 * math/w_powl.c: Likewise.
32479 * math/w_remainder.c: Likewise.
32480 * math/w_remainderf.c: Likewise.
32481 * math/w_remainderl.c: Likewise.
32482 * math/w_scalb.c: Likewise.
32483 * math/w_scalbf.c: Likewise.
32484 * math/w_scalbl.c: Likewise.
32485 * math/w_sinh.c: Likewise.
32486 * math/w_sinhf.c: Likewise.
32487 * math/w_sinhl.c: Likewise.
32488 * math/w_sqrt.c: Likewise.
32489 * math/w_sqrtf.c: Likewise.
32490 * math/w_sqrtl.c: Likewise.
32491 * math/w_tgamma.c: Likewise.
32492 * math/w_tgammaf.c: Likewise.
32493 * math/w_tgammal.c: Likewise.
32494
6a621eb7
UD
32495 * po/ja.po: Update from translation team.
32496
bf582445
AJ
324972011-09-29 Andreas Jaeger <aj@suse.de>
32498
f9efbf3a
AJ
32499 [BZ #13179]
32500 * sunrpc/netname.c (netname2host): Fix logic.
32501
bf582445
AJ
32502 [BZ #6779]
32503 [BZ #6783]
32504 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32505 correctly.
32506 * math/w_remainder.c (__remainder): Likewise.
32507 * math/w_remainderf.c (__remainderf): Likewise.
32508 * math/libm-test.inc (remainder_test): Add test cases.
32509
48693bea
AK
325102011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32511
32512 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32513 sdiv_qrnnd.
32514
42622229
LD
325152011-10-07 Ulrich Drepper <drepper@gmail.com>
32516
32517 * string/test-memcmp.c: Avoid unncessary #defines.
32518 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32519
093ecf92
LD
325202011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32521
32522 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32523 Use new sse2 version for core i3 - i7 as it's faster
32524 than sse42 version.
32525 (bit_Prefer_PMINUB_for_stringop): New.
32526 * sysdeps/x86_64/rawmemchr.S: Update.
32527 Replace with faster SSE2 version.
32528 * sysdeps/x86_64/memrchr.S: New file.
32529 * sysdeps/x86_64/memchr.S: Update.
32530 Replace with faster SSE2 version.
32531
fde56e5c
MP
325322011-09-12 Marek Polacek <mpolacek@redhat.com>
32533
32534 * elf/dl-load.c (lose): Add cast to avoid warning.
32535
21fd49a9
UD
325362011-10-07 Ulrich Drepper <drepper@gmail.com>
32537
5a06e643
UD
32538 * po/ca.po: Update from translation team.
32539
684ae515
UD
32540 * inet/getnetgrent_r.c: Hook up nscd.
32541 * nscd/Makefile (routines): Add nscd_netgroup.
32542 (nscd-modules): Add netgroupcache.
32543 (CFLAGS-netgroupcache.c): Define.
32544 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32545 (cache_search): Add const to second parameter.
32546 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32547 INNETGR.
32548 (dbs): Add netgrdb entry.
32549 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32550 (verify_persistent_db): Handle netgrdb.
32551 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32552 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32553 GETFDNETGR.
32554 (netgroup_response_header): Define.
32555 (innetgroup_response_header): Define.
32556 (datahead): Add netgroup_response_header and innetgroup_response_header
32557 elements.
32558 * nscd/nscd.conf: Add entries for netgroup cache.
32559 * nscd/nscd.h (dbtype): Add netgrdb.
32560 (_PATH_NSCD_NETGROUP_DB): Define.
32561 (netgroup_iov_disabled): Declare.
32562 (xmalloc, xcalloc, xrealloc): Move declarations here.
32563 (cache_search): Adjust prototype.
32564 Add netgroup-related prototypes.
32565 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32566 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32567 (__nscd_innetgr): Declare.
32568 * nscd/selinux.c (perms): Use access_vector_t as element type and
32569 add netgroup-related initializers.
32570 * nscd/netgroupcache.c: New file.
32571 * nscd/nscd_netgroup.c: New file.
32572 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32573 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32574 For four parameters use innetgr.
32575 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32576 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32577 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32578 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32579
21fd49a9
UD
32580 * nscd/connections.c (register_traced_file): Don't register file
32581 for disabled databases.
32582
054c0457
UD
325832011-10-06 Ulrich Drepper <drepper@gmail.com>
32584
32b63198
UD
32585 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32586
054c0457
UD
32587 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32588 from tree and freeing node.
32589
64031225
JO
325902011-09-25 Jiri Olsa <jolsa@redhat.com>
32591
32592 * nss/nsswitch.c (__nss_database_lookup): Handle
32593 nss_parse_service_list out of memory case.
32594
0490345c
JO
325952011-09-15 Jiri Olsa <jolsa@redhat.com>
32596
32597 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32598 out of memory case.
32599
3a62d00d
AS
326002011-10-04 Andreas Schwab <schwab@redhat.com>
32601
32602 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32603 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32604 pass it down.
32605 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32606 elf_machine_rela, elf_machine_lazy_rel.
32607 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32608 (ELF_DYNAMIC_DO_REL): Likewise.
32609 (ELF_DYNAMIC_DO_RELA): Likewise.
32610 (ELF_DYNAMIC_RELOCATE): Likewise.
32611 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32612 to ELF_DYNAMIC_DO_REL.
32613 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32614 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32615 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32616 elf_machine_rela.
32617 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32618 skip_ifunc, don't call ifunc function if non-zero.
32619 (elf_machine_rela): Likewise.
32620 (elf_machine_lazy_rel): Likewise.
32621 (elf_machine_lazy_rela): Likewise.
32622 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32623 (elf_machine_lazy_rel): Likewise.
32624 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32625 Likewise.
32626 (elf_machine_lazy_rel): Likewise.
32627 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32628 Likewise.
32629 (elf_machine_lazy_rel): Likewise.
32630 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32631 (elf_machine_lazy_rel): Likewise.
32632 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32633 (elf_machine_lazy_rel): Likewise.
32634 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32635 (elf_machine_lazy_rel): Likewise.
32636 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32637 (elf_machine_lazy_rel): Likewise.
32638 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32639 (elf_machine_lazy_rel): Likewise.
32640 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32641 (elf_machine_lazy_rel): Likewise.
32642
68577918
UD
326432011-09-28 Ulrich Drepper <drepper@gmail.com>
32644
32645 * nss/nss_files/files-init.c (_nss_files_init): Use static
32646 initialization for all the *_traced_file variables.
32647
68822d74
AS
326482011-09-28 Andreas Schwab <schwab@redhat.com>
32649
32650 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32651
2056100b
RM
326522011-09-27 Roland McGrath <roland@hack.frob.com>
32653
32654 [BZ #13226]
32655 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32656
32c76b63
AS
326572011-09-27 Andreas Schwab <schwab@redhat.com>
32658
32659 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32660 Reread the line before reparsing it.
32661
bf972c9d
AS
326622011-09-26 Andreas Schwab <schwab@redhat.com>
32663
32664 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32665
e057a1b5
JM
326662011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32667 Maxim Kuvyrkov <maxim@codesourcery.com>
32668 Joseph Myers <joseph@codesourcery.com>
32669
32670 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32671 if needed for __stack_chk_guard.
32672
bc7e1c36
RM
326732011-09-19 Roland McGrath <roland@hack.frob.com>
32674
ecb1482f
RM
32675 * sysdeps/posix/spawni.c (script_execute): Always define it.
32676 It will be optimized away if unused.
32677 (maybe_script_execute): New function.
32678 (__spawni): Call it.
32679
bc7e1c36
RM
32680 * Makerules: Don't include tls.make.
32681 (config-tls): Always set to thread.
32682 * tls.make.c: File removed.
32683
1c3b002b
MF
326842011-09-19 Mike Frysinger <vapier@gentoo.org>
32685
32686 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32687 * config.make.in (CPPFLAGS-config): New substituted variable.
32688
2840865d
UD
326892011-09-15 Ulrich Drepper <drepper@gmail.com>
32690
88738eb6
UD
32691 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32692
cbf645a6 32693 [BZ #13192]
2840865d
UD
32694 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32695 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32696
b402e91a
RM
326972011-09-15 Roland McGrath <roland@hack.frob.com>
32698
32699 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32700 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32701 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32702 (CALL_FAIL): Likewise.
32703 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32704 (CALL_FAIL): Macro removed.
32705 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32706
4c1a1f71
UD
327072011-09-15 Ulrich Drepper <drepper@gmail.com>
32708
32709 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32710 for __FINITE_MATH_ONLY__ == 1.
32711
edc121be
AS
327122011-09-15 Andreas Schwab <schwab@redhat.com>
32713
32714 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32715 __ieee754_sqrt instead of sqrt.
32716 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32717 __ieee754_sqrtf instead of sqrtf.
32718 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32719 __floorf instead of floorf.
32720 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32721 __floorf, __truncf instead of floorf, truncf.
32722
cd205654
UD
327232011-09-14 Ulrich Drepper <drepper@gmail.com>
32724
ee4d0315
UD
32725 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32726
cd205654
UD
32727 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32728 __extern_always_inline.
32729 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32730 32-bit.
32731
48b67d71
AS
327322011-09-14 Andreas Schwab <schwab@redhat.com>
32733
32734 * elf/rtld.c (dl_main): Also relocate in dependency order when
32735 doing symbol dependency testing.
32736
1ae12c75
AS
327372011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32738
32739 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32740 Always define `refsym'.
32741
995a80df
AS
327422011-09-13 Andreas Schwab <schwab@redhat.com>
32743
e529793b
AS
32744 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32745 (__FD_ELT): Renamed from __FDELT.
32746 * misc/bits/select2.h (__FD_ELT): Likewise.
32747 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32748 __FD_MASK instead of __FDELT, __FDMASK.
32749 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32750 Likewise.
32751 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32752 Likewise.
32753
52d4fef8
AS
32754 * elf/Makefile (gen-ldd): Fix pattern.
32755
995a80df
AS
32756 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32757 (init_tls): Likewise.
32758
8682f8b0
UD
327592011-09-12 Ulrich Drepper <drepper@gmail.com>
32760
32761 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32762
de82006d
AS
327632011-09-12 Andreas Schwab <schwab@redhat.com>
32764
a7c8e6a1
AS
32765 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32766 `struct cmsghdr *' instead of `void *'.
32767 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32768 Likewise.
32769
0f31fe77
AS
327702011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32771
32772 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32773 if non-absolute.
32774 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32775 ldd_rewrite_script.
0f31fe77 32776
32b4c839
UD
327772011-09-11 Ulrich Drepper <drepper@gmail.com>
32778
83cd1420
UD
32779 * configure.in: Remove --with-tls option.
32780 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32781 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32782 out in case it is missing.
32783 * sysdeps/ia64/elf/configure.in: Likewise.
32784 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32785 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32786 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32787 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32788 * sysdeps/sh/elf/configure.in: Likewise.
32789 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32790 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32791 * sysdeps/x86_64/elf/configure.in: Likewise.
32792 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32793 * sysdeps/mach/hurd/tls.h: Likewise.
32794
633f745d
UD
32795 [BZ #13067]
32796 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32797
f318beb8
UD
32798 [BZ #13090]
32799 * configure.in: Fix use of AC_INIT.
32800
32b4c839
UD
32801 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32802
3ce1f295
UD
328032011-09-10 Ulrich Drepper <drepper@gmail.com>
32804
bb016596
UD
32805 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32806 __set_errno.
8e58439c
UD
32807 * malloc/hooks.c: Likewise.
32808
aebae053 32809 [BZ #11929]
02d46fc4
UD
32810 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32811 variables statically.
32812 (narenas): Initialize.
32813 (list_lock): Initialize.
bb016596
UD
32814 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32815 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
32816 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32817 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32818 Add initializers to main_arena and mp_.
32819 (malloc_state): Remove pagesize member. Change all users to use
32820 GLRO(dl_pagesize).
32821
32822 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32823 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32824 is always initialized.
32825
22a89187
UD
32826 * malloc/malloc.c: Removed unused configurations and dead code.
32827 * malloc/arena.c: Likewise.
32828 * malloc/hooks.c: Likewise.
02d46fc4 32829 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 32830
d063d164
UD
32831 * include/tls.h: Removed. USE___THREAD must always be defined.
32832 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32833 * elf/dl-libc.c: Likewise.
32834 * elf/dl-tsd.c: Likewise.
32835 * include/errno.h: Likewise.
32836 * include/netdb.h: Likewise.
32837 * include/resolv.h: Likewise.
32838 * inet/herrno-loc.c: Likewise.
32839 * inet/herrno.c: Likewise.
32840 * malloc/arena.c: Likewise.
32841 * malloc/hooks.c: Likewise.
32842 * malloc/malloc.c: Likewise.
32843 * resolv/res-state.c: Likewise.
32844 * resolv/res_libc.c: Likewise.
32845 * sysdeps/i386/dl-machine.h: Likewise.
32846 * sysdeps/ia64/dl-machine.h: Likewise.
32847 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32848 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32849 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32850 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32851 * sysdeps/sh/dl-machine.h: Likewise.
32852 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32853 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32854 * sysdeps/unix/i386/sysdep.S: Likewise.
32855 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32856 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32857 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32858 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32859 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32860 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32861 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32862 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32863 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32864 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32865 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32866 * sysdeps/x86_64/dl-machine.h: Likewise.
32867 * tls.make.c: Likewise.
32868
3ce1f295
UD
32869 * configure.in: Remove --with-__thread option. Make tests for
32870 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32871 tls_model attribute fail if no support is available. Remove
32872 USE_IN_LIBIO.
32873 * Makeconfig: Adjust for dropped configure option. All features are
32874 now mandatory.
32875 * Makerules: Likewise.
32876 * Versions.def: Likewise.
32877 * argp/argp-fmtstream.c: Likewise.
32878 * argp/argp-fmtstream.h: Likewise.
32879 * argp/argp-help.c: Likewise.
32880 * assert/assert.c: Likewise.
32881 * config.h.in: Likewise.
32882 * config.make.in: Likewise.
32883 * configure: Likewise.
32884 * configure.in: Likewise.
32885 * csu/Versions: Likewise.
32886 * csu/init.c: Likewise.
32887 * elf/tst-audit2.c: Likewise.
32888 * elf/tst-tls10.c: Likewise.
32889 * elf/tst-tls10.h: Likewise.
32890 * elf/tst-tls11.c: Likewise.
32891 * elf/tst-tls12.c: Likewise.
32892 * elf/tst-tls14.c: Likewise.
32893 * elf/tst-tlsmod11.c: Likewise.
32894 * elf/tst-tlsmod12.c: Likewise.
32895 * elf/tst-tlsmod13.c: Likewise.
32896 * elf/tst-tlsmod13a.c: Likewise.
32897 * elf/tst-tlsmod14a.c: Likewise.
32898 * elf/tst-tlsmod15b.c: Likewise.
32899 * elf/tst-tlsmod16a.c: Likewise.
32900 * elf/tst-tlsmod16b.c: Likewise.
32901 * elf/tst-tlsmod7.c: Likewise.
32902 * elf/tst-tlsmod8.c: Likewise.
32903 * elf/tst-tlsmod9.c: Likewise.
32904 * gmon/gmon.c: Likewise.
32905 * grp/fgetgrent_r.c: Likewise.
32906 * grp/putgrent.c: Likewise.
32907 * hurd/fopenport.c: Likewise.
32908 * include/libc-symbols.h: Likewise.
32909 * include/tls.h: Likewise.
32910 * intl/gettextP.h: Likewise.
32911 * intl/loadinfo.h: Likewise.
32912 * locale/global-locale.c: Likewise.
32913 * locale/localeinfo.h: Likewise.
32914 * mach/devstream.c: Likewise.
32915 * malloc/arena.c: Likewise.
32916 * malloc/set-freeres.c: Likewise.
32917 * misc/err.c: Likewise.
32918 * misc/getttyent.c: Likewise.
32919 * misc/mntent_r.c: Likewise.
32920 * posix/getopt.c: Likewise.
32921 * posix/wordexp.c: Likewise.
32922 * pwd/fgetpwent_r.c: Likewise.
32923 * resolv/Versions: Likewise.
32924 * resolv/res_hconf.c: Likewise.
32925 * shadow/fgetspent_r.c: Likewise.
32926 * shadow/putspent.c: Likewise.
32927 * stdio-common/printf_fphex.c: Likewise.
32928 * stdio-common/tmpfile.c: Likewise.
32929 * stdlib/abort.c: Likewise.
32930 * stdlib/fmtmsg.c: Likewise.
32931 * sunrpc/auth_unix.c: Likewise.
32932 * sunrpc/clnt_perr.c: Likewise.
32933 * sunrpc/clnt_tcp.c: Likewise.
32934 * sunrpc/clnt_udp.c: Likewise.
32935 * sunrpc/clnt_unix.c: Likewise.
32936 * sunrpc/openchild.c: Likewise.
32937 * sunrpc/svc_simple.c: Likewise.
32938 * sunrpc/svc_tcp.c: Likewise.
32939 * sunrpc/svc_udp.c: Likewise.
32940 * sunrpc/svc_unix.c: Likewise.
32941 * sunrpc/xdr.c: Likewise.
32942 * sunrpc/xdr_array.c: Likewise.
32943 * sunrpc/xdr_rec.c: Likewise.
32944 * sunrpc/xdr_ref.c: Likewise.
32945 * sunrpc/xdr_stdio.c: Likewise.
32946
1248c1c4
PB
329472011-09-09 Ulrich Drepper <drepper@gmail.com>
32948
32949 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32950
329512011-07-03 Andreas Jaeger <aj@suse.de>
32952
32953 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32954 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32955 regenerate with gen-libm-tests.pl.
32956
329572010-05-12 Petr Baudis <pasky@suse.cz>
32958
32959 [BZ #11589]
32960 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32961 around j0() zero points by switching to j1().
32962 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32963 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32964 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32965 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32966
f22e1074
UD
329672011-09-09 Ulrich Drepper <drepper@gmail.com>
32968
f19009c1
UD
32969 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32970 instead of 0.
32971 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 32972 instead of 0.
f19009c1
UD
32973 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32974 Patch in part by Pavel Roskin <proski@gnu.org>.
32975
3f8cc204
UD
32976 [BZ #13138]
32977 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32978 realloc.
32979 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32980 Free memory block if necessary.
32981
f22e1074
UD
32982 [BZ #12847]
32983 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32984 be NULL. Don't lock in this case.
32985
0a2349f9
RM
329862011-09-09 Roland McGrath <roland@hack.frob.com>
32987
32988 * elf/elf.h (ELFOSABI_GNU): New macro.
32989 (ELFOSABI_LINUX): Define to that.
32990
f3cdd467
DZ
329912011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32992
32993 * string/strncat.c (strncat): Undef the symbol in case it has been
32994 defined in bits/string.h.
32995
74718d13
UD
329962011-09-09 Ulrich Drepper <drepper@gmail.com>
32997
633e9e0f
UD
32998 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32999
0a2349f9 33000 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
33001 link map.
33002
f9924780
AJ
330032011-08-17 Andreas Jaeger <aj@suse.de>
33004
33005 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33006
7f5517aa
PP
330072011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33008 Ian Lance Taylor <iant@google.com>
33009
33010 * math/libm-test.inc (lround_test): New testcase.
33011 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33012
762011fe
UD
330132011-09-08 Ulrich Drepper <drepper@gmail.com>
33014
92963737
UD
33015 * Makefile: Remove support for automatic cvs check-ins.
33016 * Makerules: Likewise.
33017 * config.make.in: Likewise.
33018 * configure.in: Likewise.
33019 * intl/Makefile: Likewise.
33020 * locale/Makefile: Likewise.
33021 * po/Makefile: Likewise.
33022 * posix/Makefile: Likewise.
33023 * sysdeps/gnu/Makefile: Likewise.
33024 * sysdeps/mach/hurd/Makefile: Likewise.
33025 * sysdeps/sparc/sparc32/Makefile: Likewise.
33026
b0727fd8
JS
33027 [BZ #13118]
33028 * posix/Makefile (bug-regex32-ENV): Define.
33029 Patch by John Stanley <jpsinthemix@verizon.net>.
33030
a0f33f99
UD
33031 * misc/Makefile (headers): Add bits/select2.h.
33032 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33033 * misc/bits/select2.h: New file.
33034 * include/bits/select2.h: New file.
33035 * debug/Makefile (routines): Add fdelt_chk.
33036 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33037 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33038 FD_ISSET.
33039 * debug/fdelt_chk.c: New file.
33040
762011fe
UD
33041 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33042 * wcsmbs/test-wmemcmp.c: Likewise.
33043 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 33044 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
33045
330462011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33047
33048 * string/Makefile (strop-tests): Add memcmp.
33049 * string/test-wmemcmp.c: New file.
33050 * string/test-memcmp.c: Add wmemcmp support.
33051
7f513ec8
RM
330522011-09-08 Roland McGrath <roland@hack.frob.com>
33053
0442afb4
RM
33054 [BZ #13153]
33055 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33056 2011-07-19 change.
33057
7f513ec8
RM
33058 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33059 garbage value in a __mach_port_mod_refs call in the cases of the
33060 task-self and thread-self ports.
33061
a12b2239
ST
330622011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33063
33064 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33065
610f9ab4
AS
330662011-09-08 Andreas Schwab <schwab@redhat.com>
33067
7f513ec8 33068 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 33069
48882a1a
LD
330702011-09-07 Ulrich Drepper <drepper@gmail.com>
33071
b49865be
UD
33072 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33073
fdc86bc9
UD
33074 * elf/dl-libc.c (dlerror_run): Pass back error code from
33075 dl_catch_error.
33076
c966526a
UD
33077 [BZ #13123]
33078 * elf/dl-load.c (lose): Free l_origin if it is valid.
33079
48882a1a
LD
33080 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33081 names.
33082 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33083 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33084 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33085 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33086 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33087 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33088
77a2a8b4
AZ
330892011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33090
33091 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33092 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33093 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33094 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33095 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33096 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33097 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33098 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33099 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33100 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33101
24f579d8
AM
331022011-08-15 Alan Modra <amodra@gmail.com>
33103
33104 [BZ #13092]
33105 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33106 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33107 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33108 ppc_mcount to static-only-routines.
33109 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33110 __mcount_internal.
33111 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33112 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33113
3d4837df
UD
331142011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33115
33116 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33117 for finite and infinity parameters.
33118
22700377
WS
331192011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33120
33121 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33122 and add nop instructions for throughput optimization.
33123 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33124
5025581e
WS
331252011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33126
33127 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33128 aligned copy for power7 with vector-scalar instructions.
33129 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33130
08a300c9
L
331312011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33132
33133 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33134 AVX check.
33135
59178ef9
AS
331362011-09-07 Andreas Schwab <schwab@redhat.com>
33137
33138 [BZ #13144]
33139 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33140 last change.
33141
e38ba7ab
UD
331422011-09-07 Ulrich Drepper <drepper@gmail.com>
33143
33144 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33145 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33146 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33147 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33148 clock_gettime.
33149
d53a73ac
UD
331502011-09-06 Ulrich Drepper <drepper@gmail.com>
33151
fc8bffcc
UD
33152 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33153 Forgot to demangle the pointer.
33154
ceaa0c5d
UD
33155 * sysdeps/i386/sysdep.h: Define atom_text_section.
33156 * sysdeps/x86_64/sysdep.h: Likewise.
33157 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33158 section with atom_text_section.
33159 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33160 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33161 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33162 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33163 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33164
a77d3c17
UD
33165 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33166 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33167 already be defined. Change to take two parameters and don't assign
33168 result to variable. Adjust all users.
33169 Define INTERNAL_GETTIME if not already defined.
33170 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33171 call.
33172 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33173 HAVE_CLOCK_GETTIME_VSYSCALL.
33174 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33175
d53a73ac
UD
33176 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33177 gettimeofday vsyscall, just use time.
33178
a8f84144
AS
331792011-09-06 Andreas Schwab <schwab@redhat.com>
33180
33181 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33182 <errno.h>.
33183
ef606249
UD
331842011-09-06 Ulrich Drepper <drepper@gmail.com>
33185
33186 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33187 syscall on x86-64.
33188 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33189 syscall.
33190 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33191 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33192 syscall if possible.
33193
6585cb60
UD
331942011-09-05 Ulrich Drepper <drepper@gmail.com>
33195
33196 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33197 e_ident. Don't pass to find_mapsXX.
33198 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33199
a5f524e4
LD
332002011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33201
33202 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33203 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33204 * sysdeps/x86_64/multiarch/strchr.S: Update.
33205 Check bit_slow_BSF bit.
33206 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33207 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33208 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33209
554881ef
UD
332102011-09-05 Ulrich Drepper <drepper@gmail.com>
33211
d96de963
UD
33212 [BZ #13134]
33213 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33214 before glibc 2.15.
33215 (tryshell): Define.
33216 (__spawni): Change last parameter to be flag. Test
33217 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33218 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33219 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33220 * posix/spawni.c: Likewise.
33221 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33222 * posix/spawnp.c: Likewise. Change normal version to use
33223 SPAWN_XFLAGS_USE_PATH.
33224 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33225 SPAWN_XFLAGS_TRY_SHELL.
33226
d48e5868
UD
33227 [BZ #13150]
33228 * posix/glob.h: Remove gcc 1.x support.
33229
554881ef
UD
33230 [BZ #13068]
33231 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33232
693fb948
LD
332332011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33234
33235 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33236 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33237 strrchr-sse2-bsf
33238 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33239 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33240 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33241 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33242 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33243 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33244
1b48c537
UD
332452011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33246
49d42c37
UD
33247 * sysdeps/x86_64/wcscmp.S: New file.
33248
1b48c537
UD
33249 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33250 wcscmp-c wcscmp-sse2
33251 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33252 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33253 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33254 * wcsmbs/wcscmp.c: Allow renaming.
33255
15c95c5d
DM
332562011-09-05 David S. Miller <davem@davemloft.net>
33257
33258 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33259 stack slot, rather than the struct return pointer slot.
33260 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33261 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33263 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33264
2f0ad8f3
UD
332652011-09-05 Ulrich Drepper <drepper@gmail.com>
33266
d88ae418
UD
33267 * po/ja.po: Update from translation team.
33268
2f0ad8f3
UD
33269 [BZ #13144]
33270 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33271 kernel in 64-bit binaries.
33272
5f4318d1
DM
332732011-09-01 David S. Miller <davem@davemloft.net>
33274
33275 * elf/elf.h (HWCAP_SPARC_*): Move to..
33276 * sysdeps/sparc/sysdep.h: this new file and add new values.
33277 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33278 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33279 _DL_HWCAP_COUNT to 24.
33280 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33281 entries.
33282 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33283 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33284 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33285 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33286 instead of magic constants.
33287 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33288
3ba57516
DM
332892011-08-31 David S. Miller <davem@davemloft.net>
33290
33291 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33292 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33293 Reimplement to do errno handling inline.
33294 (SYSCALL_ERROR_HANDLER): New macro.
33295 (__SYSCALL_STRING): Do not do errno handling in asm.
33296 (__CLONE_SYSCALL_STRING): Delete.
33297 (__INTERNAL_SYSCALL_STRING): Delete.
33298 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33299 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33300 (PSEUDO): Reimplement to do errno handling inline.
33301 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33302 (SYSCALL_ERROR_HANDLER): New macro.
33303 (__SYSCALL_STRING): Do not do errno handling in asm.
33304 (__CLONE_SYSCALL_STRING): Delete.
33305 (__INTERNAL_SYSCALL_STRING): Delete.
33306 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33307 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33308 i386.
33309 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33310 (inline_syscall*): Add 'err' argument.
33311 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33312 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33313 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33314 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33315
33316 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33317 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33318
2bc17433
AS
333192011-08-30 Andreas Schwab <schwab@redhat.com>
33320
33321 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33322
fbeb5f4d
JO
333232011-08-29 Jiri Olsa <jolsa@redhat.com>
33324
33325 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33326 directive.
33327
ad69cc26
DM
333282011-08-24 David S. Miller <davem@davemloft.net>
33329
33330 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33331
39dd69df
AS
333322011-08-24 Andreas Schwab <schwab@redhat.com>
33333
33334 * elf/Makefile: Add rules to build and run unload8 test.
33335 * elf/unload8.c: New file.
33336 * elf/unload8mod1.c: New file.
33337 * elf/unload8mod1x.c: New file.
33338 * elf/unload8mod2.c: New file.
33339 * elf/unload8mod3.c: New file.
33340
33341 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33342 it wasn't used.
33343
2c0b250a
DM
333442011-08-23 David S. Miller <davem@davemloft.net>
33345
33346 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33347 subtract stack bias.
33348 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33349 %sp not %fp in calculations.
33350 (_JMPBUF_UNWINDS_ADJ): Likewise.
33351
22044b48
DM
33352 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33353 (aio_suspend): Call it to force an exception region around the
33354 AIO_MISC_WAIT() invocation.
33355
2cae4995
AS
333562011-08-23 Andreas Schwab <schwab@redhat.com>
33357
33358 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33359 backslash.
33360
873a772e
AJ
333612011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33362
33363 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33364 protection macro.
33365 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33366 and <dl-machine.h>.
33367 (Elf64_FuncDesc): Remove.
33368
25ad0df1
DM
333692011-08-22 David S. Miller <davem@davemloft.net>
33370
33371 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33372 sigaltstack check, add missing cfi directives.
33373 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33374 missing cfi directives, and sigaltstack handling.
33375
e888bcbe
AS
333762011-08-16 Andreas Schwab <schwab@redhat.com>
33377
33378 [BZ #11724]
33379 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33380 object is seen twice.
33381 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33382
33383 * elf/Makefile (distribute): Add tst-initorder2.c.
33384 (tests): Add tst-initorder2.
33385 (modules-names): Add tst-initorder2a tst-initorder2b
33386 tst-initorder2c tst-initorder2d. Add rules to build them.
33387 ($(objpfx)tst-initorder2.out): New rule.
33388 * elf/tst-initorder2.c: New file.
33389 * elf/tst-initorder2.exp: New file.
33390
87162f46
AS
333912011-08-22 Andreas Schwab <schwab@redhat.com>
33392
70538b7f
AS
33393 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33394
f55ffe58
AS
33395 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33396 dependencies back to end of function.
33397
87162f46
AS
33398 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33399 $(elfobjdir)/ld.so.
33400
91b392a4
UD
334012011-08-21 Ulrich Drepper <drepper@gmail.com>
33402
33403 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33404 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33405 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33406 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33407 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33408 of __vdso_gettimeofday.
33409 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33410 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33411 attribute_hidden.
33412 (_libc_vdso_platform_setup): Remove initialization of
33413 __vdso_gettimeofday and __vdso_time.
33414
5c43483f
UD
334152011-08-20 Ulrich Drepper <drepper@gmail.com>
33416
775a77e7
UD
33417 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33418 and fgetc_unlocked.
33419 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33420 getc_unlocked.
89f447ed 33421
49c74ba9
UD
33422 * elf/dl-open.c (add_to_global): Report additions to the global scope
33423 for LD_DEBUG=scopes.
33424 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 33425 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 33426
5c43483f
UD
33427 [BZ #13114]
33428 * stdio-common/Makefile (tests): Add bug24.
33429 * stdio-common/bug24.c: New file.
33430
a101b025
AJ
334312011-08-19 Andreas Jaeger <aj@suse.de>
33432
33433 [BZ #13114]
33434 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33435 non-existant file when using close-on-exec mode.
33436
c88f1766
UD
334372011-08-20 Ulrich Drepper <drepper@gmail.com>
33438
0276a718
UD
33439 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33440 the very first instruction.
33441
c88f1766
UD
33442 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33443 the CFI state in the end.
33444 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33445 inclusion of dl-trampoline.h.
33446 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33447
51ccffa0
AS
334482011-08-19 Andreas Schwab <schwab@redhat.com>
33449
94d7165f
AS
33450 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33451 expectations for long double.
33452
51ccffa0
AS
33453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33454 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33455
fd708658 334562011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
33457
33458 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33459 artificual limit depends upon the system page size.
33460
44f0a71e
UD
334612011-08-17 Ulrich Drepper <drepper@gmail.com>
33462
33463 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33464 * resolv/Makefile: Define CFLAGS-libresolv.
33465
8de79a24
AS
334662011-08-17 Andreas Schwab <schwab@redhat.com>
33467
33468 * nss/makedb.c (compute_tables): Make variables used in nested
33469 function static.
33470
27724598
UD
334712011-08-17 Ulrich Drepper <drepper@gmail.com>
33472
c5305d88
UD
33473 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33474 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33475 if buffer was too small.
33476
27724598
UD
33477 * elf/pldd.c (main): Attach to all threads in the process.
33478 Rewrite /proc handling to use *at functions.
33479
076fe015
UD
334802011-08-16 Ulrich Drepper <drepper@gmail.com>
33481
174baab3
UD
33482 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33483 specifies first scope to show.
33484 (dl_open_worker): Update callers. Move printing scope of new
33485 object to before the relocation.
44f0a71e 33486 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
33487 * sysdeps/generic/ldsodefs.h: Update declaration.
33488
076fe015
UD
33489 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33490 string for the scope number.
33491
a60df2c3
UD
334922011-08-14 Ulrich Drepper <drepper@gmail.com>
33493
33494 * nscd/servicescache.c (cache_addserv): Make sure written is always
33495 initialized.
33496
5e4287d1
RM
334972011-08-14 Roland McGrath <roland@hack.frob.com>
33498
85ae0589
RM
33499 * sysdeps/i386/i486/bits/atomic.h
33500 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33501 statement expression, so as to suppress "set but not used" warning.
33502 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33503
69f63097
RM
33504 * string/strncat.c (STRNCAT): Use prototype definition.
33505
675456ef
RM
33506 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33507 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33508 -Iprograms here.
33509 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33510 (localedef-modules): Add localedef.
33511 (locale-modules): Add locale.
33512
5e4287d1
RM
33513 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33514 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33515 to avoid a warning.
33516
9c96ff23
DM
335172011-08-14 David S. Miller <davem@davemloft.net>
33518
33519 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33520 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33521
f9ddf089
UD
335222011-08-13 Ulrich Drepper <drepper@gmail.com>
33523
44f0a71e 33524 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
33525 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33526 * elf/rtld.c (dl_main): Set l_name of vDSO.
33527 Call _dl_show_scope when DL_DEBUG_SCOPES.
33528 (process_dl_debug): Recognize scopes flag and also set it for all.
33529 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33530 Declare _dl_show_scope.
33531
1dc27704
UD
33532 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33533 (do_dlopen): Pass caller_dlopen to dl_open.
33534 (__libc_dlopen_mode): Initialize caller_dlopen.
33535
f9ddf089
UD
33536 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33537 of libc. Make tolower call locale-independent. Optimize a bit by
33538 using isdigit instead of isalnum.
33539 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33540
9ac533d3
UD
335412011-08-12 Ulrich Drepper <drepper@gmail.com>
33542
33543 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33544 was a dependency or dynamically loaded.
33545
89edf2e9
UD
335462011-08-11 Ulrich Drepper <drepper@gmail.com>
33547
8e999d29
UD
33548 * intl/l10nflist.c: Allow architecture-specific pop function.
33549 * sysdeps/x86_64/l10nflist.c: New file.
33550
89edf2e9
UD
33551 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33552 classification.
33553
14d96785
AS
335542011-08-10 Andreas Schwab <schwab@redhat.com>
33555
33556 * include/dirent.h: Add libc_hidden_proto for scandirat and
33557 scandirat64. Don't declare __scandirat64.
33558 * dirent/scandirat.c: Add libc_hidden_def.
33559 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33560 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33561
6761ac04
DM
335622011-08-10 David S. Miller <davem@davemloft.net>
33563
33564 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33565 enum.
33566 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33567 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33568 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33569
c55fbd1e
UD
335702011-08-09 Ulrich Drepper <drepper@gmail.com>
33571
33572 * Versions.def [libc]: Add GLIBC_2.15.
33573 * dirent/Makefile (routines): Add scandirat and scandirat64.
33574 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33575 GLIBC_2.15.
33576 * dirent/dirent.h: Declare scandirat and scandirat64.
33577 * dirent/scandirat.c: New file.
33578 * dirent/scandirat64.c: New file.
33579 * sysdeps/wordsize-64/scandirat.c: New file.
33580 * sysdeps/wordsize-64/scandirat64.c: New file.
33581 * dirent/opendir.c: Define opendirat.
33582 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33583 using scandirat.
33584 * dirent/scandir64.c: Adjust for scandir.c change.
33585 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33586 __scandirat64, and __scandir_cancel_handler.
33587 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33588 additional parameter and use openat instead of open (outside of ld.so).
33589 Add new __opendir as wrapper around __opendirat.
33590 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33591 here without requiring old scandirat implementation.
33592
879165f2
UD
335932011-08-08 Ulrich Drepper <drepper@gmail.com>
33594
33595 * dirent/scandir.c (cancel_handler): Renamed to
33596 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33597 defined. Adjust users.
33598 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33599 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33600
cb7e923b
UD
336012011-08-04 Ulrich Drepper <drepper@gmail.com>
33602
16292edd
UD
33603 * string/test-string.h (IMPL): Use __STRING to expand name and then
33604 stringify it.
33605
cb7e923b
UD
33606 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33607 of cleanups.
33608
cff82933
LD
336092011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33610
33611 * string/Makefile: Update.
33612 (strop-tests): Append strncat.
33613 * string/test-wcscmp.c: New file.
33614 New comprehensive test for wcscmp.
33615 * string/test-strcmp.c: Update.
33616 (WIDE): New define.
33617
9be9bfcc
AS
336182011-07-22 Andreas Schwab <schwab@redhat.com>
33619
33620 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33621 line.
33622
2e96f1c7
AS
336232011-07-26 Andreas Schwab <schwab@redhat.com>
33624
33625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33626 encoding to ACE if AI_IDN.
33627
85188888
JJ
336282011-08-01 Jakub Jelinek <jakub@redhat.com>
33629
33630 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33631 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33632
5fa16e9b
LD
336332011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33634
33635 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33636 Fix overflow bug in strncat.
33637 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33638
33639 * string/test-strncat.c: Update.
33640 Add new tests for checking overflow bugs.
33641
336422011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33643
33644 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33645 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33646 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33647 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33648 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33649 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33650 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33651 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33652 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33653
33654 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33655 (USE_AS_STRCAT): Define.
33656 Add strcat and strncat support.
33657 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33658
8c1a459f
AS
336592011-07-25 Andreas Schwab <schwab@redhat.com>
33660
33661 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33662 __n bigger than INT_MAX+1.
33663 (__strncmp_g): Likewise.
33664
bba33c28
UD
336652011-07-23 Ulrich Drepper <drepper@gmail.com>
33666
798be72d
UD
33667 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33668 * libio/stido.h: Likewise.
33669
8accd4dc
UD
33670 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33671 (AF_NFC): Define.
33672 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33673 (AF_NFC): Define.
33674
cbff0d96
UD
33675 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33676 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33677 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33678 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33679 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33680
9191c04a
UD
33681 [BZ #13021]
33682 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33683 installed.
33684
bba33c28
UD
33685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33686 typo.
33687 (_dl_x86_64_save_sse): Likewise.
33688
90f139dd
UD
336892011-07-22 Ulrich Drepper <drepper@gmail.com>
33690
1aae088a
UD
33691 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33692 OSXSAVE.
33693 (_dl_x86_64_save_sse): Likewise.
33694
8e2045f5
UD
33695 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33696
90f139dd
UD
33697 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33698
1d002f25
AS
336992011-07-21 Andreas Schwab <schwab@redhat.com>
33700
33701 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33702 change.
33703 (_dl_x86_64_save_sse): Use correct AVX check.
33704
21137f89
UD
337052011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33706
33707 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33708 bug in strncpy/strncat.
33709 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33710
a65c0b7a
UD
337112011-07-21 Ulrich Drepper <drepper@gmail.com>
33712
33713 * string/tester.c (test_strcat): Add tests for different alignments
33714 of source and destination.
33715 (test_strncat): Likewise.
33716
6986b98a
UD
337172011-07-20 Ulrich Drepper <drepper@gmail.com>
33718
90bb2039
UD
33719 [BZ #12852]
33720 * posix/glob.c (glob): Check passed in values before using them in
33721 expressions to avoid some overflows.
33722 (glob_in_dir): Likewise.
33723
5644ef54
UD
33724 [BZ #13007]
33725 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33726 check for AVX enablement so that we don't crash with old kernels and
33727 new hardware.
33728 * elf/tst-audit4.c: Add same checks here.
33729 * elf/tst-audit6.c: Likewise.
33730
33731 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 33732
bfc9dc9b
AS
337332011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33734
33735 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33736
702e64bb
UD
337372011-07-20 Ulrich Drepper <drepper@gmail.com>
33738
33739 * po/cs.po: Update from translation team.
33740 * po/bg.po: Likewise.
33741
295e904f
MP
337422011-07-12 Marek Polacek <mpolacek@redhat.com>
33743
33744 * misc/sys/cdefs.h: Add support for const attribute.
33745 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33746 to gnu_dev_{major,minor,makedev} functions.
33747
3ff94596
MP
337482011-07-20 Marek Polacek <mpolacek@redhat.com>
33749
33750 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33751
28b59fca
AS
337522011-07-20 Andreas Schwab <schwab@redhat.com>
33753
33754 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33755 strlen results.
33756
19df733e
AK
337572011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33758
33759 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33760 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33761 register in order to avoid conflicts with the soft frame pointer
33762 being held in r11 when necessary.
33763 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33764 (INTERNAL_VSYSCALL_NCS): Likewise.
33765
c8835729
MP
337662011-07-14 Marek Polacek <mpolacek@redhat.com>
33767
33768 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33769 * elf/dl-fini.c (_dl_fini): Adjust caller.
33770 * elf/dl-close.c (_dl_close_worker): Likewise.
33771 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33772
b902330c
MP
337732011-07-15 Marek Polacek <mpolacek@redhat.com>
33774
8991e135
MP
33775 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33776 "aux_cache->nlibs < 0".
33777
b902330c
MP
33778 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33779 in the reload-count case.
33780
99710781
LD
337812011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33782
33783 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33784 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33785 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33786 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33787 * sysdeps/x86_64/multiarch/strcat.S: New file.
33788 * sysdeps/x86_64/multiarch/strncat.S: New file.
33789 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33790 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33791 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33792 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33793 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33794 (USE_AS_STRCAT): Define.
33795 Add strcat and strncat support.
33796 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33797 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33798 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33799 * string/strncat.c: Update.
33800 (USE_AS_STRNCAT): Define.
33801 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33802 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33803 and i7.
33804 * sysdeps/x86_64/multiarch/init-arch.h
33805 (bit_Prefer_PMINUB_for_stringop): New.
33806 (index_Prefer_PMINUB_for_stringop): Likewise.
33807 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33808 bit_Prefer_PMINUB_for_stringop.
33809
7dc6bd90
UD
338102011-07-19 Ulrich Drepper <drepper@gmail.com>
33811
33812 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33813 buffer64.
33814 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33815 of casting of buffer.
33816 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33817 buffer32 and buffer64.
33818 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33819 writes instead of casting of buffer.
33820 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33821 buffer32.
33822 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33823 casting of buffer.
33824
e0e72284
AS
338252011-07-19 Andreas Schwab <schwab@redhat.com>
33826
33827 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33828
feb1eb0b
UD
338292011-07-19 Ulrich Drepper <drepper@gmail.com>
33830
33831 * nscd/nscd.c (termination_handler): Don't do anything for a database
33832 if it has not yet been initialized.
33833
298711ff
UD
338342011-07-18 Ulrich Drepper <drepper@gmail.com>
33835
33836 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33837
338382011-07-15 Marek Polacek <mpolacek@redhat.com>
33839
33840 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33841
f9d68389
UD
338422011-07-18 Ulrich Drepper <drepper@gmail.com>
33843
33844 * po/nl.po: Update from translation team.
33845 * po/sv.po: Likewise.
33846
db290cf5
RM
338472011-07-16 Roland McGrath <roland@hack.frob.com>
33848
33849 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33850 now disallowed by GCC.
5c550700 33851
fd5e21c7
RM
33852 * configure.in (use-default-link): Default to yes if a test -shared
33853 link meets our qualifications.
33854 * configure: Regenerated.
33855
5c550700
RM
33856 * config.make.in (output-format): New variable.
33857 * configure.in: Check for ld --print-output-format support.
33858 * configure: Regenerated.
33859 * Makerules ($(common-objpfx)format.lds)
33860 [$(output-format) != unknown]: Just use $(output-format),
33861 instead of the linker-script munging.
33862
9fa2c032
RM
338632011-07-14 Roland McGrath <roland@hack.frob.com>
33864
a6928d51
RM
33865 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33866 of $(common-objpfx)shlib.lds.
33867 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33868
661607b3
RM
33869 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33870 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33871
9fa2c032
RM
33872 * configure.in (-z relro check): Adjust test code to add a large
33873 writable data section after it.
33874 * configure: Regenerated.
33875
defe9061
RM
338762011-07-11 Roland McGrath <roland@hack.frob.com>
33877
33878 * configure.in (-z relro check): Fix test code to make the variable
33879 truly const.
33880 * configure: Regenerated.
33881
319b9ad4
UD
338822011-07-11 Ulrich Drepper <drepper@gmail.com>
33883
33884 * nscd/nscd.h (struct traced_file): Define.
33885 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33886 elements. Add traced_files.
33887 (inotify_fd): Declare.
33888 (register_traced_file): Declare.
33889 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33890 (inotify_fd): Export.
33891 (resolv_conf_descr): Remove.
33892 (nscd_init): Move inotify descriptor creation to main.
33893 Don't register files for notification here.
33894 (register_traced_file): New function.
33895 (invalidate_cache): Don't use reset_res to determine whether to call
33896 res_init, go through the list of registered files.
33897 (main_loop_poll): The inotify descriptors are now stored in the
33898 structures for the traced files.
33899 (main_loop_epoll): Likewise
33900 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33901 to __nss_disable_nscd.
33902 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33903 for a database anymore. Check the records for all the registered
33904 files instead.
33905 * nss/Makefile (libnss_files-routines): Add files-init.
33906 (libnss_db-routines): Add db-init.
33907 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33908 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33909 * nss/nss_db/db-init.c: New file.
33910 * nss/nss_files/files-init.c: New file.
33911 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33912 __nss_lookup_function.
33913 (__nss_lookup_function): Call nss_load_library.
33914 (nss_load_all_libraries): New function.
33915 (__nss_disable_nscd): Take parameter with callback function for files
33916 to register. Set is_nscd. Load all the DSOs for the NSS modules
33917 used for the cached services.
33918 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33919 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33920 options for features to all the files in nscd.
33921
33922 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33923
23bee3e8
RM
339242011-07-10 Roland McGrath <roland@hack.frob.com>
33925
33926 * csu/elf-init.c (__libc_csu_init): Comment typo.
33927
46a5b7f0
UD
339282011-07-09 Ulrich Drepper <drepper@gmail.com>
33929
33930 * po/pl.po: Update from translation team.
33931 * po/ja.po: Likewise.
33932 * po/ru.po: Likewise.
33933 * po/ko.po: Likewise.
33934 * po/fr.po: Likewise.
33935
d30cf5bb
RM
339362011-07-09 Roland McGrath <roland@hack.frob.com>
33937
113ddea4
RM
33938 * configure.in (.ctors/.dtors header and trailer check):
33939 Use an empirical test on a built program.
33940 * configure: Regenerated.
33941
574920b4
RM
33942 * configure.in (-z relro check): Use an empirical test on a built DSO.
33943 Detect, but do not require, on ia64.
33944 * configure: Regenerated.
33945
d30cf5bb
RM
33946 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33947 Update tests that use readelf to use $READELF instead.
33948 * configure: Regenerated.
33949
8538fdb3
UD
339502011-07-08 Ulrich Drepper <drepper@gmail.com>
33951
33952 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33953 if the result is not used.
33954
04d08991
AJ
339552011-07-05 Andreas Jaeger <aj@suse.de>
33956
33957 [BZ#9696]
33958 * stdlib/tst-strtod.c: Add testcase.
33959
de283087
AD
339602011-07-07 Ulrich Drepper <drepper@gmail.com>
33961
4e5f31c8 33962 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 33963 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
33964 The latter has a higher limit. Take additional parameter to pass to
33965 the new function.
33966 (__pathconf): Pass file to __statfs_link_max.
33967 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33968 __statfs_link_max.
33969 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33970 __statfs_link_max.
33971
de283087
AD
33972 [BZ #12868]
33973 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33974 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33975 Handle Lustre.
33976 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33977 (__statfs_filesize_max): Likewise.
33978 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33979
c75fa153
AJ
339802011-07-05 Andreas Jaeger <aj@suse.de>
33981
33982 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33983
1a544854
UD
339842011-07-06 Marek Polacek <mpolacek@redhat.com>
33985
33986 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33987 `status' variable.
33988 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33989 Likewise.
33990
6f0eec67
UD
339912011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33992
33993 * Makefile (strop-tests): Add strncat.
33994 * string/test-strncat.c: New file.
33995
aae30307
UD
339962011-06-30 Marek Polacek <mpolacek@redhat.com>
33997
33998 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33999
c0cfb5eb
UD
340002011-06-21 Andreas Jaeger <aj@suse.de>
34001
34002 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34003 Copy rule from iconvdata/Makefile.
34004
01636b21
UD
340052011-07-06 Ulrich Drepper <drepper@gmail.com>
34006
34007 [BZ #12922]
34008 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34009 but no long options are defined, just return 'W'.
34010
9895c8bc
UD
340112011-06-22 Marek Polacek <mpolacek@redhat.com>
34012
34013 [BZ #9696]
34014 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34015
5d4cf042
UD
340162011-07-06 Ulrich Drepper <drepper@gmail.com>
34017
34018 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34019 netgroups to read.
960e5535 34020 (innetgr): Likewise.
5d4cf042 34021
751eb97e
RM
340222011-07-05 Roland McGrath <roland@hack.frob.com>
34023
34024 * config.make.in (install_root): Default to $(DESTDIR).
34025
f15f1e45
UD
340262011-07-05 Ulrich Drepper <drepper@gmail.com>
34027
34028 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34029
4e34ac6a
RM
340302011-07-02 Roland McGrath <roland@hack.frob.com>
34031
5e9b6af4
RM
34032 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34033
84f9ea0f
RM
34034 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34035 containing directory rather than embedding absolute directory names.
34036
ea5ee9f7
RM
34037 * scripts/check-local-headers.sh: Rewritten using awk.
34038 Match by word, not by line. Print error messages for matches.
34039 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34040
1b74661a
RM
34041 * Makerules [shlib-lds-flags empty]:
34042 ($(common-objpfx)libc_pic.opts): New target.
34043 ($(common-objpfx)libc_pic.os.clean): New target.
34044 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34045
34046 * config.make.in (OBJCOPY): New variable.
34047 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34048 * configure: Regenerated.
34049
f781ef40
RM
34050 * config.make.in (use-default-link): New variable.
34051 * configure.in (use_default_link): Grok --with-default-link to set it.
34052 * configure: Regenerated.
34053 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34054 (shlib-lds, shlib-lds-flags): Define to empty.
34055
2d4fa81e
RM
34056 * Makerules (shlib-lds): New variable.
34057 (shlib-lds-flags): New variable.
34058 (build-shlib, build-moduile, build-module-asneeded): Use it.
34059 ($(common-objpfx)libc.so): Use $(shlib-lds).
34060 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34061 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34062
31fffa6b
RM
34063 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34064 DT_FLAGS/DT_FLAGS_1 with zero flags.
34065
4e34ac6a
RM
34066 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34067 linker script munging.
34068
fcfc776b
UD
340692011-07-02 Ulrich Drepper <drepper@gmail.com>
34070
34071 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34072 as 128-bit value.
34073 * crypt/sha512.c (sha512_process_block): Perform total addition using
34074 128-bit if possible.
34075 (__sha512_finish_ctx): Likewise.
34076 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34077 as 64-bit value.
34078 * crypt/sha256.c (SWAP64): Define.
34079 (sha256_process_block): Perform total addition using 64-bit if
34080 possible.
34081 (__sha256_finish_ctx): Likewise.
34082
99231d9a
UD
340832011-07-01 Ulrich Drepper <drepper@gmail.com>
34084
34085 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34086 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34087 * nscd/hstcache.c (cache_addhst): Likewise.
34088 * nscd/grpcache.c (cache_addgr): Likewise.
34089 * nscd/aicache.c (addhstaiX): Likewise
34090 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34091
445b4a53
TK
340922011-07-01 Thorsten Kukuk <kukuk@suse.de>
34093
34094 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34095 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34096 * nscd/hstcache.c (cache_addhst): Likewise.
34097 * nscd/grpcache.c (cache_addgr): Likewise.
34098 * nscd/aicache.c (addhstaiX): Likewise
34099
6d4d8e8e
AS
341002011-07-01 Andreas Schwab <schwab@redhat.com>
34101
34102 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34103 domain only when needed.
34104
89f654c5
AS
341052011-06-30 Andreas Schwab <schwab@redhat.com>
34106
34107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34108 is always restored.
34109
cf3b23ff
UD
341102011-06-29 Ulrich Drepper <drepper@gmail.com>
34111
34112 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34113 are re-adding the entry.
34114 * nscd/servicescache.c (cache_addserv): Likewise.
34115
751626f9
AJ
341162011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34117
34118 * sysdeps/generic/dl-irel.h: fix protection against multiple
34119 inclusions.
34120 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34121
9113ea1f
UD
341222011-06-28 Ulrich Drepper <drepper@gmail.com>
34123
5c0b8d90
UD
34124 [BZ #12935]
34125 * malloc/memusage.sh: Fix quoting in message.
34126 * debug/xtrace.sh: Likewise.
34127
9113ea1f
UD
34128 * configure.in: Remove support for --experimental-malloc option, make
34129 it the default.
34130 * config.make.in: Likewise.
34131 * malloc/Makefile: Likewise.
34132
a4172181
AS
341332011-06-27 Andreas Schwab <schwab@redhat.com>
34134
34135 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34136 two-byte characters.
34137
78a7eee7
RM
341382011-06-27 Roland McGrath <roland@hack.frob.com>
34139
62bede13
RM
34140 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34141 AC_CACHE_CHECK invocation.
34142 * configure: Regenerated.
34143
78a7eee7
RM
34144 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34145
5ce33a62
UD
341462011-06-27 Ulrich Drepper <drepper@gmail.com>
34147
034807a9
UD
34148 [BZ #12350]
34149 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34150 bit from old_res_options.
34151
4902da17
UD
34152 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34153
5ce33a62
UD
34154 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34155 value type for setfct.
34156
c2344f56
L
341572011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34158
34159 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34160 __gettimeofday instead of gettimeofday.
34161
68468076
UD
341622011-06-26 Ulrich Drepper <drepper@gmail.com>
34163
34164 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34165
acb0d739
L
341662011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34167
34168 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34169
34170 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34171 info.
34172
8912479f
L
341732011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34174
34175 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34176 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34177 strcpy-sse2-unaligned strncpy-sse2-unaligned
34178 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34179 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34180 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34181 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34182 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34183 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34184 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34185 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34186 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34187 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34188 (STRCPY): Support SSE2 and SSSE3 versions.
34189
d5495a11
UD
341902011-06-24 Ulrich Drepper <drepper@gmail.com>
34191
34192 [BZ #12874]
34193 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34194 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34195 kernels which artificially limit size of requests.
34196
0b1cbaae
L
341972011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34198
34199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34200 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34201 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34202 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34203 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34204 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34205 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34206 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34207 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34208 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34209 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34210 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34211 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34212 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34213 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34215 Enable unaligned load optimization for Intel Core i3, i5 and i7
34216 processors.
34217 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34218 Define.
34219 (index_Fast_Unaligned_Load): Define.
34220 (HAS_FAST_UNALIGNED_LOAD): Define.
34221
07f494a0
MP
342222011-06-23 Marek Polacek <mpolacek@redhat.com>
34223
34224 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34225
fa3fc0fe
UD
342262011-06-22 Ulrich Drepper <drepper@gmail.com>
34227
34228 [BZ #12907]
34229 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34230 until it is clear that the information is realy needed.
34231 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34232
e12df166
AS
342332011-06-22 Andreas Schwab <schwab@redhat.com>
34234
34235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34236
852eb34d
UD
342372011-06-22 Ulrich Drepper <drepper@gmail.com>
34238
84e2a551
UD
34239 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34240 /sys/devices/system/cpu/online if it is usable.
34241
852eb34d
UD
34242 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34243 reading the information from the /proc filesystem to once a second.
34244
6e502e19
UD
342452011-06-21 Andreas Jaeger <aj@suse.de>
34246
34247 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34248 NULL after inclusion of kernel headers.
34249
75d39ff2
UD
342502011-06-21 Ulrich Drepper <drepper@gmail.com>
34251
51f9aa6a
UD
34252 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34253 calls to internal_setent.
34254
c0244a9d
UD
34255 [BZ #12885]
34256 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34257 addresses using gethostbyname4_r ignore IPv4 addresses.
34258
c5e3c2ae
UD
34259 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34260 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34261
75d39ff2
UD
34262 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34263
42675c6f
DM
342642011-06-20 David S. Miller <davem@davemloft.net>
34265
34266 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34267 inclusions.
34268 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34269
34270 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34271 (elf_irel): Use it.
34272 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34273 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34274 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34275 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34276 * sysdeps/x86_64/dl-irel.h: Likewise.
34277
34278 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34279 * elf/dl-sym.c: Likewise.
34280
57912a71
UD
342812011-06-15 Ulrich Drepper <drepper@gmail.com>
34282
34283 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34284 need to dereference resplen2.
34285
ee22793d
AS
342862011-06-14 Andreas Schwab <schwab@redhat.com>
34287
34288 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34289
a9e836b0
UD
342902011-06-15 Ulrich Drepper <drepper@gmail.com>
34291
77fb9117
UD
34292 * Makeconfig: Define vardbdir and inst_vardbdir.
34293 * nss/Makefile: Add rules to install db-Makefile.
34294
40c1b22c
UD
34295 * nss/nss_db/db-XXX.c: Cleanup.
34296
9f2da732
UD
34297 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34298 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34299 GLIBC_PRIVATE.
34300 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34301 * nss/makedb.c: Implement -g option to specify that value strings
34302 are generated and should not be added to table iterated over for
34303 get*ent calls.
34304 * nss/nss_db/db-initgroups.c: New file.
34305
82e9a1f7
UD
34306 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34307 interface.
34308
c41af17e
UD
34309 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34310 (internal_getgrouplist): Adjust to name change.
34311 Update use_initgroups_entry if this is not the first call.
34312 * nss/databases.def: Add initgroups entry.
34313
a9e836b0
UD
34314 * nss/makedb.c (compute_tables): Check result of multiple hash table
34315 sizes to minimize maximum chain length.
34316
2666d441
UD
343172011-06-14 Ulrich Drepper <drepper@gmail.com>
34318
34319 * Versions.def: Add entry for libnss_db.
34320 * shlib-versions: Likewise.
34321 * nss/Makefile: Add rules to build libnss_db.
34322 * nss/Versions: Add libnss_db information. Organize libnss_files
34323 entries better.
34324 * nss/db-Makefile: Add gshadow support. Change rules for the new
34325 makedb progra. Some minor improvements to generate smaller files.
34326 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34327 here from...
34328 * nss/makedb.c: ...here.
34329 Improve database format to be smaller and require less memory at
34330 runtime.
34331 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34332 db anymore.
34333 * nss/nss_db/db-netgrp.c: Likewise.
34334 * nss/nss_db/db-open.c: Likewise.
34335 * nss/nss_files/flies-XXX.x: Adjust comments.
34336 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34337 * nss/nss_files/files-grp.c: Likewise.
34338 * nss/nss_files/files-hosts.c: Likewise.
34339 * nss/nss_files/files-network.c: Likewise.
34340 * nss/nss_files/files-proto.c: Likewise.
34341 * nss/nss_files/files-pwd.c: Likewise.
34342 * nss/nss_files/files-rpc.c: Likewise.
34343 * nss/nss_files/files-service.c: Likewise.
34344 * nss/nss_files/files-sgrp.c: Likewise.
34345 * nss/nss_files/files-spwd.c: Likewise.
34346 * nss/nss_db/db-alias.c: Removed.
34347 * nss/nss_db/dummy-db.h: Removed.
34348
9ee76b5a
UD
343492011-06-02 Ulrich Drepper <drepper@gmail.com>
34350
34351 * nss/makedb.c: Rewritten to not use database library.
34352 * nss/Makefile: Update to build new makedb program.
34353
c71ca1f8
AJ
343542011-06-14 Andreas Jaeger <aj@suse.de>
34355
34356 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34357 memset declaration.
34358
3154bfb8
UD
343592011-06-10 Andreas Schwab <schwab@redhat.com>
34360
34361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34362 tmpbuf.
34363
b350afab
RM
343642011-06-10 Roland McGrath <roland@hack.frob.com>
34365
decd4e50
RM
34366 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34367 * elf/Makefile ($(objpfx)ld.so): Likewise.
34368
5615eaf2
RM
34369 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34370 Don't list ld.so twice in dependencies.
34371
34372 * posix/bug-regex31.c: Include <stdlib.h>.
34373
34374 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34375
34376 * nis/nss_compat/compat-spwd.c
34377 (getspent_next_nss_netgr): Remove unused variable.
34378 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34379
34380 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34381 nonmembers" output to use the right array.
34382
34383 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34384
34385 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34386
34387 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34388 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34389 * catgets/gencat.c (read_input_file): Likewise.
34390 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34391
34392 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34393 variable definition inside #if's controlling its use.
34394
34395 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34396
34397 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34398
34399 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34400
34401 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34402 unreachable code.
34403
34404 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34405
b68e08db
RM
34406 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34407 * configure: Regenerated.
34408
b350afab
RM
34409 * Makerules: Revert last change.
34410 * elf/Makefile: Likewise.
34411
28368601
RM
344122011-06-09 Roland McGrath <roland@hack.frob.com>
34413
34414 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34415 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34416 (reloc-link): Likewise.
34417
11988f8f
UD
344182011-06-09 Ulrich Drepper <drepper@gmail.com>
34419
34420 * elf/Makefile: Add rules to build pldd.
34421 * elf/pldd.c: New file.
34422 * elf/pldd-xx.c: New file.
34423
e80fab37
UD
344242011-06-07 Ulrich Drepper <drepper@gmail.com>
34425
34426 * version.h: Update for 2.15 development version.
34427
9b849836
DM
344282011-06-07 David S. Miller <davem@davemloft.net>
34429
34430 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34431 ifuncs.
34432 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34433 elf_machine_lazy_rel): Likewise.
34434 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34435 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34436 elf_machine_lazy_rel): Likewise.
34437 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34438 dl_hwcap via passed in argument.
34439 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34440 Likewise.
34441
5a31b283
AK
344422011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34443
34444 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34445
069e52f8
RM
344462011-06-06 Roland McGrath <roland@hack.frob.com>
34447
34448 [BZ #12849]
34449 * manual/fdl-1.1.texi: New file, verbatim from:
34450 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34451 * manual/lgpl-2.1.texi: New file, verbatim from:
34452 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34453 * manual/Makefile (licenses): New variable, list those new file names.
34454 (texis): Use it.
34455 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34456
34457 * manual/fdl.texi: File removed.
34458 * manual/lesser.texi: File removed.
34459 * manual/libc.texinfo (Copying, Documentation License):
34460 Use new @include file names, put @appendix directive before @include.
34461
f16846a5
JJ
344622011-06-04 Jakub Jelinek <jakub@redhat.com>
34463
34464 [BZ #12841]
34465 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34466 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34467 (mq_open): Add __NTH.
34468
3d29045b
L
344692011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34470
34471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34472 Assume Intel Core i3/i5/i7 processor if AVX is available.
34473
8c297311
UD
344742011-05-31 Ulrich Drepper <drepper@gmail.com>
34475
34476 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34477 typo.
34478
c8fc0c91
UD
344792011-05-31 Andreas Schwab <schwab@redhat.com>
34480
34481 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34482 memory. Use alloca_account. Fix memory leak when retrying.
34483
5b27a807
UD
344842011-05-31 Ulrich Drepper <drepper@gmail.com>
34485
356f8bc6
UD
34486 * version.h (RELEASE): Bump for 2.14 release.
34487 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34488
5b27a807
UD
34489 * config.make.in (RANLIB): Remove entry.
34490
01f16ab0
UD
344912011-05-30 Ulrich Drepper <drepper@gmail.com>
34492
41fce8bd
UD
34493 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34494 (libc.pot): Work around missing support for .ksh extension in xgettext.
34495
4769ae77
UD
34496 [BZ #12684]
34497 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34498 if both request failed.
34499 (send_dg): In case of server errors clear resplen or *resplen2.
34500
6b1e7d19
UD
34501 [BZ #12454]
34502 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34503 when there are multiple maps.
34504 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34505 (_dl_fini): Remove test here.
34506
01f16ab0
UD
34507 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34508
b1ebd700
UD
345092011-05-29 Ulrich Drepper <drepper@gmail.com>
34510
7ae22829
UD
34511 [BZ #12350]
34512 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34513 bit from old_res_options.
34514 (gaih_inet): Likewise.
34515
553149f6 34516 [BZ #11099]
18a84741 34517 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
34518 as signed.
34519
652ffab1
UD
34520 * resolv/res_init.c (res_setoptions): Make the code more compact.
34521
16985fd0
UD
34522 [BZ #11558]
34523 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34524 set RES_USEVC.
34525
0464f746
UD
34526 [BZ #11634]
34527 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34528
7d17596c
UD
34529 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34530
cf6bbbd7
UD
34531 [BZ #11781]
34532 * malloc/malloc.h: Declare malloc hook variables as volatile.
34533
13f1ab36
UD
34534 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34535 in last patch.
34536
b1ebd700
UD
34537 [BZ #11799]
34538 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 34539 raise in the comment.
80e2212d
UD
34540 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34541 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34542 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 34543
ce67228d
UD
345442011-05-28 Ulrich Drepper <drepper@gmail.com>
34545
8887a920
UD
34546 [BZ #12811]
34547 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34548 grow the buffers more if it already has to be sufficient.
34549 (build_wcs_upper_buffer): Likewise.
34550 * posix/regexec.c (check_matching): Likewise.
34551 (clean_state_log_if_needed): Likewise.
34552 (extend_buffers): Don't enlarge buffers beyond size of the input
34553 buffer.
34554 Patches mostly by Emil Wojak <emil@wojak.eu>.
34555 * posix/bug-regex32.c: New file.
34556 * posix/Makefile (tests): Add bug-regex32.
34557
4f031072
UD
34558 * locale/findlocale.c (_nl_find_locale): Return right away if
34559 _nl_explode_name failed.
34560 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34561
d0478f0c
UD
34562 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34563
de81b246
UD
34564 * debug/xtrace.sh: Unify messages.
34565 * malloc/memusage.sh: Likewise.
34566
c738465a
UD
34567 [BZ #12813]
34568 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34569 time symbol from vDSO. Substitute with vsyscall if not available.
34570 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34571 __vdso_time.
34572
f1f929d7
UD
34573 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34574 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34575 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34576 Add sendmmsg and internal_sendmmsg.
34577 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34578 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34579 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34580
ce67228d
UD
34581 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34582 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34583 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34584
e57420c6
UD
345852011-05-27 Ulrich Drepper <drepper@gmail.com>
34586
a8509ca5
UD
34587 [BZ #12813]
34588 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34589 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34590 available.
34591 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34592 __vdso_getcpu.
34593
e57420c6
UD
34594 [BZ #12814]
34595 * iconvdata/Makefile (tests): Add bug-iconv9.
34596 * iconvdata/bug-iconv9.c: New file.
34597
4d07db15
AS
345982011-05-27 Andreas Schwab <schwab@redhat.com>
34599
34600 [BZ #12814]
34601 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34602
ea486f69
JJ
346032011-05-25 Jakub Jelinek <jakub@redhat.com>
34604
34605 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34606 (struct user_regs_struct): Change intcs field back to cs.
34607
6f038433
UD
346082011-05-25 Ulrich Drepper <drepper@gmail.com>
34609
34610 * po/ja.po: Update from translation team.
34611
67f86a25
UD
346122011-05-23 Ulrich Drepper <drepper@gmail.com>
34613
34614 [BZ #12795]
34615 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34616 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34617
def7fbd6
AS
346182011-05-20 Andreas Schwab <schwab@redhat.com>
34619
34620 * stdlib/longlong.h: Update from GCC.
34621
f50ef8f1
AS
346222011-05-23 Andreas Schwab <schwab@redhat.com>
34623
34624 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34625 parameter name.
34626 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34627 Add parameter name.
34628 (__sysconf): Pass it down.
34629
de7ce8f1
UD
346302011-05-22 Ulrich Drepper <drepper@gmail.com>
34631
f2962a71
UD
34632 [BZ #12671]
34633 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34634 some situations.
34635 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34636 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34637 add in in __libc_use_alloca calls. Adjust callers.
34638 (glob): Use malloc in some situations.
34639
de7ce8f1
UD
34640 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34641 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34642 pltexit.
34643
aec84f53
UD
346442011-05-21 Ulrich Drepper <drepper@gmail.com>
34645
05bb4a68
UD
34646 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34647 and CLOCK_BOOTTIME_ALARM.
34648
7ea72f99
UD
34649 [BZ #12782]
34650 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34651 is returned.
34652
7e4afad5
UD
34653 * string/_strerror.c (__strerror_r): Print negative errors as signed
34654 numbers.
34655
8e211fec
UD
34656 [BZ #12777]
34657 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34658 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34659 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34660
f7d82dc9
UD
34661 * configure.in: Fix typo in redirection and correct removal of test
34662 files in two cases.
34663
cc9e536d
UD
34664 [BZ #12788]
34665 * locale/setlocale.c (new_composite_name): Fix test to check for
34666 identical name of all categories.
34667
aec84f53
UD
34668 [BZ #12792]
34669 * libio/filedoalloc.c (local_isatty): New function.
34670 (_IO_file_doallocate): Use local_isatty.
34671 * stdio-common/perror.c (perror): In case a new stream is used
34672 forward the stream error.
34673 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34674 error flag.
34675
78e64fdc
RT
346762011-05-20 Ulrich Drepper <drepper@gmail.com>
34677
34a9094f
UD
34678 [BZ #11869]
34679 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34680 alloca.
34681 * include/alloca.h (extend_alloca_account): Define.
34682
78e64fdc
RT
34683 [BZ #11857]
34684 * posix/regex.h: Fix comments with documentation of user-accessible
34685 fields after compilation and describe correct free'ing of pattern
34686 after re_compile_pattern.
34687 Patch by Reuben Thomas <rrt@sc3d.org>.
34688
457bddfc
RA
346892011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34690
34691 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34692 and -mno-altivec to prevent the compiler from using Altivec and/or
34693 VSX instructions when the corresponding registers are not available.
34694
a4527b51
AS
346952011-05-19 Andreas Schwab <schwab@redhat.com>
34696
34697 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34698
ed690b2f
UD
346992011-05-19 Ulrich Drepper <drepper@gmail.com>
34700
34701 * libio/freopen.c (freopen): Use __dup2, not dup2.
34702 * libio/freopen64.c (freopen64): Likewise.
34703
8db73634
L
347042011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34705
34706 [BZ #12775]
34707 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34708 * math/Makefile (tests): Add test-powl.
34709 (CFLAGS-test-powl.c): Define.
34710 * math/test-powl.c: New file.
34711
0a197a9d
L
347122011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34713
34714 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34715
ee30c380
UD
347162011-05-17 Ulrich Drepper <drepper@gmail.com>
34717
34718 [BZ #11837]
34719 * iconvdata/gb18030.c: Update to GB18020-2005.
34720
6ce75379
UD
347212011-05-16 Ulrich Drepper <drepper@gmail.com>
34722
a4b89fd8
AR
34723 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34724 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34725 Patch by Aharon Robbins <arnold@skeeve.com>.
34726
ea389b12
UD
34727 [BZ #11892]
34728 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34729 on the stack.
34730
68a3f91f
UD
34731 [BZ #11895]
34732 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34733 through underflows.
34734
15cc7dd1
UD
34735 [BZ #12766]
34736 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34737 point to strings before performing equality test for error_one_per_line
34738 mode.
34739
f3799213
UD
34740 [BZ #11697]
34741 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34742
d79a9c94
UD
34743 [BZ #11820]
34744 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34745 (struct user_fpregs_struct): Avoid __uint*_t types.
34746
56e5eb46
UD
34747 [BZ #6420]
34748 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34749 symbol info. Use it instead of calling _dl_addr locally.
34750 (lock_and_info): New function.
34751 (tr_freehook): Call lock_and_info and pass symbol info as additional
34752 parameter to tr_where.
34753 (tr_mallochook): Likewise.
34754 (tr_reallochook): Likewise.
34755 (tr_memalignhook): Likewise.
34756
6ce75379
UD
34757 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34758 used and couldn't be at all thread-safe.
34759
f8a3b5bf
UD
347602011-05-15 Ulrich Drepper <drepper@gmail.com>
34761
94b7cc37
UD
34762 * libio/freopen.c (freopen): Don't close old file descriptor
34763 before the new one is opened. Instead dup the new file descriptor
34764 to the old one after the new stream is created.
34765 * libio/freopen64.c (freopen64): Likewise.
34766 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34767 * libio/fileops.c (_IO_new_file_close_it): Handle new
34768 _IO_FLAGS2_NOCLOSE flag.
34769 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34770 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34771 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34772 _IO_FLAGS2_NOCLOSE flag.
34773 * include/unistd.h: Add hidden_proto for dup3.
34774 Define __have_dup3.
34775 * io/dup3.c: Define hidden symbol.
34776 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34777
bd25564e
UD
34778 [BZ #7101]
34779 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34780 when an incomplete long option is used.
34781 * posix/tst-getopt_long1.c: New file.
34782 * posix/Makefile (tests): Add tst-getopt_long1.
34783
c84cfef4
UD
34784 [BZ #10138]
34785 * scripts/config.guess: Update from autoconf-2.68.
34786 * scripts/config.sub: Likewise.
34787
3b85df27
UD
34788 [BZ #10157]
34789 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34790 tests into ...
34791 (has_cpuclock): ...this. New function.
34792 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34793 macro here based on has_cpuclock code.
34794
15a856b1
UD
34795 [BZ #10149]
34796 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34797 First byte (not low byte) is now always NUL.
34798 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34799
05f399e6
UD
34800 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34801 Use non-cancelable interfaces.
34802
10a52685 34803 [BZ #9809]
94ecc67d
UD
34804 * locale/iso-639.def: Add entry for Sorani.
34805
f8a3b5bf
UD
34806 [BZ #11901]
34807 * include/stdlib.h: Move include protection to the right place.
34808 Define abort_msg_s. Declare __abort_msg with it.
34809 * stdlib/abort.c (__abort_msg): Adjust type.
34810 * assert/assert.c (__assert_fail_base): New function. Majority
34811 of code from __assert_fail. Allocate memory for __abort_msg with
34812 mmap.
34813 (__assert_fail): Now call __assert_fail_base.
34814 * assert/assert-perr.c: Remove bulk of implementation. Use
34815 __assert_fail_base.
34816 * include/assert.hL Declare __assert_fail_base.
34817 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34818 mmap.
34819 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34820
1af4e298
UD
348212011-05-14 Ulrich Drepper <drepper@gmail.com>
34822
f8a3b5bf 34823 [BZ #11952]
d26dfc60
MG
34824 [BZ #12453]
34825 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34826 until all modules are registered in the DTV.
34827 * elf/Makefile: Add rules to build and run tst-tls19.
34828 * elf/tst-tls19.c: New file.
34829 * elf/tst-tls19mod1.c: New file.
34830 * elf/tst-tls19mod2.c: New file.
34831 * elf/tst-tls19mod3.c: New file.
34832 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34833
2fc54d6f
UD
34834 [BZ #12083]
34835 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34836 correctly.
34837
98d76b46
UD
34838 [BZ #12601]
34839 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34840 two-byte sequence errors.
34841 * iconvdata/Makefile (tests): Add bug-iconv8.
34842 * iconvdata/bug-iconv8.c: New file.
34843
da3c19ef
UD
34844 [BZ #12626]
34845 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34846 buf2 definition.
34847
ca408c15
UD
34848 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34849
d6f67f7d
UD
34850 [BZ #12432]
34851 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34852 (dummy_getcfa): New function.
34853 (init): Get _Unwind_GetCFA address, use dummy if not found.
34854 (backtrace_helper): In recursion check, also check whether CFA changes.
34855 (__backtrace): Completely initialize arg.
34856
1af4e298 34857 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
34858 storing incomplete byte sequence in state object. Avoid testing for
34859 guaranteed too small input if we know there is enough data available.
1af4e298 34860
da62f81b
AS
348612011-05-11 Andreas Schwab <schwab@redhat.com>
34862
34863 * Makeconfig (+link-pie): Indent.
34864 * Rules (binaries-pie): Define if $(have-fpie) and
34865 $(build-shared).
34866 (binaries-shared): Also filter out $(binaries-pie).
34867 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34868 * nscd/Makefile (others-pie): Add nscd.
34869 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34870 ($(objpfx)nscd): Remove command override.
34871 * login/Makefile (others-pie): Add pt_chown.
34872 ($(objpfx)pt_chown): Remove command override.
34873 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34874 remove command overrides.
34875
fcabc0f8
UD
348762011-05-13 Ulrich Drepper <drepper@gmail.com>
34877
20030ae6
UD
34878 * libio/tst_putwc.c: Fix error messages.
34879
fcabc0f8
UD
34880 [BZ #12724]
34881 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34882 currently writing and seek to current position when not.
34883 * libio/Makefile (tests): Add bug-fclose1.
34884 * libio/bug-fclose1.c: New file.
34885
320a5dc0
PB
348862011-05-12 Ulrich Drepper <drepper@gmail.com>
34887
34888 [BZ #12511]
34889 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34890 don't set DF_1_NODELETE here.
34891 (do_lookup_x): When entering new entry test for copy relocation
34892 and if necessary set DF_1_NODELETE flag.
34893 * elf/tst-unique4.cc: New file.
34894 * elf/tst-unique4.h: New file.
34895 * elf/tst-unique4lib.cc: New file.
34896 * elf/Makefile: Add rules to build and run tst-unique4.
34897 Patch by Piotr Bury <pbury@goahead.com>.
34898
22836f52
UD
348992011-05-11 Ulrich Drepper <drepper@gmail.com>
34900
f574184a
UD
34901 [BZ #12052]
34902 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34903
e1fb097f
UD
34904 [BZ #12625]
34905 * misc/mntent_r.c (addmntent): Flush the stream after the output
34906
22836f52
UD
34907 [BZ #12393]
34908 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34909 (is_trusted_path_normalize): Skip initial colon. Append slash
34910 to empty buffer. Duplicate is_trusted_path code but allow
34911 constructed patch to be prefix.
34912 (is_dst): Allow $ORIGIN followed by /.
34913 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34914 Correct testing of result of is_trusted_path_normalize
34915 (decompose_rpath): Fix warning.
34916
7b3b0b2a
UD
349172011-05-10 Ulrich Drepper <drepper@gmail.com>
34918
34919 [BZ #11257]
34920 * grp/initgroups.c (internal_getgrouplist): When we found the service
34921 list through the initgroups entry in nsswitch.conf do not always
34922 continue on a successful lookup. Don't always use the
eac80ce2 34923 __nss_group_database value if it is set.
7b3b0b2a
UD
34924 * nss/nsswitch.conf (initgroups): Change action for successful db
34925 lookup to continue for compatibility.
34926
2a81eaa5
UD
349272011-05-09 Ulrich Drepper <drepper@gmail.com>
34928
be97a69e
UD
34929 [BZ #11532]
34930 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34931 and CP774 modules.
34932 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34933 and CP774 modules.
34934 * iconvdata/tst-tables.sh: Likewise.
34935 * iconvdata/cp770.c: New file.
34936 * iconvdata/cp771.c: New file.
34937 * iconvdata/cp772.c: New file.
34938 * iconvdata/cp773.c: New file.
34939 * iconvdata/cp774.c: New file.
34940 * iconvdata/testdata/CP770: New file.
34941 * iconvdata/testdata/CP770..UTF8: New file.
34942 * iconvdata/testdata/CP771: New file.
34943 * iconvdata/testdata/CP771..UTF8: New file.
34944 * iconvdata/testdata/CP772: New file.
34945 * iconvdata/testdata/CP772..UTF8: New file.
34946 * iconvdata/testdata/CP773: New file.
34947 * iconvdata/testdata/CP773..UTF8: New file.
34948 * iconvdata/testdata/CP774: New file.
34949 * iconvdata/testdata/CP774..UTF8: New file.
34950
34951 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34952 END CHARMAP line.
34953 * iconvdata/gen-8bit-gap.sh: Likewise.
34954 * iconvdata/gen-8bit.sh: Likewise.
34955
c1e9e399
UD
34956 * locale/iso-639.def: Add ary entry.
34957
24c55fb3 34958 [BZ #11258]
96b4b1b0
UD
34959 * locale/C-translit.h.in: Add U20A1 transliteration.
34960
bdc2f971
KB
34961 [BZ #12178]
34962 * locale/iso-639.def: Add wae entry.
34963 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34964
2952b117
UD
34965 [BZ #12545]
34966 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34967 for n.
34968
2a81eaa5
UD
34969 [BZ #12711]
34970 * locale/C-translit.h.in: Add entry for U20B9.
34971 Patch by pravin.d.s@gmail.com.
34972
28377d1b
UD
349732011-05-08 Ulrich Drepper <drepper@gmail.com>
34974
7fb90fb8
UD
34975 [BZ #12713]
34976 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34977 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
34978 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34979 in rtld. Use *stat64.
7fb90fb8 34980 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 34981 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 34982 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
34983 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34984 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34985 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34986 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34987 __fstatat64 macros.
7fb90fb8
UD
34988 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34989 * dirent/rewinddir.c: Add libc_hidden_def.
34990 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 34991 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 34992
28377d1b
UD
34993 * include/dirent.h (__alloc_dir): Add flags parameter.
34994 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34995 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34996 __alloc_dir.
34997 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34998 from fdopendir if O_CLOEXEC is already set.
34999
66bdbaa4
AM
350002011-03-15 Alan Modra <amodra@gmail.com>
35001
35002 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35003 l_tls_firstbyte_offset non-zero. Save padding offset in
35004 l_tls_firstbyte_offset for later use.
35005 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35006 freeing static tls block.
35007
95721191
JN
350082011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35009
35010 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35011 where #ifdef was intended. The intent is to prevent ARG_MAX from
35012 being defined by the kernel headers.
35013
f87dfb1f
UD
350142011-05-07 Ulrich Drepper <drepper@gmail.com>
35015
35016 [BZ #12734]
35017 * resolv/resolv.h: Define RES_NOTLDQUERY.
35018 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35019 no-tld-query and set RES_NOTLDQUERY.
35020 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35021 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35022 modern BIND to search name as TLD unless forbidden.
35023
47c3cd7a
UD
350242011-05-07 Petr Baudis <pasky@suse.cz>
35025 Ulrich Drepper <drepper@gmail.com>
35026
35027 [BZ #12393]
35028 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35029 (is_trusted_path): ...to here.
c1e9ea35 35030 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 35031 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 35032 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 35033
8a35c912
PP
350342011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35035
35036 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35037 __BEGIN/__END_DECLS.
35038
acd41f47
UD
350392011-05-06 Ulrich Drepper <drepper@gmail.com>
35040
35041 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35042 NSS_STATUS_NOTFOUND if no record was found.
35043
597df647
AS
350442011-05-05 Andreas Schwab <schwab@redhat.com>
35045
35046 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35047 (headers-not-in-tirpc): Remove rpc/netdb.h
35048 * resolv/netdb.h: Revert last change.
35049
b9af1301
PP
350502011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35051
35052 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35053 circular dependency between libgcc.a and libc.a.
35054
4e34d5f5
AS
350552011-05-05 Andreas Schwab <schwab@redhat.com>
35056
35057 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35058 * nis/Makefile: Don't install rpcsvc/*.
35059 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35060 instead of <rpc/types.h>.
35061 (MAXHOSTNAMELEN): Define.
35062
00ee369c
AS
350632011-05-03 Andreas Schwab <schwab@redhat.com>
35064
35065 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35066
0b592a30
MB
350672011-04-28 Maciej Babinski <mbabinski@google.com>
35068
35069 [BZ #12714]
35070 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35071 gethostbyname4_r when IPv6 results are possible.
35072
6e04cbbe
UD
350732011-05-02 Ulrich Drepper <drepper@gmail.com>
35074
35075 [BZ #12723]
35076 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35077 _PC_PIPE_BUF handling.
35078
e4ecafe0
BH
350792011-04-30 Bruno Haible <bruno@clisp.org>
35080
35081 [BZ #12717]
35082 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35083 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35084 to 'int'.
35085 * inet/getnameinfo.c (getnameinfo): Likewise.
35086
125ee683
UD
350872011-04-29 Ulrich Drepper <drepper@gmail.com>
35088
35089 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35090 to groups setting in database lookup.
35091 * nss/nsswitch.conf: Add initgroups entry.
35092
b722481a
EB
350932011-04-22 Ulrich Drepper <drepper@gmail.com>
35094
35095 [BZ #12685]
35096 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35097 mode string.
35098 Patch by Eric Blake <eblake@redhat.com>.
35099
4df46dbd
L
351002011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35101
35102 * sunrpc/Makefile (need-export-routines): Add svc_run.
35103 (routines): Remove svc_run.
35104 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35105 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35106 * sunrpc/svc_run.c (svc_run): Likewise.
35107 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35108
e84142d2
UD
351092011-04-21 Ulrich Drepper <drepper@gmail.com>
35110
35111 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35112 problem in reallocation in last patch.
35113
877175d8
UD
351142011-04-20 Ulrich Drepper <drepper@gmail.com>
35115
35116 * sunrpc/Makefile: Move inclusion of Rules.
35117
ab8eed78
UD
351182011-04-19 Ulrich Drepper <drepper@gmail.com>
35119
35120 * nss/nss_files/files-initgroups.c: New file.
35121 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35122 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35123 _nss_files_initgroups_dyn.
35124
e3d8f584
RS
351252011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35126
35127 * elf/elf.h (R_ARM_IRELATIVE): Define.
35128
af190f45
UD
351292011-04-19 Ulrich Drepper <drepper@gmail.com>
35130
35131 * po/ru.po: Update from translation team.
35132
53cf59ef
UD
351332011-04-17 Ulrich Drepper <drepper@gmail.com>
35134
35135 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35136 dependencies.
35137
4c559bcd
MF
351382011-02-06 Mike Frysinger <vapier@gentoo.org>
35139
35140 [BZ #12653]
35141 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35142 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35143 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35144 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35145 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35146
4420675c
AS
351472011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35148
35149 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35150 differing bytes.
35151 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35152 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35153 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35154
75ea32ab
UD
351552011-04-17 Ulrich Drepper <drepper@gmail.com>
35156
35157 [BZ #12420]
35158 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35159 storing it.
35160 * stdlib/bug-getcontext.c: New file.
35161 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35162
27390476
AK
351632011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35164
35165 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35166 instructions into .machine "z9-109".
35167 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35168 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35169
10442705
AK
351702011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35171
35172 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35173 between environment variables and auxiliary vector.
35174
7b57bfe5
UD
351752011-04-16 Ulrich Drepper <drepper@gmail.com>
35176
35177 * Makefile: Add rules to build linkobj/libc.so.
35178 * include/libc-symbols.h: Define libc_hidden_nolink.
35179 * include/rpc/auth.h: Mark functions which are to be hidden.
35180 * include/rpc/auth_des.h: Likewise.
35181 * include/rpc/auth_unix.h: Likewise.
35182 * include/rpc/clnt.h: Likewise.
35183 * include/rpc/des_crypt.h: Likewise.
35184 * include/rpc/key_prot.h: Likewise.
35185 * include/rpc/pmap_clnt.h: Likewise.
35186 * include/rpc/pmap_prot.h: Likewise.
35187 * include/rpc/pmap_rmt.h: Likewise.
35188 * include/rpc/rpc_msg.h: Likewise.
35189 * include/rpc/svc.h: Likewise.
35190 * include/rpc/svc_auth.h: Likewise.
35191 * include/rpc/xdr.h: Likewise.
35192 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35193 * nss/Makefile: Likewise.
35194 * sunrpc/Makefile: Don't install headers. Build library with normal
35195 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35196 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35197 for the compat linking library. Remove use of INTDEF/INTUSE.
35198 * sunrpc/auth_none.c: Likewise.
35199 * sunrpc/auth_unix.c: Likewise.
35200 * sunrpc/authdes_prot.c: Likewise.
35201 * sunrpc/authuxprot.c: Likewise.
35202 * sunrpc/clnt_gen.c: Likewise.
35203 * sunrpc/clnt_perr.c: Likewise.
35204 * sunrpc/clnt_raw.c: Likewise.
35205 * sunrpc/clnt_simp.c: Likewise.
35206 * sunrpc/clnt_tcp.c: Likewise.
35207 * sunrpc/clnt_udp.c: Likewise.
35208 * sunrpc/clnt_unix.c: Likewise.
35209 * sunrpc/des_crypt.c: Likewise.
35210 * sunrpc/des_soft.c: Likewise.
35211 * sunrpc/get_myaddr.c: Likewise.
35212 * sunrpc/key_call.c: Likewise.
35213 * sunrpc/key_prot.c: Likewise.
35214 * sunrpc/netname.c: Likewise.
35215 * sunrpc/pm_getmaps.c: Likewise.
35216 * sunrpc/pm_getport.c: Likewise.
35217 * sunrpc/pmap_clnt.c: Likewise.
35218 * sunrpc/pmap_prot.c: Likewise.
35219 * sunrpc/pmap_prot2.c: Likewise.
35220 * sunrpc/pmap_rmt.c: Likewise.
35221 * sunrpc/publickey.c: Likewise.
35222 * sunrpc/rpc_cmsg.c: Likewise.
35223 * sunrpc/rpc_common.c: Likewise.
35224 * sunrpc/rpc_dtable.c: Likewise.
35225 * sunrpc/rpc_prot.c: Likewise.
35226 * sunrpc/rpc_thread.c: Likewise.
35227 * sunrpc/rtime.c: Likewise.
35228 * sunrpc/svc.c: Likewise.
35229 * sunrpc/svc_auth.c: Likewise.
35230 * sunrpc/svc_authux.c: Likewise.
35231 * sunrpc/svc_raw.c: Likewise.
35232 * sunrpc/svc_run.c: Likewise.
35233 * sunrpc/svc_simple.c: Likewise.
35234 * sunrpc/svc_tcp.c: Likewise.
35235 * sunrpc/svc_udp.c: Likewise.
35236 * sunrpc/svc_unix.c: Likewise.
35237 * sunrpc/svcauth_des.c: Likewise.
35238 * sunrpc/xcrypt.c: Likewise.
35239 * sunrpc/xdr.c: Likewise.
35240 * sunrpc/xdr_array.c: Likewise.
35241 * sunrpc/xdr_float.c: Likewise.
35242 * sunrpc/xdr_intXX_t.c: Likewise.
35243 * sunrpc/xdr_mem.c: Likewise.
35244 * sunrpc/xdr_rec.c: Likewise.
35245 * sunrpc/xdr_ref.c: Likewise.
35246 * sunrpc/xdr_sizeof.c: Likewise.
35247 * sunrpc/xdr_stdio.c: Likewise.
35248
e6c61494
UD
352492011-04-10 Ulrich Drepper <drepper@gmail.com>
35250
35251 [BZ #12650]
35252 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35253 * sysdeps/ia64/dl-tls.h: Likewise.
35254 * sysdeps/powerpc/dl-tls.h: Likewise.
35255 * sysdeps/s390/dl-tls.h: Likewise.
35256 * sysdeps/sh/dl-tls.h: Likewise.
35257 * sysdeps/sparc/dl-tls.h: Likewise.
35258 * sysdeps/x86_64/dl-tls.h: Likewise.
35259 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35260
34fe483e
AS
352612011-03-14 Andreas Schwab <schwab@redhat.com>
35262
35263 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35264 rpath element also skip the following colon.
35265 (expand_dynamic_string_token): Add is_path parameter and pass
35266 down to DL_DST_REQUIRED and _dl_dst_substitute.
35267 (decompose_rpath): Call expand_dynamic_string_token with
35268 non-zero is_path. Ignore empty rpaths.
35269 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35270 with zero is_path.
35271
f12a32e6
AS
352722011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35273
35274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35275 Make cancelable.
35276
38a7d692
UD
352772011-04-09 Ulrich Drepper <drepper@gmail.com>
35278
35279 [BZ #12655]
35280 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35281 Patch by Filipe David Manana <fdmanana@apache.org>.
35282
e451d22b
AS
352832011-04-07 Andreas Schwab <schwab@redhat.com>
35284
35285 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35286 Maintain aligned stack.
35287 (CHECK_RSP): Remove unused macro.
35288
dedc7c7b
UD
352892011-04-03 Ulrich Drepper <drepper@gmail.com>
35290
35291 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35292 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35293
94521213
UD
352942011-04-02 Ulrich Drepper <drepper@gmail.com>
35295
35296 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35297
8cb700c0 35298 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 35299
0354e355
L
353002011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35301
35302 [BZ #12518]
35303 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35304 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35305 * sysdeps/x86_64/memmove.c: New file.
35306 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35307 (memcpy): Renamed to ...
35308 (__new_memcpy): This.
35309 (memcpy): Provide GLIBC_2_14 memcpy.
35310 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35311 (memcpy): Provide GLIBC_2_2_5 memcpy.
35312
8593482f
UD
353132011-04-01 Ulrich Drepper <drepper@gmail.com>
35314
35315 [BZ #12631]
35316 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35317
81a5726b
AS
353182011-03-30 Andreas Schwab <schwab@redhat.com>
35319
35320 * misc/syncfs.c: New file.
35321 * misc/Makefile (routines): Add syncfs.
35322 * posix/unistd.h: Declare syncfs.
35323 * sysdeps/unix/syscalls.list: Add syncfs.
35324
00e5419f
AS
353252011-04-01 Andreas Schwab <schwab@redhat.com>
35326
35327 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35328 open_by_handle_at.
35329 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35330 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35331 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35332 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35333 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35334 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35335 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35336
748876bf
UD
353372011-04-01 Ulrich Drepper <drepper@gmail.com>
35338
658e451d
UD
35339 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35340 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35341 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35342 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35343 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35344 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35345 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35346
748876bf
UD
35347 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35348 sync_file_range.c with -fexceptions.
35349 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35350 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35351 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35352 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35353 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35354 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35355 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
35356 sync_file_range as cancellation point
35357 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35358 now a wrapper around __call_sync_file_range with cancellation handling.
35359 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35360 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35361 function name to __call_sync_file_range.
35362 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35363 Add call_sync_file_range.
748876bf 35364
6e63d5e1
AS
353652011-04-01 Andreas Schwab <schwab@redhat.com>
35366
35367 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 35368 bits/timex.h.
6e63d5e1 35369
46998f74
UD
353702011-04-01 Ulrich Drepper <drepper@gmail.com>
35371
4c1423ed
UD
35372 * iconv/iconv.h: Fix typo in comment.
35373 * io/fcntl.h: Likewise.
35374 * libio/stdio.h: Likewise.
35375 * posix/spawn.h: Likewise.
35376 * posix/unistd.h: Likewise.
35377 * stdlib/stdlib.h: Likewise.
35378 * time/time.h: Likewise.
35379 * wcsmbs/wchar.h: Likewise.
35380
158648c0
UD
35381 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35382 open_by_handle): Add.
35383 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35384 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35385 Augment a few comments.
35386 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35387 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35388 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35389 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35390 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35391 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35392 open_by_handle.
35393
46998f74
UD
35394 * io/fcntl.h (AT_EMPTY_PATH): Define.
35395
83fe108b
UD
353962011-03-30 Ulrich Drepper <drepper@gmail.com>
35397
35398 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35399 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35400 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35401 to...
35402 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
35403 * Versions.def: Add GLIBC_2.14.
35404 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35405 Export.
83fe108b 35406
bb242059
UD
354072011-03-22 Ulrich Drepper <drepper@gmail.com>
35408
35409 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35410 round counter.
35411 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35412
c97a1282
L
354132011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35414
35415 [BZ #12597]
35416 * string/test-strncmp.c (do_page_test): New function.
35417 (check2): Likewise.
35418 (test_main): Call check2.
35419 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35420
2a115601
UD
354212011-03-20 Ulrich Drepper <drepper@gmail.com>
35422
35423 [BZ #12587]
35424 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35425 Handle cache information in CPU leaf 4.
35426 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35427
8126d904
UD
354282011-03-18 Ulrich Drepper <drepper@gmail.com>
35429
042c49c6 35430 [BZ #12583]
8126d904
UD
35431 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35432 character representation.
35433 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35434
ccfe366e
RA
354352011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35436
35437 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35438 END(__isnan) to END(__isnanf) to match function entry point/label
35439 EALIGN(__isnanf,...).
35440
c6e13027
JJ
354412011-03-10 Jakub Jelinek <jakub@redhat.com>
35442
35443 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35444
33f85a3f
UD
354452011-03-10 Ulrich Drepper <drepper@gmail.com>
35446
028478fa
UD
35447 [BZ #12510]
35448 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35449 copy from the symbol referenced in the relocation to initialize the
35450 used variable.
35451 Patch by Piotr Bury <pbury@goahead.com>.
35452 * elf/Makefile: Add rules to build and tst-unique3.
35453 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35454 * elf/tst-unique3.cc: New file.
35455 * elf/tst-unique3.h: New file.
35456 * elf/tst-unique3lib.cc: New file.
35457 * elf/tst-unique3lib2.cc: New file.
35458
33f85a3f
UD
35459 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35460
03592fc7
MF
354612011-03-10 Mike Frysinger <vapier@gentoo.org>
35462
35463 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35464 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35465 to _start.
03592fc7 35466
6a5ee102
UD
354672011-03-06 Ulrich Drepper <drepper@gmail.com>
35468
35469 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35470 to-be-loaded object along a path to loader is ld.so.
35471
7e4ba49c
HJ
354722011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35473 Ulrich Drepper <drepper@gmail.com>
35474
35475 * sysdeps/x86_64/memset.S: After aligning destination, code
35476 branches to different locations depending on the value of
35477 misalignment, when multiarch is enabled. Fix this.
35478
354792011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35480
35481 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35482 Set _x86_64_preferred_memory_instruction for AMD processsors.
35483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35484 Set bit_Prefer_SSE_for_memop for AMD processors.
35485
13a804de
UD
354862011-03-04 Ulrich Drepper <drepper@gmail.com>
35487
35488 * libio/fmemopen.c (fmemopen): Optimize a bit.
35489
9d25c392
AS
354902011-03-03 Andreas Schwab <schwab@redhat.com>
35491
35492 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35493
a5543c6a
RM
354942011-03-03 Roland McGrath <roland@redhat.com>
35495
35496 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35497
012d35f7
DM
354982011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35499
7e4ba49c 35500 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
35501 __bzero_ultra1 instead of __memset_ultra1.
35502
4bff6e01
AS
355032011-02-23 Andreas Schwab <schwab@redhat.com>
35504 Ulrich Drepper <drepper@gmail.com>
35505
35506 [BZ #12509]
35507 * include/link.h (struct link_map): Add l_orig_initfini.
35508 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35509 returning unsuccessfully.
35510 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35511 close of a file loaded at startup, restore the original l_initfini
35512 list.
35513 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35514 list, store the pointer.
35515 * elf/Makefile ($(objpfx)noload-mem): New rule.
35516 (noload-ENV): Define.
35517 (tests): Add $(objpfx)noload-mem.
35518 * elf/noload.c: Include <memcheck.h>.
35519 (main): Call mtrace. Close all opened handles.
35520
f2092faf
AS
355212011-02-17 Andreas Schwab <schwab@redhat.com>
35522
35523 [BZ #12454]
35524 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35525 dependencies are missing.
35526
6c8a2e88
ST
355272011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35528
f2092faf 35529 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
35530 Hurd needs munmap.
35531 * sysdeps/mach/hurd/ifreq.h: New file.
35532
84a42118
PB
355332011-01-27 Petr Baudis <pasky@suse.cz>
35534 Ulrich Drepper <drepper@gmail.com>
35535
071f805e 35536 [BZ 12445]#
84a42118
PB
35537 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35538 to extend_alloca().
35539 * stdio-common/bug23.c: New file.
35540 * stdio-common/Makefile (tests): Add bug23.
35541
e23fe25b
AS
355422010-09-28 Andreas Schwab <schwab@redhat.com>
35543 Ulrich Drepper <drepper@gmail.com>
35544
35545 [BZ #12489]
35546 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35547 before performing relro protection. At old place add assertion
35548 to make sure nothing changed.
35549
d3f02e10
NS
355502011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35551 Glauber de Oliveira Costa <glommer@gmail.com>
35552
35553 * elf/elf.h: Add new ARM TLS relocs.
35554
d55fd7a5
RA
355552011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35556
35557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35558 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35559 cast from r3.
35560 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35561 'tests' variable.
35562 * sysdeps/wordsize-64/tst-writev.c: New file.
35563
2206397e
RA
355642011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35565
35566 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35567 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35568 insns in _dl_start to prevent a TOC reference before relocs are
35569 resolved.
35570
e9433893
UD
355712011-02-15 Ulrich Drepper <drepper@gmail.com>
35572
35573 [BZ #12469]
35574 * Makeconfig: Remove RANLIB definition.
35575 * Makerules: Don't use RANLIB.
35576 * aclocal.m4: Remove ranlib test.
35577 * configure.in: No need to check for ranlib.
35578 * elf/rtld-Rules: Don't use RANLIB.
35579
f75286c6
ST
355802011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35581
8e31c82d
ST
35582 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35583 protection macro.
35584 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35585 inclusion protection macro.
35586
f75286c6
ST
35587 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35588 SIGRTMIN and SIGRTMAX and print information in that case only when
35589 SIGRTMIN is defined.
35590
c1d0e639
JJ
355912011-02-11 Jakub Jelinek <jakub@redhat.com>
35592
35593 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35594 arginfo fn returning -1.
35595
35596 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35597 and thousands string is zero terminated.
35598
edf9294e
AS
355992011-02-03 Andreas Schwab <schwab@redhat.com>
35600
35601 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35602 sysdeps/unix/sysv/linux/bits/socket.h.
35603
2b7e92df
ST
356042011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35605
edf9294e
AS
35606 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35607 (__CPU_COUNT): Remove old macros.
35608 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35609 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35610 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
35611 (__sched_cpualloc, __sched_cpufree): Add declarations.
35612
a4c7ea7b
UD
356132011-02-05 Ulrich Drepper <drepper@gmail.com>
35614
35615 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35616 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35617 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35618 (readdhstai): Return value of addhstaiX call.
35619 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35620 (addgrbyX): Return value returned by cache_addgr.
35621 (readdgrbyname): Return value returned by addgrbyX.
35622 (readdgrbygid): Likewise.
35623 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35624 (addpwbyX): Return value returned by cache_addpw.
35625 (readdpwbyname): Return value returned by addhstbyX.
35626 (readdpwbyuid): Likewise.
35627 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35628 (addservbyX): Return value returned by cache_addserv.
35629 (readdservbyname): Return value returned by addservbyX:
35630 (readdservbyport): Likewise.
35631 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35632 (addhstbyX): Return value returned by cache_addhst.
35633 (readdhstbyname): Return value returned by addhstbyX.
35634 (readdhstbyaddr): Likewise.
35635 (readdhstbynamev6): Likewise.
35636 (readdhstbyaddrv6): Likewise.
35637 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35638 (readdinitgroups): Return value returned by addinitgroupsX.
35639 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35640 (prune_cache): Keep track of timeout value of re-added entries.
35641 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35642 * nscd/nscd.h: Adjust prototypes of readd* functions.
35643
a0bf67cc
RM
356442011-02-04 Roland McGrath <roland@redhat.com>
35645
35646 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35647 (nis_stats): Likewise.
35648 * nis/nis_modify.c (nis_modify): Likewise.
35649 * nis/nis_remove.c (nis_remove): Likewise.
35650 * nis/nis_add.c (nis_add): Likewise.
35651
35652 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35653
35654 * posix/fnmatch_loop.c: Add some consts.
35655
35656 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35657
435b95eb
L
356582011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35659
35660 [BZ #12460]
35661 * config.make.in (config-cflags-novzeroupper): Define.
35662 * configure.in: Substitute libc_cv_cc_novzeroupper.
35663 * elf/Makefile (AVX-CFLAGS): Define.
35664 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35665 (CFLAGS-tst-auditmod4a.c): Likewise.
35666 (CFLAGS-tst-auditmod4b.c): Likewise.
35667 (CFLAGS-tst-auditmod6b.c): Likewise.
35668 (CFLAGS-tst-auditmod6c.c): Likewise.
35669 (CFLAGS-tst-auditmod7b.c): Likewise.
35670 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35671
8517b15e
UD
356722011-02-02 Ulrich Drepper <drepper@gmail.com>
35673
35674 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35675 function to the callback.
35676 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35677
10a656fe
AS
356782011-02-02 Andreas Schwab <schwab@redhat.com>
35679
35680 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35681 of errno.
35682
968dad0a
UD
356832011-01-19 Ulrich Drepper <drepper@gmail.com>
35684
9f94d2ea 35685 [BZ #11724]
968dad0a
UD
35686 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35687 of constructors.
35688 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35689 of destructors.
35690 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35691
35692 [BZ #11724]
35693 * elf/Makefile: Add rules to build and run new test.
35694 * elf/tst-initorder.c: New file.
35695 * elf/tst-initorder.exp: New file.
35696 * elf/tst-initordera1.c: New file.
35697 * elf/tst-initordera2.c: New file.
35698 * elf/tst-initordera3.c: New file.
35699 * elf/tst-initordera4.c: New file.
35700 * elf/tst-initorderb1.c: New file.
35701 * elf/tst-initorderb2.c: New file.
35702 * elf/tst-order-a1.c: New file.
35703 * elf/tst-order-a2.c: New file.
35704 * elf/tst-order-a3.c: New file.
35705 * elf/tst-order-a4.c: New file.
35706 * elf/tst-order-b1.c: New file.
35707 * elf/tst-order-b2.c: New file.
35708 * elf/tst-order-main.c: New file.
35709 New test case by George Gensure <werkt0@gmail.com>.
35710
86e92359
UD
357112010-10-01 Andreas Schwab <schwab@redhat.com>
35712
35713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35714 decoding ACE if AI_CANONIDN.
35715
5d5732b0
UD
357162011-01-18 Ulrich Drepper <drepper@gmail.com>
35717
35718 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35719
a77e8cbc
UD
357202011-01-17 Ulrich Drepper <drepper@gmail.com>
35721
6392473f
UD
35722 * version.h (RELEASE): Bump for 2.13 release.
35723 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35724
620a0529
UD
35725 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35726
18ba70a5
UD
35727 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35728 MADV_NOHUGEPAGE.
32465c3e
UD
35729 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35730 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35731 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35732 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35733 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35734 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35735
c0dafcf1
UD
35736 * posix/getconf.c: Update copyright year.
35737 * catgets/gencat.c: Likewise.
35738 * csu/version.c: Likewise.
35739 * debug/catchsegv.sh: Likewise.
35740 * debug/xtrace.sh: Likewise.
35741 * elf/ldconfig.c: Likewise.
35742 * elf/ldd.bash.in: Likewise.
35743 * elf/sprof.c (print_version): Likewise.
35744 * iconv/iconv_prog.c: Likewise.
35745 * iconv/iconvconfig.c: Likewise.
35746 * locale/programs/locale.c: Likewise.
35747 * locale/programs/localedef.c: Likewise.
35748 * malloc/memusage.sh: Likewise.
35749 * malloc/mtrace.pl: Likewise.
35750 * nscd/nscd.c (print_version): Likewise.
35751 * nss/getent.c: Likewise.
35752
a77e8cbc
UD
35753 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35754 PF_CAIF, and PF_ALG.
35755 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35756
77e8bddf
AS
357572011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35758
1f20b93a
AS
35759 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35760 (modules-names): Use them.
35761 (ifunc-test-modules, ifunc-pie-tests): Define.
35762 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35763 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35764 (test-extras): Likewise.
35765 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35766 $(compile-command.c).
35767 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35768 (all-built-dso): Define.
35769 (check-textrel.out, check-execstack.out): Depend on it.
35770
77e8bddf
AS
35771 * configure.in: Don't override --enable-multi-arch.
35772
bc425b33
UD
357732011-01-15 Ulrich Drepper <drepper@gmail.com>
35774
35775 [BZ #6812]
35776 * nscd/hstcache.c (tryagain): Define.
35777 (cache_addhst): Return tryagain not notfound for temporary errors.
35778 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35779 failed.
35780
794c3ad3
UD
357812011-01-14 Ulrich Drepper <drepper@gmail.com>
35782
70181fdd
UD
35783 [BZ #10563]
35784 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35785 to make the syscall.
35786 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35787
794c3ad3
UD
35788 [BZ #12378]
35789 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35790 and fall back to matching as normal character if the string ends before
35791 the matching ']' is found. This is what POSIX requires.
35792 * posix/testfnm.c: Adjust test result.
35793 * posix/globtest.sh: Adjust test result. Add new test.
35794 * posix/tst-fnmatch.input: Likewise.
35795 * posix/tst-fnmatch2.c: Add new test.
35796
68dc9497
AS
357972010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35798
35799 * elf/Makefile (check-execstack): Revert last change. Depend on
35800 check-execstack.h.
35801 (check-execstack.h): New target.
35802 (generated): Add check-execstack.h.
35803 * elf/check-execstack.c: Include "check-execstack.h".
35804 (main): Revert last change.
35805 (handle_file): Return zero if GNU_STACK is absent and
35806 DEFAULT_STACK_PERMS doesn't include PF_X.
35807
451f001b
UD
358082011-01-13 Ulrich Drepper <drepper@gmail.com>
35809
cfa28e56
UD
35810 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35811 in child fails because the descriptor is already closed.
8cf8ce17
UD
35812 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35813 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35814 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 35815
1086d70d
UD
35816 [BZ #12397]
35817 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35818 syscall.
35819
451f001b
UD
35820 [BZ #10484]
35821 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35822 temporary buffer used to handle multi lookups locally.
a85b5cb4 35823 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 35824
08769175
UD
358252011-01-12 Ulrich Drepper <drepper@gmail.com>
35826
35827 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35828 loader is ld.so.
35829
5e49c52e
UD
358302011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35831
35832 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35833 alignment for SSE2.
35834
60522a5f
UD
358352011-01-12 Ulrich Drepper <drepper@gmail.com>
35836
35837 [BZ #12394]
35838 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35839 characters. When rounding increased number of integer digits recompute
35840 number of groups.
35841 * stdio-common/tst-grouping.c: New file.
35842 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35843
f257bbd7
UD
358442011-01-09 Ulrich Drepper <drepper@gmail.com>
35845
35846 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35847 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35848
35849 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35850 void.
35851 * bits/select.h: Likewise.
35852
fa9c15cb
UD
358532011-01-08 Ulrich Drepper <drepper@gmail.com>
35854
35855 * po/ja.po: Update from translation team.
35856
16c2895f
DM
358572011-01-04 David S. Miller <davem@sunset.davemloft.net>
35858
35859 [BZ #11155]
35860 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35861 implementation just like for lxstat, fxstatat, et al.
35862
2543fef2
JM
358632010-12-27 Jim Meyering <meyering@redhat.com>
35864
35865 [BZ #12348]
35866 * posix/regexec.c (build_trtable): Return failure indication upon
35867 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35868
98727dbe
UD
358692010-12-25 Ulrich Drepper <drepper@gmail.com>
35870
5bd6dc5c
UD
35871 [BZ #12201]
35872 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35873 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35874 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35875 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35876
97983464
UD
35877 [BZ #12207]
35878 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35879
98727dbe
UD
35880 [BZ #12204]
35881 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35882 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35883
4a531bb0
L
358842010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35885
35886 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35887 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35888 script has SORT_BY_INIT_PRIORITY.
35889 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35890 NO_CTORS_DTORS_SECTIONS is defined.
35891 * elf/soinit.c: Likewise.
35892 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35893 NO_CTORS_DTORS_SECTIONS is defined.
35894 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35895 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35896 * sysdeps/sh/init-first.c: Likewise.
35897 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35898
07eb4b71
UD
358992010-12-24 Ulrich Drepper <drepper@gmail.com>
35900
35901 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35902 always use the slow path.
35903
30950a5f
RA
359042010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35905
35906 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35907 similar rule which adds the sysdep directories to the header search in
35908 order to pick up the correct platform stackinfo.h.
35909 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35910 perform test if it is, otherwise return successfully without testing.
35911 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35912 DEFAULT_STACK_PERMS define in stackinfo.h.
35913 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35914 defined in stackinfo.h.
35915 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35916 DEFAULT_STACK_PERMS defined in stackinfo.h.
35917 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35918 * sysdeps/ia64/stackinfo.h: Likewise.
35919 * sysdeps/s390/stackinfo.h: Likewise.
35920 * sysdeps/sh/stackinfo.h: Likewise.
35921 * sysdeps/sparc/stackinfo.h: Likewise.
35922 * sysdeps/x86_64/stackinfo.h: Likewise.
35923 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35924 PF_X for powerpc64. Retain PF_X for powerpc32.
35925
db753e2c
UD
359262010-12-19 Ulrich Drepper <drepper@gmail.com>
35927
14b697f7
UD
35928 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35929 accurately.
db753e2c
UD
35930 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35931 GETDENTS_64BIT_ALIGNED.
35932
28300719
UD
359332010-12-14 Ulrich Drepper <dreper@gmail.com>
35934
14b697f7 35935 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 35936
4f197237
AS
359372010-12-10 Andreas Schwab <schwab@redhat.com>
35938
dbb0472f
AS
35939 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35940 _GNU_SOURCE.
35941
4f197237
AS
35942 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35943 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35944 Remove __restrict.
35945 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35946 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35947
fb88ac72
UD
359482010-12-09 Ulrich Drepper <drepper@gmail.com>
35949
35950 [BZ #11655]
35951 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35952 are initialized.
35953
42acbb92
JJ
359542010-12-09 Jakub Jelinek <jakub@redhat.com>
35955
35956 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35957
c038d98d
UD
359582010-12-03 Ulrich Drepper <drepper@gmail.com>
35959
35960 * po/it.po: Update from translation team.
35961
3a4a2499
L
359622010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35963
35964 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35965 unused codes.
35966
1e24cf6e
UD
359672010-11-30 Ulrich Drepper <drepper@gmail.com>
35968
35969 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35970
a7690819
AS
359712010-11-24 Andreas Schwab <schwab@redhat.com>
35972
35973 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35974 specially.
35975 (gaih_getanswer_slice): Likewise.
35976
3bf8d1b1
JJ
359772010-10-20 Jakub Jelinek <jakub@redhat.com>
35978
35979 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35980
6db52fbb
PB
359812010-05-31 Petr Baudis <pasky@suse.cz>
35982
35983 [BZ #11149]
35984 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35985 silently even in the chroot mode.
35986
eaca7569
UD
359872010-11-22 Ulrich Drepper <drepper@gmail.com>
35988
35989 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35990 last patch a bit. Pretty printing
35991
3056dcdb
UD
359922010-05-31 Petr Baudis <pasky@suse.cz>
35993
35994 [BZ #10085]
35995 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35996 initialization of skip_initgroups_dyn.
35997
cf7c9078
UD
359982010-11-19 Ulrich Drepper <drepper@gmail.com>
35999
36000 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36001 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36002
a1fb5e3e
UD
360032010-11-16 Ulrich Drepper <drepper@gmail.com>
36004
36005 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36006
3540d66b
AS
360072010-11-11 Andreas Schwab <schwab@redhat.com>
36008
36009 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36010 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36011 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36012 ($(objpfx)tst-fnmatch-mem): New rule.
36013 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36014 * posix/tst-fnmatch.c (main): Call mtrace.
36015
13b69574
L
360162010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36017
36018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36019 Support Intel processor model 6 and model 0x2c.
36020
da93d214
LM
360212010-11-10 Luis Machado <luisgpm@br.ibm.com>
36022
36023 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36024 signed comparison.
36025
8ca52c6e
L
360262010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36027
36028 [BZ #12205]
36029 * string/test-strncasecmp.c (check_result): New function.
36030 (do_one_test): Use it.
36031 (check1): New function.
36032 (test_main): Use it.
36033 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36034 Support strcasecmp and strncasecmp.
36035
69da074d
UD
360362010-11-08 Ulrich Drepper <drepper@gmail.com>
36037
36038 [BZ #12194]
36039 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36040 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36041
ff02d528
L
360422010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36043
36044 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36045 IFUNC support.
36046 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36047 memset-x86-64.
36048 * sysdeps/x86_64/multiarch/bzero.S: New file.
36049 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36050 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36051 * sysdeps/x86_64/multiarch/memset.S: New file.
36052 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36054 Set bit_Prefer_SSE_for_memop for Intel processors.
36055 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36056 Define.
36057 (index_Prefer_SSE_for_memop): Define.
36058 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36059
344d0b54
LM
360602010-11-04 Luis Machado <luisgpm@br.ibm.com>
36061
36062 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36063 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36064
c0dde15b
UD
360652010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36066
36067 [BZ #12191]
36068 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36069 (__x86_64_raw_data_cache_size_half): Likewise.
36070 (__x86_64_raw_shared_cache_size): Likewise.
36071 (__x86_64_raw_shared_cache_size_half): Likewise.
36072
36073 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36074 (__x86_64_raw_data_cache_size_half): Likewise.
36075 (__x86_64_raw_shared_cache_size): Likewise.
36076 (__x86_64_raw_shared_cache_size_half): Likewise.
36077 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36078 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36079 and __x86_64_raw_shared_cache_size_half. Round
36080 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36081 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36082 to multiple of 256 bytes.
36083
0e516e0e
MS
360842010-11-03 Ulrich Drepper <drepper@gmail.com>
36085
36086 [BZ #12167]
36087 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36088 of inacessible symlinks. Verify result of symlink before returning it.
36089 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36090 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36091
0e012e87
ER
360922010-10-28 Erich Ritz <erichritz@gmail.com>
36093
36094 * math/math.h (isinf): Fix typo in comment.
36095
de0ff7bc
UD
360962010-11-01 Ulrich Drepper <drepper@gmail.com>
36097
36098 * po/da.po: Update from translation team.
36099
fa41c84d
UD
361002010-10-26 Ulrich Drepper <drepper@gmail.com>
36101
36102 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36103 is added to the list.
36104
f0967738
AK
361052010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36106 Ulrich Drepper <drepper@gmail.com>
36107
36108 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36109 the global list here. Move code to...
36110 (_dl_add_to_namespace_list): ...here. New function.
36111 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36112 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36113 * elf/dl-load.c (lose): Don't remove the element from the list.
36114 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36115 (_dl_map_object): Likewise.
36116
361172010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
36118
36119 [BZ #12159]
36120 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36121 into all bytes of SSE register.
36122 Patch by Richard Li <richardpku@gmail.com>.
36123
f0967738 361242010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
36125
36126 [BZ #12140]
36127 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36128 perturbing.
36129
d0b9e94f
MB
361302010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36131
36132 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36133 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36134 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36135 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36137 submachine.
36138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36139
8e9f92e9
AS
361402010-10-22 Andreas Schwab <schwab@redhat.com>
36141
36142 * include/dlfcn.h (__RTLD_SECURE): Define.
36143 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36144 mode & __RTLD_SECURE instead.
36145 (open_path): Rename preloaded parameter to secure.
36146 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36147 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36148 * elf/dl-deps.c (openaux): Likewise.
36149 * elf/rtld.c (struct map_args): Remove is_preloaded.
36150 (map_doit): Don't use it.
36151 (dl_main): Likewise.
36152 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36153 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36154
bc96fbda
AS
361552010-09-09 Andreas Schwab <schwab@redhat.com>
36156
36157 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36158 (sysd-rules-targets): Remove duplicates.
36159 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36160 rtld-%.$o dependency.
36161
22cd1c9b
AS
361622010-10-18 Andreas Schwab <schwab@redhat.com>
36163
36164 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36165 _dl_map_object do it.
36166
18edac48
UD
361672010-10-19 Ulrich Drepper <drepper@gmail.com>
36168
36169 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36170 fast fma builtins, define the macros in the C99 standard.
36171 (FP_FAST_FMAF): Likewise.
36172 (FP_FAST_FMAL): Likewise.
36173 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36174
36175 * bits/mathdef.h: Update copyright year.
36176 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36177
d2050124
MM
361782010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36179
36180 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36181 builtins, define the macros in the C99 standard.
36182 (FP_FAST_FMAF): Likewise.
36183 (FP_FAST_FMAL): Likewise.
36184 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36185 multiply/add.
36186 (FP_FAST_FMAF): Likewise.
36187
475facd1
JJ
361882010-10-15 Jakub Jelinek <jakub@redhat.com>
36189
36190 [BZ #3268]
36191 * math/libm-test.inc (fma_test): Some new testcases.
36192 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36193 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36194 y and infinite z. Do multiplication by C already in long double.
36195 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36197 y and infinite z. Do bitwise or of inexact bit into u.d.
36198 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36199 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36200 * sysdeps/i386/fpu/s_fma.S: Removed.
36201 * sysdeps/i386/fpu/s_fmal.S: Removed.
36202
7c08a05c
JJ
362032010-10-16 Jakub Jelinek <jakub@redhat.com>
36204
36205 [BZ #3268]
36206 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36207 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36208 computation is not scheduled after fetestexcept. Fix value
36209 of minimum denormal long double.
36210
f3f7372d
JJ
362112010-10-14 Jakub Jelinek <jakub@redhat.com>
36212
36213 [BZ #3268]
36214 * math/libm-test.inc (fma_test): Add some more tests.
36215 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36216 correctly.
36217
14d43591
AS
362182010-10-15 Andreas Schwab <schwab@redhat.com>
36219
36220 * scripts/data/localplt-s390-linux-gnu.data: New file.
36221 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36222
5e908464
JJ
362232010-10-13 Jakub Jelinek <jakub@redhat.com>
36224
36225 [BZ #3268]
36226 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36227 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36228 instead of dbl-64.
36229 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36230 inlines.
36231 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36233 if one of x and y is very large and the other is subnormal.
36234 * sysdeps/s390/fpu/s_fmaf.c: New file.
36235 * sysdeps/s390/fpu/s_fma.c: New file.
36236 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36237 * sysdeps/powerpc/fpu/s_fma.S: New file.
36238 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36239 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36240 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36241
362422010-10-12 Jakub Jelinek <jakub@redhat.com>
36243
36244 [BZ #3268]
36245 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36246 fma tests.
36247 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36248 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36249 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36250 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36251 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36252 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36253 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36254
b833d51f
UD
362552010-10-12 Ulrich Drepper <drepper@redhat.com>
36256
36257 [BZ #12078]
36258 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36259 * posix/bug-regex31.input: Add test case.
36260
1751705d
UD
362612010-10-11 Ulrich Drepper <drepper@gmail.com>
36262
e9b9cbf5
UD
36263 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36264 * posix/bug-regex31.input: New file.
36265
36266 [BZ #12078]
36267 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36268 (parse_sub_exp): Fix last change, use postorder.
36269
ef06edbe
UD
36270 * posix/bug-regex31.c: New file.
36271 * posix/Makefile: Add rules to build and run bug-regex31.
36272
a129c80d
UD
36273 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36274
36275 [BZ #12078]
36276 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36277
b76b818e
UD
36278 [BZ #12108]
36279 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36280 to have entries in sys_siglist.
36281
1751705d
UD
36282 [BZ #12093]
36283 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36284 be NULL.
36285
9ff8d36f
JJ
362862010-10-07 Jakub Jelinek <jakub@redhat.com>
36287
36288 [BZ #3268]
36289 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36290 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36291 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36292 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36293 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36294 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36295 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36296 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36297 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36298 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36299 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36300 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36301 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36302 * math/ftestexcept.c (fetestexcept): Likewise.
36303 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36304 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36305 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36306 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36307 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36308 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36309 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36310
af325969
UD
363112010-10-11 Ulrich Drepper <drepper@gmail.com>
36312
c579b202 36313 [BZ #12107]
af325969
UD
36314 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36315 newline.
36316
67a67b95
UD
363172010-10-06 Ulrich Drepper <drepper@gmail.com>
36318
36319 * string/bug-strstr1.c: New file.
36320 * string/Makefile: Add rules to build and run bug-strstr1.
36321
5fb308bc
EB
363222010-10-05 Eric Blake <eblake@redhat.com>
36323
36324 [BZ #12092]
36325 * string/str-two-way.h (two_way_long_needle): Always clear memory
36326 when skipping input due to the shift table.
36327
45db99c7
UD
363282010-10-03 Ulrich Drepper <drepper@gmail.com>
36329
3b111893
UD
36330 [BZ #12005]
36331 * malloc/mcheck.c: Handle large requests.
36332
45db99c7
UD
36333 [BZ #12077]
36334 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36335 for strncmp and strncasecmp.
36336 * string/stratcliff.c: Add tests for strcmp and strncmp.
36337 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36338
cf7a1eb8
NI
363392010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36340
36341 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36342 __set_fpscr.
36343
6484ba5e
AJ
363442010-09-30 Andreas Jaeger <aj@suse.de>
36345
36346 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36347 (CGROUP_SUPER_MAGIC): Define.
36348 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36349 Handle btrfs and cgroup file systems.
36350 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36351 Likewise.
36352
91c42559
LM
363532010-09-27 Luis Machado <luisgpm@br.ibm.com>
36354
36355 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36356 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36357
87a97932
AK
363582010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36359
36360 [BZ #12067]
36361 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36362 trying to locate the ELF header.
36363
c21cc9bc
AS
363642010-09-27 Andreas Schwab <schwab@redhat.com>
36365
36366 [BZ #11611]
36367 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36368 Mask out sign-bit copies when constructing f_fsid.
36369
315970f6
PB
363702010-09-24 Petr Baudis <pasky@suse.cz>
36371
36372 * debug/stack_chk_fail_local.c: Add missing licence exception.
36373 * debug/warning-nop.c: Likewise.
36374
1ac7a2c7
JM
363752010-09-15 Joseph Myers <joseph@codesourcery.com>
36376
36377 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36378 implementing getdents64 using getdents syscall, set d_type if
36379 __ASSUME_GETDENTS32_D_TYPE.
36380
56801c50
AS
363812010-09-16 Andreas Schwab <schwab@redhat.com>
36382
36383 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36384 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36385
dda51327
UD
363862010-09-21 Ulrich Drepper <drepper@redhat.com>
36387
36388 [BZ #12037]
36389 * posix/unistd.h: Undo change of feature selection for ftruncate from
36390 2010-01-11.
36391
8ffcee4a
UD
363922010-09-20 Ulrich Drepper <drepper@redhat.com>
36393
a545ecd9 36394 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
36395 detection.
36396
e24f0a8b
AS
363972010-09-20 Andreas Schwab <schwab@redhat.com>
36398
36399 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36400 fanotify_mark.
36401 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36402
7291c56f
AS
364032010-09-14 Andreas Schwab <schwab@redhat.com>
36404
36405 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36406 variables after CHECK_SP call.
36407 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36408
bc5fb037
AS
364092010-09-13 Andreas Schwab <schwab@redhat.com>
36410 Ulrich Drepper <drepper@redhat.com>
36411
36412 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36413 re-relocationg ld.so.
36414 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36415 _dl_init_paths call.
36416 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36417 here anymore.
36418
e66e7419
UD
364192010-09-14 Ulrich Drepper <drepper@redhat.com>
36420
36421 * resolv/res_init.c (__res_vinit): Count the default server we added.
36422
c044aa75
CLT
364232010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36424 Ulrich Drepper <drepper@redhat.com>
36425
36426 [BZ #11968]
36427 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36428 (____longjmp_chk): Use %ebx for saving value across system call.
36429 Add unwind info.
36430
32cf4069
AS
364312010-09-06 Andreas Schwab <schwab@redhat.com>
36432
36433 * manual/Makefile: Don't mix pattern rules with normal rules.
36434
817328ee
AS
364352010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36436
36437 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36438 operation.
36439 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36440 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36441 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36442 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36443 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36444 Likewise.
36445
29fddf61
UD
364462010-09-04 Ulrich Drepper <drepper@redhat.com>
36447
36448 [BZ #11979]
36449 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36450 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36451
0959ffc9
UD
364522010-09-02 Ulrich Drepper <drepper@redhat.com>
36453
36454 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36455 * sysdeps/x86_64/addmul_1.S: Likewise.
36456 * sysdeps/x86_64/lshift.S: Likewise.
36457 * sysdeps/x86_64/mul_1.S: Likewise.
36458 * sysdeps/x86_64/rshift.S: Likewise.
36459 * sysdeps/x86_64/sub_n.S: Likewise.
36460 * sysdeps/x86_64/submul_1.S: Likewise.
36461
ece29840
ST
364622010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36463
0959ffc9
UD
36464 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36465 Define __sched_param instead of SCHED_* and sched_param when
ece29840 36466 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 36467 * bits/sched.h [__need_schedparam]
ece29840 36468 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
36469 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36470 (__defined_schedparam): Define to 1.
ece29840
ST
36471 (__sched_param): New structure, identical to sched_param.
36472 (__need_schedparam): Undefine.
36473
e53a31fe
MF
364742010-08-31 Mike Frysinger <vapier@gentoo.org>
36475
fdc0c10d
MF
36476 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36477 (epoll_create1): Declare.
36478
e53a31fe
MF
36479 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36480
a726d796
AS
364812010-08-31 Andreas Schwab <schwab@redhat.com>
36482
36483 [BZ #7066]
36484 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36485 shifting retval into place.
36486
2f3e3dc7
UD
364872010-09-01 Ulrich Drepper <drepper@redhat.com>
36488
f2933da9
UD
36489 * nis/rpcsvc/nis.h: Update copyright notice.
36490 * nis/rpcsvc/nis.x: Likewise.
36491 * nis/rpcsvc/nis_callback.h: Likewise.
36492 * nis/rpcsvc/nis_callback.x: Likewise.
36493 * nis/rpcsvc/nis_object.x: Likewise.
36494 * nis/rpcsvc/nis_tags.h: Likewise.
36495 * nis/rpcsvc/yp.h: Likewise.
36496 * nis/rpcsvc/yp.x: Likewise.
36497 * nis/rpcsvc/ypupd.h: Likewise.
36498 * nis/yp_xdr.c: Likewise.
36499 * nis/ypupdate_xdr.c: Likewise.
36500
2f3e3dc7
UD
36501 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36502 mainly the body of pmap_getport. Add parameters to specify timeouts.
36503 (pmap_getport): Use __libc_rpc_getport.
36504 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36505 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36506 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36507
f3dcc2f9
AS
365082010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36509
36510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36511 fanotify_mark.
36512
6d34eb5b
RM
365132010-08-27 Roland McGrath <roland@redhat.com>
36514
36515 * sysdeps/i386/i686/multiarch/Makefile
36516 (CFLAGS-varshift.c): New variable.
36517
9ea3de11
UD
365182010-08-27 Ulrich Drepper <drepper@redhat.com>
36519
c96d23fc
UD
36520 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36521 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36522
9ea3de11
UD
36523 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36524
36525 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36526
623aac7f
L
365272010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36528
36529 * sysdeps/x86_64/strlen.S: Unroll the loop.
36530 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36531 strlen-sse2 strlen-sse2-bsf.
36532 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36533 __strlen_no_bsf if bit_Slow_BSF is set.
36534 (__strlen_sse42): Removed.
36535 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36536 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36537
8b2b7715
RM
365382010-08-25 Roland McGrath <roland@redhat.com>
36539
36540 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36541 * sysdeps/x86_64/multiarch/varshift.c: New file.
36542 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36543 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36544 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36545 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36546
e73015f2
L
365472010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36548
36549 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36550 strlen-sse2 strlen-sse2-bsf.
36551 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36552 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36553 (__strlen_sse2): Removed.
36554 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36555 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36557 bit_Slow_BSF for Atom.
36558 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36559 (index_Slow_BSF): Define.
36560 (HAS_SLOW_BSF): Define.
36561
df24a73e
UD
365622010-08-25 Ulrich Drepper <drepper@redhat.com>
36563
36564 [BZ #10851]
36565 * resolv/res_init.c (__res_vinit): When no server address at all
36566 is given default to loopback.
36567
f2ac4868
RM
365682010-08-24 Roland McGrath <roland@redhat.com>
36569
09055553
RM
36570 * configure.in: Remove config-name.h generation.
36571 * configure: Regenerated.
36572 * config-name.in: File removed.
36573 * scripts/config-uname.sh: New file.
36574 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36575 ($(objdir)config-name.h): New target.
36576
f2ac4868
RM
36577 * sunrpc/rpc_parse.h: Avoid nested comment.
36578
73f27d5e
RH
365792010-08-24 Richard Henderson <rth@redhat.com>
36580 Ulrich Drepper <drepper@redhat.com>
36581 H.J. Lu <hongjiu.lu@intel.com>
36582
36583 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36584 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36585 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36586 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36587 _mm_alignr_epi8 with _mm_loadu_si128.
36588 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36589 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36590 (__m128i_shift_right): Removed.
36591 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36592 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36593 * sysdeps/x86_64/multiarch/varshift.h: New file.
36594 * sysdeps/x86_64/multiarch/varshift.S: New file.
36595
84b9230c
MF
365962010-08-21 Mike Frysinger <vapier@gentoo.org>
36597
36598 * configure.in: Move assembler checks to before sysdep dir checking.
36599
9bbd0ddc
PB
366002010-08-20 Petr Baudis <pasky@suse.cz>
36601
36602 * LICENSES: Sync the sunrpc license.
36603
9da4bb31
UD
366042010-08-19 Ulrich Drepper <drepper@redhat.com>
36605
a7ab6ec8
UD
36606 * sunrpc/auth_des.c: Update copyright notice once again.
36607 * sunrpc/auth_none.c: Likewise.
36608 * sunrpc/auth_unix.c: Likewise.
36609 * sunrpc/authdes_prot.c: Likewise.
36610 * sunrpc/authuxprot.c: Likewise.
36611 * sunrpc/bindrsvprt.c: Likewise.
36612 * sunrpc/clnt_gen.c: Likewise.
36613 * sunrpc/clnt_perr.c: Likewise.
36614 * sunrpc/clnt_raw.c: Likewise.
36615 * sunrpc/clnt_simp.c: Likewise.
36616 * sunrpc/clnt_tcp.c: Likewise.
36617 * sunrpc/clnt_udp.c: Likewise.
36618 * sunrpc/clnt_unix.c: Likewise.
36619 * sunrpc/des_crypt.c: Likewise.
36620 * sunrpc/des_soft.c: Likewise.
36621 * sunrpc/get_myaddr.c: Likewise.
36622 * sunrpc/getrpcport.c: Likewise.
36623 * sunrpc/key_call.c: Likewise.
36624 * sunrpc/key_prot.c: Likewise.
36625 * sunrpc/openchild.c: Likewise.
36626 * sunrpc/pm_getmaps.c: Likewise.
36627 * sunrpc/pm_getport.c: Likewise.
36628 * sunrpc/pmap_clnt.c: Likewise.
36629 * sunrpc/pmap_prot.c: Likewise.
36630 * sunrpc/pmap_prot2.c: Likewise.
36631 * sunrpc/pmap_rmt.c: Likewise.
36632 * sunrpc/rpc/auth.h: Likewise.
36633 * sunrpc/rpc/auth_unix.h: Likewise.
36634 * sunrpc/rpc/clnt.h: Likewise.
36635 * sunrpc/rpc/des_crypt.h: Likewise.
36636 * sunrpc/rpc/key_prot.h: Likewise.
36637 * sunrpc/rpc/netdb.h: Likewise.
36638 * sunrpc/rpc/pmap_clnt.h: Likewise.
36639 * sunrpc/rpc/pmap_prot.h: Likewise.
36640 * sunrpc/rpc/pmap_rmt.h: Likewise.
36641 * sunrpc/rpc/rpc.h: Likewise.
36642 * sunrpc/rpc/rpc_des.h: Likewise.
36643 * sunrpc/rpc/rpc_msg.h: Likewise.
36644 * sunrpc/rpc/svc.h: Likewise.
36645 * sunrpc/rpc/svc_auth.h: Likewise.
36646 * sunrpc/rpc/types.h: Likewise.
36647 * sunrpc/rpc/xdr.h: Likewise.
36648 * sunrpc/rpc_clntout.c: Likewise.
36649 * sunrpc/rpc_cmsg.c: Likewise.
36650 * sunrpc/rpc_common.c: Likewise.
36651 * sunrpc/rpc_cout.c: Likewise.
36652 * sunrpc/rpc_dtable.c: Likewise.
36653 * sunrpc/rpc_hout.c: Likewise.
36654 * sunrpc/rpc_main.c: Likewise.
36655 * sunrpc/rpc_parse.c: Likewise.
36656 * sunrpc/rpc_parse.h: Likewise.
36657 * sunrpc/rpc_prot.c: Likewise.
36658 * sunrpc/rpc_sample.c: Likewise.
36659 * sunrpc/rpc_scan.c: Likewise.
36660 * sunrpc/rpc_scan.h: Likewise.
36661 * sunrpc/rpc_svcout.c: Likewise.
36662 * sunrpc/rpc_tblout.c: Likewise.
36663 * sunrpc/rpc_util.c: Likewise.
36664 * sunrpc/rpc_util.h: Likewise.
36665 * sunrpc/rpcinfo.c: Likewise.
36666 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36667 * sunrpc/rpcsvc/key_prot.x: Likewise.
36668 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36669 * sunrpc/rpcsvc/mount.x: Likewise.
36670 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36671 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36672 * sunrpc/rpcsvc/rex.x: Likewise.
36673 * sunrpc/rpcsvc/rstat.x: Likewise.
36674 * sunrpc/rpcsvc/rusers.x: Likewise.
36675 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36676 * sunrpc/rpcsvc/spray.x: Likewise.
36677 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36678 * sunrpc/rtime.c: Likewise.
36679 * sunrpc/svc.c: Likewise.
36680 * sunrpc/svc_auth.c: Likewise.
36681 * sunrpc/svc_authux.c: Likewise.
36682 * sunrpc/svc_raw.c: Likewise.
36683 * sunrpc/svc_run.c: Likewise.
36684 * sunrpc/svc_simple.c: Likewise.
36685 * sunrpc/svc_tcp.c: Likewise.
36686 * sunrpc/svc_udp.c: Likewise.
36687 * sunrpc/svc_unix.c: Likewise.
36688 * sunrpc/svcauth_des.c: Likewise.
36689 * sunrpc/xcrypt.c: Likewise.
36690 * sunrpc/xdr.c: Likewise.
36691 * sunrpc/xdr_array.c: Likewise.
36692 * sunrpc/xdr_float.c: Likewise.
36693 * sunrpc/xdr_mem.c: Likewise.
36694 * sunrpc/xdr_rec.c: Likewise.
36695 * sunrpc/xdr_ref.c: Likewise.
36696 * sunrpc/xdr_sizeof.c: Likewise.
36697 * sunrpc/xdr_stdio.c: Likewise.
36698
9da4bb31
UD
36699 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36700 handling.
36701
bdaa77bc
AS
367022010-08-19 Andreas Schwab <schwab@redhat.com>
36703
36704 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36705
fe2f79db
LM
367062010-08-19 Luis Machado <luisgpm@br.ibm.com>
36707
36708 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36709 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36710 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36711 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36712 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36713 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36714 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36715 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36716 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36717 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36718 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36719 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36720 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36721 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36722
b9b42ee0
AB
367232010-07-26 Anton Blanchard <anton@samba.org>
36724
36725 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36726 * malloc/arena.c (heap_trim): Likewise.
36727
1c06ba31
UD
367282010-08-16 Ulrich Drepper <drepper@redhat.com>
36729
36730 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36731 here. Not...
36732 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36733 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36734
f8392f40
L
367352010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36736
36737 * sysdeps/i386/elf/Makefile: New file.
36738
3162f12e
AS
367392010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36740
36741 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36742 from fanotify_init.
36743 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36744 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36745
28c90b2c
UD
367462010-08-15 Ulrich Drepper <drepper@redhat.com>
36747
36748 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36749 of strncasecmp_l.
1feccb6c 36750 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 36751
ca6bb004
UD
367522010-08-14 Ulrich Drepper <drepper@redhat.com>
36753
e9f82e0d
UD
36754 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36755 strncase_l-nonascii.
36756 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36757 Add strncase_l-ssse3.
36758 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36759 * sysdeps/x86_64/strcmp.S: Likewise.
36760 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36761 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36762 * sysdeps/x86_64/strncase.S: New file.
36763 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36764 * sysdeps/x86_64/strncase_l.S: New file.
36765 * string/Makefile (strop-tests): Add strncasecmp.
36766 * string/test-strncasecmp.c: New file.
36767
36768 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36769 warning.
36770
ca6bb004
UD
36771 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36772 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36773
052fa7b3
AS
367742010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36775
36776 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36777
962dba78
UD
367782010-08-12 Ulrich Drepper <drepper@redhat.com>
36779
36780 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36781 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36782 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36783
bebff237
AM
367842010-05-01 Alan Modra <amodra@gmail.com>
36785
36786 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36787 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36788 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36789 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36790 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36791 tidying. Don't tail-call __sigjmp_save for static lib.
36792 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36793 save location.
36794 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36795 (CALL_MCOUNT): Add eh info, and nop after bl.
36796 (TAIL_CALL_SYSCALL_ERROR): New macro.
36797 (PSEUDO_RET): Use it.
36798 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36799 Correct save location of integer regs and cr.
36800 (_dl_profile_resolve): Correct cr save location. Delete nops
36801 after bl when SHARED. Reduce cfi size a little by better
36802 placement of cfi directives.
36803 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36804 make a stack frame. Instead use parm save area as a temp.
36805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36806 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36808 Don't make a stack frame for parent, use parm save area.
36809 Increase child stack frame to 112 bytes. Don't save unused reg,
36810 and adjust reg usage. Set up cfi on error recovery and
36811 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36813 (__makecontext): Add dummy nop after jump to exit.
36814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36815 Use correct parm save area and cr save, reduce stack frame.
36816 Correct cfi for possible PSEUDO_RET frame setup.
36817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36818 Branch to local label emitted by PSEUDO_RET rather than
36819 __syscall_error.
36820
02637374
AS
368212010-08-12 Andreas Schwab <schwab@redhat.com>
36822
36823 [BZ #11904]
36824 * locale/programs/locale.c (print_assignment): New function.
36825 (show_locale_vars): Use it.
36826
c3e2f19b
UD
368272010-08-11 Ulrich Drepper <drepper@redhat.com>
36828
3cdaa6ad
UD
36829 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36830 field.
36831 (struct statfs64): Likewise.
36832 (_STATFS_F_FLAGS): Define.
36833 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36834 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36835 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36836 (ST_VALID): Define locally.
36837 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36838 __statvfs_getflags, use the provided value.
36839 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36840 __ASSUME_STATFS_F_FLAGS.
36841
754f7da3
UD
36842 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36843
10b3bedc
UD
36844 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36845 Add sys/fanotify.h.
36846 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36847 fanotify_mask for GLIBC_2.13.
36848 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36849 fanotify_init and fanotify_mark.
36850 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36851 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36852
c08fb0d7
UD
36853 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36854 Add prlimit.
36855 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36856 prlimit64 for GLIBC_2.13.
36857 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36858 prlimit64.
36859 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36860 syscall.
36861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36862 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36863 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36864 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36865 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36866 add prlimit alias.
36867 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36868
15bac72b
UD
36869 [BZ #11903]
36870 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36871 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36872
c3e2f19b
UD
36873 * nss/Makefile: Add rules to build and run tst-nss-test1.
36874 * shlib-versions: Add entry for libnss_test1.
36875 * nss/nss_test1.c: New file.
36876 * nss/tst-nss-test1.c: New file.
36877
36878 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36879 (__nss_configure_lookup): Set appropriate entry in
36880 __nss_configure_lookup to true.
36881 * nss/nsswitch.h: Define enum with indeces of databases in
36882 databases and __nss_database_custom arrays. Declare
36883 __nss_database_custom.
36884 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36885 to avoid using nscd when custom rules are installed.
36886 * nss/getXXbyYY_r.c: Likewise.
36887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36888
36889 * nss/nss_files/files-parse.c: Whitespace fixes.
36890
f15ce4d8
UD
368912010-08-09 Ulrich Drepper <drepper@redhat.com>
36892
36893 [BZ #11883]
36894 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36895 * posix/fnmatch_loop.c: Likewise.
36896
d22e4cc9
AK
368972010-07-17 Andi Kleen <ak@linux.intel.com>
36898
36899 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36900 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36901 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36902 * Versions.def [GLIBC_2.13]: Add.
36903
805bc17d
UD
369042010-08-06 Ulrich Drepper <drepper@redhat.com>
36905
36906 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36907 Also fail if tpwd after pwuid call is NULL.
36908
5a42321d
ST
369092010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36910
36911 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36912 when converting to ms.
36913
fd3ebeda
ST
369142010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36915
36916 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36917 EOPNOTSUPP errors with ENOTTY.
36918 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36919 EOPNOTSUPP errors with ENOTTY.
36920
73507d3a
UD
369212010-07-31 Ulrich Drepper <drepper@redhat.com>
36922
36923 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36924 Add strcasecmp_l-ssse3.
36925 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36926 strcasecmp.
36927 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36928 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36929 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36930
fe36dd02
UD
369312010-07-30 Ulrich Drepper <drepper@redhat.com>
36932
66f6765a
UD
36933 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36934
42e08a54
UD
36935 * string/Makefile (strop-tests): Add strcasecmp.
36936 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36937 strcasecmp_l-nonascii.
36938 (gen-as-const-headers): Add locale-defines.sym.
36939 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36940 * sysdeps/x86_64/strcasecmp.S: New file.
36941 * sysdeps/x86_64/strcasecmp_l.S: New file.
36942 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36943 * sysdeps/x86_64/locale-defines.sym: New file.
36944 * string/test-strcasecmp.c: New file.
36945
fe36dd02
UD
36946 * string/test-strcasestr.c: Test both ends of the range of characters.
36947 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36948
48cbc0d6
RM
369492010-07-29 Roland McGrath <roland@redhat.com>
36950
76e6d6bc 36951 [BZ #11856]
48cbc0d6
RM
36952 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36953
880113d9
UD
369542010-07-27 Ulrich Drepper <drepper@redhat.com>
36955
36956 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36957 for ld.so.
36958
deb9cabb
AS
369592010-07-27 Andreas Schwab <schwab@redhat.com>
36960
36961 * manual/memory.texi (Malloc Tunable Parameters): Document
36962 M_PERTURB.
36963
1c7570ff
RM
369642010-07-26 Roland McGrath <roland@redhat.com>
36965
36966 [BZ #11840]
36967 * configure.in (-fgnu89-inline check): Set and substitute
36968 gnu89_inline, not libc_cv_gnu89_inline.
36969 * configure: Regenerated.
36970 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36971
24fb0f88
UD
369722010-07-26 Ulrich Drepper <drepper@redhat.com>
36973
36974 * string/test-strnlen.c: New file.
36975 * string/Makefile (strop-tests): Add strnlen.
36976 * string/tester.c (test_strnlen): Add a few more test cases.
36977 * string/tst-strlen.c: Better error reporting.
36978
36979 * sysdeps/x86_64/strnlen.S: New file.
36980
8e96b93a
UD
369812010-07-24 Ulrich Drepper <drepper@redhat.com>
36982
36983 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36984 lower-latency instructions.
36985
dbc676d4
UD
369862010-07-23 Ulrich Drepper <drepper@redhat.com>
36987
36988 * string/test-strcasestr.c: New file.
36989 * string/test-strstr.c: New file.
36990 * string/Makefile (strop-tests): Add strstr and strcasestr.
36991 * string/str-two-way.h: Don't undefine MAX.
36992 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36993
f6a31e0e
AS
369942010-07-21 Andreas Schwab <schwab@redhat.com>
36995
36996 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36997 strcasestr-nonascii.
36998 (CFLAGS-strcasestr-nonascii.c): Define.
36999 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37000 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37001 Remove unused attribute.
37002
5dbc3b6c
RM
370032010-07-20 Roland McGrath <roland@redhat.com>
37004
37005 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37006 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37007 ld.so.cache was broken. With it, there is no way to disable dsocaps
37008 like LD_HWCAP_MASK can disable hwcaps.
37009
23d101d8
EPM
370102010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37011
37012 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37013
cc9f2e47
UD
370142010-07-16 Ulrich Drepper <drepper@redhat.com>
37015
37016 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37017 call in strcasestr.
37018 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37019 __strcasestr_sse42_nonascii.
37020 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37021 strcasestr-nonascii.c.
37022 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37023
77c1b069
LM
370242010-06-15 Luis Machado <luisgpm@br.ibm.com>
37025
37026 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37027 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37028 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37029 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37030
440566c3
UD
370312010-07-09 Ulrich Drepper <drepper@redhat.com>
37032
37033 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37034 fcntl.
37035
5be9d05d
AS
370362010-07-06 Andreas Schwab <schwab@redhat.com>
37037
c30b7ee2 37038 [BZ #11577]
5be9d05d
AS
37039 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37040 dl_signal_cerror.
37041
8a492a67
UD
370422010-07-06 Ulrich Drepper <drepper@redhat.com>
37043
37044 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37045 _PC_PIPE_BUF using F_GETPIPE_SZ.
37046
713df3d5
RM
370472010-07-05 Roland McGrath <roland@redhat.com>
37048
37049 * manual/arith.texi (Rounding Functions): Fix rint description
37050 implicit in round description.
37051
702e8f14
UD
370522010-07-02 Ulrich Drepper <drepper@redhat.com>
37053
37054 * elf/Makefile: Fix linking for a few tests to make recent linker
37055 happy.
37056
52ed8be9
AS
370572010-06-30 Andreas Schwab <schwab@redhat.com>
37058
37059 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37060 $(common-objpfx)libc_nonshared.a.
37061
f47c9a11
LM
370622010-06-21 Luis Machado <luisgpm@br.ibm.com>
37063
37064 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37065 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37066 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37067 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37068 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37069 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37070 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37071 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37086 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37087 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37088 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37089 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37090 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37091 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37092 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37093 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37094 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37095 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37096 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37097 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37112
6fb8cbcb
L
371132010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37114
37115 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37116 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37117 * string/memmove.c (memmove): Renamed to ...
37118 (MEMMOVE): ...this. Default to memmove.
37119 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37120 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37121 (END_CHK): Define.
37122 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37123 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37124 mempcpy-ssse3-back memmove-ssse3-back.
37125 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37126 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37127 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37128 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37129 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37130 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37131 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37132 * sysdeps/x86_64/multiarch/memmove.c: New file.
37133 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37134 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37135 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37136 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37137 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37138 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37139 Define.
37140 (index_Fast_Copy_Backward): Define.
37141 (HAS_ARCH_FEATURE): Define.
37142 (HAS_FAST_REP_STRING): Define.
37143 (HAS_FAST_COPY_BACKWARD): Define.
37144
4e733bac 371452010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
37146
37147 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37148 Restore proper fallback handling.
37149
63c4ed22
UD
371502010-06-19 Ulrich Drepper <drepper@redhat.com>
37151
ac2b484c
UD
37152 [BZ #11701]
37153 * posix/group_member.c (__group_member): Correct checking loop.
37154
63c4ed22
UD
37155 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37156 OOM in getpwuid_r correctly. Return error number when the caller
37157 should return, otherwise -1.
37158 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37159 call returning > 0 value.
37160 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37161
765ade4b
AS
371622010-06-07 Andreas Schwab <schwab@redhat.com>
37163
37164 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37165 libc_nonshared.a from targets in modules-names.
37166
80da2e09
KS
371672010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37168
37169 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37170 requires it.
37171
158db122
LM
371722010-06-10 Luis Machado <luisgpm@br.ibm.com>
37173
37174 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37175 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37176 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37177 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37178
caa78cf8
AS
371792010-06-02 Andreas Schwab <schwab@redhat.com>
37180
37181 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37182
b2ef2c01
UD
371832010-06-14 Ulrich Drepper <drepper@redhat.com>
37184
37185 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37186 and F_GETPIPE_SZ.
37187 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37188 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37189 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37190 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37191 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37192 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37193
fbd643b6
RM
371942010-06-14 Roland McGrath <roland@redhat.com>
37195
37196 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37197
f32f2869
JJ
371982010-06-07 Jakub Jelinek <jakub@redhat.com>
37199
37200 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37201 __REDIRECT followed by __THROW.
37202 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37203 * posix/getopt.h (getopt): Likewise.
37204
2a50c078
EPM
372052010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37206
37207 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37208 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37209 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37210 in AT_FLAGS.
37211 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37212 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37213
eb5ad2eb
LM
372142010-05-28 Luis Machado <luisgpm@br.ibm.com>
37215
37216 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37217
3c88fe1e
L
372182010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37219
37220 [BZ #11640]
37221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37222 Properly check family and model.
37223
d2f73151
TY
372242010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37225
37226 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37227
ebd2e13d
LM
372282010-05-24 Luis Machado <luisgpm@br.ibm.com>
37229
37230 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37231
b32b8b45
UD
372322010-05-21 Ulrich Drepper <drepper@redhat.com>
37233
37234 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37235 symbol reference.
37236
9acbe24d
AS
372372010-05-19 Andreas Schwab <schwab@redhat.com>
37238
37239 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37240 symbol reference.
37241
f0ccf6ea
AS
372422010-05-21 Andreas Schwab <schwab@redhat.com>
37243
3d04ff3a
AS
37244 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37245 and internal_recvmmsg.
37246 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37247 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37248 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37249 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37250
f0ccf6ea
AS
37251 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37252 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37253 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37254
5b08ac57
AS
372552010-05-20 Andreas Schwab <schwab@redhat.com>
37256
37257 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37258
4828935d
LM
372592010-05-17 Luis Machado <luisgpm@br.ibm.com>
37260
37261 POWER7 optimizations.
37262 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37263 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37264
373d545e
UD
372652010-05-19 Ulrich Drepper <drepper@redhat.com>
37266
37267 * version.h: Update for 2.13 development version.
37268
21a2b1ae
AS
372692010-05-12 Andrew Stubbs <ams@codesourcery.com>
37270
37271 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37272 exceptions. Return 0.
37273
3f7dcb2b
RM
372742010-05-07 Roland McGrath <roland@redhat.com>
37275
37276 * elf/ldconfig.c (main): Add a const.
37277
5f24d53a 372782010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 37279
a160f8d8
UD
37280 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37281 (args_options): Add no-idn option.
37282 (ahosts_keys_int): Add idn_flags to ai_flags.
37283 (parse_option): Handle 'i' option to clear idn_flags.
37284
5f24d53a
UD
37285 * malloc/malloc.c (_int_free): Possible race in the most recently
37286 added check. Only act on the data if no current modification
37287 happened.
265bb1ce
UD
37288
37289See ChangeLog.17 for earlier changes.