]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: multiarch round/roundf for PowerPC64
[thirdparty/glibc.git] / ChangeLog
CommitLineData
59a3e194
AZ
12013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4 multiarch implementation.
5 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6 file.
7 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8 file.
9 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10 file.
11 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12 file.
13 multiarch llround for PPC64.
14 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15 multiarch round for PPC64.
16 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17 multiarch roundf for PPC64.
18
357fd3b4
AZ
192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20
21 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
22 multiarch implementation.
23 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24 file.
25 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26 file.
27 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
28 file.
29 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
30 file.
31 multiarch llround for PPC64.
32 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
33 multiarch floor for PPC64.
34 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
35 multiarch floorf for PPC64.
36
96770f12
AZ
372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38
39 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40 multiarch implementation.
41 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
42 file.
43 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
44 file.
45 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
46 file.
47 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48 file.
49 multiarch llround for PPC64.
50 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
51 multiarch ceil for PPC64.
52 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
53 multiarch ceilf for PPC64.
54
c3627f6e
AZ
552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56
57 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
58 multiarch implementation.
59 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
60 file.
61 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
62 file.
63 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
64 file.
65 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
66 multiarch llround for PPC64.
67 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
68 multiarch lround for PPC64.
69
b2284ad7
AZ
702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71
72 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
73 multiarch implementation.
74 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
75 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
76 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
77 file.
78 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
79 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
80 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
81 multiarch isnan for PPC64.
82 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
83 multiarch isnanf for PPC64.
84
69bbc63d
AZ
852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
86
87 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
88 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
89 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
90 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
91 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
92 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
93
c24517c9
AZ
942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
95
96 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
97 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
98 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
99 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
100
a52374e8
AZ
1012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
102
103 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
104 multiarch implementations.
105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
106 (__libc_ifunc_impl_list): Likewise.
107 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
108 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
109 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
110 multiarch stpcpy for PPC64.
111
7f5ec113
AZ
1122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
113
114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
115 multiarch implementations.
116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
117 (__libc_ifunc_impl_list): Likewise.
118 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
119 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
120 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
121 multiarch strcpy for PPC64.
122
e28bcd42
AZ
1232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
124
125 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
126 redefine function name.
127 (_wordcopy_fwd_dest_aligned): Likewise.
128 (_wordcopy_bwd_aligned): Likewise.
129 (_wordcopy_bwd_dest_aligned): Likewise.
130 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
131 multiarch implementations.
132 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
133 (__libc_ifunc_impl_list): Likewise.
134 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
135 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
136 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
137 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
138 multiarch wcscpy for PPC64.
139
92cacfce
AZ
1402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
141
142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
143 multiarch implementations.
144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
145 (__libc_ifunc_impl_list): Likewise.
146 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
147 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
148 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
149 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
150 multiarch wcscpy for PPC64.
151
7b714620
AZ
1522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
153
154 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
155 multiarch implementations.
156 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
157 (__libc_ifunc_impl_list): Likewise.
158 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
159 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
160 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
161 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
162 multiarch wcsrchr for PPC64.
163
16fd2ae3
AZ
1642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
165
166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
167 multiarch implementations.
168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
169 (__libc_ifunc_impl_list): Likewise.
170 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
171 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
172 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
173 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
174 multiarch wcschr for PPC64.
175
9ee2969b
AZ
1762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
177
178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
179 multiarch implementations.
180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
181 (__libc_ifunc_impl_list): Likewise.
182 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
183 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
184 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
185 multiarch strchrnul for PPC64.
186
372dc060
AZ
1872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
188
189 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
190 implementations.
191 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
192 (__libc_ifunc_impl_list): Likewise.
193 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
194 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
195 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
196 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
197 strchr for PPC64.
198
24c2c3b9
AZ
1992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
200
201 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
202 implementations.
203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
204 (__libc_ifunc_impl_list): Likewise.
205 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
206 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
207 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
208 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
209 strncmp for PPC64.
210
1c92d9a0
AZ
2112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
212
213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
214 multiarch implementations.
215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
216 (__libc_ifunc_impl_list): Likewise.
217 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
218 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
219 strncasecmp for PPC64.
220 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
221 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
222 multiarch strncasecmp_l for PPC64.
223
17de3ee3
AZ
2242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
225
226 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
227 multiarch implementations.
228 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
229 (__libc_ifunc_impl_list): Likewise.
230 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
231 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
232 multiarch strcasecmp for PPC64.
233 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
234 file.
235 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
236 multiarch strcasecmp_l for PPC64.
237
62982bf9
AZ
2382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
239
240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
241 implementations.
242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
243 (__libc_ifunc_impl_list): Likewise.
244 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
245 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
246 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
247 strnlen for PPC64.
248
a65f4904
AZ
2492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
250
251 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
252 implementations.
253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
254 (__libc_ifunc_impl_list): Likewise.
255 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
256 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
257 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
258 strlen for PPC64.
259
1fd005ad
AZ
2602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
261
262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
263 implementations.
264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
265 (__libc_ifunc_impl_list): Likewise.
266 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
267 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
268 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
269 rawmemrchr for PPC64.
270
cd05ba91
AZ
2712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
272
273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
274 implementation.
275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
276 (__libc_ifunc_impl_list): Likewise.
277 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
278 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
279 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
280 memrchr for PPC64.
281
870f8676
AZ
2822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
283
284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
285 implementation.
286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
287 (__libc_ifunc_impl_list): Likewise.
288 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
289 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
290 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
291 memchr for PPC64.
292
f00be62b
AZ
2932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
294
295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
296 implementation.
297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
298 (__libc_ifunc_impl_list): Likewise.
299 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
300 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
301 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
302 mempcpy for PPC64.
303
8a29a3d0
AZ
3042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
305
306 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
307 avoid cretion of __bzero symbol.
308 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
309 Likewise.
310 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
311 Likewise.
312 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
313 Likewise.
314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
315 multiarch implementations.
316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
317 (__libc_ifunc_impl_list): Likewise.
318 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
319 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
320 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
321 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
322 bzero for PPC32.
323 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
324 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
325 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
326 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
327 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
328 memset for PPC64.
329 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
330
07253fcf
AZ
3312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
332
333 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
334 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
335 implementations.
336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
337 (__libc_ifunc_impl_list): Likewise.
338 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
339 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
340 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
341 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
342 memcmp for PPC64.
343
b5beafbc
AZ
3442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
345
346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
347 multiarch for POWER/PPC64.
348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
349 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
350 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
351 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
352 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
353 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
354 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
355 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
356 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
357 memcpy for PPC64.
358
5e6a4d4b
AZ
3592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
360
361 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
362 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
363 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
364 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
365 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
366 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
367 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
368 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
369 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
370 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
371 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
372 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
373 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
374 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
375 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
383
ddfab6dc
KK
3842013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
385
386 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
387
19b5525e
SP
3882013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
389
390 * benchtests/Makefile (bench): Add exp2 and log2.
391 (LDLIBS-bench-exp2): Add -lm.
392 (LDLIBS-bench-log2): Likewise.
393 * benchtests/exp2-inputs: New inputs file.
394 * benchtests/log2-inputs: New inputs file.
395 * benchtests/log-inputs: Add new inputs.
396 * benchtests/tan-inputs: Likewise.
397
196f7f5d
SP
3982013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
399
7a74607f
SP
400 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
401 definition...
402 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
403 csloww1, csloww2): ... from here.
404
196f7f5d
SP
405 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
406 instead of structures.
407 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
408 (POLYNOMIAL): Likewise.
409 (TAYLOR_SLOW): Likewise.
410 (__sin): Likewise.
411 (__cos): Likewise.
412 (slow1): Likewise.
413 (slow2): Likewise.
414 (sloww): Likewise.
415 (sloww1); Likewise.
416 (sloww2): Likewise.
417 (bsloww1): Likewise.
418 (bsloww2): Likewise.
419 (cslow2): Likewise.
420 (csloww): Likewise.
421 (csloww1): Likewise.
422 (csloww2): Likewise.
423
0dfa665c
OB
4242013-12-10 Ondřej Bílka <neleai@seznam.cz>
425
426 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
427 (__malloc_assert, __libc_realloc, __libc_calloc,
428 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
429 memcpy and memset.
430 * malloc/hooks.c (realloc_check): Likewise.
431
5782a80f
OB
4322013-12-10 Ondřej Bílka <neleai@seznam.cz>
433
434 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
435 * malloc/arena.c: Remove PER_THREAD conditional.
436 [!PER_THREAD]: Remove code.
437 (ptmalloc_unlock_all2): Likewise.
438 (ptmalloc_init): Likewise.
439 (_int_new_arena): Likewise.
440 (arena_get2): Likewise.
441 * malloc/hooks.c (__malloc_get_state): Likewise.
442 (__malloc_set_state): Likewise.
443 * malloc/malloc.c: Likewise.
444 (struct malloc_state): Likewise.
445 (struct malloc_par): Likewise.
446 (__libc_realloc): Likewise.
447 (__libc_mallopt): Likewise.
448
aeb95445
AZ
4492013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
450
451 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
452
e8349efd
OB
4532013-12-09 Ondřej Bílka <neleai@seznam.cz>
454
455 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
456 macro to a function. Check for zero perturb_byte.
457 (_int_malloc, _int_free): Remove zero perturb_byte checks.
458
f3eeb3fc
OB
4592013-12-09 Ondřej Bílka <neleai@seznam.cz>
460
461 * malloc/malloc.c: (force_reg): Remove.
462 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
463 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
464 force_reg by atomic_forced_read.
465 * malloc/arena.c (ptmalloc_init): Likewise.
466 * malloc/hooks.c (top_check): Likewise.
467
be2f9009
AZ
4682013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
469
470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
471
e7b914bd
MT
4722013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
473
474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
475
9f0be4f8
JM
4762013-12-08 Joseph Myers <joseph@codesourcery.com>
477
478 * math/auto-libm-test-in: Add tests of lgamma.
479 * math/auto-libm-test-out: Regenerated.
480 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
481 (M_LOG_2_SQRT_PIl): Likewise.
482 (lgamma_test_data): Use AUTO_TESTS_f_f1.
483 * math/gen-auto-libm-tests.c (func_calc_method): Add value
484 mpfr_f_f1.
485 (func_calc_desc): Add mpfr_f_f1 union field.
486 (ARGS1): New macro.
487 (ARGS2): Likewise.
488 (ARGS3): Likewise.
489 (ARGS4): Likewise.
490 (RET1): Likewise.
491 (RET2): Likewise.
492 (CALC): Likewise.
493 (FUNC): Likewise.
494 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
495 (test_functions): Add lgamma.
496 (calc_generic_results): Handle mpfr_f_f1.
497 * sysdeps/i386/fpu/libm-test-ulps: Update.
498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
499
24eeafdb
AZ
5002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
501
502 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
503 __mpn_add_n for PowerPC64/POWER7.
504 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
505 __mpn_sub_n for PowerPC64/POWER7.
506
4a2c0fd4
AZ
5072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
508
509 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
510 __mpn_addmul_1 for PowerPC64.
511 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
512 __mpn_submul_1 for PowerPC64.
513 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
514 for PowerPC64.
515 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
516 for PowerPC64.
517
4b5b548c
FS
5182013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
519
520 [BZ #15089]
521 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
522
0a3ac0aa
AZ
5232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
524
525 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
526
ccdc8438
AZ
5272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
528
529 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
530 add multiarch folders.
531 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
532 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
533 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
534 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
535 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
536 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
537 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
538 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
539 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
540 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
541 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
548
2e973d99
AZ
5492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
550
551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
552 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
554 New file.
555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
556 New file.
557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
558 multiarch __ieee754_hypot for PowerPC32.
559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
560 New file.
561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
562 New file.
563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
564 multiarch __ieee754_hypotf for PowerPC32.
565
2d9470b2
AZ
5662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
567
568 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
569 long_double_symbol only if __logbl is defined.
570 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
571 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
572 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
573 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
574 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
575 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
576 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
577 path for implementation.
578 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
579 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
581 logb, and logbl multiarch implementations for PowerPC32.
582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
583 file.
584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
585 file.
586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
587 multiarch logb for PowerPC32.
588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
589 file.
590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
591 file.
592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
593 multiarch logbf for PowerPC32.
594 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
596 file.
597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
598 multiarch logbl implementation for PowerPC32.
599
5212ffce
AZ
6002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
601
602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
603 and modff multiarch implementations.
604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
605 New file.
606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
607 New file.
608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
609 multiarch modf for PowerPC32.
610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
611 New file.
612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
613 New file.
614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
615 multiarch modff for PowerPC32.
616
79dccf31
AZ
6172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
618
619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
620 and lrintf multiarch implementations.
621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
622 New file.
623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
624 New file.
625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
626 multiarch lrint for PowerPC32.
627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
628 file: multiarch lrintf for PowerPC32.
629
deb66480
AZ
6302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
631
632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
633 and lroundf multiarch implementations.
634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
635 New file.
636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
637 New file.
638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
639 New file.
640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
641 multiarch lround for PowerPC32.
642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
643 file: multiarch lroundf for PowerPC32.
644
264b036b
AZ
6452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
646
647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
648 copysign and copysignf multiarch implementations.
649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
650 New file.
651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
652 New file.
653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
654 file: multiarch copysign for PowerPC32.
655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
656 file: multiarch copysignf for PowerPC32.
657
d47db6c9
AZ
6582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
659
660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
661 and truncf multiarch implementations.
662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
663 New file.
664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
665 file.
666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
667 multiarch trunc for PowerPC32.
668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
669 New file.
670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
671 New file.
672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
673 multiarch truncf for PowerPC32.
674
ddb60b5a
AZ
6752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
676
677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
678 and roundf multiarch implementations.
679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
680 New file.
681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
682 file.
683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
684 multiarch round for PowerPC32.
685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
686 New file.
687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
688 New file.
689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
690 multiarch roundf for PowerPC32.
691
bedcf49b
AZ
6922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
693
694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
695 and floorf multiarch implementations.
696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
697 New file.
698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
699 file.
700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
701 multiarch floor for PowerPC32.
702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
703 New file.
704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
705 New file.
706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
707 multiarch floorf for PowerPC32.
708
35ae5b40
AZ
7092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
710
711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
712 and ceilf multiarch implementations.
713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
714 New file.
715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
716 file.
717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
718 multiarch ceil for PowerPC32.
719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
720 New file.
721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
722 file.
723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
724 multiarch ceilf for PowerPC32.
725
ae1a4cd9
AZ
7262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
727
728 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
729 is defined.
730 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
731 FINITEF is defined.
732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
733 and finitef multiarch implementations.
734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
735 New file.
736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
737 file.
738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
739 multiarch finite for PowerPC32.
740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
741 New file.
742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
743 file: multiarch finitef for PowerPC32.
744
64fffd65
AZ
7452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
746
747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
748 and isinff multiarch implementations.
749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
750 file.
751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
752 file.
753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
754 multiarch isinf for PowerPC32.
755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
756 New file.
757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
758 multiarch isinff for PowerPC32.
759
8e4e7ba2
AZ
7602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
761
762 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
763 alias when __isnan is defined.
764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
765 and isnanf multiarch implementations.
766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
767 file.
768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
769 file.
770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
771 file.
772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
773 file.
774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
775 multiarch isnan for PowerPC32.
776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
777 New file.
778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
779 New file.
780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
781 multiarch isnanf for PowerPC32.
782
ddba588e
AZ
7832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
784
785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
786 and sqrtf multiarch implementations.
787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
788 file.
789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
790 file.
791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
792 multiarch sqrt for PowerPC32.
793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
794 file.
795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
796 file.
797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
798 multiarch sqrtf for PowerPC32.
799
0f96a2f0
AZ
8002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
801
802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
803 and llroundf multiarch implementations.
804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
805 New file.
806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
807 New file.
808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
809 New file.
810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
811 file: multiarch llround for PowerPC32.
812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
813 file: multiarch llroundf for PowerPC32.
814
c9b5d79e
AZ
8152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
816
817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
818 multiarch PowerPC32 fpu implementations.
819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
820 New file.
821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
822 New file.
823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
824 multiarch llrint for PowerPC32.
825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
826 New file.
827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
828 New file.
829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
830 file.
831
9cbb3aab
AZ
8322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
833
834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
835
ea5a72f8
AZ
8362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
837
838 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
839 file.
840 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
841 file.
842 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
843 file.
844 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
845 multiarch wordcopy for PPC32.
846 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
847 wordcopy objects.
848 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
849 (__libc_ifunc_impl_list): Likewise.
850 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
851 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
852 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
853 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
854 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
855 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
856
93be09e7
AZ
8572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
858
859 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
860 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
861 file.
862 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
863 file.
864 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
865 file.
866 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
867 multiarch wcscpy for PPC32.
868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
869 multiarch objects.
870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
871 (__libc_ifunc_impl_list): Likewise.
872 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
873 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
874 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
875 sysdeps/powerpc/power6/wcscpy.c.
876
bb04e529
AZ
8772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
878
879 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
880 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
881 file.
882 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
883 file.
884 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
885 file.
886 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
887 multiarch wcsrchr for PPC32.
888 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
889 multiarch objects.
890 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
891 (__libc_ifunc_impl_list): Likewise.
892 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
893 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
894 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
895 sysdeps/powerpc/power6/wcsrchr.c.
896
05b5cd1c
AZ
8972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
898
899 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
900 file.
901 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
902 file.
903 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
904 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
905 multiarch wcschr for PPc32.
906 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
907 multiarch objects.
908 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
909 (__libc_ifunc_impl_list): Likewise.
910 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
911 * sysdeps/powerpc/power6/wcschr.c: ... to here.
912 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
913 sysdeps/powerpc/power6/wcschr.c.
914
ba964147
AZ
9152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
916
917 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
918 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
919 file.
920 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
921 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
922 file: multiarch strchr for PPC32.
923 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
924 multiarch objects.
925 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
926 (__libc_ifunc_impl_list): Likewise.
927
31c81aaa
AZ
9282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
929
930 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
931 name.
932 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
933 file.
934 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
935 file.
936 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
937 multiarch strchrnul for PPC32.
938 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
939 multiarch objects.
940 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
941 (__libc_ifunc_impl_list): Likewise.
942
0d0607d9
AZ
9432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
944
945 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
946 file.
947 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
948 multiarch strncasecmp for PPC32.
949 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
950 file.
951 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
952 multiarch strncasecmp_l for PPC32.
953 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
954 strncasecmp multiarch objects.
955 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
956 (__libc_ifunc_impl_list): Likewise.
957
4dfd5c86
AZ
9582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
959
960 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
961 file.
962 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
963 multiarch strncasecmp for PPC32.
964 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
965 New file.
966 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
967 multiarch strcasecmp_l for PPC32.
968 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
969 multiarch objects.
970 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
971 (__libc_ifunc_impl_list): Likewise.
972
a19e01a3
AZ
9732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
974
975 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
976 file.
977 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
978 file.
979 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
980 multiarch strncmp for PPC32.
981 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
982 multiarch objects.
983 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
984 (__libc_ifunc_impl_list): Likewise.
985
ae9cf7a2
AZ
9862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
987
988 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
989 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
990 file.
991 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
992 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
993 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
994 multiarch objects.
995 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
996 (__libc_ifunc_impl_list): Likewise.
997
3148bb7d
AZ
9982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
999
1000 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1001 file.
1002 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1003 file.
1004 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1005 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1006 multiarch objects.
1007 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1008 (__libc_ifunc_impl_list): Likewise.
1009
7af8b946
AZ
10102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1011
1012 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1013 file.
1014 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1015 file.
1016 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1017 multiarch rawmemchr for PPC32.
1018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1019 multiarch objects.
1020 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1021 (__libc_ifunc_impl_list): Likewise.
1022
03a6aa6a
AZ
10232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1024
1025 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1026 file.
1027 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1028 file.
1029 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1030 file: memrchr multiarch for PPC32.
1031 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1032 multiarch objects.
1033 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1034 (__libc_ifunc_impl_list): Likewise.
1035
1c62e6d9
AZ
10362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1037
1038 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1039 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1040 file.
1041 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1042 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1043 multiarch memchr for PPC32.
1044 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1045 multiarch objects.
1046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1047 (__libc_ifunc_impl_list): Likewise.
1048
87da8bdb
AZ
10492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1050
1051 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1052 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1053 file.
1054 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1055 file.
1056 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1057 file: multiarch mempcpy for PPC32.
1058 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1059 multiarch objects.
1060 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1061 (__libc_ifunc_impl_list): Likewise.
1062
20ed4714
AZ
10632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1064
1065 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1066 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1067 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1068 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1069 multiarch bzero for PPC32.
1070 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1071 file.
1072 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1073 file.
1074 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1075 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1076 file: multiarch memset for PPC32.
1077 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1078 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1079 memset multiarch objects.
1080 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1081 (__libc_ifunc_impl_list): Likewise.
1082
ab3e3a46
AZ
10832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1084
1085 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1086 file.
1087 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1088 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1089 memcmp for PPC32.
1090 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1091 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1092 multiarch objects.
1093 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1094 (__libc_ifunc_impl_list): Likewise.
1095
930de6f0
AZ
10962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1097
1098 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1099 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1100 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1101 file.
1102 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1103 file.
1104 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1105 file.
1106 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1107 multiarch memcpy for PPC32.
1108 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1109 multiarch objects.
1110 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1111 (__libc_ifunc_impl_list): Likewise.
1112
4c628e00
AZ
11132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1114
1115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1116 support multiarch for POWER/PPC32.
1117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1118 Likewise.
1119 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1121 Implies file to make multiarch folder appers before the fpu and
1122 default folder for power4 configuration.
1123
f4479220
SP
11242013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1125
1126 * scripts/bench.pl: Append volatile keyword to type.
1127
8517800f
KK
11282013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1129
1130 * sysdeps/sh/sotruss-lib.c: New file.
1131 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1132
180138f1
AZ
11332013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1134
1135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1136
bbf37bdc
JM
11372013-12-05 Joseph Myers <joseph@codesourcery.com>
1138
e47cc4e0
JM
1139 [BZ #6810]
1140 * math/w_tgamma.c: Include <errno.h>.
1141 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1142 * math/w_tgammaf.c: Include <errno.h>.
1143 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1144 * math/w_tgammal.c: Include <errno.h>.
1145 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1146 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1147 underflow. Add more tgamma tests.
1148 * math/auto-libm-test-out: Regenerated.
1149 * sysdeps/i386/fpu/libm-test-ulps: Update.
1150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1151
bbf37bdc
JM
1152 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1153 sin, sinh, tan, tanh, tgamma, y0 and y1.
1154 * math/auto-libm-test-out: Regenerated.
1155 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1156 (TEST_COND_x86): Likewise.
1157 (M_E2l): Remove macro.
1158 (M_E3l): Likewise.
1159 (M_2_SQRT_PIl): Likewise.
1160 (M_SQRT_PIl): Likewise.
1161 (M_1_DIV_El): Likewise.
1162 (log_test_data): Use AUTO_TESTS_f_f.
1163 (log10_test_data): Likewise.
1164 (log1p_test_data): Likewise.
1165 (log2_test_data): Likewise.
1166 (sin_test_data): Likewise.
1167 (sin_tonearest_test_data): Likewise.
1168 (sin_towardzero_test_data): Likewise.
1169 (sin_downward_test_data): Likewise.
1170 (sin_upward_test_data): Likewise.
1171 (sinh_test_data): Likewise.
1172 (sinh_tonearest_test_data): Likewise.
1173 (sinh_towardzero_test_data): Likewise.
1174 (sinh_downward_test_data): Likewise.
1175 (sinh_upward_test_data): Likewise.
1176 (tan_test_data): Likewise.
1177 (tan_tonearest_test_data): Likewise.
1178 (tan_towardzero_test_data): Likewise.
1179 (tan_downward_test_data): Likewise.
1180 (tan_upward_test_data): Likewise.
1181 (tanh_test_data): Likewise.
1182 (tgamma_test_data): Likewise.
1183 (y0_test_data): Likewise.
1184 (y1_test_data): Likewise.
1185 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1186 (special_real_inputs): Add pi/4.
1187 * sysdeps/i386/fpu/libm-test-ulps: Update.
1188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1189
eb5ad6b9
AZ
11902013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1191
1192 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1193 "longjmp_target" static probes.
1194 (__longjmp): Rename to __longjmp_symbol.
1195 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1196 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1197 on which longjmp to generate.
1198 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1199 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1200 probe.
1201 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1202 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1203 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1204 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1205 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1206 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1208 __longjmp_symbol based on which __longjmp to generate.
1209 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1210 probe.
1211 (setjmp): Rename to setjmp_symbol.
1212 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1213 (_setjmp): Rename to _setjmp_symbol.
1214 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1215 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1216 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1217 which setjmp to generate.
1218 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1219 "longjmp_target" static probes.
1220
d136c6dc
SP
12212013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1222
9298ecba
SP
1223 * benchtests/README: Add note about output arguments.
1224 * benchtests/bench-sincos.c: Remove file.
1225 * benchtests/sincos-inputs: New file.
1226 * scripts/bench.pl: Identify output arguments and define
1227 static variables for them.
1228
232983e9
SP
1229 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1230
d136c6dc
SP
1231 [BZ #15941]
1232 * Makefile (INSTALL): Add install-plain.texi as the primary
1233 dependency.
1234 * manual/install-plain.texi: New file.
1235 * manual/install.texi: Include node directive only for
1236 non-plaintext output.
1237
699ff837
JM
12382013-12-04 Joseph Myers <joseph@codesourcery.com>
1239
ab07cea8
JM
1240 * stdlib/longlong.h: Update from GCC.
1241
699ff837
JM
1242 [BZ #6807]
1243 [BZ #15901]
1244 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1245 * math/w_j0f.c (y0f): Likewise.
1246 * math/w_j0l.c (__y0l): Likewise.
1247 * math/w_j1.c (y1): Likewise.
1248 * math/w_j1f.c (y1f): Likewise.
1249 * math/w_j1l.c (__y1l): Likewise
1250 * math/w_jn.c (yn): Likewise.
1251 * math/w_jnf.c (ynf): Likewise.
1252 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1253 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1254 value for Bessel function domain errors outside _SVID_ mode.
1255 Adjust sign of return value for yn (negative integer, 0).
1256 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1257 by zero in return for negative x and set sign appropriately for
1258 negative n.
1259 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1260 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1261 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1262 expectations in error cases.
1263 (y1_test_data): Likewise.
1264 (yn_test_data): Likewise.
1265 * sysdeps/i386/fpu/libm-test-ulps: Update.
1266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1267
5b118558
UW
12682013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1269
1270 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1271 "64" to "64-v1". Add "64-v2".
1272 (abi-64-options): Rename to ...
1273 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1274 (abi-64-condition): Rename to ...
1275 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1276 (abi-64-ld-soname): Rename to ...
1277 (abi-64-v1-ld-soname): ... this.
1278 (abi-64-v2-options): Define.
1279 (abi-64-v2-condition): Likewise.
1280 (abi-64-v2-ld-soname): Likewise.
1281 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1282 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1286
61cd8fe4
UW
12872013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1288 Alan Modra <amodra@gmail.com>
1289
1290 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1291 New versions for use with the ELFv2 ABI.
1292 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1293 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1294 declaration.
1295 (struct La_ppc64v2_retval): Likewise.
1296 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1297 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1298 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1299 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1300 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1301 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1302 Do not save or restore CR.
1303 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1304 (_dl_profile_resolve): Do no save or restore CR. Support extended
1305 return values for ELFv2 ABI. Fix location of FPR return registers.
1306 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1307 updated values for _CALL_ELF == 2.
1308 (La_regs, La_retval, int_retval): Likewise.
1309
8b8a692c
UW
13102013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1311
1312 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1313 (FRAME_MIN_SIZE_PARM): Likewise.
1314 (FRAME_BACKCHAIN): Likewise.
1315 (FRAME_CR_SAVE): Likewise.
1316 (FRAME_LR_SAVE): Likewise.
1317 (FRAME_TOC_SAVE): Likewise.
1318 (FRAME_PARM_SAVE): Likewise.
1319 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1320 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1321 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1322 (call_mcount_parm_offset): New macro.
1323 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1324 (PROF): Use symbolic stack frame offsets.
1325 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1326 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1327 Redefine in terms of FRAME_MIN_SIZE.
1328 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1329 (_dl_profile_resolve): Likewise. Update comment.
1330 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1331 symbols stack frame offsets.
1332 (__sigsetjmp): Likewise.
1333 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1334 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1335 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1336 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1337
1338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1339 (FRAME_BACKCHAIN): Remove.
1340 (FRAME_CR_SAVE): Likewise.
1341 (FRAME_LR_SAVE): Likewise.
1342 (FRAME_COMPILER_DW): Likewise.
1343 (FRAME_LINKER_DW): Likewise.
1344 (FRAME_TOC_SAVE): Likewise.
1345 (FRAME_PARM_SAVE): Likewise.
1346 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1347 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1348 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1350 (CHECK_SP): Use symbolic stack frame offsets.
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1352 zone" instead of caller's parameter save area for temp storage.
1353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1354 Likewise. Also, use symbolic stack frame offsets.
1355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1356 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1357 our own stack frame instead of the caller's.
1358 (__socket): Use symbolic stack frame offsets.
1359
122b66de
UW
13602013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1361 Alan Modra <amodra@gmail.com>
1362
1363 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1364 Define.
1365 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1366 PPC64_LOCAL_ENTRY_OFFSET): Define.
1367 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1368 New function.
1369 (elf_machine_fixup_plt): Call it.
1370 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1371 reloc arguments.
1372 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
1373 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1374 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
1375 r2 before calling target.
1376
696caf1d
UW
13772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1378 Alan Modra <amodra@gmail.com>
1379
1380 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1381 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1382 versions of macros to support ELFv2 ABI.
1383 (LOCALENTRY): New macro.
1384 (ENTRY, EALIGN): Use it.
1385 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1386 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1387 fall through into ENTRY entry point.
1388 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1389 Only define if _CALL_ELF != 2.
1390
1391 (elf_machine_matches_host): Verify ABI version matches.
1392 (RTLD_START): Use LOCALENTRY.
1393 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1394 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1395 (PLT_ENTRY_WORDS): New macro.
1396 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1397 (elf_machine_runtime_setup): Support ELFv2 ABI.
1398 (elf_machine_fixup_plt): Likewise.
1399 (elf_machine_plt_conflict): Likewise.
1400 (resolve_ifunc): Likewise.
1401 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1402 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1403 Likewise.
1404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1405 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1407 (makecontext): Support ELFv2 ABI.
1408 * elf/elf.h (EF_PPC64_ABI): Define.
1409
d31beafa
UW
14102013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1411
1412 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1413 New assembler macro.
1414 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1415 [ASSEMBLER] (ENTRY): ... but instead here ...
1416 [ASSEMBLER] (EALIGN): ... and here.
1417 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1418 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1419 [!ASSEMBLER] (ENTRY_2): Use it.
1420 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1421 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1422 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1423 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1424 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1426 Use PPC64_LOAD_FUNCPTR.
1427
b525166b
UW
14282013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1429
1430 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1431
7ec07d9a
AM
14322013-12-04 Alan Modra <amodra@gmail.com>
1433
1434 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1435 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1436 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1437 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1438
1439 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1440 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1441 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1442 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1443 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1444 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1445
5162e7dd
UW
14462013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1447
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1449 (__makecontext): Fix incorrect CFI when backtracing out of
1450 context created via makecontext.
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1452 (__setcontext): Fix incorrect CFI during switch to new context.
1453 (__novec_setcontext): Likewise.
1454
19e3372b
OB
14552013-12-04 Ondřej Bílka <neleai@seznam.cz>
1456
1457 [BZ #4772]
1458 * time/strptime_l.c (__strptime_internal): Allow modifiers
1459 in strptime.
1460 * time/tst-strptime.c (day_tests): Add testcase.
1461
1462
ecaf142d
SP
14632013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1464
1465 * scripts/bench.pl: Skip over blank lines.
1466
fbf964ae
PE
14672013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1468
1469 [BZ #926]
1470 * manual/time.texi (Calendar Time): Clarify what timezone functions
1471 use.
1472
fa60a674
AZ
14732013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1474
1475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1476
d674f0ef
OB
14772013-12-04 Ondřej Bílka <neleai@seznam.cz>
1478
1479 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1480 implementation.
1481 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1482 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1483 * debug/memset_chk.c (__memset_chk): Likewise.
1484 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1485 * debug/strncpy_chk.c: Likewise.
1486
17dea188
JM
14872013-12-03 Joseph Myers <joseph@codesourcery.com>
1488
749008ff
JM
1489 [BZ #15268]
1490 [BZ #15425]
1491 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1492 (__ieee754_exp): For possibly underflowing results, check size of
1493 result and force underflow exception if required.
1494 * math/auto-libm-test-in: Add more tests of exp.
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
17dea188
JM
1499 [BZ #16283]
1500 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1501 * math/w_exp2f.c (__exp2f): Likewise.
1502 * math/w_exp2l.c (__exp2l): Likewise.
1503 * math/auto-libm-test-in: Do not allow missing errno on exp2
1504 underflow.
1505 * math/auto-libm-test-out: Regenerated.
1506
b20de2c3
OB
15072013-12-03 Ondřej Bílka <neleai@seznam.cz>
1508
1509 [BZ #16274]
1510 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1511 handle filename validation.
1512 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1513 (do_open): Delete.
1514
d8e2dbe3
JM
15152013-12-03 Joseph Myers <joseph@codesourcery.com>
1516
34e16df5
JM
1517 [BZ #6786]
1518 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1519 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1520 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1521 <float.h>.
1522 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1523 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1524 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1525 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1526 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1527 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1528 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1529 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1530 Add more erfc tests.
1531 * math/auto-libm-test-out: Regenerated.
1532 * sysdeps/i386/fpu/libm-test-ulps: Update.
1533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1534
d8e2dbe3
JM
1535 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1536 exp2, expm1, j0 and j1.
1537 * math/auto-libm-test-out: Regenerated.
1538 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1539 (erfc_test_data): Likewise.
1540 (exp_test_data): Likewise.
1541 (exp_tonearest_test_data): Likewise.
1542 (exp_towardzero_test_data): Likewise.
1543 (exp_downward_test_data): Likewise.
1544 (exp_upward_test_data): Likewise.
1545 (exp10_test_data): Likewise.
1546 (exp2_test_data): Likewise.
1547 (expm1_test_data): Likewise.
1548 (j0_test_data): Likewise.
1549 (j1_test_data): Likewise.
1550 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1551 (input_flag_type): Add flag_xfail_rounding.
1552 (input_flags): Add xfail-rounding.
1553 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1554 (output_for_one_input_case): Handle flag_xfail_rounding.
1555 * sysdeps/i386/fpu/libm-test-ulps: Update.
1556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1557
18d14251
AJ
15582013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1559
3d2e6075 1560 [BZ #16289]
18d14251
AJ
1561 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1562 division by 0.
1563
520d437b
SP
15642013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1565
1566 [BZ #16195]
1567 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1568 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1569 (STAP_PROBE0): New macro.
1570 (STAP_PROBE1): Likewise.
1571 (STAP_PROBE2): Likewise.
1572 (STAP_PROBE3): Likewise.
1573 (STAP_PROBE4): Likewise.
1574
416e0145
OB
15752013-12-02 Ondřej Bílka <neleai@seznam.cz>
1576
1577 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1578
9d17796a
SE
15792013-12-02 Steve Ellcey <sellcey@mips.com>
1580
1581 * benchtests/Makefile (bench): Add sqrt.
1582 (LDLIBS-bench-sqrt): New.
1583 * benchtests/sqrt-input: New.
1584
f524d6a8
PS
15852013-12-02 Pavel Simerda <psimerda@redhat.com>
1586
639a0ef8
PS
1587 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1588 (GAIH_EAI): Likewise.
1589 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1590 (gaih_inet): Likewise.
1591 (getaddrinfo): Don't use GAIH_EAI.
1592
f524d6a8
PS
1593 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1594 (struct gaih): Remove definition.
1595
df3aedaf
SP
15962013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1597
1598 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1599 Use HERRNOP directly.
1600
1ab19dec
AZ
16012013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1602
b42ad38d 1603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 1604
176b0c79
JM
16052013-11-30 Joseph Myers <joseph@codesourcery.com>
1606
1607 * math/gen-auto-libm-tests.c (test_functions): Add more
1608 single-argument functions.
1609 (special_fill_pi_2): New function.
1610 (special_fill_minus_pi_2): Likewise.
1611 (special_fill_pi_6): Likewise.
1612 (special_fill_minus_pi_6): Likewise.
1613 (special_fill_pi_3): Likewise.
1614 (special_fill_2pi_3): Likewise.
1615 (special_fill_e): Likewise.
1616 (special_fill_1_e): Likewise.
1617 (special_fill_e_minus_1): Likewise.
1618 (special_real_inputs): Add more special inputs.
1619 (output_for_one_input_case): Do not require ERANGE on underflow to
1620 zero if round-to-nearest result does not underflow to zero, unless
1621 exact results required.
1622 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1623 atan, atanh, cbrt, cos and cosh.
1624 * math/auto-libm-test-out: Regenerated.
1625 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1626 (acos_tonearest_test_data): Likewise.
1627 (acos_towardzero_test_data): Likewise.
1628 (acos_downward_test_data): Likewise.
1629 (acos_upward_test_data): Likewise.
1630 (acosh_test_data): Likewise.
1631 (asin_test_data): Likewise.
1632 (asin_tonearest_test_data): Likewise.
1633 (asin_towardzero_test_data): Likewise.
1634 (asin_upward_test_data): Likewise.
1635 (asinh_test_data): Likewise.
1636 (atan_test_data): Likewise.
1637 (atanh_test_data): Likewise.
1638 (cbrt_test_data): Likewise.
1639 (cos_test_data): Likewise.
1640 (cos_tonearest_test_data): Likewise.
1641 (cos_towardzero_test_data): Likewise.
1642 (cos_downward_test_data): Likewise.
1643 (cos_upward_test_data): Likewise.
1644 (cosh_test_data): Likewise.
1645 (cosh_tonearest_test_data): Likewise.
1646 (cosh_towardzero_test_data): Likewise.
1647 (cosh_downward_test_data): Likewise.
1648 (cosh_upward_test_data): Likewise.
1649 * sysdeps/i386/fpu/libm-test-ulps: Update.
1650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1651
ffb536d0
JM
16522013-11-29 Joseph Myers <joseph@codesourcery.com>
1653
2a77a467
JM
1654 [BZ #6787]
1655 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1656 * math/w_exp10f.c (__exp10f): Likewise.
1657 * math/w_exp10l.c (__exp10l): Likewise.
1658 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1659 errno settings in existing tests.
1660
ea3bc4e8
JM
1661 [BZ #14032]
1662 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1663 precision control set to double precision.
1664 * sysdeps/i386/fpu/w_sqrt.c: New file.
1665 * math/auto-libm-test-in: Add more tests.
1666 * math/auto-libm-test-out: Update.
1667
0712c9d8
JM
1668 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1669 (sqrt_test_tonearest): New function.
1670 (sqrt_towardzero_test_data): New variable.
1671 (sqrt_test_towardzero): New function.
1672 (sqrt_downward_test_data): New variable.
1673 (sqrt_test_downward): New function.
1674 (sqrt_upward_test_data): New variable.
1675 (sqrt_test_upward): New function.
1676 (main): Call the new functions.
1677
ffb536d0
JM
1678 * math/gen-auto-libm-tests.c: New file.
1679 * math/auto-libm-test-in: Likewise.
1680 * math/auto-libm-test-out: New generated file.
1681 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1682 variables.
1683 (%beautify): Add generated representations of zero.
1684 (top level): Set $auto_input and call parse_auto_input.
1685 (beautify): Remove trailing "f" from hex float constants.
1686 (parse_args): Handle XFAIL_TEST.
1687 (convert_condition): New function.
1688 (or_value): Likewise.
1689 (or_cond_value): Likewise.
1690 (generate_testfile): Handle AUTO_TESTS_* lines.
1691 (parse_auto_input): New function.
1692 * math/libm-test.inc (XFAIL_TEST): New macro.
1693 (ERRNO_UNCHANGED): Update value.
1694 (ERRNO_EDOM): Likewise.
1695 (ERRNO_ERANGE): Likewise.
1696 (IGNORE_RESULT): Likewise.
1697 (TEST_COND_flt_32): New macro.
1698 (TEST_COND_dbl_64): Likewise.
1699 (TEST_COND_ldbl_96_intel): Likewise.
1700 (TEST_COND_ldbl_96_m68k): Likewise.
1701 (TEST_COND_ldbl_128): Likewise.
1702 (TEST_COND_ldbl_128ibm): Likewise.
1703 (TEST_COND_long32): Likewise.
1704 (TEST_COND_long64): Likewise.
1705 (TEST_COND_before_rounding): Likewise.
1706 (TEST_COND_after_rounding): Likewise.
1707 (enable_test): Handle XFAIL_TEST flag.
1708 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1709 with finite results.
1710 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1711 auto-libm-test-out.
1712
acd98a8e
AK
17132013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1714 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1715
1716 [BZ #16214]
1717 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1718 __tls_get_addr_internal instead of __tls_get_offset in order to
1719 avoid GOT pointer dependency. Make rtld export
1720 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1721 __tls_get_addr since we are a __tls_get_offset platform.
1722 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1723 GOT pointer being set up before.
1724 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1725
3c1c46a6
JM
17262013-11-28 Joseph Myers <joseph@codesourcery.com>
1727
7475aef5
JM
1728 * manual/math.texi (Errors in Math Functions): Document accuracy
1729 goals.
1730
8bca7cd8
JM
1731 [BZ #15004]
1732 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1733 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1734 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1735 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1736 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1737 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1738 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1739 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1740 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1741 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1742 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1743 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1744 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1745 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1746 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1747 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1748
91a1f3fe
JM
1749 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1750 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1751 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1752 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1753 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1754 Likewise.
1755 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1756 Likewise.
1757 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1758 Likewise.
1759 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1760 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1761 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1762 atomic-feupdateenv and flt-rounds.
1763 * sysdeps/powerpc/nofpu/Versions (libc): Add
1764 __atomic_feholdexcept, __atomic_feclearexcept,
1765 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1766 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1767 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1768 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1769 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1770 here.
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1772 Update.
1773
c5df7609
JM
1774 * manual/arith.texi (FP Exceptions): Document that exceptions may
1775 not be raised when matherr is used.
1776 (Math Error Reporting): Document overflow in directed rounding
1777 modes. Document that errno may not be set when finite values are
1778 returned on overflow. Document intent to set errno on underflow
1779 only for underflow to zero.
1780
3c1c46a6
JM
1781 [BZ #16271]
1782 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1783 round-to-nearest then adjust result for other rounding modes.
1784 * include/fenv.h (fegetround): Use libm_hidden_proto.
1785 * math/fegetround.c (fegetround): Use libm_hidden_def.
1786 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1787 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1788 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1789 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1790 Likewise.
1791 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1792 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1793 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1794 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1795
5a4c6d53
SP
17962013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1797
1798 [BZ #16077]
1799 * nss/Versions (libnss_files): Add
1800 _nss_files_gethostbyname3_r.
1801 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1802 New function.
1803 (HOST_DB_LOOKUP): Remove macro.
1804 (_nss_files_gethostbyname_r): Implement function without the
1805 HOST_DB_LOOKUP macro.
1806 (_nss_files_gethostbyname2_r): Likewise.
1807
897b98ba
OB
18082013-11-28 Ondřej Bílka <neleai@seznam.cz>
1809
1810 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1811
6f476861
UB
18122013-11-26 Uros Bizjak <ubizjak@gmail.com>
1813
1814 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1815 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1816 warning.
1817
bd12ab55
AZ
18182013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1819
1820 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1821 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1822 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1823 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1824 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1825 __fe_nomask_env_priv and attribute_hidden.
1826 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1827 (libc_feupdateenv_test_ppc): Likewise.
1828 (libc_feresetround_ppc): Likewise.
1829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1830 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1831 compat_symbol macro.
1832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1833 (__fe_nomask_env): Likewise.
1834 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1835
52bb6543
OB
18362013-11-26 Ondřej Bílka <neleai@seznam.cz>
1837
1838 * string/Makefile: Remove ifunc tests.
1839 * string/test-string.h: Define TEST_IFUNC.
1840 * string/test-bcopy-ifunc.c: Remove.
1841 * string/test-bzero-ifunc.c: Likewise.
1842 * string/test-memccpy-ifunc.c: Likewise.
1843 * string/test-memchr-ifunc.c: Likewise.
1844 * string/test-memcmp-ifunc.c: Likewise.
1845 * string/test-memcpy-ifunc.c: Likewise.
1846 * string/test-memmem-ifunc.c: Likewise.
1847 * string/test-memmove-ifunc.c: Likewise.
1848 * string/test-mempcpy-ifunc.c: Likewise.
1849 * string/test-memrchr-ifunc.c: Likewise.
1850 * string/test-memset-ifunc.c: Likewise.
1851 * string/test-rawmemchr-ifunc.c: Likewise.
1852 * string/test-stpcpy-ifunc.c: Likewise.
1853 * string/test-stpncpy-ifunc.c: Likewise.
1854 * string/test-strcasecmp-ifunc.c: Likewise.
1855 * string/test-strcasestr-ifunc.c: Likewise.
1856 * string/test-strcat-ifunc.c: Likewise.
1857 * string/test-strchr-ifunc.c: Likewise.
1858 * string/test-strchrnul-ifunc.c: Likewise.
1859 * string/test-strcmp-ifunc.c: Likewise.
1860 * string/test-strcpy-ifunc.c: Likewise.
1861 * string/test-strcspn-ifunc.c: Likewise.
1862 * string/test-strlen-ifunc.c: Likewise.
1863 * string/test-strncasecmp-ifunc.c: Likewise.
1864 * string/test-strncat-ifunc.c: Likewise.
1865 * string/test-strncmp-ifunc.c: Likewise.
1866 * string/test-strncpy-ifunc.c: Likewise.
1867 * string/test-strnlen-ifunc.c: Likewise.
1868 * string/test-strpbrk-ifunc.c: Likewise.
1869 * string/test-strrchr-ifunc.c: Likewise.
1870 * string/test-strspn-ifunc.c: Likewise.
1871 * string/test-strstr-ifunc.c: Likewise.
1872
ab260039 18732013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
1874
1875 * benchtests/Makefile: Remove ifunc tests.
1876 * benchtests/bench-string.h: Define TEST_IFUNC.
1877 * benchtests/bench-bcopy-ifunc.c: Remove.
1878 * benchtests/bench-bzero-ifunc.c: Likewise.
1879 * benchtests/bench-memccpy-ifunc.c: Likewise.
1880 * benchtests/bench-memchr-ifunc.c: Likewise.
1881 * benchtests/bench-memcmp-ifunc.c: Likewise.
1882 * benchtests/bench-memcpy-ifunc.c: Likewise.
1883 * benchtests/bench-memmem-ifunc.c: Likewise.
1884 * benchtests/bench-memmove-ifunc.c: Likewise.
1885 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1886 * benchtests/bench-memrchr-ifunc.c: Likewise.
1887 * benchtests/bench-memset-ifunc.c: Likewise.
1888 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1889 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1890 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1891 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1892 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1893 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1894 * benchtests/bench-strcat-ifunc.c: Likewise.
1895 * benchtests/bench-strchr-ifunc.c: Likewise.
1896 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1897 * benchtests/bench-strcmp-ifunc.c: Likewise.
1898 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1899 * benchtests/bench-strcpy-ifunc.c: Likewise.
1900 * benchtests/bench-strcspn-ifunc.c: Likewise.
1901 * benchtests/bench-strlen-ifunc.c: Likewise.
1902 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1903 * benchtests/bench-strncat-ifunc.c: Likewise.
1904 * benchtests/bench-strncmp-ifunc.c: Likewise.
1905 * benchtests/bench-strncpy-ifunc.c: Likewise.
1906 * benchtests/bench-strnlen-ifunc.c: Likewise.
1907 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1908 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 1909 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
1910 * benchtests/bench-strspn-ifunc.c: Likewise.
1911 * benchtests/bench-strstr-ifunc.c: Likewise.
1912
19132013-11-26 Ondřej Bílka <neleai@seznam.cz>
1914
ab260039
OB
1915 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1916
d1d9eaf4 19172013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 1918
d1d9eaf4
OB
1919 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1920 * rt/aio.h: Likewise.
1921 * sysdeps/gnu/bits/utmp.h: Likewise.
1922 * sysdeps/gnu/bits/utmpx.h: Likewise.
1923 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1924 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1925 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1926 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1927 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1928 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1929 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1930 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1931 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1932 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1933 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1934 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1935 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1937 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1938 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1939 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1940 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1941 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1942 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1943 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1944 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1945 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1946 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1947 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1948 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1949 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1950 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1951 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1952 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1953 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1954 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1955 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1956 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1957 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1958 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1959 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1960 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1961 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1962 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1963 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1964 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1965
a7624ed9
CD
19662013-11-25 Carlos O'Donell <carlos@redhat.com>
1967
1968 [BZ #16245]
1969 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1970 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1971
63cfe52b
JM
19722013-11-25 Joseph Myers <joseph@codesourcery.com>
1973
1974 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1975 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1976 Likewise.
1977
41e8926a
AZ
19782013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1979
1980 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1981 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1982 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1983 (__fesetround): Remove define.
1984 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1985 rounding and exceptions handling.
1986 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1987 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1988 (__fe_nomask_env): Likewise.
1989 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1990 __fegetround instead of fegetround.
1991 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1992 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1993
6851bd4d
RM
19942013-11-21 Roland McGrath <roland@hack.frob.com>
1995
070906ff
RM
1996 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1997 it's there.
1998
6851bd4d
RM
1999 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2000
84ae135d
MI
20012013-11-21 Meador Inge <meadori@codesourcery.com>
2002
2003 [BZ #11157]
2004 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2005 (encrypt_r): Likewise.
2006 * malloc/obstack.h (obstack_free): Likewise.
2007 * posix/unistd.h (encrypt): Likewise.
2008
daf75146
GM
20092013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2010
2011 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2012 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2013 DL_CALL_DT_FINI() that call the functions directly.
2014 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2015 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2016 * elf/dl-fini.c: Likewise.
2017
10ad46bc
OB
20182013-11-20 Ondřej Bílka <neleai@seznam.cz>
2019
2020 * malloc/hooks.c (memalign_check): Add alignment rounding.
2021 * malloc/malloc.c (_mid_memalign): New function.
2022 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2023 Implement by calling _mid_memalign.
2024 * manual/probes.texi (Memory Allocation Probes): Remove
2025 memory_valloc_retry and memory_pvalloc_retry.
2026
f3fd2628
SP
20272013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2028
4712799f
SP
2029 * locale/programs/locarchive.c (open_archive): Add const
2030 qualifier to ARCHIVEFNAME and copy default fname to
2031 DEFAULT_FNAME.
2032
0417b20f
SP
2033 [BZ #15601]
2034 * libio/tst-widetext.input: Rename Oriya to Odia.
2035 * locale/iso-639.def: Likewise.
2036
f3fd2628
SP
2037 * manual/probes.texi (Mathematical Function Probes): Add
2038 documentation for sin, cos, asin and acos probes.
2039 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2040 (__sin32): Add slowasin probe.
2041 (__cos32): Add slowacos probe.
2042 (__mpsin): Add slowsin probe.
2043 (__mpcos): Add slowcos probe.
2044
73c1ce4f
JM
20452013-11-19 Joseph Myers <joseph@codesourcery.com>
2046
2047 [BZ #15483]
2048 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2049 thread-local __sim_exceptions_thread and global
2050 __sim_exceptions_global.
2051 (__sim_disabled_exceptions): Change to thread-local
2052 __sim_disabled_exceptions_thread and global
2053 __sim_disabled_exceptions_global.
2054 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2055 and global __sim_round_mode_global.
2056 (__simulate_exceptions): Use thread-local floating-point state and
2057 set global state from it as needed.
2058 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2059 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2060 __sim_round_mode_thread.
2061 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2062 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2063 and global __sim_exceptions_global.
2064 (__sim_disabled_exceptions): Change to thread-local
2065 __sim_disabled_exceptions_thread and global
2066 __sim_disabled_exceptions_global.
2067 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2068 and global __sim_round_mode_global.
2069 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2070 (SIM_SET_GLOBAL): Likewise.
2071 * sysdeps/powerpc/soft-fp/sfp-machine.h
2072 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2073 __sim_round_mode_thread.
2074 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2075 __sim_disabled_exceptions_thread.
2076 (__sim_exceptions): Change to __sim_exceptions_thread.
2077 (__sim_disabled_exceptions): Change to
2078 __sim_disabled_exceptions_thread.
2079 (__sim_round_mode): Change to __sim_round_mode_thread.
2080 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2081 thread-local floating-point state and set global state from it as
2082 needed.
2083 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2084 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2085 (__sim_disabled_exceptions): Remove extern declaration.
2086 (feenableexcept): Use thread-local floating-point state and set
2087 global state from it as needed.
2088 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2089 extern declaration.
2090 (__sim_disabled_exceptions): Likewise.
2091 (__sim_round_mode): Likewise.
2092 (__fegetenv): Use thread-local floating-point state.
2093 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2094 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2095 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2096 floating-point state and set global state from it as needed.
2097 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2098 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2099 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2100 Likewise.
2101 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2102 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2103 Likewise.
2104 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2105 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2106 Use __sim_round_mode_thread.
2107 * math/test-fenv-tls.c: New file.
2108 * math/Makefile (tests): Add test-fenv-tls.
2109 ($(objpfx)test-fenv-tls): Depend on
2110 $(common-objpfx)nptl/libpthread.so.
2111
b5449b12
AS
21122013-11-19 Andreas Schwab <schwab@suse.de>
2113
2114 * locale/programs/locale.c (show_info): Decode wordarray elements.
2115 * locale/categories.def (LC_MONETARY): Add element for
2116 _NL_MONETARY_CRNCYSTR.
2117 * locale/C-monetary.c (conversion_rate): New variable.
2118 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2119 element.
2120
e186536b
CM
21212013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2122
2123 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2124 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2125
5c349950
PP
21262013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2127
2128 * elf/Makefile (tst-auxv): New test.
2129 * elf/tst-auxv.c: New
2130 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2131
699df45b
JM
21322013-11-18 Joseph Myers <joseph@codesourcery.com>
2133
2134 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2135 (hidden_proto): Caller changed.
2136 (hidden_tls_proto): New macro.
2137 (libc_hidden_tls_proto): Likewise.
2138 (rtld_hidden_tls_proto): Likewise.
2139 (libm_hidden_tls_proto): Likewise.
2140 (libresolv_hidden_tls_proto): Likewise.
2141 (librt_hidden_tls_proto): Likewise.
2142 (libdl_hidden_tls_proto): Likewise.
2143 (libnss_files_hidden_tls_proto): Likewise.
2144 (libnsl_hidden_tls_proto): Likewise.
2145 (libnss_nisplus_hidden_tls_proto): Likewise.
2146 (libutil_hidden_tls_proto): Likewise.
2147
b7589107
OB
21482013-11-18 Ondřej Bílka <neleai@seznam.cz>
2149
2150 [BZ #10253]
2151 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2152 (decompose_rpath): Defer expansion to fillin_rpath.
2153 (_dl_init_paths): Pass linkmap to fillin_rpath.
2154
250c23bd
RS
21552013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2156
2157 * benchtests/Makefile: Add strsep.
2158 * benchtests/bench-strsep.c: New file: strsep benchtest.
2159 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2160
a7931fcf
AS
21612013-11-18 Andreas Schwab <schwab@suse.de>
2162
2163 * locale/programs/locale.c (show_info) [case byte]: Check for
2164 '\377' instead of '\177'.
2165 * locale/C-monetary.c (not_available): Always use "\377".
2166 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2167 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2168 detect unavailable sign_posn locale elements.
2169 * locale/localeconv.c (__localeconv): For grouping and
2170 mon_grouping handle "\177" and "\377" like no grouping.
2171 (INT_ELEM): New macro. Use it to set all numeric members.
2172 * locale/programs/ld-monetary.c (monetary_read)
2173 <tok_mon_grouping>: Normalize single -1 to the empty string.
2174 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2175 Likewise.
2176
728dab0e
OB
21772013-11-07 Ondřej Bílka <neleai@seznam.cz>
2178
2179 [BZ #16055]
2180 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2181 when we match (nil).
2182 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2183
66294491
JM
21842013-11-16 Joseph Myers <joseph@codesourcery.com>
2185
ce665817
JM
2186 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2187 (NO_TEST_INLINE): Update value.
2188 (ERRNO_UNCHANGED): Likewise.
2189 (ERRNO_EDOM): Likewise.
2190 (ERRNO_ERANGE): Likewise.
2191 (IGNORE_RESULT): Likewise.
2192 (check_float_internal): Check signs of NaN results if
2193 TEST_NAN_SIGN used.
2194 (check_complex): Pass TEST_NAN_SIGN flag through to second
2195 check_float_internal call.
2196 (copysign_test_data): Add tests with quiet NaNs as second
2197 argument. Use TEST_NAN_SIGN.
2198 (fabs_test_data): Add test of negative quiet NaN argument. Use
2199 TEST_NAN_SIGN.
2200 (signbit_test_data): Add tests of quiet NaN argument.
2201 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2202
ee1466a9
JM
2203 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2204 $ignore_result.
2205 (parse_args): Handle function results specified as IGNORE.
2206 * math/libm-test.inc (IGNORE_RESULT): New macro.
2207 (check_float_internal): Do not check numerical result if flag
2208 IGNORE_RESULT set.
2209 (check_complex): Pass through IGNORE_RESULT to second
2210 check_float_internal call.
2211 (check_int): Do not check numerical result if flag IGNORE_RESULT
2212 set.
2213 (check_long): Likewise.
2214 (check_bool): Likewise.
2215 (check_longlong): Likewise.
2216 (lrint_test_data): Add tests of infinite and NaN arguments.
2217 (lrint_tonearest_test_data): Likewise.
2218 (lrint_towardzero_test_data): Likewise.
2219 (lrint_downward_test_data): Likewise.
2220 (lrint_upward_test_data): Likewise.
2221 (llrint_test_data): Likewise.
2222 (llrint_tonearest_test_data): Likewise.
2223 (llrint_towardzero_test_data): Likewise.
2224 (llrint_downward_test_data): Likewise.
2225 (llrint_upward_test_data): Likewise.
2226 (lround_test_data): Likewise.
2227 (llround_test_data): Likewise.
2228
14407b7e
JM
2229 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2230 (ERRNO_UNCHANGED): Update value.
2231 (ERRNO_EDOM): Likewise.
2232 (ERRNO_ERANGE): Likewise.
2233 (NO_TEST_INLINE_FLOAT): New macro.
2234 (NO_TEST_INLINE_DOUBLE): Likewise.
2235 (enable_test): New function.
2236 (RUN_TEST_f_f): Check enable_test before running test.
2237 (RUN_TEST_2_f): Likewise.
2238 (RUN_TEST_fff_f): Likewise.
2239 (RUN_TEST_c_f): Likewise.
2240 (RUN_TEST_f_f1): Likewise.
2241 (RUN_TEST_fF_f1): Likewise.
2242 (RUN_TEST_fI_f1): Likewise.
2243 (RUN_TEST_ffI_f1): Likewise.
2244 (RUN_TEST_c_c): Likewise.
2245 (RUN_TEST_cc_c): Likewise.
2246 (RUN_TEST_f_i): Likewise.
2247 (RUN_TEST_f_i_tg): Likewise.
2248 (RUN_TEST_ff_i_tg): Likewise.
2249 (RUN_TEST_f_b): Likewise.
2250 (RUN_TEST_f_b_tg): Likewise.
2251 (RUN_TEST_f_l): Likewise.
2252 (RUN_TEST_f_L): Likewise.
2253 (RUN_TEST_fFF_11): Likewise.
2254 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2255 conditionals.
2256 (cosh_test_data): Likewise.
2257 (exp_test_data): Likewise.
2258 (expm1_test_data): Likewise.
2259 (hypot_test_data): Likewise.
2260 (pow_test_data): Likewise.
2261 (sinh_test_data): Likewise.
2262 (tanh_test_data): Likewise.
2263 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2264 flags argument.
2265
ca07f197
JM
2266 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2267 tests with quiet NaN input and output.
2268 (acosh_test_data): Likewise.
2269 (asin_test_data): Likewise.
2270 (asinh_test_data): Likewise.
2271 (atan_test_data): Likewise.
2272 (atanh_test_data): Likewise.
2273 (atan2_test_data): Likewise.
2274 (cbrt_test_data): Likewise.
2275 (cos_test_data): Likewise.
2276 (cosh_test_data): Likewise.
2277 (erf_test_data): Likewise.
2278 (erfc_test_data): Likewise.
2279 (exp_test_data): Likewise.
2280 (exp10_test_data): Likewise.
2281 (exp2_test_data): Likewise.
2282 (expm1_test_data): Likewise.
2283 (hypot_test_data): Likewise.
2284 (j0_test_data): Likewise.
2285 (j1_test_data): Likewise.
2286 (jn_test_data): Likewise.
2287 (lgamma_test_data): Likewise.
2288 (log_test_data): Likewise.
2289 (log10_test_data): Likewise.
2290 (log1p_test_data): Likewise.
2291 (log2_test_data): Likewise.
2292 (pow_test_data): Likewise.
2293 (scalb_test_data): Likewise.
2294 (sin_test_data): Likewise.
2295 (sincos_test_data): Likewise.
2296 (sinh_test_data): Likewise.
2297 (tan_test_data): Likewise.
2298 (tanh_test_data): Likewise.
2299 (tgamma_test_data): Likewise.
2300 (y0_test_data): Likewise.
2301 (y1_test_data): Likewise.
2302 (yn_test_data): Likewise.
2303
66294491
JM
2304 [BZ #16167]
2305 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2306 argument being NaN and avoid computations with second argument in
2307 that case.
2308 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2309 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2310 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2311
1820b143
CL
23122013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2313
2314 * locale/iso-639.def: Add Chitwani Tharu (the).
2315
714bd261
AS
23162013-11-14 Andreas Schwab <schwab@suse.de>
2317
2318 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2319 word instead of empty string.
2320
7ab44563
AZ
23212013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2322
2323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2324 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2326 (__fe_nomask_env): Likewise.
2327
e8470ea2
SE
23282013-11-13 Steve Ellcey <sellcey@mips.com>
2329
2330 * benchtests/bench-timing.h: Include time.h.
2331
17c1d9f0
L
23322013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2333
2334 [BZ #15997]
2335 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2336 to 3.4.0 for x32.
2337 * sysdeps/unix/sysv/linux/configure: Regenerated.
2338
9310c284
JM
23392013-11-13 Joseph Myers <joseph@codesourcery.com>
2340
2341 [BZ #16151]
2342 * stdlib/strtod_l.c (round_and_return): Do not consider
2343 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2344 exponent one less than half the least subnormal exponent.
2345 * stdlib/test-strtod-round-data: Add more tests.
2346 * stdlib/tst-strtod-round.c (tests): Regenerated.
2347
7a2ad8cf
AZ
23482013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2349
2350 [BZ #14143]
2351 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2352 (__fe_mask_env): Likewise.
2353 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2354 libm_hidden_proto and add function prototype.
2355 (__fe_mask_env): Add function prototype.
2356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2357 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2359 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2361 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2362
50727aa7
MS
23632013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2364
b2f386c1 2365 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
2366 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2367
a615be46
MS
23682013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2369
2370 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2371 of htab_find_slot().
2372
7ddace62
DM
23732013-11-11 David S. Miller <davem@davemloft.net>
2374
2375 [BZ #16150]
2376 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2377 symbol in the non-vis3 case in static builds.
2378 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2379 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2380 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2381 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2382
9182aa67
JK
23832013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2384
2385 [BZ #387]
2386 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2387 it is empty.
2388
450a2e2d
AZ
23892013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2390
b2f386c1
SP
2391 * benchtests/Makefile: Add bench-strtod.
2392 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 2393
8ec3f656
AS
23942013-11-11 Andreas Schwab <schwab@suse.de>
2395
2396 [BZ #16153]
2397 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2398 terminating NUL in key length.
2399
76a9b998
AZ
24002013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2401
2402 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2403 Add artificial ODP entry for vDSO symbol for PPC64.
2404 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2405 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2406
e4368156
OB
24072013-11-07 Ondřej Bílka <neleai@seznam.cz>
2408
2409 [BZ #15374]
2410 * nss/getent.c (services_keys): Recognize services starting with digit.
2411
8d6bb57c
DM
24122013-11-06 David S. Miller <davem@davemloft.net>
2413
2414 [BZ #15985]
2415 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2416 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2417
e256c421
WN
24182013-11-06 Will Newton <will.newton@linaro.org>
2419
2420 * manual/memory.texi (Malloc Examples): Remove register
2421 keyword from examples.
2422
f6e12daa 24232013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 2424
f6e12daa 2425 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 2426
9d880655
AS
24272013-11-04 Joseph Myers <joseph@codesourcery.com>
2428
2429 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2430 depending on [__GCC_IEC_559 > 0].
2431 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2432 depending on [__GCC_IEC_559_COMPLEX > 0].
2433
ae129d3c
CL
24342013-11-03 Chris Leonard <cjl@sugarlabs.org>
2435
2436 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2437 to iso-639.def.
2438
4a15c2a4 24392013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
2440
2441 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2442
8b35e35d
OB
24432013-11-01 Ondřej Bílka <neleai@seznam.cz>
2444
2445 [BZ #16112]
2446 * malloc/malloc (malloc_info): Do not handle first bin as
2447 special case.
2448
1d70fd6c
CL
24492013-11-01 Chris Leonard <cjl@sugarlabs.org>
2450
2451 * locale/iso-639.def: Add Central Nahuatl (nhn).
2452
8c5c2600
BH
24532013-11-01 Bruno Haible <bruno@clisp.org>
2454
2455 [BZ #7003]
2456 * manual/math.texi (BSD Random): Specify range upper bound as
2457 in POSIX.
2458
da5579c2
CL
24592013-10-31 Chris Leonard <cjl@sugarlabs.org>
2460
2461 * locale/iso-639.def: Add Meadow Mari (mhr).
2462
5d30d853
OB
24632013-10-31 Ondřej Bílka <neleai@seznam.cz>
2464
2465 [BZ #14752], [BZ #15763]
2466 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2467 Validate name.
2468 * rt/tst_shm.c: Add test for escaping directory.
2469
a4966c61
AS
24702013-10-31 Andreas Schwab <schwab@suse.de>
2471
8a43e768 2472 [BZ #15917]
a4966c61
AS
2473 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2474 followed by 'x' as part of digit sequence.
2475 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2476
28d708c4
MAP
24772013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2478
2479 [BZ #16037]
2480 * configure.ac: allow GNU Make 4.0 and greater.
2481 * configure: Regenerated.
2482
a56ee40b
WN
24832013-10-30 Will Newton <will.newton@linaro.org>
2484
2485 [BZ #16038]
2486 * malloc/hooks.c (memalign_check): Limit alignment to the
2487 maximum representable power of two.
2488 * malloc/malloc.c (__libc_memalign): Likewise.
2489 * malloc/tst-memalign.c (do_test): Add test for very
2490 large alignment values.
2491 * malloc/tst-posix_memalign.c (do_test): Likewise.
2492
c6e4925d
OB
24932013-10-30 Ondřej Bílka <neleai@seznam.cz>
2494
2495 [BZ #11087]
2496 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2497 (munmap_chunk): Likewise.
2498 (mremap_chunk): Likewise.
2499
25002013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 2501
8a43e768 2502 [BZ #15799]
bbea82f7
OB
2503 * stdlib/div.c (div): Remove obsolete code.
2504 * stdlib/ldiv.c (ldiv): Likewise.
2505 * stdlib/lldiv.c (lldiv): Likewise.
2506
977f4b31
SP
25072013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2508
2509 [BZ #16071]
2510 * nss/nss_files/files-XXX.c (get_contents_ret): New
2511 enumerator.
2512 (get_contents): New function.
2513 (internal_getent): Use it. Expand size of LINEBUFLEN.
2514
cb8a6dbd
MF
25152013-10-30 Mike Frysinger <vapier@gentoo.org>
2516
2517 * configure.in: Moved to ...
2518 * configure.ac: ... here. Change reference to configure.in
2519 to configure.ac.
2520 * sysdeps/arm/preconfigure.ac: ... here.
2521 configure.in to configure.ac.
2522 * sysdeps/gnu/configure.in: Moved to ...
2523 * sysdeps/gnu/configure.ac: ... here.
2524 * sysdeps/i386/configure.in: Moved to ...
2525 * sysdeps/i386/configure.ac: ... here.
2526 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2527 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2528 * sysdeps/mach/configure.in: Moved to ...
2529 * sysdeps/mach/configure.ac: ... here.
2530 * sysdeps/mach/hurd/configure.in: Moved to ...
2531 * sysdeps/mach/hurd/configure.ac: ... here.
2532 * sysdeps/powerpc/configure.in: Moved to ...
2533 * sysdeps/powerpc/configure.ac: ... here.
2534 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2535 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2536 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2537 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2538 * sysdeps/s390/s390-32/configure.in: Moved to ...
2539 * sysdeps/s390/s390-32/configure.ac: ... here.
2540 * sysdeps/s390/s390-64/configure.in: Moved to ...
2541 * sysdeps/s390/s390-64/configure.ac: ... here.
2542 * sysdeps/sh/configure.in: Moved to ...
2543 * sysdeps/sh/configure.ac: ... here.
2544 * sysdeps/sparc/configure.in: Moved to ...
2545 * sysdeps/sparc/configure.ac: ... here.
2546 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2547 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2548 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2549 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2550 * sysdeps/x86_64/configure.in: Moved to ...
2551 * sysdeps/x86_64/configure.ac: ... here.
2552 * sysdeps/x86_64/preconfigure.in: Moved to ...
2553 * sysdeps/x86_64/preconfigure.ac: ... here.
2554 * aclocal.m4: Change reference to configure.in to configure.ac.
2555 * config.h.in: Likewise.
2556 * manual/install.texi: Likewise.
2557 * manual/maint.texi: Likewise.
2558 * Makefile: Likewise.
2559 * malloc/Makefile: Likewise.
2560 * nscd/Makefile: Likewise.
2561 * Makeconfig: Change reference to configure.in and
2562 preconfigure.in to configure.ac and preconfigure.ac
2563 respectively.
2564 * INSTALL: Regenerated.
2565 * configure: Likewise.
2566 * sysdeps/gnu/configure: Likewise.
2567 * sysdeps/i386/configure: Likewise.
2568 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2569 * sysdeps/mach/configure: Likewise.
2570 * sysdeps/mach/hurd/configure: Likewise.
2571 * sysdeps/powerpc/configure: Likewise.
2572 * sysdeps/powerpc/powerpc32/configure: Likewise.
2573 * sysdeps/powerpc/powerpc64/configure: Likewise.
2574 * sysdeps/s390/s390-32/configure: Likewise.
2575 * sysdeps/s390/s390-64/configure: Likewise.
2576 * sysdeps/sh/configure: Likewise.
2577 * sysdeps/sparc/configure: Likewise.
2578 * sysdeps/unix/sysv/linux/configure: Likewise.
2579 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2580 * sysdeps/x86_64/configure: Likewise.
2581 * sysdeps/x86_64/preconfigure: Likewise.
2582
36a4953a
AS
25832013-10-29 Andreas Schwab <schwab@suse.de>
2584
2585 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2586
c79a1204
SP
25872013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2588
dfa1b402
SP
2589 * benchtests/pow-inputs: Add new inputs.
2590
54f73d9c
SP
2591 * benchtests/exp-inputs: Add new inputs.
2592
c79a1204
SP
2593 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2594 conditional check for return value.
2595 (__cos32): Likewise.
2596
67beb545 25972013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
2598
2599 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2600 to provide a boost for large inputs with word alignment.
2601 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2602 implementation based on optimized PPC64 strcpy.
2603 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2604 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2605 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2606 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2607
151659f6
OB
26082013-10-25 Ondřej Bílka <neleai@seznam.cz>
2609
482a077e 2610 [BZ #2801]
151659f6
OB
2611 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2612
10b0f26b
OB
26132013-10-25 Ondřej Bílka <neleai@seznam.cz>
2614
2615 [BZ #14876]
2616 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2617 * time/tst-strptime.c (day_tests): Add testcase.
2618
ca42d35e
OB
26192013-10-25 Ondřej Bílka <neleai@seznam.cz>
2620
482a077e 2621 [BZ #14029]
ca42d35e
OB
2622 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2623
52e6d801
FB
26242013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2625
2626 [BZ #16074]
2627 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2628 MAP_FAILED on error.
2629
7cbcdb36
SP
26302013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2631
2632 [BZ #16072]
2633 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2634 heap for large requests.
2635
894f3f10
AM
26362013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2637
2638 [BZ #9954]
2639 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2640 result if the result has no associated interface.
2641 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2642 interface for all 127.X.Y.Z addresses.
2643
b85545a6
CL
26442013-10-24 Chris Leonard <cjl@sugarlabs.org>
2645
2646 * locale/iso-639.def: Add Ligurian (lij)
2647
d1f23d46
OB
26482013-10-21 Ondřej Bílka <neleai@seznam.cz>
2649
2650 [BZ #15825]
2651 * sunrpc/rpc_main.c: Document rpcgen -5.
2652
4db5b08f
MS
26532013-10-19 Michael Stahl <mstahl@redhat.com>
2654
2655 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2656
a471e96a
OB
26572013-10-19 Ondřej Bílka <neleai@seznam.cz>
2658
d1f23d46 2659 [BZ #10278]
a471e96a
OB
2660 * posix/glob.c: Match only directories when trailing slash is present.
2661 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2662 (main): Add testcase.
2663
45c30c61
OB
26642013-10-19 Ondřej Bílka <neleai@seznam.cz>
2665
2666 [BZ #15670]
2667 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2668
484c12fb
CD
26692013-10-18 Carlos O'Donell <carlos@redhat.com>
2670
3d7dc513
CD
2671 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2672 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2673 AUTH_DES and cindex for FIPS 140-2.
2674 (DES Encryption): Add cindex FIPS 46-3.
2675
484c12fb
CD
2676 * locale/locarchive.h (struct locarhandle): Add fname.
2677 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2678 if an optional argument was specified to --list-archive,
2679 otherwise NULL.
2680 * locale/programs/locarchive.c (show_archive_content): Take new
2681 argument fname and pass it via ah.fname to open_archive.
2682 * locale/programs/localedef.h: Update decl.
2683 (open_archive): If AH->fname is non-null, open that file
2684 rather than the default file name, and don't ignore ENOENT.
2685 (create_archive): Set AH.fname to NULL.
2686 (delete_locales_from_archive): Likewise.
2687 (add_locales_to_archive): Likewise.
2688 * locale/programs/locfile.c (write_all_categories): Likewise.
2689
3c8325fb
JM
26902013-10-18 Joseph Myers <joseph@codesourcery.com>
2691 Aldy Hernandez <aldyh@redhat.com>
2692
2693 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2694 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2695 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2696 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2697 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2698 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2699 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2700 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2701 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2702 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2703 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2704 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2705 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2706 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2707 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2708 Likewise.
2709 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2710 Likewise.
2711 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2712 Likewise.
2713 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2714 Likewise.
2715 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2716 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2717 Likewise.
2718 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2719 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2720 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2721 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2722 Likewise.
2723 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2724 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2725 * sysdeps/powerpc/preconfigure: Likewise.
2726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2727 Likewise.
2728 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2729 Replace contents of file by #include of <fenv_libc.h>.
2730 * sysdeps/powerpc/soft-fp/sfp-machine.h
2731 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2732 and <sys/prctl.h>.
2733 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2734 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2735 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2736 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2737 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2738 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2739 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2740 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2741 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2742 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2743 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2744 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2746 Allow copysignl PLT reference to be missing.
2747
5abe0682
RS
27482013-10-18 Richard Sandiford <richard@codesourcery.com>
2749 Joseph Myers <joseph@codesourcery.com
2750
2751 [BZ #15948]
2752 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2753 single character.
2754 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2755
c7738d08
SP
27562013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2757
2758 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2759 * elf/tst-tls1.c: Likewise.
2760 * elf/tst-tls10.h: Likewise.
2761 * elf/tst-tls14.c: Likewise.
2762 * elf/tst-tls2.c: Likewise.
2763 * elf/tst-tls3.c: Likewise.
2764 * elf/tst-tls4.c: Likewise.
2765 * elf/tst-tls5.c: Likewise.
2766 * elf/tst-tls6.c: Likewise.
2767 * elf/tst-tls7.c: Likewise.
2768 * elf/tst-tls8.c: Likewise.
2769 * elf/tst-tls9.c: Likewise.
2770 * elf/tst-tlsmod1.c: Likewise.
2771 * elf/tst-tlsmod13.c: Likewise.
2772 * elf/tst-tlsmod13a.c: Likewise.
2773 * elf/tst-tlsmod14a.c: Likewise.
2774 * elf/tst-tlsmod16a.c: Likewise.
2775 * elf/tst-tlsmod16b.c: Likewise.
2776 * elf/tst-tlsmod2.c: Likewise.
2777 * elf/tst-tlsmod3.c: Likewise.
2778 * elf/tst-tlsmod4.c: Likewise.
2779 * elf/tst-tlsmod5.c: Likewise.
2780 * elf/tst-tlsmod6.c: Likewise.
2781
0bfcf2c7
OB
27822013-10-18 Ondřej Bílka <neleai@seznam.cz>
2783
2784 [BZ #12486]
2785 * malloc/malloc.c: remove checks for statistics.
2786
264aad1e
OB
27872013-10-17 Ondřej Bílka <neleai@seznam.cz>
2788
2789 [BZ #15277]
2790 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2791 * inet/tst-network.c: Add testcase.
2792
b957ced8
AS
27932013-10-17 Andreas Schwab <schwab@suse.de>
2794
2795 [BZ #15218]
2796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2797 to determine canonical name.
2798
c5d5d574
OB
27992013-10-17 Ondřej Bílka <neleai@seznam.cz>
2800
2801 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2802 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2803 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2804 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2805 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2806 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2807 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2808 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2809 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2810 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2811 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2812 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2813 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2814 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2815 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2816 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2817 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2818 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2819 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2820 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2821 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2822 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2823 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2824 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2825 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2826 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2827 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2828 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2829 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2830 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2831 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2832 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2833 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2834 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2835 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2836 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2837 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2838 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2839 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2840 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2841 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2842 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2843 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2844 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2845 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2846 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2847 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2848 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2849 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2850 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2851 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2852 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2853 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2854 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2855 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2856 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2857 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2858 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2859
e5c2c2d0
JM
28602013-10-17 Joseph Myers <joseph@codesourcery.com>
2861
2862 [BZ #16041]
2863 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2864 make result into a quiet NaN.
2865
51ca9e29
JM
28662013-10-16 Joseph Myers <joseph@codesourcery.com>
2867
2868 * soft-fp/adddf3.c: Fix horizontal whitespace.
2869 * soft-fp/addsf3.c: Likewise.
2870 * soft-fp/addtf3.c: Likewise.
2871 * soft-fp/divdf3.c: Likewise.
2872 * soft-fp/divsf3.c: Likewise.
2873 * soft-fp/divtf3.c: Likewise.
2874 * soft-fp/double.h: Likewise.
2875 * soft-fp/eqdf2.c: Likewise.
2876 * soft-fp/eqsf2.c: Likewise.
2877 * soft-fp/eqtf2.c: Likewise.
2878 * soft-fp/extenddftf2.c: Likewise.
2879 * soft-fp/extended.h: Likewise.
2880 * soft-fp/extendsfdf2.c: Likewise.
2881 * soft-fp/extendsftf2.c: Likewise.
2882 * soft-fp/extendxftf2.c: Likewise.
2883 * soft-fp/fixdfdi.c: Likewise.
2884 * soft-fp/fixdfsi.c: Likewise.
2885 * soft-fp/fixdfti.c: Likewise.
2886 * soft-fp/fixsfdi.c: Likewise.
2887 * soft-fp/fixsfsi.c: Likewise.
2888 * soft-fp/fixsfti.c: Likewise.
2889 * soft-fp/fixtfdi.c: Likewise.
2890 * soft-fp/fixtfsi.c: Likewise.
2891 * soft-fp/fixtfti.c: Likewise.
2892 * soft-fp/fixunsdfdi.c: Likewise.
2893 * soft-fp/fixunsdfsi.c: Likewise.
2894 * soft-fp/fixunsdfti.c: Likewise.
2895 * soft-fp/fixunssfdi.c: Likewise.
2896 * soft-fp/fixunssfsi.c: Likewise.
2897 * soft-fp/fixunssfti.c: Likewise.
2898 * soft-fp/fixunstfdi.c: Likewise.
2899 * soft-fp/fixunstfsi.c: Likewise.
2900 * soft-fp/fixunstfti.c: Likewise.
2901 * soft-fp/floatdidf.c: Likewise.
2902 * soft-fp/floatdisf.c: Likewise.
2903 * soft-fp/floatditf.c: Likewise.
2904 * soft-fp/floatsidf.c: Likewise.
2905 * soft-fp/floatsisf.c: Likewise.
2906 * soft-fp/floatsitf.c: Likewise.
2907 * soft-fp/floattidf.c: Likewise.
2908 * soft-fp/floattisf.c: Likewise.
2909 * soft-fp/floattitf.c: Likewise.
2910 * soft-fp/floatundidf.c: Likewise.
2911 * soft-fp/floatundisf.c: Likewise.
2912 * soft-fp/floatunditf.c: Likewise.
2913 * soft-fp/floatunsidf.c: Likewise.
2914 * soft-fp/floatunsisf.c: Likewise.
2915 * soft-fp/floatunsitf.c: Likewise.
2916 * soft-fp/floatuntidf.c: Likewise.
2917 * soft-fp/floatuntisf.c: Likewise.
2918 * soft-fp/floatuntitf.c: Likewise.
2919 * soft-fp/fmadf4.c: Likewise.
2920 * soft-fp/fmasf4.c: Likewise.
2921 * soft-fp/fmatf4.c: Likewise.
2922 * soft-fp/gedf2.c: Likewise.
2923 * soft-fp/gesf2.c: Likewise.
2924 * soft-fp/getf2.c: Likewise.
2925 * soft-fp/ledf2.c: Likewise.
2926 * soft-fp/lesf2.c: Likewise.
2927 * soft-fp/letf2.c: Likewise.
2928 * soft-fp/muldf3.c: Likewise.
2929 * soft-fp/mulsf3.c: Likewise.
2930 * soft-fp/multf3.c: Likewise.
2931 * soft-fp/negdf2.c: Likewise.
2932 * soft-fp/negsf2.c: Likewise.
2933 * soft-fp/negtf2.c: Likewise.
2934 * soft-fp/op-1.h: Likewise.
2935 * soft-fp/op-2.h: Likewise.
2936 * soft-fp/op-4.h: Likewise.
2937 * soft-fp/op-8.h: Likewise.
2938 * soft-fp/op-common.h: Likewise.
2939 * soft-fp/quad.h: Likewise.
2940 * soft-fp/single.h: Likewise.
2941 * soft-fp/soft-fp.h: Likewise.
2942 * soft-fp/sqrtdf2.c: Likewise.
2943 * soft-fp/sqrtsf2.c: Likewise.
2944 * soft-fp/sqrttf2.c: Likewise.
2945 * soft-fp/subdf3.c: Likewise.
2946 * soft-fp/subsf3.c: Likewise.
2947 * soft-fp/subtf3.c: Likewise.
2948 * soft-fp/truncdfsf2.c: Likewise.
2949 * soft-fp/trunctfdf2.c: Likewise.
2950 * soft-fp/trunctfsf2.c: Likewise.
2951 * soft-fp/trunctfxf2.c: Likewise.
2952 * soft-fp/unorddf2.c: Likewise.
2953 * soft-fp/unordsf2.c: Likewise.
2954 * soft-fp/unordtf2.c: Likewise.
2955
9ebb0332
JM
29562013-10-15 Joseph Myers <joseph@codesourcery.com>
2957
2958 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2959 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2960
4b1a6d8b
OB
29612013-10-15 Ondřej Bílka <neleai@seznam.cz>
2962
2963 * elf/dl-libc.c: Clear initfini list after freeing.
2964
1e145589
JM
29652013-10-14 Joseph Myers <joseph@codesourcery.com>
2966
2967 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2968 * soft-fp/addsf3.c: Likewise.
2969 * soft-fp/addtf3.c: Likewise.
2970 * soft-fp/divdf3.c: Likewise.
2971 * soft-fp/divsf3.c: Likewise.
2972 * soft-fp/divtf3.c: Likewise.
2973 * soft-fp/double.h: Likewise.
2974 * soft-fp/eqdf2.c: Likewise.
2975 * soft-fp/eqsf2.c: Likewise.
2976 * soft-fp/eqtf2.c: Likewise.
2977 * soft-fp/extenddftf2.c: Likewise.
2978 * soft-fp/extended.h: Likewise.
2979 * soft-fp/extendsfdf2.c: Likewise.
2980 * soft-fp/extendsftf2.c: Likewise.
2981 * soft-fp/extendxftf2.c: Likewise.
2982 * soft-fp/fixdfdi.c: Likewise.
2983 * soft-fp/fixdfsi.c: Likewise.
2984 * soft-fp/fixdfti.c: Likewise.
2985 * soft-fp/fixsfdi.c: Likewise.
2986 * soft-fp/fixsfsi.c: Likewise.
2987 * soft-fp/fixsfti.c: Likewise.
2988 * soft-fp/fixtfdi.c: Likewise.
2989 * soft-fp/fixtfsi.c: Likewise.
2990 * soft-fp/fixtfti.c: Likewise.
2991 * soft-fp/fixunsdfdi.c: Likewise.
2992 * soft-fp/fixunsdfsi.c: Likewise.
2993 * soft-fp/fixunsdfti.c: Likewise.
2994 * soft-fp/fixunssfdi.c: Likewise.
2995 * soft-fp/fixunssfsi.c: Likewise.
2996 * soft-fp/fixunssfti.c: Likewise.
2997 * soft-fp/fixunstfdi.c: Likewise.
2998 * soft-fp/fixunstfsi.c: Likewise.
2999 * soft-fp/fixunstfti.c: Likewise.
3000 * soft-fp/floatdidf.c: Likewise.
3001 * soft-fp/floatdisf.c: Likewise.
3002 * soft-fp/floatditf.c: Likewise.
3003 * soft-fp/floatsidf.c: Likewise.
3004 * soft-fp/floatsisf.c: Likewise.
3005 * soft-fp/floatsitf.c: Likewise.
3006 * soft-fp/floattidf.c: Likewise.
3007 * soft-fp/floattisf.c: Likewise.
3008 * soft-fp/floattitf.c: Likewise.
3009 * soft-fp/floatundidf.c: Likewise.
3010 * soft-fp/floatundisf.c: Likewise.
3011 * soft-fp/floatunsidf.c: Likewise.
3012 * soft-fp/floatunsisf.c: Likewise.
3013 * soft-fp/floatuntidf.c: Likewise.
3014 * soft-fp/floatuntisf.c: Likewise.
3015 * soft-fp/floatuntitf.c: Likewise.
3016 * soft-fp/fmadf4.c: Likewise.
3017 * soft-fp/fmasf4.c: Likewise.
3018 * soft-fp/fmatf4.c: Likewise.
3019 * soft-fp/gedf2.c: Likewise.
3020 * soft-fp/gesf2.c: Likewise.
3021 * soft-fp/getf2.c: Likewise.
3022 * soft-fp/ledf2.c: Likewise.
3023 * soft-fp/lesf2.c: Likewise.
3024 * soft-fp/letf2.c: Likewise.
3025 * soft-fp/muldf3.c: Likewise.
3026 * soft-fp/mulsf3.c: Likewise.
3027 * soft-fp/multf3.c: Likewise.
3028 * soft-fp/negdf2.c: Likewise.
3029 * soft-fp/negsf2.c: Likewise.
3030 * soft-fp/negtf2.c: Likewise.
3031 * soft-fp/op-1.h: Likewise.
3032 * soft-fp/op-2.h: Likewise.
3033 * soft-fp/op-4.h: Likewise.
3034 * soft-fp/op-8.h: Likewise.
3035 * soft-fp/op-common.h: Likewise.
3036 * soft-fp/quad.h: Likewise.
3037 * soft-fp/single.h: Likewise.
3038 * soft-fp/soft-fp.h: Likewise.
3039 * soft-fp/sqrtdf2.c: Likewise.
3040 * soft-fp/sqrtsf2.c: Likewise.
3041 * soft-fp/sqrttf2.c: Likewise.
3042 * soft-fp/subdf3.c: Likewise.
3043 * soft-fp/subsf3.c: Likewise.
3044 * soft-fp/subtf3.c: Likewise.
3045 * soft-fp/truncdfsf2.c: Likewise.
3046 * soft-fp/trunctfdf2.c: Likewise.
3047 * soft-fp/trunctfsf2.c: Likewise.
3048 * soft-fp/trunctfxf2.c: Likewise.
3049 * soft-fp/unorddf2.c: Likewise.
3050 * soft-fp/unordsf2.c: Likewise.
3051 * soft-fp/unordtf2.c: Likewise.
3052
17c48a60
OB
30532013-10-14 Ondřej Bílka <neleai@seznam.cz>
3054
3055 [BZ #15672]
3056 * misc/error.c (error_tail): Fix possible buffer overflow.
3057
cabba934
OB
30582013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3059
3060 [BZ #13028]
3061 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3062 address.
3063
94bf958a
PM
30642013-10-14 P. J. McDermott <pj@pehjota.net>
3065
3066 [BZ #832]
3067 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3068 testing pipefail option.
3069
71b4dea7
JM
30702013-10-12 Joseph Myers <joseph@codesourcery.com>
3071
3072 * soft-fp/double.h: Indent preprocessor directives inside #if.
3073 * soft-fp/extended.h: Likewise.
3074 * soft-fp/op-2.h: Likewise.
3075 * soft-fp/op-4.h: Likewise.
3076 * soft-fp/op-common.h: Likewise.
3077 * soft-fp/quad.h: Likewise.
3078 * soft-fp/single.h: Likewise.
3079 * soft-fp/soft-fp.h: Likewise.
3080
55602758
YC
30812013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3082
3083 * iconv/iconv_prog.c: Fix typos.
3084 * stdio-common/psiginfo-data.h: Likewise.
3085
9cd83302
RT
30862013-10-12 Reuben Thomas <rrt@sc3d.org>
3087
3088 [BZ #15764]
3089 * locale/setlocale.c: Fix typo.
3090
99fd9f47
JM
30912013-10-12 Joseph Myers <joseph@codesourcery.com>
3092
b7ea74f0
JM
3093 [BZ #16036]
3094 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3095 signaling NaN arguments.
3096 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3097 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3098
8a509447
JM
3099 [BZ #14910]
3100 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3101 unordered operands.
3102 * soft-fp/gesf2.c (__gesf2): Likewise.
3103 * soft-fp/getf2.c (__getf2): Likewise.
3104 * soft-fp/ledf2.c (__ledf2): Likewise.
3105 * soft-fp/lesf2.c (__lesf2): Likewise.
3106 * soft-fp/letf2.c (__letf2): Likewise.
3107
98998e9f
JM
3108 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3109 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3110 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3111 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3112 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3113 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3114 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3115 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3116 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3117 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3118 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3119 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3120 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3121 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3122 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3123 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3124 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3125 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3126 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3127 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3128 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3129 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3130 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3131 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3132 * soft-fp/floattidf.c (__floattidf): Likewise.
3133 * soft-fp/floattisf.c (__floattisf): Likewise.
3134 * soft-fp/floattitf.c (__floattitf): Likewise.
3135 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3136 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3137 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3138 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3139 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3140 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3141 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3142 * soft-fp/gesf2.c (__gesf2): Likewise.
3143 * soft-fp/getf2.c (__getf2): Likewise.
3144 * soft-fp/ledf2.c (__ledf2): Likewise.
3145 * soft-fp/lesf2.c (__lesf2): Likewise.
3146 * soft-fp/letf2.c (__letf2): Likewise.
3147
8edc4a11
JM
3148 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3149 Undefine and redefine.
3150 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3151 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3152 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3153 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3154 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3155 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3156 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3157 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3158 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3159 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3160 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3161 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3162 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3163 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3164 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3165
8399acaf
JM
3166 [BZ #16032]
3167 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3168 without decrementing exponent if mantissa >= that for the
3169 denominator, not >.
3170 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3171 denominator, not >. Decrement exponent in < case instead of
3172 incrementing in >= case.
3173 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3174 without decrementing exponent if mantissa >= that for the
3175 denominator, not >.
3176
99fd9f47
JM
3177 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3178 computing saturated result for unsigned overflow.
3179
10e1cf6b
SP
31802013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3181 Jeff Law <law@redhat.com>
3182
3183 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3184 (atan2Mp): Add systemtap probe marker.
3185 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3186 (__ieee754_log): Add systemtap probe marker.
3187 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3188 (atanMp): Add systemtap probe marker.
3189 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3190 (tanMp): Add systemtap probe marker.
3191 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3192 (__slowexp): Add systemtap probe marker.
3193 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3194 (__slowpow): Add systemtap probe marker.
3195 * manual/probes.texi: Document probes.
3196
3d110c7c
EB
31972013-10-11 Eric Biggers <ebiggers3@gmail.com>
3198
3199 [BZ #15362]
3200 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3201 written.
3202 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3203 written.
3204 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3205 written to buffer but not flushed.
3206 * libio/iofwrite_u.c: Likewise.
3207 * libio/iopadn.c: Return bytes returned even if EOF was
3208 encountered.
3209 * libio/iowpadn.c: Likewise.
3210 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3211 if _IO_padn does not write the whole buffer.
3212 [!COMPILE_WPRINTF] (PAD): Likewise.
3213
75b4202a
DM
32142013-10-10 David S. Miller <davem@davemloft.net>
3215
3216 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3217 directory block.
3218
6c6352e6
JM
32192013-10-10 Joseph Myers <joseph@codesourcery.com>
3220
33b853c3
JM
3221 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3222 instead of FSF address.
3223 * soft-fp/fixdfti.c: Likewise.
3224 * soft-fp/fixsfti.c: Likewise.
3225 * soft-fp/fixtfti.c: Likewise.
3226 * soft-fp/fixunsdfti.c: Likewise.
3227 * soft-fp/fixunssfti.c: Likewise.
3228 * soft-fp/fixunstfti.c: Likewise.
3229 * soft-fp/floattidf.c: Likewise.
3230 * soft-fp/floattisf.c: Likewise.
3231 * soft-fp/floattitf.c: Likewise.
3232 * soft-fp/floatuntidf.c: Likewise.
3233 * soft-fp/floatuntisf.c: Likewise.
3234 * soft-fp/floatuntitf.c: Likewise.
3235 * soft-fp/trunctfxf2.c: Likewise.
3236
6c6352e6
JM
3237 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3238 * soft-fp/fixdfti.c: Likewise.
3239 * soft-fp/fixsfti.c: Likewise.
3240 * soft-fp/fixtfti.c: Likewise.
3241 * soft-fp/fixunsdfti.c: Likewise.
3242 * soft-fp/fixunssfti.c: Likewise.
3243 * soft-fp/fixunstfti.c: Likewise.
3244 * soft-fp/floattidf.c: Likewise.
3245 * soft-fp/floattisf.c: Likewise.
3246 * soft-fp/floattitf.c: Likewise.
3247 * soft-fp/floatuntidf.c: Likewise.
3248 * soft-fp/floatuntisf.c: Likewise.
3249 * soft-fp/floatuntitf.c: Likewise.
3250 * soft-fp/trunctfxf2.c: Likewise.
3251
3bf78b71
DM
32522013-10-10 David S. Miller <davem@davemloft.net>
3253
3254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3255
6f10289e
JM
32562013-10-10 Joseph Myers <joseph@codsourcery.com>
3257
bd878fc0
JM
3258 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3259 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3260 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3261 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3262 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3263 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3264 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3265
6f10289e
JM
3266 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3267 for NaNs before doing comparisons on argument.
3268 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3269 Likewise.
3270
321e2684
WN
32712013-10-10 Will Newton <will.newton@linaro.org>
3272
3273 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3274 passed to _int_memalign does not overflow.
3275
40fefba1
TR
32762013-10-10 Torvald Riegel <triegel@redhat.com>
3277
3278 * scripts/bench.pl: Add include-sources directive.
3279 * benchtests/README: Update documentation.
3280
2ae21ed2
JM
32812013-10-10 Joseph Myers <joseph@codesourcery.com>
3282
dcc2dd3f
JM
3283 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3284 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3285 instead of FP_INIT_ROUNDMODE.
3286 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3287 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3288
2ae21ed2
JM
3289 [BZ #16034]
3290 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3291 copy class of input value.
3292 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3293 not handle exceptions.
3294 * soft-fp/negsf2.c (__negsf2): Likewise.
3295 * soft-fp/negtf2.c (__negtf2): Likewise.
3296 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3297
cb8f9562
JM
32982013-10-09 Joseph Myers <joseph@codesourcery.com>
3299
3300 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3301 semicolon. From Linux kernel.
3302
5b60c59d
AB
33032013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3304
3305 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3306
b86835ca
YC
33072013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3308
3309 [BZ #156]
3310 * manual/socket.texi: Added statement about buffer
3311 for gethostbyname2_r.
3312
e7044ea7
OB
33132013-10-08 Ondřej Bílka <neleai@seznam.cz>
3314
3315 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3316 Use .p2align directive instead, throughout.
3317 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3318 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3319 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3320 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3321 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3322 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3323 * sysdeps/x86_64/strchr.S: Likewise.
3324 * sysdeps/x86_64/strrchr.S: Likewise.
3325
09544cbc
SP
33262013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3327
88576635
SP
3328 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3329
e7b2d1dd
SP
3330 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3331
09544cbc
SP
3332 * sysdeps/generic/math_private.h (__mpsin1): Remove
3333 declaration.
3334 (__mpcos1): Likewise.
3335 (__mpsin): New argument __range_reduce.
3336 (__mpcos): Likewise.
3337 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3338 (slow): Use __mpsin and __mpcos.
3339 (slow1): Likewise.
3340 (slow2): Likewise.
3341 (sloww): Likewise.
3342 (sloww1): Likewise.
3343 (sloww2): Likewise.
3344 (bsloww): Likewise.
3345 (bsloww1): Likewise.
3346 (bsloww2): Likewise.
3347 (cslow2): Likewise.
3348 (csloww): Likewise.
3349 (csloww1): Likewise.
3350 (csloww2): Likewise.
3351 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3352 range_reduce. Merge in __mpsin1.
3353 (__mpcos): Likewise.
3354 (__mpsin1): Remove.
3355 (__mpcos1): Likewise.
3356
7602d070
JM
33572013-10-07 Joseph Myers <joseph@codesourcery.com>
3358
3359 * locale/loadlocale.c (_nl_intern_locale_data): Use
3360 LOCFILE_ALIGNED_P.
3361 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3362 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3363 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3364 obstack data is appropriately aligned.
3365 (obstack_int32_grow_fast): Likewise.
3366 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3367 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3368 (add_locale_uint32_array): Likewise.
3369
a357259b
SP
33702013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3371
3372 * benchtests/Makefile: Remove ARGLIST and RET variables.
3373 ($(objpfx)bench-%.c): Pass only function name to the script.
3374 * benchtests/README: Update documentation.
3375 * benchtests/acos-inputs: Add new directives.
3376 * benchtests/acosh-inputs: Likewise.
3377 * benchtests/asin-inputs: Likewise.
3378 * benchtests/asinh-inputs: Likewise.
3379 * benchtests/atan-inputs: Likewise.
3380 * benchtests/atanh-inputs: Likewise.
3381 * benchtests/cos-inputs: Likewise.
3382 * benchtests/cosh-inputs: Likewise.
3383 * benchtests/exp-inputs: Likewise.
3384 * benchtests/log-inputs: Likewise.
3385 * benchtests/pow-inputs: Likewise.
3386 * benchtests/rint-inputs: Likewise.
3387 * benchtests/sin-inputs: Likewise.
3388 * benchtests/sinh-inputs: Likewise.
3389 * benchtests/tan-inputs: Likewise.
3390 * benchtests/tanh-inputs: Likewise.
3391 * scripts/bench.pl: Add support for new directives.
3392
9ec1b13d
AM
33932013-10-07 Alan Modra <amodra@gmail.com>
3394
3395 * README: Fix careless merge.
3396
8b7d57cd
AM
33972013-10-05 Alan Modra <amodra@gmail.com>
3398
3399 * NEWS: Mention powerpc64le support and bugs fixed.
3400 * README: Both big-endian and little-endian powerpc64 supported.
3401
7b7bab13
ST
34022013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3403
3404 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3405 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3406 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3407 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3408
d39baad1
RA
34092013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3410
3411 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3412 match prototype.
3413
cd78f7e7
JM
34142013-10-04 Joseph Myers <joseph@codesourcery.com>
3415
29d73d86
JM
3416 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3417 Move -mhard-float appending from
3418 ports/sysdeps/powerpc/powerpc32/Makefile.
3419 [$(with-fp) = yes] (ASFLAGS): Likewise.
3420 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3421 * sysdeps/powerpc/nofpu: Move directory from
3422 ports/sysdeps/powerpc/nofpu.
3423 * sysdeps/powerpc/soft-fp: Move directory from
3424 ports/sysdeps/powerpc/soft-fp.
3425 * sysdeps/powerpc/powerpc32/405: Move directory from
3426 ports/sysdeps/powerpc/powerpc32/405.
3427 * sysdeps/powerpc/powerpc32/440: Move directory from
3428 ports/sysdeps/powerpc/powerpc32/440.
3429 * sysdeps/powerpc/powerpc32/464: Move directory from
3430 ports/sysdeps/powerpc/powerpc32/464.
3431 * sysdeps/powerpc/powerpc32/476: Move directory from
3432 ports/sysdeps/powerpc/powerpc32/476.
3433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3434 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3436 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3438 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3440 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3442 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3443 * README: Update for powerpc-*-linux-gnu software floating point
3444 support in libc.
3445
e246b347
JM
3446 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3447 case to powerpc/powerpc32*.
3448 * sysdeps/unix/sysv/linux/configure: Regenerated.
3449
89c2003e
JM
3450 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3451 (_FPU_MASK_OM): Define as 0x04.
3452 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3453 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3454 0x00c10080.
3455 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3456 0x0000003c.
3457 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3458
cd78f7e7
JM
3459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3460 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3461 getcontext_e500.
3462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3463 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3464 setcontext_e500.
3465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3466 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3467 and setcontext_e500.
3468
c755294d
CL
34692013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3470
3471 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3472
e16d221c
SP
34732013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3474
3475 * manual/threads.texi (Default Thread Attributes): Fix typo.
3476
215c7d43
WN
34772013-10-04 Will Newton <will.newton@linaro.org>
3478
3479 * malloc/Makefile: Add tst-memalign.
3480 * malloc/tst-memalign.c: New file.
3481
27d0461b
WN
3482 * malloc/tst-posix_memalign.c: Add comments.
3483 (do_test): Add comments and call free on all potentially
3484 allocated pointers. Add space after cast.
3485
1bc92709
WN
3486 * malloc/tst-pvalloc.c: Add comments.
3487 (do_test): Add comments and call free on all potentially
3488 allocated pointers. Remove duplicate check for NULL pointer.
3489 Add space after cast.
3490
66a9be9d
WN
3491 * malloc/tst-valloc.c: Add comments.
3492 (do_test): Add comments and call free on all potentially
3493 allocated pointers. Remove duplicate check for NULL pointer.
3494 Add space after cast.
3495
4cb81307
AM
34962013-10-04 Alan Modra <amodra@gmail.com>
3497
3498 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3499 Use stdint types in rather than __attribute__((mode())).
3500 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3501
f8e3e9f3
AM
35022013-10-04 Alan Modra <amodra@gmail.com>
3503
3504 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3505 Correct handling of unaligned relocs for little-endian.
3506 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3507
8f9ebb08
AM
35082013-10-04 Alan Modra <amodra@gmail.com>
3509
3510 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3511 * configure: Regenerate.
3512 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3513 * shlib-versions: Likewise.
3514
0edf96c2
AM
35152013-10-04 Alan Modra <amodra@gmail.com>
3516
3517 * string/tester.c (test_memrchr): Increment reported test cycle.
3518
e0f7a380
AM
35192013-10-04 Alan Modra <amodra@gmail.com>
3520
3521 * string/test-memcpy.c (do_one_test): When reporting errors, print
3522 string address and don't overrun end of string.
3523
466b0393
AM
35242013-10-04 Alan Modra <amodra@gmail.com>
3525
3526 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3527 insrdi. Make better use of reg selection to speed exit slightly.
3528 Schedule entry path a little better. Remove useless "are we done"
3529 checks on entry to main loop. Handle wrapping around zero address.
3530 Correct main loop count. Handle single left-over word from main
3531 loop inline rather than by using loop_small. Remove extra word
3532 case in loop_small caused by wrong loop count. Add little-endian
3533 support.
3534 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3535 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3536 cache hint.
3537 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3538 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3539 support. Avoid rlwimi.
3540 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3541
3be87c77
AM
35422013-10-04 Alan Modra <amodra@gmail.com>
3543
3544 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 3545 insrdi. Formatting.
3be87c77
AM
3546 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3547 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3548 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3549 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3550 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3551 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3552
759cfef3
AM
35532013-10-04 Alan Modra <amodra@gmail.com>
3554
3555 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3556 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3557 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3558 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3559 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3560 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3561 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3562 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3563 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3564 use of regs. Use power7 mtocrf. Tidy function tails.
3565
fe6e95d7
AM
35662013-10-04 Alan Modra <amodra@gmail.com>
3567
3568 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3569 Formatting. Consistently use rXXX register defines or rN defines.
3570 Use early exit labels that avoid restoring unused non-volatile regs.
3571 Make cr field use more consistent with rWORDn compares. Rename
3572 regs used as shift registers for unaligned loop, using rN defines
3573 for short lifetime/multiple use regs.
3574 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3575 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3576 addi 1,1,64 to pop stack frame. Simplify return value code.
3577 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3578
664318c3
AM
35792013-10-04 Alan Modra <amodra@gmail.com>
3580
3581 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3582 support. Correct typos, formatting. Optimize tail. Use insrdi
3583 rather than rlwimi.
3584 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3585 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3586 little-endian support. Correct typos.
3587 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3588 rather than rlwimi.
3589 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3590 in loop and entry code to keep "and." results.
3591 (strchr): Add little-endian support. Comment. Move cntlzd
3592 earlier in tail.
3593 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3594
43b84013
AM
35952013-10-04 Alan Modra <amodra@gmail.com>
3596
3597 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3598 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3599 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3600 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3601
8a7413f9
AM
36022013-10-04 Alan Modra <amodra@gmail.com>
3603
3604 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3605 (rTMP): Define as r11.
3606 (strcmp): Add little-endian support. Optimise tail.
3607 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3608 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3609 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3610 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3611 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3612 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3613 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3614
33ee81de
AM
36152013-10-04 Alan Modra <amodra@gmail.com>
3616
3617 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3618 little-endian support. Remove unnecessary "are we done" tests.
3619 Handle "s" wrapping around zero and extremely large "size".
3620 Correct main loop count. Handle single left-over word from main
3621 loop inline rather than by using small_loop. Correct comments.
3622 Delete "zero" tail, use "end_max" instead.
3623 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3624
db9b4570
AM
36252013-10-04 Alan Modra <amodra@gmail.com>
3626
3627 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3628 support. Don't branch over align.
3629 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3630 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3631 support. Rearrange tmp reg use to suit. Comment.
3632 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3633
f7c399cf
AM
36342013-10-04 Alan Modra <amodra@gmail.com>
3635
3636 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3637
0b2c2ace
AM
36382013-10-04 Alan Modra <amodra@gmail.com>
3639
3640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3641 conditional form of branch and link when obtaining pc.
3642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3643
02f04a6c
AM
36442013-10-04 Alan Modra <amodra@gmail.com>
3645
3646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3647 HIWORD/LOWORD.
3648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3650
9b874b2f
AM
36512013-10-04 Alan Modra <amodra@gmail.com>
3652
3653 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3654 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3655 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3656 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3657 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3658 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3659 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3660 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3661 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3662 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3663
be1e5d31
AB
36642013-10-04 Anton Blanchard <anton@au1.ibm.com>
3665 Alistair Popple <alistair@ozlabs.au.ibm.com>
3666 Alan Modra <amodra@gmail.com>
3667
3668 [BZ #15723]
3669 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3670 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3671 _dl_hwcap access for little-endian.
3672 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3673 destroy vmx regs when saving unaligned.
3674 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3675 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3676 destroy vmx regs when saving unaligned.
3677
fef13a78
AM
36782013-10-04 Alan Modra <amodra@gmail.com>
3679
3680 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3681 Don't use a union to pack hi/low value.
3682
76a66d51
AB
36832013-10-04 Anton Blanchard <anton@au1.ibm.com>
3684
3685 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3686 for little-endian.
3687 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3688 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3689 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3690 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3691 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3692
6a31fe7f
AM
36932013-10-04 Alan Modra <amodra@gmail.com>
3694
3695 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3696 constants to usual value for .cst8 section, and remove redundant
3697 high address load.
3698 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3699 constant for 0x1p52. Load little-endian words of double from
3700 correct stack offsets.
3701
7b88401f
AM
37022013-10-04 Alan Modra <amodra@gmail.com>
3703
3704 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3705 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3706 words of double from correct stack offsets.
3707 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3708 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3709 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3710 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3711 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3712 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3713 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3714 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3715 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3716 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3717 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3718 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3719 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3720 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3721 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3722 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3723 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3724
9c008155
AM
37252013-10-04 Alan Modra <amodra@gmail.com>
3726
3727 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3728 64-bit int/double union.
3729 (_FPU_SETCW): Likewise.
3730 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3731 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3732
da13146d
AM
37332013-10-04 Alan Modra <amodra@gmail.com>
3734
3735 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3736 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3737
603e8410
AM
37382013-10-04 Alan Modra <amodra@gmail.com>
3739
3740 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3741 use vector int constants.
3742 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3743
4a28b3ca
AB
37442013-10-04 Anton Blanchard <anton@au1.ibm.com>
3745
3746 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3747 array with long long.
3748 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3749 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3750 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3751 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3752 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3753 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3754 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3755 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3756 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3757 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3758 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3759 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3760 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3761
2ca85d2b
AB
37622013-10-04 Anton Blanchard <anton@au1.ibm.com>
3763
3764 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3765 (__signbit): Likewise. Correct for little-endian.
3766 (__signbitl): Call __signbit.
3767 (lrint): Correct for little-endian.
3768 (lrintf): Call lrint.
3769
62a728ae
AM
37702013-10-04 Alan Modra <amodra@gmail.com>
3771
3772 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3773 union 32-bit int array member with 64-bit int array.
3774 (t515, tm256): Double rather than long double.
3775 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3776
32c301df
AM
37772013-10-04 Alan Modra <amodra@gmail.com>
3778
3779 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3780 Delete.
3781 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3782 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3783 version of math_ldbl.h.
3784
650ef4bd
AM
37852013-10-04 Alan Modra <amodra@gmail.com>
3786
3787 [BZ #15734], [BZ #15735]
3788 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3789 all uses of ieee875 long double macros and unions. Simplify test
3790 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3791 ldbl_extract_mantissa value for ix,iy exponents. Properly
3792 normalize after ldbl_extract_mantissa, and don't add hidden bit
3793 already handled. Don't treat low word of ieee854 mantissa like
3794 low word of IBM long double and mask off bit when testing for
3795 zero.
3796 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3797 all uses of ieee875 long double macros and unions. Simplify tests
3798 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3799 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3800 two1022, instead use their values. Recognise that tests for large
3801 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3802 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3803 Rewrite all uses of ieee875 long double macros and unions. Simplify
3804 test for 0.0L and nan. Correct negation.
3805 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3806 ieee875 long double macros and unions. Correct output for large
3807 magnitude x. Correct absolute value calculation.
3808 (__erfcl): Likewise.
3809 * math/libm-test.inc: Add tests for errors discovered in IBM long
3810 double versions of fmodl, remainderl, erfl and erfcl.
3811
765714ca
AM
38122013-10-04 Alan Modra <amodra@gmail.com>
3813
3814 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3815 all uses of ieee854 long double macros and unions. Simplify tests
3816 for long doubles that are fully specified by the high double.
3817 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3818 Likewise.
3819 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3820 Remove dead code too.
3821 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3822 (__ieee754_ynl): Likewise.
3823 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3824 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3825 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3826 Remove dead code too.
3827 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3828 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3829 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3830 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3831 Simplify.
3832 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3833 Simplify.
3834 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3835 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3836 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3837 Comment on variable precision.
3838 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3839 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3840 Likewise.
3841 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3842 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3843 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3844 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3845 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3846
4ebd120c
AM
38472013-10-04 Alan Modra <amodra@gmail.com>
3848
3849 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3850 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3851 all uses of ieee854 long double macros and unions.
3852 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3853 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3854 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3855 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3856 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3857 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3858 Likewise.
3859 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3860 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3861 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3862 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3863 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3864 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3865 Simplify sign and nan test too.
3866 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3867 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3868 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3869 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3870 Likewise.
3871 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3872 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3873 Likewise.
3874 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3875 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3876 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3877 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3878 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3879 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3880
1b6adf88
AM
38812013-10-04 Alan Modra <amodra@gmail.com>
3882
3883 * stdio-common/printf_size.c (__printf_size): Don't use
3884 union ieee854_long_double in fpnum union.
3885 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3886 signbit macro to retrieve sign from long double.
3887 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3888 retrieve sign from long double.
3889 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3890 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3891 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3892 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3893 * math/test-misc.c (main): Don't use union ieee854_long_double.
3894
4cf69995
AM
38952013-10-04 Alan Modra <amodra@gmail.com>
3896
3897 [BZ #15680]
3898 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3899 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3900 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3901 calculation. Remove unnecessary test for denormal exponent.
3902 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3903 Correct handling of denormals. Avoid undefined shift behaviour.
3904 Correct normalisation of low mantissa when low double is denormal.
3905 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3906 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3907 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3908 Correct normalisation of low mantissa. Test for overflow of high
3909 mantissa and normalise.
3910 (ldbl_nearbyint): Use more readable constant for two52.
3911 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3912 (__mpn_construct_long_double): Fix test for overflow of high
3913 mantissa and correct normalisation. Avoid undefined shift.
3914
9605ca6c
AM
39152013-10-04 Alan Modra <amodra@gmail.com>
3916
3917 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3918 (union ibm_extended_long_double): Define as an array of ieee754_double.
3919 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3920 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3921 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3922 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3923 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3924 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3925 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3926 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3927 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3928 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3929 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3930
975569d0
JM
39312013-10-03 Joseph Myers <joseph@codesourcery.com>
3932
d3d23756
JM
3933 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3934 page size instead of calling getpagesize.
3935
975569d0
JM
3936 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3937 (LOCFILE_ALIGN_MASK): Likewise.
3938 (LOCFILE_ALIGN_UP): Likewise.
3939 (LOCFILE_ALIGNED_P): Likewise.
3940 * locale/programs/ld-collate.c (collate_output): Use the new
3941 macros instead of __alignof__ (int32_t).
3942 * locale/weight.h (findidx): Likewise.
3943
b1fe1f2b
OB
39442013-10-03 Ondřej Bílka <neleai@seznam.cz>
3945
3946 [BZ #431]
3947 * manual/string.texi: Fix strncat and wcsncat.
3948
5f855e35
BM
39492013-10-03 Brooks Moses <bmoses@google.com>
3950
3951 [BZ #15915]
3952 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3953 * Makerules: ...here, and adjust associated comments.
3954
3cef6009
WN
39552013-10-02 Will Newton <will.newton@linaro.org>
3956
3957 * malloc/Makefile: Add tst-pvalloc.
3958 * malloc/tst-pvalloc.c: New file.
3959
7815420b
WN
39602013-10-02 Will Newton <will.newton@linaro.org>
3961
3962 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3963 improve test coverage.
3964
4868b204
WN
39652013-10-02 Will Newton <will.newton@linaro.org>
3966
3967 * malloc/Makefile: Add tst-posix_memalign.
3968 * malloc/tst-posix_memalign.c: New file.
3969
29c793b3
EB
39702013-10-01 Eric Blake <eblake@redhat.com>
3971
3972 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3973 Use __THROWNL rather than __THROW on static functions.
3974
fd967522
PM
39752013-09-30 Petr Machata <pmachata@redhat.com>
3976
3977 * elf/elf.h (R_AARCH64_ABS16): New macro.
3978 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3979 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3980 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3981 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3982 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3983 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3984 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3985 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3986 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3987 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3988 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3989 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3990 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3991 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3992 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3993 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3994 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3995 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3996 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3997 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3998 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3999 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4000 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4001 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4002 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4003 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4004 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4005 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4006 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4007 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4008 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4009 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4010 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4011 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4012 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4013 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4014 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4015 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4016 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4017 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4018 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4019 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4020 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4021 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4022 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4023 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4024 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4025 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4026 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4027 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4028 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4029 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4030 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4031 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4032 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4033 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4034 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4035 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4036 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4037 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4038 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4039 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4040 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4041 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4042 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4043 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4044 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4045 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4046 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4047 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4048 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4049 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4050 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4051 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4052 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4053 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4054 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4055 (R_AARCH64_TLSDESC_LDR): Likewise.
4056 (R_AARCH64_TLSDESC_ADD): Likewise.
4057 (R_AARCH64_TLSDESC_CALL): Likewise.
4058
b2179107
AS
40592013-09-30 Andreas Schwab <schwab@suse.de>
4060
4061 [BZ #15048]
4062 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4063 the nss database lookup.
4064 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4066
47f28d0a
MF
40672013-09-28 Mike Frysinger <vapier@gentoo.org>
4068
4069 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4070
40712013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
4072
4073 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4074 ${Bash-specific parameter/pattern/string} parameter expansion.
4075 * sysdeps/unix/make-syscalls.sh: Likewise.
4076
f4518a17
KK
40772013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4078
4079 * sysdeps/sh/stackguard-macros.h: New file.
4080
dc1a95c7
OB
40812013-09-26 Ondřej Bílka <neleai@seznam.cz>
4082
4083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4084 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4085 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4086 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4087 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4088 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4089
5ebbff8f
AZ
40902013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4091
4092 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4093 Fix thread ID register.
4094
4fd2cf9f
JM
40952013-09-25 Joseph Myers <joseph@codesourcery.com>
4096
4097 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4098 [POSIX || UNIX98]: Require rather than permitting all symbols from
4099 <time.h>.
4100 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4101 element of struct sched_param.
4102 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4103 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4104 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4105 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4106 constant.
4107
12c22bc4
OL
41082013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4109
4110 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4111 argument calculation.
4112
a03d8ea7
JM
41132013-09-24 Joseph Myers <joseph@codesourcery.com>
4114
4115 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4116 Expect macro.
4117 [POSIX] (pthread_attr_t): Do not require type.
4118 [POSIX] (pthread_cond_t): Likewise.
4119 [POSIX] (pthread_condattr_t): Likewise.
4120 [POSIX] (pthread_key_t): Likewise.
4121 [POSIX] (pthread_mutex_t): Likewise.
4122 [POSIX] (pthread_mutexattr_t): Likewise.
4123 [POSIX] (pthread_once_t): Likewise.
4124 [POSIX] (pthread_t): Likewise.
4125 [POSIX-based standards] (pthread_atfork): Expect function.
4126
6055173a
JM
41272013-09-24 Joseph Myers <joseph@codesourcery.com>
4128 Richard Sandiford <richard@codesourcery.com>
4129
4130 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4131 (swap_endianness_p): New extern variable.
4132 (set_big_endian): New inline function.
4133 (maybe_swap_uint32): Likewise.
4134 (maybe_swap_uint32_array): Likewise.
4135 (maybe_swap_uint32_obstack): Likewise.
4136 * locale/programs/locfile.c: Include <stdbool.h>.
4137 (swap_endianness_p): New variable.
4138 (add_locale_uint32): Call maybe_swap_uint32.
4139 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4140 (write_locale_data): Call maybe_swap_uint32_array.
4141 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4142 maybe_swap_uint32.
4143 (obstack_int32_grow_fast): Likewise.
4144 (output_weightwc): Call maybe_swap_uint32_obstack.
4145 (collate_output): Likewise.
4146 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4147 (OPT_LITTLE_ENDIAN): Likewise.
4148 (options): Add --little-endian and --big-endian options.
4149 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4150 * locale/programs/locarchive.c: Include "locfile.h".
4151 (GET): New macro.
4152 (SET): Likewise.
4153 (INC): Likewise.
4154 (create_archive): Use the new macros to access fields of
4155 structures directly mapped from or written to locale archives.
4156 (oldlocrecentcmp): Likewise.
4157 (enlarge_archive): Likewise.
4158 (insert_name): Likewise.
4159 (add_alias): Likewise.
4160 (add_locale): Likewise.
4161 (delete_locales_from_archive): Likewise.
4162 (show_archive_content): Likewise.
4163 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4164 locale data.
4165
39bf0bb4
RM
41662013-09-24 Roland McGrath <roland@hack.frob.com>
4167
4168 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4169 http://www.gnu.org/doc/freemanuals.texi.
4170 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4171
f02eed10
WN
41722013-09-24 Will Newton <will.newton@linaro.org>
4173
4174 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4175 macro.
4176
a3a6c312
JM
41772013-09-23 Joseph Myers <joseph@codesourcery.com>
4178
4179 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4180 unsigned char.
4181
107375ac
MR
41822013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4183
4184 * manual/threads.texi (POSIX Threads): Fix a typo.
4185
141f3a77
SP
41862013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4187
303e567a
SP
4188 [BZ #14547]
4189 * string/tst-strcoll-overflow.c: New test case.
4190 * string/Makefile (xtests): Add tst-strcoll-overflow.
4191 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4192 cache if string sizes may cause integer overflow.
4193
141f3a77
SP
4194 [BZ #14547]
4195 * string/strcoll_l.c (coll_seq): New members rule, idx,
4196 save_idx and back_us.
4197 (get_next_seq_nocache): New function.
4198 (do_compare_nocache): New function.
4199 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4200 when malloc fails.
4201
c61b4d41
CD
42022013-09-23 Carlos O'Donell <carlos@redhat.com>
4203
0b1f8e35
CD
4204 [BZ #15754]
4205 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4206 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4207 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4208
c61b4d41
CD
4209 [BZ #15754]
4210 * elf/Makefile (tests): Add tst-ptrguard1.
4211 (tests-static): Add tst-ptrguard1-static.
4212 (tst-ptrguard1-ARGS): Define.
4213 (tst-ptrguard1-static-ARGS): Define.
4214 * elf/tst-ptrguard1.c: New file.
4215 * elf/tst-ptrguard1-static.c: New file.
4216 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4217 * sysdeps/i386/stackguard-macros.h: Likewise.
4218 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4219 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4220 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4221 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4222 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4223 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4224
42252013-09-23 Hector Marco <hecmargi@upv.es>
4226 Ismael Ripoll <iripoll@disca.upv.es>
4227 Carlos O'Donell <carlos@redhat.com>
4228
4229 [BZ #15754]
4230 * sysdeps/generic/stackguard-macros.h: Define
4231 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4232 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4233 Define __pointer_chk_guard_local.
4234 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4235 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4236
f5f4e7b4
VV
42372013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4238
4239 [BZ #15859]
4240 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4241
5bb43a43
AS
42422013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4243
4244 * include/string.h (__ffs): Declare as hidden.
4245 * string/ffs.c (__ffs): Define as hidden.
4246 * sysdeps/i386/ffs.c (__ffs): Likewise.
4247 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4248 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4249 * sysdeps/s390/ffs.c (__ffs): Likewise.
4250 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4251
3ea5be54
AO
42522013-09-20 Alexandre Oliva <aoliva@redhat.com>
4253
ffb89e53
AO
4254 * NEWS: Mention malloc probes.
4255
322dea08
AO
4256 * malloc/arena.c (new_heap): New memory_heap_new probe.
4257 (grow_heap): New memory_heap_more probe.
4258 (shrink_heap): New memory_heap_less probe.
4259 (heap_trim): New memory_heap_free probe.
4260 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4261 (systrim): New memory_sbrk_less probe.
4262 * manual/probes.texi: Document them.
4263
655673f3
AO
4264 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4265 * manual/probes.texi: Document it.
4266
35fed6f1
AO
4267 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4268 (__libc_realloc): Add memory_realloc_retry probe.
4269 (__libc_memalign): Add memory_memalign_retry probe.
4270 (__libc_valloc): Add memory_valloc_retry probe.
4271 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4272 (__libc_calloc): Add memory_calloc_retry probe.
4273 * manual/probes.texi: Document them.
4274
6999d38c
AO
4275 * malloc/arena.c (get_free_list): Add probe
4276 memory_arena_reuse_free_list.
4277 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4278 and memory_arena_reuse.
4279 (arena_get2) [!PER_THREAD]: Likewise.
4280 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4281 memory_arena_reuse_realloc.
4282 * manual/probes.texi: Document them.
4283
0653427f
AO
4284 * malloc/malloc.c (__libc_free): Add
4285 memory_mallopt_free_dyn_thresholds probe.
4286 (__libc_mallopt): Add multiple memory_mallopt probes.
4287 * manual/probes.texi: Document them.
4288
3ea5be54
AO
4289 * malloc/malloc.c: Include stap-probe.h.
4290 (__libc_mallopt): Add memory_mallopt probe.
4291 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4292 * manual/probes.texi: New.
4293 * manual/Makefile (chapters): Add probes.
4294 * manual/threads.texi: Set next node.
4295
e35696c3 42962013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 4297
e35696c3
CL
4298 [BZ #15963, #13985]
4299 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4300 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4301 Add `Chinese' to `nan' entry name.
4302
4aafb73c
SP
43032013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4304
4305 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4306 (POLYNOMIAL): Likewise.
4307 (TAYLOR_SINCOS): Likewise.
4308 (TAYLOR_SLOW): Likewise.
4309 (__sin): Use TAYLOR_SINCOS.
4310 (__cos): Likewise.
4311 (slow): Use TAYLOR_SLOW.
4312 (sloww): Likewise.
4313 (bsloww): Likewise.
4314 (csloww): Likewise.
4315
d84f25c7
LD
43162013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4317
4318 * stdlib/strtod_l.c: Fix buffer overrun.
4319
5eea0404
SP
43202013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4321
7849ff93
SP
4322 * benchtests/Makefile (bench): Add sincos.
4323 * benchtests/bench-sincos.c: New file.
4324
cfa3c886
SP
4325 * math/libm-test.inc (cos_test_data): New test inputs.
4326 (sin_test_data): Likewise.
4327
b348e1e3
SP
4328 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4329 macro.
4330 (__sin): Use it.
4331 (__cos): Likewise.
4332 (slow1): Likewise.
4333 (slow2): Likewise.
4334 (sloww1): Likewise.
4335 (sloww2): Likewise.
4336 (bsloww1): Likewise.
4337 (bsloww2): Likewise.
4338 (cslow2): Likewise.
4339 (csloww1): Likewise.
4340 (csloww2): Likewise.
4341
6cce25f8
SP
4342 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4343 function.
4344 (__sin): Use it.
4345 (__cos): Likewise.
4346
5eea0404
SP
4347 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4348 gotos.
4349 (__cos): Likewise.
4350
9c21573c
MR
43512013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4352
4353 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4354 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4355 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4356 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4357 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4358 * elf/cache.c (print_entry): Handle the new cache flags.
4359
24d22e65
JM
43602013-09-18 Joseph Myers <joseph@codesourcery.com>
4361 Aldy Hernandez <aldyh@redhat.com>
4362
4363 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4364 Change condition to [_SOFT_FLOAT].
4365 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4366 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4367 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4368 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4373 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4374 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4377 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4378 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4379 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4380 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4381 declaration.
4382
d13ef066
JM
43832013-09-18 Joseph Myers <joseph@codesourcery.com>
4384
2e071de0
JM
4385 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4386 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4387 (__longjmp): Use LOAD_GP to load saved GPRs.
4388 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4389 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4390 (__sigsetjmp): Use SAVE_GP to save GPRs.
4391
d13ef066
JM
4392 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4393 Do not append -msoft-float.
4394 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4395
97a0650b
SP
43962013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4397
4398 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4399
11ca09e9
JM
44002013-09-17 Joseph Myers <joseph@codesourcery.com>
4401
4402 [BZ #15966]
4403 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4404 (_FPU_GETCW): Use initial "__" on variable and field names but not
4405 on macro parameter name.
4406 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4407 parentheses around reference to macro parameter.
4408
08ffcf34
RS
44092013-09-13 Richard Sandiford <richard@codesourcery.com>
4410
4411 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4412 prototype.
4413 (ctype_startup): Use uint32_t in cast and sizeof for
4414 ctype->charnames.
4415
ae7080d3
JL
44162013-09-11 Jia Liu <proljc@gmail.com>
4417
4418 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4419 __daddr_t_defined.
4420 [__FreeBSD__]: Likewise.
4421
5905e7b3
OB
44222013-09-11 Ondřej Bílka <neleai@seznam.cz>
4423
4424 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4425 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4426 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4427 (strchr): Remove __strchr_sse42 ifunc selection.
4428 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4429 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4430
b987c776
WN
44312013-09-11 Will Newton <will.newton@linaro.org>
4432
4433 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4434 parameter to RES. Remove hardcoded 1000 value.
4435 * benchtests/bench-skeleton.c (main): Pass RES parameter
4436 to TIMING_INIT and multiply result by 1000.
4437
ddf985af
AZ
44382013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4439
4440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4441
ffdd3181
AS
44422013-09-11 Andreas Schwab <schwab@suse.de>
4443
4444 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4445 if not defined.
4446 (O_TMPFILE) [__USE_GNU]: Define.
4447 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4448 Define.
4449
b73ed247
WN
44502013-09-11 Will Newton <will.newton@linaro.org>
4451
4452 [BZ #15857]
4453 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4454 does not overflow.
4455
55e17aad
WN
44562013-09-11 Will Newton <will.newton@linaro.org>
4457
4458 [BZ #15856]
4459 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4460 does not overflow.
4461
1159a193
WN
44622013-09-11 Will Newton <will.newton@linaro.org>
4463
4464 [BZ #15855]
4465 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4466 does not overflow.
4467
5905e7b3 44682013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
4469
4470 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4471 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4472 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4473 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4474 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4475
cdfc721b
AM
44762013-09-10 Allan McRae <allan@archlinux.org>
4477
aa04af00
AM
4478 [BZ #15748]
4479 * manual/arith.texi (Parsing of Floats): Clarify
4480 cross-reference.
4481
cdfc721b
AM
4482 [BZ #15849]
4483 * manual/install.texi (Running make install): Mention
4484 --enable-pt-chown.
4485 * INSTALL: Regenerated.
4486
95e7cf29
MR
44872013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4488
4489 * csu/init-first.c (_init): Remove the !SHARED condition around
4490 FPU control word initialization.
4491 * elf/dl-support.c (_dl_fpu_control): New variable.
4492 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4493 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4494 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4495 * math/test-fpucw-static.c: New file.
4496 * math/test-fpucw-ieee.c: New file.
4497 * math/test-fpucw-ieee-static.c: New file.
4498 * math/Makefile (tests): Add `test-fpucw-ieee' and
4499 `$(tests-static)'.
4500 (tests-static): New variable.
4501 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4502 dependency to...
4503 [($(build-shared),yes)]
4504 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4505 ... this.
4506 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4507 New dependency.
4508
83e43bf0
AM
45092013-09-09 Allan McRae <allan@archlinux.org>
4510
a9f5ce09
AM
4511 [BZ #15939]
4512 * manual/string.texi (Collation Functions): Fix typo in
4513 strcoll example.
4514 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4515
34829bc2
AM
4516 [BZ #15893]
4517 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4518
3932737d
AM
4519 [BZ #15892]
4520 * libio/memstream.c (open_memstream): Fix memory leak.
4521 * libio/wmemstream.c (open_wmemstream): Likewise.
4522
83e43bf0
AM
4523 [BZ #15895]
4524 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4525
0c66b8e9
WN
45262013-09-09 Will Newton <will.newton@linaro.org>
4527
4528 * malloc/Makefile: Add tst-realloc to tests.
4529 * malloc/tst-realloc.c: New file.
4530
f6b00fd1
AM
45312013-09-09 Allan McRae <allan@archlinux.org>
4532
4533 [BZ #15844]
4534 * COPYING: Update from GNU website to fix FSF address.
4535 * COPYING.LIB: Likewise.
4536
eec55e16
DM
45372013-09-06 David S. Miller <davem@davemloft.net>
4538
4539 * po/zh_TW.po: Update Chinese (traditional) translation from
4540 translation project.
4541
1ecbb381
RS
45422013-09-06 Richard Sandiford <richard@codesourcery.com>
4543 Joseph Myers <joseph@codesourcery.com>
4544
4545 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4546 "localeinfo.h".
4547 (obstack_chunk_alloc): New macro.
4548 (obstack_chunk_free): Likewise.
4549 (record_offset): New function.
4550 (init_locale_data): Likewise.
4551 (align_locale_data): Likewise.
4552 (add_locale_empty): Likewise.
4553 (add_locale_raw_data): Likewise.
4554 (add_locale_raw_obstack): Likewise.
4555 (add_locale_string): Likewise.
4556 (add_locale_wstring): Likewise.
4557 (add_locale_uint32): Likewise.
4558 (add_locale_uint32_array): Likewise.
4559 (add_locale_char): Likewise.
4560 (start_locale_structure): Likewise.
4561 (end_locale_structure): Likewise.
4562 (start_locale_prelude): Likewise.
4563 (end_locale_prelude): Likewise.
4564 (write_locale_data): Take locale_file structure rather than an
4565 iovec.
4566 * locale/programs/locfile.h: Include "obstack.h".
4567 (struct locale_file): Change to store locale file contents instead
4568 of header.
4569 (init_locale_data): New prototype.
4570 (align_locale_data): Likewise.
4571 (add_locale_empty): Likewise.
4572 (add_locale_raw_data): Likewise.
4573 (add_locale_raw_obstack): Likewise.
4574 (add_locale_string): Likewise.
4575 (add_locale_wstring): Likewise.
4576 (add_locale_uint32): Likewise.
4577 (add_locale_uint32_array): Likewise.
4578 (add_locale_char): Likewise.
4579 (start_locale_structure): Likewise.
4580 (end_locale_structure): Likewise.
4581 (start_locale_prelude): Likewise.
4582 (end_locale_prelude): Likewise.
4583 (write_locale_data): Update prototype.
4584 * locale/programs/3level.h (struct TABLE): Remove result field.
4585 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4586 Use new locale_file interface.
4587 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4588 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4589 * locale/programs/ld-address.c (address_output): Use new
4590 locale_file interface.
4591 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4592 NO_ADD_LOCALE.
4593 (collate_finish): Don't call collseq_table_finalize.
4594 (collate_output): Use new locale_file interface.
4595 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4596 in file.
4597 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4598 (TABLE): Move defines earlier in file.
4599 (ELEMENT): Likewise.
4600 (DEFAULT): Likewise.
4601 (wctrans_table_add): Move macro and inline function earlier in
4602 file.
4603 (struct wctype_table): Move type earlier in file.
4604 (add_locale_wctype_table): New static prototype.
4605 (struct locale_ctype_t): Use logical types instead of struct iovec
4606 pointers for members.
4607 (ctype_output): Use new locale_file interface.
4608 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4609 new locale_file interface.
4610 (allocate_arrays): Update for use of new locale_file interface.
4611 * locale/programs/ld-identification.c (identification_output): Use
4612 new locale_file interface.
4613 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4614 * locale/programs/ld-messages.c (messages_output): Likewise.
4615 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4616 * locale/programs/ld-name.c (name_output): Likewise.
4617 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4618 * locale/programs/ld-paper.c (paper_output): Likewise.
4619 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4620 * locale/programs/ld-time.c (time_output): Likewise.
4621
e029e2e5
AZ
46222013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4623
4624 * benchtests/Makefile: Add memrchr benchmark.
4625 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4626 benchmark as memrchr.
4627 * benchtests/bench-memrchr-ifunc.c: New file.
4628 * benchtests/bench-memrchr.c: New file.
4629
bbf6e8e4
WN
46302013-09-06 Will Newton <will.newton@linaro.org>
4631
4632 * benchtests/Makefile (string-bench): Add memcpy.
4633
6c82a2f8
CD
46342013-09-05 Carlos O'Donell <carlos@redhat.com>
4635 Cong Wang <amwang@redhat.com>
4636
4637 * sysdeps/unix/sysv/linux/bits/in.h
4638 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4639 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4640 before __USE_KERNEL_IPV6_DEFS uses.
4641 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4642 IPPROTO_BEETPH.
4643 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4644 sockaddr_in6, or ipv6_mreq.
4645
5430fc65
AZ
46462013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4647
4648 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4649 memory access for final bytes in some large inputs.
4650 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4651
4660856c
AZ
46522013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4653
4654 * string/test-memrchr.c: New file.
4655 * string/test-memrchr-ifunc.c: New file.
4656 * string/Makefile: Add new memrchr testcase.
4657
bb8ea713
MF
46582013-09-05 Mike Frysinger <vapier@gentoo.org>
4659
4660 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4661 fanotify_init returns EPERM.
4662
b92a20b5
JM
46632013-09-04 Joseph Myers <joseph@codesourcery.com>
4664
4665 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4666 errors.
4667 (top level): Treat second token from macro or constant entries for
4668 allowed headers as allowed.
4669 * include/complex.h: Condition internal declarations on
4670 [!_ISOMAC].
4671 * include/fenv.h: Condition include of <stdbool.h> and internal
4672 declarations on [!_ISOMAC].
7447ccd9
CL
4673
46742013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4675
3e181dda 4676 [BZ #15923]
7447ccd9
CL
4677 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4678
3f2e46a4
JM
46792013-09-04 Joseph Myers <joseph@codesourcery.com>
4680
4681 * configure.in (--enable-versioning): Remove configure option.
4682 (libc_cv_asm_symver_directive): Remove configure test.
4683 (libc_cv_ld_version_script_option): Likewise.
4684 (VERSIONING): Remove variable and AC_SUBST.
4685 (DO_VERSIONING): Remove AC_DEFINE.
4686 * configure: Regenerated.
4687 * config.h.in (DO_VERSIONING): Remove macro.
4688 * Makerules [$(versioning) = yes]: Change conditionals to
4689 [$(build-shared) = yes].
4690 * config.make.in (versioning): Remove variable.
4691 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4692 [$(build-shared) = yes].
4693 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4694 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4695 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4696 [$(build-shared) = yes].
4697 * extra-lib.mk [$(versioning) = yes]: Likewise.
4698 * hurd/Makefile [$(versioning) = yes]: Likewise.
4699 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4700 [SHARED].
4701 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4702 [SHARED].
4703 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4704 [SHARED && !NO_HIDDEN].
4705 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4706 [SHARED].
4707 [SHARED && DO_VERSIONING]: Likewise..
4708 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4709 [$(build-shared) = yes].
4710 * manual/install.texi (--disable-versioning): Remove
4711 documentation.
4712 * INSTALL: Regenerated.
4713 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4714 to [SHARED].
4715 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4716 [$(build-shared) = yes].
4717 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4718 * sysdeps/i386/i686/multiarch/strstr-c.c
4719 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4720 [SHARED && !NO_HIDDEN].
4721 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4722 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4723 * sysdeps/powerpc/powerpc32/dl-machine.c
4724 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4725 * sysdeps/powerpc/powerpc32/sysdep.h
4726 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4727 to [SHARED && PIC && !NO_HIDDEN].
4728 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4729 conditional to [SHARED].
4730
44558701
WN
47312013-09-04 Will Newton <will.newton@linaro.org>
4732
4733 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4734 * benchtests/bench-string.h: Include bench-timing.h instead
4735 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4736 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4737 call to HP_TIMING_DIFF_INIT.
4738 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4739 instead of hp-timing.h macros.
4740 * benchtests/bench-memchr.c: Likewise.
4741 * benchtests/bench-memcmp.c: Likewise.
4742 * benchtests/bench-memcpy.c: Likewise.
4743 * benchtests/bench-memmem.c: Likewise.
4744 * benchtests/bench-memmove.c: Likewise.
4745 * benchtests/bench-memset.c: Likewise.
4746 * benchtests/bench-rawmemchr.c: Likewise.
4747 * benchtests/bench-strcasecmp.c: Likewise.
4748 * benchtests/bench-strcasestr.c: Likewise.
4749 * benchtests/bench-strcat.c: Likewise.
4750 * benchtests/bench-strchr.c: Likewise.
4751 * benchtests/bench-strcmp.c: Likewise.
4752 * benchtests/bench-strcpy.c: Likewise.
4753 * benchtests/bench-strcpy_chk.c: Likewise.
4754 * benchtests/bench-strlen.c: Likewise.
4755 * benchtests/bench-strncasecmp.c: Likewise.
4756 * benchtests/bench-strncat.c: Likewise.
4757 * benchtests/bench-strncmp.c: Likewise.
4758 * benchtests/bench-strncpy.c: Likewise.
4759 * benchtests/bench-strnlen.c: Likewise.
4760 * benchtests/bench-strpbrk.c: Likewise.
4761 * benchtests/bench-strrchr.c: Likewise.
4762 * benchtests/bench-strspn.c: Likewise.
4763 * benchtests/bench-strstr.c: Likewise.
4764
cae16d66
WN
47652013-09-04 Will Newton <will.newton@linaro.org>
4766
4767 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4768
ffa3cd7f
JM
47692013-09-03 Joseph Myers <joseph@codesourcery.com>
4770
4771 [BZ #15427]
4772 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4773 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4774 * math/libm-test.inc (lgamma_test_data): Add more tests.
4775 * sysdeps/i386/fpu/libm-test-ulps: Update.
4776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4777
8f02859f
OB
47782013-09-03 Ondřej Bílka <neleai@seznam.cz>
4779
4780 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4781 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4782 Add ifunc.
4783 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4784 Add strcmp-sse2-unaligned
4785 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4786
18d43716
MF
47872013-09-02 Mike Frysinger <vapier@gentoo.org>
4788
4789 * Versions.def (libc): Add GLIBC_2.19.
4790
ac444012
MF
47912013-09-02 Mike Frysinger <vapier@gentoo.org>
4792
4793 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4794 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4795
b7835e32
JM
47962013-09-02 Joseph Myers <joseph@codesourcery.com>
4797
4798 [BZ #14155]
4799 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4800 intermediate calculations in recurrence.
4801 (__ieee754_ynf): Likewise.
4802 * math/libm-test.inc (jn_test_data): Do not allow spurious
4803 underflow exception. Add more tests.
4804 (yn_test_data): Add more tests.
4805 * sysdeps/i386/fpu/libm-test-ulps: Update.
4806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4807
8220f4f0
OB
48082013-09-02 Ondřej Bílka <neleai@seznam.cz>
4809
4810 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4811
f24a6d08
OB
48122013-08-30 Ondřej Bílka <neleai@seznam.cz>
4813
4814 * csu/init-first.c: Fix then/than typos.
4815 * locale/programs/ld-collate.c: Likewise.
4816 * locale/programs/linereader.h: Likewise.
4817 * manual/charset.texi: Likewise.
4818 * manual/filesys.texi: Likewise.
4819 * manual/stdio.texi: Likewise.
4820 * manual/string.texi: Likewise.
4821 * stdlib/fmtmsg.c: Likewise.
4822 * sysdeps/i386/stpncpy.S: Likewise.
4823 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4824 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4825 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4826 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4827
382466e0
OB
48282013-08-30 Ondřej Bílka <neleai@seznam.cz>
4829
4830 * elf/dl-open.c: Fix typos.
4831 * iconvdata/gbbig5.c: Likewise.
4832 * iconvdata/iso-2022-jp.c: Likewise.
4833 * iconv/gconv_int.h: Likewise.
4834 * iconv/loop.c: Likewise.
4835 * nis/rpcsvc/nis.h: Likewise.
4836 * resolv/ns_name.c: Likewise.
4837 * stdio-common/vfscanf.c: Likewise.
4838 * streams/stropts.h: Likewise.
4839 * sunrpc/rpc_thread.c: Likewise.
4840 * sysdeps/i386/strpbrk.S: Likewise.
4841 * sysdeps/ieee754/k_standard.c: Likewise.
4842 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4843 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4844 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4845 * sysdeps/mach/hurd/profil.c: Likewise.
4846 * sysdeps/s390/dl-procinfo.h: Likewise.
4847 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4848 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4849 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4850 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4851 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4852
0186c6e9
OB
48532013-08-30 Ondřej Bílka <neleai@seznam.cz>
4854
4855 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4856 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4857
d4e16af1
OB
48582013-08-29 Ondřej Bílka <neleai@seznam.cz>
4859
4860 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4861 aix specific files.
4862 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4863 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4864 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4865 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4866 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4867 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4868 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4869 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4870
88335980
TS
48712013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4872 Roland McGrath <roland@hack.frob.com>
4873
4874 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4875 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4876
ed479b02
ST
48772013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4878
4879 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4880 __executable_start symbol instead of _start.
4881
f1cc4c86
TS
48822013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4883
d821f07c
TS
4884 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4885 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4886 Move macros to...
4887 * sysdeps/gnu/ldsodefs.h: ... this new file.
4888
c54290cf
TS
4889 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4890 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4891 instead of ELFOSABI_LINUX.
4892
0007fc9b 4893 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
4894 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4895 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4896 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4897 Likewise.
4898 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4899 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4900 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4901 Likewise.
4902 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4903 (ibm_extended_long_double): Add ieee_nan member.
4904 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4905 (do_test): New function.
4906
f1cc4c86
TS
4907 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4908 TEST_TRUNC.
4909 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4910 functions, renamed from truncdfsf_test, trunctfsf_test,
4911 trunctfdf_test.
4912 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4913 functions.
4914 (do_test): Run all these.
4915
6f65e668
OB
49162013-08-29 Ondřej Bílka <neleai@seznam.cz>
4917
4918 * argp/argp-help.c: Fix typos.
4919 * argp/argp-parse.c: Likewise.
4920 * debug/backtracesyms.c: Likewise.
4921 * elf/elf.h: Likewise.
4922 * malloc/malloc.c: Likewise.
4923 * nis/nis_print.c: Likewise.
4924 * resolv/res_comp.c: Likewise.
4925 * stdlib/stdlib.h: Likewise.
4926 * sunrpc/clnt_tcp.c: Likewise.
4927 * sunrpc/clnt_udp.c: Likewise.
4928 * sunrpc/clnt_unix.c: Likewise.
4929 * sysdeps/unix/bsd/ptsname.c: Likewise.
4930 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4931 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
4932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4933 Likewise.
4934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4935 Likewise.
4936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4937 Likewise.
6f65e668
OB
4938 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4939
3a309239
SP
49402013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4941
4942 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4944
3b813b29
MF
49452013-08-27 Mike Frysinger <vapier@gentoo.org>
4946
4947 [BZ #15897]
4948 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4949 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4950 ($(objpfx)bug-dl-leaf): New rule.
4951 ($(objpfx)bug-dl-leaf.so): Likewise.
4952 ($(objpfx)bug-dl-leaf.out): Likewise.
4953 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4954 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4955 * dlfcn/bug-dl-leaf.c: New test.
4956 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4957 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4958 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4959 (dlclose): Likewise.
4960 (dlmopen): Likewise.
4961
8cc3269f
RM
49622013-08-27 Roland McGrath <roland@hack.frob.com>
4963
7f9d0034
RM
4964 * include/netdb.h [!_ISOMAC]:
4965 Don't include <tls.h>.
4966 (h_errno, __libc_h_errno): Move declaration and macros out of
4967 [_LIBC_REENTRANT].
4968
fb431262
RM
4969 * include/resolv.h [_RESOLV_H_]:
4970 Don't include <tls.h>.
4971 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4972 * resolv/res_libc.c: Don't include <tls.h>.
4973 (_res): Use __attribute__ ((nocommon)) in place of
4974 __attribute__ ((section (".bss"))).
4975
bd81123a
RM
4976 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4977 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4978
c4e42566
RM
4979 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4980
f890a59b
RM
4981 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4982 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4983
4984 * resolv/res_mkquery.c: Include <sys/time.h>.
4985
5d1f0a09
RM
4986 * inet/ifreq.c: Moved to ...
4987 * sysdeps/unix/ifreq.c: ... here.
4988 * inet/ifreq.c: New file, true stub version.
4989
6fcf28b3
RM
4990 * socket/sa_len.c: New file.
4991 * socket/Makefile (aux): Add it.
4992 * sysdeps/unix/sysv/linux/Makefile
4993 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4994 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4995 and #include <socket/sa_len.c>.
4996 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4997 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4998
e041fb8b
RM
4999 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5000 * bits/socket.h: ... here.
5001
8cc3269f
RM
5002 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5003 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5004 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5005
5d228a43
AS
50062013-08-27 Andreas Schwab <schwab@suse.de>
5007
45b8accc
AS
5008 [BZ #15736]
5009 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5010 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5011 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5012 * string/test-strcasecmp.c (test_main): Run tests in several
5013 locales.
5014 * string/test-strncasecmp.c (test_main): Likewise.
5015
5d228a43
AS
5016 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5017 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5018 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5019 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5020 (__strncasecmp_ssse3) [PIC]: Likewise.
5021
59d112a4
RM
50222013-08-26 Roland McGrath <roland@hack.frob.com>
5023
53234cc3
RM
5024 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5025
59d112a4
RM
5026 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5027 instead of explicitly declaring xdecrypt.
5028 * nis/nss_nis/nis-publickey.c: Likewise.
5029
595aba70
SP
50302013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5031
5032 [BZ #15890]
5033 * nscd/aicache.c: Include res_hconf.h.
5034 (addhstaiX): Initialize res_hconf.
5035
ffabd393
AS
50362013-08-26 Andreas Schwab <schwab@suse.de>
5037
5038 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5039 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5040
e0a69f5c
SP
50412013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5042
5043 * nscd/aicache.c (addhstaiX): Fix indentation.
5044
8c12f01d
MF
50452013-08-25 Mike Frysinger <vapier@gentoo.org>
5046
5047 * configure.ac: Quote $build_pt_chown test.
5048 * configure: Regenerated.
5049
8fe89494
JM
50502013-08-23 Joseph Myers <joseph@codesourcery.com>
5051
5052 [BZ #15532]
5053 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5054 * math/s_cexpf.c (__cexpf): Likewise.
5055 * math/s_cexpl.c (__cexpl): Likewise.
5056 * math/libm-test.inc (cexp_test_data): Correct expected return
5057 value for NaN + i0. Add another test.
5058
75b181d6
DM
50592013-08-22 David S. Miller <davem@davemloft.net>
5060
5061 * po/ca.po: Update Catalan translation from translation project.
936241e4 5062 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 5063
acd06bb1
JM
50642013-08-21 Joseph Myers <joseph@codesourcery.com>
5065
5066 [BZ #15797]
5067 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5068 is infinite, not alongside NaN test.
5069 * math/s_fdimf.c (__fdimf): Likewise.
5070 * math/s_fdiml.c (__fdiml): Likewise.
5071 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5072 errno is unchanged.
5073
c0c3f78a
OB
50742013-08-21 Ondřej Bílka <neleai@seznam.cz>
5075
5076 * argp/argp-help.c: Fix typos.
5077 * crypt/speeds.c: Likewise.
5078 * csu/check_fds.c: Likewise.
5079 * elf/dl-load.c: Likewise.
5080 * elf/dl-open.c: Likewise.
5081 * elf/reldep3.c: Likewise.
5082 * elf/reldep.c: Likewise.
5083 * elf/sprof.c: Likewise.
5084 * iconv/iconv_charmap.c: Likewise.
5085 * iconv/skeleton.c: Likewise.
5086 * iconv/strtab.c: Likewise.
5087 * io/lockf64.c: Likewise.
5088 * libio/libioP.h: Likewise.
5089 * resolv/gai_notify.c: Likewise.
5090 * resolv/ns_name.c: Likewise.
5091 * resolv/ns_samedomain.c: Likewise.
5092 * resolv/res_send.c: Likewise.
5093 * stdlib/random.c: Likewise.
5094 * sunrpc/rpc/xdr.h: Likewise.
5095 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5096 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5097 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5098 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5099 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5100 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5101 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5102 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5103 * sysdeps/mach/hurd/check_fds.c: Likewise.
5104 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5105 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5106 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5107 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5108 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5109 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5110 * sysdeps/pthread/aio_notify.c: Likewise.
5111 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5112 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5113 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5114 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5115 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5116
46ed1038
LD
51172013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5118
5119 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5120 version if bit_Slow_SSE4_2 is set.
5121 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5122 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5123
d400dcac
AZ
51242013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5125
5126 [BZ #15867]
5127 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5128 trampoline stack frame information.
5129 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5130 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5131 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5132 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5133 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5134 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5135 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5136 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5137 sa_flags value.
5138 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5139 interrupting a syscall and set with option SA_SIGINFO.
5140
42c8fdd8
JM
51412013-08-20 Joseph Myers <joseph@codesourcery.com>
5142
c980f2f4
JM
5143 [BZ #15531]
5144 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5145 argument is infinite.
5146 * math/s_cprojf.c (__cprojf): Likewise.
5147 * math/s_cprojl.c (__cprojl): Likewise.
5148 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5149 * math/libm-test.inc (cproj_test_data): Add more tests.
5150
0716c4fc
JM
5151 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5152
42c8fdd8
JM
5153 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5154 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5155 size. Use __ffs to determine corresponding shift.
5156
b31469d0
JM
51572013-08-20 Joseph Myers <joseph@codesourcery.com>
5158 Roland McGrath <roland@hack.frob.com>
5159
5160 * Makefile (INSTALL): Remove trailing blank lines from output of
5161 makeinfo.
5162
4e39af6e
AK
51632013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5164
5165 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5166 Align 32 bit compat elf_greg to 8 bytes.
5167
f315524e
AA
51682013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5169
5170 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5171
1326ba1a
SP
51722013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5173
5174 * string/strcoll_l.c (coll_seq): New structure.
5175 (get_next_seq_cached): New function.
5176 (get_next_seq): New function.
5177 (do_compare): New function.
5178 (STRCOLL): Use GNU style definition. Simplify implementation
5179 by using get_next_seq, get_next_seq_cached and do_compare.
5180
91ce4085
FW
51812013-08-16 Florian Weimer <fweimer@redhat.com>
5182
5183 [BZ #14699]
5184 CVE-2013-4237
5185 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5186 member.
5187 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5188 member.
5189 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5190 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5191 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5192 conditional.
5193 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5194 GETDENTS_64BIT_ALIGNED.
5195 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5196 * manual/filesys.texi (Reading/Closing Directory): Document
5197 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5198 strongly.
5199 * manual/conf.texi (Limits for Files): Add portability note to
5200 NAME_MAX, PATH_MAX.
5201 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5202
ca0a6bc4
AS
52032013-08-13 Andreas Schwab <schwab@suse.de>
5204
5205 [BZ #15749]
5206 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5207 of fabs.
5208 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5209 LDBL_MAX_EXP >= 16384]: Add tests for it.
5210
6c1fd795
DM
52112013-08-12 David S. Miller <davem@davemloft.net>
5212
5213 * version.h (RELEASE): Set to "development".
5214 (VERSION): Set to "2.18.90".
5215 * NEWS: Add 2.19 section.
5216
31ad488d
DM
52172013-08-03 David S. Miller <davem@davemloft.net>
5218
5219 * po/ko.po: Update Korean translation from translation project.
5220
db24e684
DM
52212013-08-01 David S. Miller <davem@davemloft.net>
5222
5223 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5224 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5225 Bilka.
5226
f723285b
DM
52272013-07-30 David S. Miller <davem@davemloft.net>
5228
5229 * po/fr.po: Update French translation from translation project.
5230
3cbc52db
DM
52312013-07-28 David S. Miller <davem@davemloft.net>
5232
30bbc0cc
DM
5233 * po/cs.po: Update Czech translation from translation project.
5234
3cbc52db
DM
5235 * po/sv.po: Update Swedish translation from translation project.
5236
d492e6d0
DM
52372013-07-27 David S. Miller <davem@davemloft.net>
5238
f1a7f492
DM
5239 * po/eo.po: Update Esperanto translation from translation project.
5240
90e62a4a
DM
5241 * po/vi.po: Update Vietnamese translation from translation project.
5242
d492e6d0
DM
5243 * po/de.po: Update German translation from translation project.
5244
d4baa62d
DM
52452013-07-26 David S. Miller <davem@davemloft.net>
5246
641aa7b4
DM
5247 * po/bg.po: Update Bulgarian translation from translation project.
5248
d4baa62d
DM
5249 * po/nl.po: Update Dutch translation from translation project.
5250 * po/pl.po: Update Polish translation from translation project.
5251 * po/ru.po: Update Russian translation from translation project.
5252
61a9dcb9
DM
52532013-07-24 David S. Miller <davem@davemloft.net>
5254
5255 * po/libc.pot: Update.
5256
7b1f8b58
AZ
52572013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5258
5259 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5260 variable page size.
5261 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5262 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5263 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5264
a8fc7a03
AK
52652013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5266
5267 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5268
e4608715
CD
52692013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5270 Andreas Schwab <schwab@suse.de>
5271 Roland McGrath <roland@hack.frob.com>
5272 Joseph Myers <joseph@codesourcery.com>
5273 Carlos O'Donell <carlos@redhat.com>
5274
5275 [BZ #15755]
5276 * config.h.in: Define HAVE_PT_CHOWN.
5277 * config.make.in (build-pt-chown): New variable.
5278 * configure.in (--enable-pt_chown): New configure option.
5279 * configure: Regenerate.
5280 * login/Makefile: Include Makeconfig. Build pt_chown only if
5281 build-pt-chown is enabled.
5282 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5283 pt_chown to fix pty ownership.
5284 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5285 CLOSE_ALL_FDS.
5286 * manual/install.texi (Configuring and compiling): Mention
5287 --enable-pt_chown. Add @findex for grantpt.
5288 * INSTALL: Regenerate.
5289
da2d62df
DM
52902013-07-20 David S. Miller <davem@davemloft.net>
5291
5292 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5293 difference between 32-bit and 64-bit.
5294
d7e06450
CD
52952013-07-15 Carlos O'Donell <carlos@redhat.com>
5296
5297 [BZ #15711]
5298 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5299 Avoid system header dependency with -ffreestanding.
5300 ($(objpfx)bits/syscall%d): Likewise.
5301
f959cfd7
DM
53022013-07-13 David S. Miller <davem@davemloft.net>
5303
5304 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5305 underflows from atanl/atan2l due to bug 15319.
5306 (casinh_test_data): Likewise.
5307
c61f8513
DM
53082013-07-07 David S. Miller <davem@davemloft.net>
5309
5310 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5311
72c90ed0
JA
53122013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5313
5314 * sysdeps/i386/fpu/libm-test-ulps: Update.
5315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5316
52dfbe13
SP
53172013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5318
5319 * configure.in (--enable-lock-elision): Fix message text.
5320 * INSTALL: Regenerate.
5321 * configure: Regenerate.
5322
3f169543
AZ
53232013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5324
5325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5326
521c6785
AJ
53272013-07-03 Andreas Jaeger <aj@suse.de>
5328
5329 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5330 define.
5331 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5332 (ptrace_peeksiginfo_args): Add.
5333 (__ptrace_peeksiginfo_flags): Add.
5334 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5335 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5336 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5337
d2cc15cb
AM
53382013-07-03 Allan McRae <allan@archlinux.org>
5339
5340 * sysdeps/i386/fpu/libm-test-ulps: Update.
5341
3aaeeca7
DM
53422013-07-02 David S. Miller <davem@davemloft.net>
5343
5344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5345
5314ed1a
MT
53462013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5347
5348 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5349
67338156
JM
53502013-07-02 Joseph Myers <joseph@codesourcery.com>
5351
5352 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5354
1717da59
AK
53552013-07-02 Andi Kleen <ak@linux.intel.com>
5356
5357 * config.h.in (ENABLE_LOCK_ELISION): Add.
5358 * configure.in (--enable-lock-elision): Add option.
5359 * manual/install.texi: Document --enable lock elision.
5360 * configure: Regenerate
5361 * INSTALL: Regenerate.
5362
1c81621c
L
53632013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5364
5365 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5366 SSE4.2 strcasecmp for libc.a.
5367 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5368
77f01ab5
JM
53692013-07-02 Joseph Myers <joseph@codesourcery.com>
5370
5371 [BZ #13304]
5372 * soft-fp/op-common.h (_FP_FMA): New macro.
5373 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5374 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5375 (_FP_MUL_MEAT_1_imm): ... here.
5376 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5377 (_FP_MUL_MEAT_1_wide): ... here.
5378 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5379 (_FP_MUL_MEAT_1_hard): ... here.
5380 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5381 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5382 (_FP_MUL_MEAT_2_wide): ... here.
5383 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5384 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5385 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5386 (_FP_MUL_MEAT_2_gmp): ... here.
5387 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5388 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5389 (_FP_MUL_MEAT_4_wide): ... here.
5390 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5391 (_FP_MUL_MEAT_4_gmp): ... here.
5392 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5393 (_FP_WFRACBITS_DW_S): Likewise.
5394 (_FP_WFRACXBITS_DW_S): Likewise.
5395 (_FP_HIGHBIT_DW_S): Likewise.
5396 (FP_FMA_S): Likewise.
5397 (_FP_FRAC_HIGH_DW_S): Likewise.
5398 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5399 (_FP_WFRACBITS_DW_D): Likewise.
5400 (_FP_WFRACXBITS_DW_D): Likewise.
5401 (_FP_HIGHBIT_DW_D): Likewise.
5402 (FP_FMA_D): Likewise.
5403 (_FP_FRAC_HIGH_DW_D): Likewise.
5404 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5405 (_FP_WFRACBITS_DW_E): Likewise.
5406 (_FP_WFRACXBITS_DW_E): Likewise.
5407 (_FP_HIGHBIT_DW_E): Likewise.
5408 (FP_FMA_E): Likewise.
5409 (_FP_FRAC_HIGH_DW_E): Likewise.
5410 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5411 (_FP_WFRACBITS_DW_Q): Likewise.
5412 (_FP_WFRACXBITS_DW_Q): Likewise.
5413 (_FP_HIGHBIT_DW_Q): Likewise.
5414 (FP_FMA_Q): Likewise.
5415 (_FP_FRAC_HIGH_DW_Q): Likewise.
5416 * soft-fp/fmasf4.c: New file.
5417 * soft-fp/fmadf4.c: Likewise.
5418 * soft-fp/fmatf4.c: Likewise.
5419
6308fd9a
LD
54202013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5421
5422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5423 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5424 Silvermont.
5425 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5426 macro.
5427 (index_Slow_SSE4_2): Likewise.
5428 (index_Prefer_PMINUB_for_stringop): Likewise.
5429 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5430 bit_Slow_SSE4_2 is set.
5431 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5432 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5433
89cd9569
RA
54342013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5435
5436 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5437 rtld_global._dl_hwcap2.
5438 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5439 POWER8.
5440 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5441 POWER8 feature descriptions defined in _dl_hwcap2.
5442 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5443 string handling for POWER8 feature bits.
5444 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5445 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5446 _dl_powerpc_cap_flags.
5447 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5448 * sysdeps/powerpc/rtld-global-offsets.sym
5449 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5450 _dl_hwcap2 in the rtld_global_ro structure.
5451
1ae8bfe0
RA
54522013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5453
5454 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5455 hardware capabilities in support of AT_HWCAP2.
5456 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5457 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5458 GLRO(dl_hwcap2).
5459 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5460 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5461 explicitly the unknown a_type display mechanism is used.
5462 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5463 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5464 struct member.
5465 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5466 to macro prototype for AT_HWCAP2 support.
5467 * sysdeps/i386/dl-procinfo.h: Likewise.
5468 * sysdeps/s390/dl-procinfo.h: Likewise.
5469 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5470 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5471 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5472 return -1 for unknown a_type display fallback.
5473 * sysdeps/sparc/dl-procinfo.h: Likewise.
5474 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5475 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5476
8fbec010
JM
54772013-06-28 Joseph Myers <joseph@codesourcery.com>
5478
5479 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5480 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5481
0432680e
PY
54822013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5483
5484 [BZ #12492]
5485 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5486 mprotect making __stack_prot writable.
5487
ce61a2ad
NF
54882013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5489 Joseph Myers <joseph@codesourcery.com>
5490
5491 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5492 as being properly aligned.
5493
f91f1c0f
MR
54942013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5495
3d0f5d0c
MR
5496 * dlfcn/modstatic5.c: New file.
5497 * dlfcn/tststatic5.c: New file.
5498 * dlfcn/Makefile (tests): Add tststatic5.
5499 (tests-static): Likewise.
5500 (modules-names): Add modstatic5.
5501 (tststatic5-ENV): New variable.
5502 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5503
f91f1c0f
MR
5504 [BZ #15022]
5505 * elf/dl-support.c (_dl_main_map): New variable.
5506 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5507 (_dl_nns, _dl_load_adds): Set to 1.
5508 (_dl_initial_searchlist): Refer to _dl_main_map.
5509 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5510 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5511 call to _dl_get_origin.
5512 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5513 around call_map.
5514 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5515 * dlfcn/modstatic3.c: New file.
5516 * dlfcn/tststatic3.c: New file.
5517 * dlfcn/tststatic4.c: New file.
5518 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5519 (tests-static): Likewise.
5520 (modules-names): Add modstatic3.
5521 (tststatic3-ENV, tststatic4-ENV): New variables.
5522 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5523 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5524
cbe7d24b
JM
55252013-06-26 Joseph Myers <joseph@codesourcery.com>
5526
5527 * configure.in (CC): Require GCC version 4.4 or later.
5528 * configure: Regenerated.
5529 * manual/install.texi (Tools for Compilation): Update GCC version
5530 requirement.
5531 * INSTALL: Regenerated.
5532
11b8a0e1
LD
55332013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5534
5535 [BZ #15674]
bb5bb87c
L
5536 * string/test-memcmp.c (check2): New.
5537 (main): Call check2.
5538
11b8a0e1
LD
5539 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5540
b0037103
MR
55412013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5542
5543 [BZ #15022]
5544 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5545 over to...
5546 (dl_open_worker) [!SHARED]: ... here.
5547
c18c701d
RA
55482013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5549
5550 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5551
1d17fa5f
RH
55522013-06-25 Richard Henderson <rth@redhat.com>
5553
5554 * locale/programs/locarchive.c: Include <libc-internal.h>
5555
8fcb833a
JM
55562013-06-25 Joseph Myers <joseph@codesourcery.com>
5557
5558 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5559 trailing whitespace removed.
5560
17db6e8d
MF
55612013-06-24 Mike Frysinger <vapier@gentoo.org>
5562
5563 [BZ #10283]
17db6e8d
MF
5564 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5565 * locale/programs/locarchive.c: Include libc-mmap.h.
5566 (prepare_address_space): Take two new outputs (the mmap base and len).
5567 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5568 values.
5569 (create_archive): Declare new mmap base and len values for
5570 prepare_address_space, and store the result in ah.
5571 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5572 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5573 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5574 Declare new mmap base and len values for
5575 prepare_address_space, and store the result in new_ah.
5576 (open_archive): Declare new mmap base and len values for
5577 prepare_address_space, and store the result in ah.
5578 (close_archive): If ah->mmap_base is not NULL, use that and
5579 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5580 * sysdeps/generic/libc-mmap.h: New file.
5581
d605071e
MF
55822013-06-24 Mike Frysinger <vapier@gentoo.org>
5583
5584 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5585 (ALIGN_UP): Likewise.
5586 (PTR_ALIGN_DOWN): Likewise.
5587 (PTR_ALIGN_UP): Likewise.
5588
2f063a6e
RA
55892013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5590
5591 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5592 entry mapped to PPC_PLATFORM_POWER8.
5593 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5594 POWER8.
5595 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5596 (_dl_string_platform): Add case for exporting platform position for
5597 POWER8.
5598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5599 search path to sysdeps/powerpc/powerpc32/power8 directory.
5600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5601 search path to sysdeps/powerpc/powerpc64/power8 directory.
5602 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5603 power7 directories.
5604 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5605 power7 directories.
5606
a31ee4b3
SP
56072013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5608
a74ca98f
SP
5609 * INSTALL: Regenerate.
5610
a31ee4b3
SP
5611 * nscd/connections.c (nscd_init): Fix comment.
5612
695c378f
JM
56132013-06-22 Joseph Myers <joseph@codesourcery.com>
5614
d8412221
JM
5615 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5616
695c378f
JM
5617 [BZ #15667]
5618 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5619 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5620
d1d54715
MR
56212013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5622
5623 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5624 DL_DST_REQ_STATIC.
5625 (DL_DST_REQ_STATIC): Remove macro.
5626
8fdda7af
JM
56272013-06-21 Joseph Myers <joseph@codesourcery.com>
5628
5629 [BZ #7006]
5630 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5631 with a shift of 0 bits.
5632
f3bc5e5a
MR
56332013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5634
5635 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5636 $(tststatic-ENV).
5637
be09e8c9
KK
56382013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5639
5640 [BZ #15655]
5641 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5642
85c2e611
AZ
56432013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5644
5645 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5646 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5647 accepts -fno-tree-loop-distribute-patterns.
5648 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5649 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5650 recursive call.
5651 * string/memset.c (memset): Likewise.
5652 * string/test-memmove.c (simple_memmove): Disable loop transformation
5653 to library calls.
5654 * string/test-memset.c (simple_memset): Likewise.
5655 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5656 * benchtests/bench-memset.c (simple_memset): Likewise.
5657 * configure: Regenerated.
5658
c91e0825
JM
56592013-06-20 Joseph Myers <joseph@codesourcery.com>
5660
b8c792af
JM
5661 * math/test-misc.c (main): Ignore fesetround failure when failures
5662 of subsequent rounding tests would be ignored.
5663
c91e0825
JM
5664 [BZ #15654]
5665 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5666 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5667 * math/fegetenv.c (__fegetenv): Return 0.
5668 * math/fegetexcept.c (fegetexcept): Return 0.
5669 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5670 FE_TONEAREST.
5671 * math/feholdexcpt.c (feholdexcept): Return 0.
5672 * math/fesetenv.c (__fesetenv): Return 0.
5673 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5674 argument FE_TONEAREST.
5675 * math/feupdateenv.c (__feupdateenv): Return 0.
5676 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5677
bfcacbde
RM
56782013-06-18 Roland McGrath <roland@hack.frob.com>
5679
5680 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5681 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5682 ($(objpfx)rtld-%.os rules): Use them.
5683
e55a9b25
AZ
56842013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5685
5686 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5687 fields.
5688
346d65b3
RM
56892013-06-17 Roland McGrath <roland@hack.frob.com>
5690
12086fb4
RM
5691 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5692 length of target pattern, then descending length of dependency pattern.
5693 * configure.in (AWK): Require gawk 3.1.2 or newer.
5694 * manual/install.texi (Tools for Compilation): Say that we do.
5695 * configure: Regenerated.
5696
346d65b3
RM
5697 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5698 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5699 * scripts/sysd-rules.awk: ... this new script.
5700 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5701 than a glob-style pattern.
5702
1a846317
JM
57032013-06-17 Joseph Myers <joseph@codesourcery.com>
5704
5705 * math/test-misc.c (main): Do not treat incorrectly rounded
5706 conversions as failure unless ROUNDING_TESTS passes.
5707
8fc75e6f
JM
57082013-06-15 Joseph Myers <joseph@codesourcery.com>
5709
3711a167
JM
5710 [BZ #15631]
5711 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5712 restore exception state around main square root computation, then
5713 check for inexactness explicitly.
5714
8fc75e6f
JM
5715 * math/libm-test.inc (fma_test_data): Add another test.
5716
61dd6208
SP
57172013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5718
adf23d2c
SP
5719 * manual/threads.texi (Non-POSIX Extensions): New document
5720 node. Document pthread_getattr_default_np and
5721 pthread_setattr_default_np.
5722
61dd6208
SP
5723 * Versions.def (libpthread): Add GLIBC_2.18.
5724 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5726 Likewise.
5727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5728 Likewise.
5729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5730 Likewise.
5731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5732 Likewise.
5733 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5734 Likewise.
5735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5736 Likewise.
5737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5738 Likewise.
5739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5740 Likewise.
5741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5742 Likewise.
5743
d086fc7b
LD
57442013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5745
5746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5747 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5748
747ef469
SP
57492013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5750 H.J. Lu <hjl.tools@gmail.com>
5751
5752 [BZ #15627]
5753 * sysdeps/x86_64/rtld-memset.c: Remove file.
5754 * sysdeps/x86_64/rtld-memset.S: New file.
5755
1b2feed2
JM
57562013-06-14 Joseph Myers <joseph@codesourcery.com>
5757
5758 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5759 (test_in_one_mode): Take arguments for whether the rounding mode
5760 is supported for each floating-point type.
5761 (do_test): Pass new arguments to test_in_one_mode using
5762 ROUNDING_TESTS.
5763
a58ad3f8
RM
57642013-06-13 Roland McGrath <roland@hack.frob.com>
5765
5766 * posix/tst-waitid.c (do_test): Distinguish different instances of
5767 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5768 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5769 before entering the kernel for waitpid.
5770
c204ab28
SP
57712013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5772
5773 * NEWS: Fix note on clock function precision. Text by Roland
5774 McGrath.
5775
f4a29fba
RM
57762013-06-13 Roland McGrath <roland@hack.frob.com>
5777
5778 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5779 it into place only when and if the sanity check passes.
5780
1f24b9ad
JM
57812013-06-13 Joseph Myers <joseph@codesourcery.com>
5782
5783 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5784 output for whether conversion result is exact. Take argument
5785 indicating whether type is IBM long double.
5786 (round_for_all): Change need_exact field to ibm_ld.
5787 * stdlib/tst-strtod-round.c (struct exactness): New type.
5788 (struct test): Change bool ld_ok field to struct exactness exact.
5789 (TEST): Update all definitions for change to field.
5790 (tests): Regenerate array contents.
5791 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5792 field value. Check for IBM long double here.
5793 (do_test): Update calls to test_in_one_mode.
5794
58206c68
SP
57952013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5796
5797 [BZ #12515]
5798 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5799 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5800
2d6f4c5b 58012013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
5802
5803 [BZ #15605]
5804 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5805 generated by the compiler on loop optimizations.
5806 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5807 general definitions.
5808
94f2c076
JM
58092013-06-12 Joseph Myers <joseph@codesourcery.com>
5810
5811 * math/bug-nextafter.c: Include <math-tests.h>.
5812 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5813 the relevant type.
5814 * math/bug-nexttoward.c: Include <math-tests.h>.
5815 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5816 the relevant type.
5817 * math/test-misc.c: Include <math-tests.h>.
5818 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5819 the relevant type.
5820
e0e50a0a
AJ
58212013-06-12 Andreas Jaeger <aj@suse.de>
5822
5823 * po/ia.po: Update Interlingua translation from translation
5824 project.
5825
25061094
SP
58262013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5827
5828 * include/fenv.h: Include stdbool.h.
5829 (struct rm_ctx): New structure.
5830 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5831 Define macro.
5832 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5833 (SET_RESTORE_ROUNDF): Likewise.
5834 (SET_RESTORE_ROUNDL): Likewise.
5835 (SET_RESTORE_ROUND_NOEX): Likewise.
5836 (SET_RESTORE_ROUND_NOEXF): Likewise.
5837 (SET_RESTORE_ROUND_NOEXL): Likewise.
5838 (SET_RESTORE_ROUND_53BIT): Likewise.
5839 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5840 (libc_feresetround_noexf_ctx): Likewise.
5841 (libc_feresetround_noexl_ctx): Likewise.
5842 (libc_feholdsetround_53bit_ctx): Likewise.
5843 (libc_feresetround_53bit_ctx): Likewise.
5844 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5845 (libc_feholdexcept_setround_sse_ctx): New function.
5846 (libc_fesetenv_sse_ctx): Likewise.
5847 (libc_feupdateenv_sse_ctx): Likewise.
5848 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5849 (libc_feholdexcept_setround_387_ctx): Likewise.
5850 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5851 (libc_feholdsetround_387_prec_ctx): Likewise.
5852 (libc_feholdsetround_387_ctx): Likewise.
5853 (libc_feholdsetround_387_53bit_ctx): Likewise.
5854 (libc_feholdsetround_sse_ctx): Likewise.
5855 (libc_feresetround_sse_ctx): Likewise.
5856 (libc_feresetround_387_ctx): Likewise.
5857 (libc_feupdateenv_387_ctx): Likewise.
5858 (libc_feholdexcept_setroundf_ctx): Define macro.
5859 (libc_fesetenvf_ctx): Likewise.
5860 (libc_feupdateenvf_ctx): Likewise.
5861 (libc_feholdsetroundf_ctx): Likewise.
5862 (libc_feresetroundf_ctx): Likewise.
5863 (libc_feholdexcept_setround_ctx): Likewise.
5864 (libc_fesetenv_ctx): Likewise.
5865 (libc_feupdateenv_ctx): Likewise.
5866 (libc_feholdsetround_ctx): Likewise.
5867 (libc_feresetround_ctx): Likewise.
5868 (libc_feholdexcept_setroundl_ctx): Likewise.
5869 (libc_feupdateenvl_ctx): Likewise.
5870 (libc_feholdsetroundl_ctx): Likewise.
5871 (libc_feresetroundl_ctx): Likewise.
5872 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5873 (libc_feresetround_53bit_ctx): Likewise.
5874
59b30555
SP
58752013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5876
5877 * locale/iso-639.def: Convert to UTF-8.
5878
f1d73d30
JM
58792013-06-11 Joseph Myers <joseph@codesourcery.com>
5880
5881 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5882 (EXCEPTION_TESTS_double): Likewise.
5883 (EXCEPTION_TESTS_long_double): Likewise.
5884 (EXCEPTION_TESTS): Likewise.
5885 * math/libm-test.inc (test_exceptions): Only test exceptions if
5886 EXCEPTION_TESTS (FLOAT).
5887
94aca5e7
SP
58882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5889
5890 * benchtests/Makefile (string-bench): Add strcpy_chk and
5891 stpcpy_chk.
5892 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5893 * benchtests/bench-stpcpy_chk.c: New file.
5894 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5895 * benchtests/bench-strcpy_chk.c: New file.
5896 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5897 code.
5898 (do_test): Likewise.
5899
fac0c5f2
RA
59002013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5901
5902 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5903 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5904 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5905 with tabs where appropriate.
5906 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5907 dl-procinfo.h.
5908 [PPC_PLATFORM_PPC440]: Likewise.
5909 [PPC_PLATFORM_PPC464]: Likewise.
5910 [PPC_PLATFORM_PPC476]: Likewise.
5911 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5912 ppc464, and ppc476 platform strings merging from ports/
5913 dl-procinfo.h.
5914
f22bc486
AS
59152013-06-11 Andreas Schwab <schwab@suse.de>
5916
5917 [BZ #14991]
5918 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5919 (from_ucs4_idx): Regenerate.
5920 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5921 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5922 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5923 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5924 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5925 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5926 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5927 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5928 from FROM_LOOP and TO_LOOP specific macros.
5929 (BODY): Handle combining characters.
5930 * iconvdata/BIG5HKSCS.irreversible: Update.
5931 * iconvdata/BIG5HKSCS.precomposed: New file.
5932 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5933 characters.
5934 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5935
c1f75dc3
SP
59362013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5937
4eacded2
SP
5938 * include/sys/time.h: Fix indentation and add copyright header.
5939
fec799f8
SP
5940 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5941 (do_test): Likewise.
5942 * string/test-memchr.c (do_one_test): Likewise.
5943 (do_test): Likewise.
5944 * string/test-memcmp.c (do_one_test): Likewise.
5945 (do_test): Likewise.
5946 * string/test-memcpy.c (do_one_test): Likewise.
5947 (do_test): Likewise.
5948 * string/test-memmem.c (do_one_test): Likewise.
5949 (do_test): Likewise.
5950 (do_random_tests): Likewise.
5951 * string/test-memmove.c (do_one_test): Likewise.
5952 (do_test): Likewise.
5953 * string/test-memset.c (do_one_test): Likewise.
5954 (do_test): Likewise.
5955 * string/test-rawmemchr.c (do_one_test): Likewise.
5956 (do_test): Likewise.
5957 * string/test-strcasecmp.c (do_one_test): Likewise.
5958 (do_test): Likewise.
5959 * string/test-strcasestr.c (do_one_test): Likewise.
5960 (do_test): Likewise.
5961 * string/test-strcat.c (do_one_test): Likewise.
5962 (do_test): Likewise.
5963 * string/test-strchr.c (do_one_test): Likewise.
5964 (do_test): Likewise.
5965 * string/test-strcmp.c (do_one_test): Likewise.
5966 (do_test): Likewise.
5967 * string/test-strcpy.c (do_one_test): Likewise.
5968 (do_test): Likewise.
5969 * string/test-string.h: Likewise.
5970 (test_init): Likewise.
5971 * string/test-strlen.c (do_one_test): Likewise.
5972 (do_test): Likewise.
5973 * string/test-strncasecmp.c (do_one_test): Likewise.
5974 (do_test): Likewise.
5975 * string/test-strncat.c (do_one_test): Likewise.
5976 (do_test): Likewise.
5977 * string/test-strncmp.c (do_one_test): Likewise.
5978 (do_test_limit): Likewise.
5979 (do_test): Likewise.
5980 * string/test-strncpy.c (do_one_test): Likewise.
5981 (do_test): Likewise.
5982 * string/test-strnlen.c (do_one_test): Likewise.
5983 (do_test): Likewise.
5984 * string/test-strpbrk.c (do_one_test): Likewise.
5985 (do_test): Likewise.
5986 * string/test-strrchr.c (do_one_test): Likewise.
5987 (do_test): Likewise.
5988 * string/test-strspn.c (do_one_test): Likewise.
5989 (do_test): Likewise.
5990 * string/test-strstr.c (do_one_test): Likewise.
5991 (do_test): Likewise.
5992
97020474
SP
5993 * benchtests/Makefile (string-bench): Add string benchmarks.
5994 * benchtests/bench-bcopy-ifunc.c: New file.
5995 * benchtests/bench-bcopy.c: New file.
5996 * benchtests/bench-bzero-ifunc.c: New file.
5997 * benchtests/bench-bzero.c: New file.
5998 * benchtests/bench-memccpy-ifunc.c: New file.
5999 * benchtests/bench-memccpy.c: New file.
6000 * benchtests/bench-memchr-ifunc.c: New file.
6001 * benchtests/bench-memchr.c: New file.
6002 * benchtests/bench-memcmp-ifunc.c: New file.
6003 * benchtests/bench-memcmp.c: New file.
6004 * benchtests/bench-memmem-ifunc.c: New file.
6005 * benchtests/bench-memmem.c: New file.
6006 * benchtests/bench-memmove-ifunc.c: New file.
6007 * benchtests/bench-memmove.c: New file.
6008 * benchtests/bench-mempcpy-ifunc.c: New file.
6009 * benchtests/bench-mempcpy.c: New file.
6010 * benchtests/bench-memset-ifunc.c: New file.
6011 * benchtests/bench-memset.c: New file.
6012 * benchtests/bench-rawmemchr-ifunc.c: New file.
6013 * benchtests/bench-rawmemchr.c: New file.
6014 * benchtests/bench-stpcpy-ifunc.c: New file.
6015 * benchtests/bench-stpcpy.c: New file.
6016 * benchtests/bench-stpncpy-ifunc.c: New file.
6017 * benchtests/bench-stpncpy.c: New file.
6018 * benchtests/bench-strcasecmp-ifunc.c: New file.
6019 * benchtests/bench-strcasecmp.c: New file.
6020 * benchtests/bench-strcasestr-ifunc.c: New file.
6021 * benchtests/bench-strcasestr.c: New file.
6022 * benchtests/bench-strcat-ifunc.c: New file.
6023 * benchtests/bench-strcat.c: New file.
6024 * benchtests/bench-strchr-ifunc.c: New file.
6025 * benchtests/bench-strchr.c: New file.
6026 * benchtests/bench-strchrnul-ifunc.c: New file.
6027 * benchtests/bench-strchrnul.c: New file.
6028 * benchtests/bench-strcmp-ifunc.c: New file.
6029 * benchtests/bench-strcmp.c: New file.
6030 * benchtests/bench-strcpy-ifunc.c: New file.
6031 * benchtests/bench-strcpy.c: New file.
6032 * benchtests/bench-strcspn-ifunc.c: New file.
6033 * benchtests/bench-strcspn.c: New file.
6034 * benchtests/bench-strlen-ifunc.c: New file.
6035 * benchtests/bench-strlen.c: New file.
6036 * benchtests/bench-strncasecmp-ifunc.c: New file.
6037 * benchtests/bench-strncasecmp.c: New file.
6038 * benchtests/bench-strncat-ifunc.c: New file.
6039 * benchtests/bench-strncat.c: New file.
6040 * benchtests/bench-strncmp-ifunc.c: New file.
6041 * benchtests/bench-strncmp.c: New file.
6042 * benchtests/bench-strncpy-ifunc.c: New file.
6043 * benchtests/bench-strncpy.c: New file.
6044 * benchtests/bench-strnlen-ifunc.c: New file.
6045 * benchtests/bench-strnlen.c: New file.
6046 * benchtests/bench-strpbrk-ifunc.c: New file.
6047 * benchtests/bench-strpbrk.c: New file.
6048 * benchtests/bench-strrchr-ifunc.c: New file.
6049 * benchtests/bench-strrchr.c: New file.
6050 * benchtests/bench-strspn-ifunc.c: New file.
6051 * benchtests/bench-strspn.c: New file.
6052 * benchtests/bench-strstr-ifunc.c: New file.
6053 * benchtests/bench-strstr.c: New file.
6054
c1f75dc3
SP
6055 * benchtests/Makefile: Disable parallel execution of targets.
6056 (string-bench): Add memcpy.
6057 (benchset): New variable to store a list of benchmark sets.
6058 (bench-func): Renamed from bench.
6059 (bench-set): New target.
6060 (bench): Depend on bench-func and bench-set.
6061 * benchtests/README: Add section on benchmark sets.
6062 * benchtests/bench-memcpy-ifunc.c: New file.
6063 * benchtests/bench-memcpy.c: New file.
6064 * benchtests/bench-string.h: New file.
6065
50fd745b
AS
60662013-06-11 Andreas Schwab <schwab@suse.de>
6067
6068 [BZ #15577]
6069 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6070 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6071 values in the triple.
6072 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6073 terminator in the group key.
6074
3ee7e9fe
AJ
60752013-06-11 Andreas Jaeger <aj@suse.de>
6076
6077 * po/zh_TW.po: Update Chinese (traditional) translation from
6078 translation project.
6079
89fb6835
SP
60802013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6081
6082 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6083 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6084 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6085 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6086 (clock_getcpuclockid): Likewise.
6087 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6088 Add weak_alias and libc_hidden_def.
6089 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6090 * rt/clock_gettime.c (clock_gettime): Rename to
6091 __clock_gettime. Add weak_alias and libc_hidden_def.
6092 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6093 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6094 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6095 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6096 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6097 Likewise.
6098 * rt/clock_settime.c (clock_settime): Rename to
6099 __clock_settime. Add weak_alias and libc_hidden_def.
6100 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6101
0efa6f8b
JM
61022013-06-10 Joseph Myers <joseph@codesourcery.com>
6103
b8c61b4b
JM
6104 * mach/err_boot.sub: Remove trailing whitespace.
6105 * mach/err_ipc.sub: Likewise.
6106 * mach/err_mach.sub: Likewise.
6107
0efa6f8b
JM
6108 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6109 (ROUNDING_TESTS_double): Likewise.
6110 (ROUNDING_TESTS_long_double): Likewise.
6111 (ROUNDING_TESTS): Likewise.
6112 * math/libm-test.inc: Include <math-tests.h>.
6113 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6114 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6115 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6116 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6117
50b818bf
SP
61182013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6119
6120 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6121 of assigning.
6122
60d2f8f3
JM
61232013-06-08 Joseph Myers <joseph@codesourcery.com>
6124
4902d2c3
JM
6125 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6126 otherwise empty TRANS lines.
6127 * sysdeps/gnu/errlist.c: Regenerated.
6128
60d2f8f3
JM
6129 * catgets/gencat.c (error_print): Use (void) in function
6130 definition.
6131 * crypt/crypt_util.c (__init_des): Likewise.
6132 * crypt/speeds.c (Stop): Likewise.
6133 (main): Likewise.
6134 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6135 * inet/ruserpass.c (token): Likewise.
6136 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6137 * intl/localealias.c (extend_alias_table): Likewise.
6138 * intl/plural-exp.c (init_germanic_plural): Likewise.
6139 * libio/fcloseall.c (__fcloseall): Likewise.
6140 * libio/genops.c (_IO_flush_all): Likewise.
6141 (_IO_flush_all_linebuffered): Likewise.
6142 (_IO_cleanup): Likewise.
6143 (_IO_iter_begin): Likewise.
6144 (_IO_iter_end): Likewise.
6145 (_IO_list_lock): Likewise.
6146 (_IO_list_unlock): Likewise.
6147 (_IO_list_resetlock): Likewise.
6148 * libio/getchar.c (getchar): Likewise.
6149 * libio/getchar_u.c (getchar_unlocked): Likewise.
6150 * libio/getwchar.c (getwchar): Likewise.
6151 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6152 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6153 * login/getpt.c (__getpt): Likewise.
6154 * login/tst-utmp.c (main): Likewise.
6155 * malloc/hooks.c (__malloc_check_init): Likewise.
6156 * malloc/malloc.c (__malloc_stats): Likewise.
6157 * malloc/mtrace.c (tr_break): Likewise.
6158 (mtrace): Likewise.
6159 (muntrace): Likewise.
6160 * misc/fstab.c (endfsent): Likewise.
6161 * misc/getclktck.c (__getclktck): Likewise.
6162 * misc/getdtsz.c (__getdtablesize): Likewise.
6163 * misc/gethostid.c (gethostid): Likewise.
6164 * misc/getpagesize.c (__getpagesize): Likewise.
6165 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6166 (__get_nprocs): Likewise.
6167 (__get_phys_pages): Likewise.
6168 (__get_avphys_pages): Likewise.
6169 * misc/getttyent.c (getttyent): Likewise.
6170 (setttyent): Likewise.
6171 (endttyent): Likewise.
6172 * misc/getusershell.c (getusershell): Likewise.
6173 (endusershell): Likewise.
6174 (setusershell): Likewise.
6175 (initshells): Likewise.
6176 * misc/hsearch.c (__hdestroy): Likewise.
6177 * misc/sync.c (sync): Likewise.
6178 * misc/syslog.c (closelog_internal): Likewise.
6179 (closelog): Likewise.
6180 * misc/ttyslot.c (ttyslot): Likewise.
6181 * misc/vhangup.c (vhangup): Likewise.
6182 * posix/fork.c (__fork): Likewise.
6183 * posix/getegid.c (__getegid): Likewise.
6184 * posix/geteuid.c (__geteuid): Likewise.
6185 * posix/getgid.c (__getgid): Likewise.
6186 * posix/getpid.c (__getpid): Likewise.
6187 * posix/getppid.c (__getppid): Likewise.
6188 * posix/getuid.c (__getuid): Likewise.
6189 * posix/pause.c (pause): Likewise.
6190 * posix/setpgrp.c (setpgrp): Likewise.
6191 * posix/setsid.c (__setsid): Likewise.
6192 * posix/test-vfork.c (noop): Likewise.
6193 * resolv/gethnamaddr.c (_endhtent): Likewise.
6194 (_gethtent): Likewise.
6195 (ht_endhostent): Likewise.
6196 (gethostent): Likewise.
6197 (dns_service): Likewise.
6198 * stdlib/drand48.c (drand48): Likewise.
6199 * stdlib/lrand48.c (lrand48): Likewise.
6200 * stdlib/mrand48.c (mrand48): Likewise.
6201 * stdlib/rand.c (rand): Likewise.
6202 * stdlib/random.c (__random): Likewise.
6203 * stdlib/setenv.c (clearenv): Likewise.
6204 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6205 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6206 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6207 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6208 (__get_nprocs): Likewise.
6209 (__get_phys_pages): Likewise.
6210 (__get_avphys_pages): Likewise.
6211 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6212 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6213 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6214 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6215 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6216 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6217 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6218 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6219 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6220 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6221 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6222 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6223 * sysdeps/posix/clock.c (clock): Likewise.
6224 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6225 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6226 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6227 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6228 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6229 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6230 (__get_nprocs_conf): Likewise.
6231 (__get_phys_pages): Likewise.
6232 (__get_avphys_pages): Likewise.
6233 * time/clock.c (clock): Likewise.
6234 * time/tzset.c (__tzname_max): Likewise.
6235
2e09a79a
JM
62362013-06-07 Joseph Myers <joseph@codesourcery.com>
6237
6238 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6239 (__bswap_32): Do not use "register".
6240 * crypt/crypt.c (_ufc_doit_r): Likewise.
6241 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6242 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6243 * gmon/gmon.c (__monstartup): Likewise.
6244 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6245 * hurd/hurdmalloc.c (more_memory): Likewise.
6246 (malloc): Likewise.
6247 (free): Likewise.
6248 (realloc): Likewise.
6249 (malloc_fork_prepare): Likewise.
6250 (malloc_fork_parent): Likewise.
6251 (malloc_fork_child): Likewise.
6252 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6253 (_svcauth_des): Likewise.
6254 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6255 * inet/inet_net.c (inet_network): Likewise.
6256 * inet/inet_netof.c (inet_netof): Likewise.
6257 * inet/rcmd.c (__validuser2_sa): Likewise.
6258 * io/fts.c (fts_open): Likewise.
6259 (fts_load): Likewise.
6260 (fts_close): Likewise.
6261 (fts_read): Likewise.
6262 (fts_children): Likewise.
6263 (fts_build): Likewise.
6264 (fts_stat): Likewise.
6265 (fts_sort): Likewise.
6266 (fts_alloc): Likewise.
6267 (fts_lfree): Likewise.
6268 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6269 (_IO_file_xsgetn): Likewise.
6270 (_IO_file_xsgetn_mmap): Likewise.
6271 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6272 (_IO_cookie_write): Likewise.
6273 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6274 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6275 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6276 * malloc/obstack.c (_obstack_begin): Likewise.
6277 (_obstack_begin_1): Likewise.
6278 (_obstack_newchunk): Likewise.
6279 (_obstack_allocated_p): Likewise.
6280 (obstack_free): Likewise.
6281 (_obstack_memory_used): Likewise.
6282 * misc/getttyent.c (getttynam): Likewise.
6283 (getttyent): Likewise.
6284 (skip): Likewise.
6285 (value): Likewise.
6286 * misc/getusershell.c (initshells): Likewise.
6287 * misc/syslog.c (__vsyslog_chk): Likewise.
6288 * misc/ttyslot.c (ttyslot): Likewise.
6289 * nis/nis_hash.c (__nis_hash): Likewise.
6290 * posix/fnmatch_loop.c (FCT): Likewise.
6291 * posix/getconf.c (print_all): Likewise.
6292 (main): Likewise.
6293 * posix/getopt.c (exchange): Likewise.
6294 * posix/glob.c (globfree): Likewise.
6295 (prefix_array): Likewise.
6296 (__glob_pattern_type): Likewise.
6297 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6298 (NS_GET32): Likewise.
6299 (NS_PUT16): Likewise.
6300 (NS_PUT32): Likewise.
6301 * resolv/gethnamaddr.c (getanswer): Likewise.
6302 (gethostbyname2): Likewise.
6303 (gethostbyaddr): Likewise.
6304 (_gethtent): Likewise.
6305 (_gethtbyname2): Likewise.
6306 (_gethtbyaddr): Likewise.
6307 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6308 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6309 * resolv/res_init.c (__res_vinit): Likewise.
6310 (net_mask): Likewise.
6311 * resolv/res_mkquery.c (outchar): Likewise.
6312 (PRINT): Likewise.
6313 * stdio-common/printf_fp.c (outchar): Likewise.
6314 (PRINT): Likewise.
6315 * stdio-common/printf_fphex.c (outchar): Likewise.
6316 (PRINT): Likewise.
6317 * stdio-common/printf_size.c (outchar): Likewise.
6318 (PRINT): Likewise.
6319 * stdio-common/test_rdwr.c (main): Likewise.
6320 * stdio-common/tfformat.c (matches): Likewise.
6321 * stdio-common/vfprintf.c (outchar): Likewise.
6322 (printf_unknown): Likewise.
6323 (buffered_vfprintf): Likewise.
6324 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6325 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6326 (ReadFile): Likewise.
6327 * stdlib/qsort.c (SWAP): Likewise.
6328 (_quicksort): Likewise.
6329 * stdlib/setenv.c (__add_to_environ): Likewise.
6330 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6331 * stdlib/strtol_l.c (__strtol_l): Likewise.
6332 * stdlib/tst-strtod.c (main): Likewise.
6333 * stdlib/tst-strtol.c (main): Likewise.
6334 * stdlib/tst-strtoll.c (main): Likewise.
6335 * string/bits/string2.h (__strcmp_cc): Likewise.
6336 (__strcmp_cg): Likewise.
6337 (__strcspn_c1): Likewise.
6338 (__strcspn_c2): Likewise.
6339 (__strcspn_c3): Likewise.
6340 (__strspn_c1): Likewise.
6341 (__strspn_c2): Likewise.
6342 (__strspn_c3): Likewise.
6343 (__strsep_1c): Likewise.
6344 (__strsep_2c): Likewise.
6345 (__strsep_3c): Likewise.
6346 * string/memccpy.c (__memccpy): Likewise.
6347 * string/stpcpy.c (__stpcpy): Likewise.
6348 * string/strcmp.c (strcmp): Likewise.
6349 * string/strrchr.c (strrchr): Likewise.
6350 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6351 Likewise.
6352 * sysdeps/mach/hurd/getcwd.c
6353 (_hurd_canonicalize_directory_name_internal): Likewise.
6354 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6355 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6356 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6357 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6358 Likewise, in both definitions.
6359 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6360 definitions.
6361 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6362 64] (__bswap_64): Likewise.
6363 * time/test_time.c (main): Likewise.
6364 * time/tzfile.c (__tzfile_read): Likewise.
6365 (__tzfile_compute): Likewise.
6366 * time/tzset.c (__tzset_parse_tz): Likewise.
6367 (tzset_internal): Likewise.
6368 (compute_change): Likewise.
6369 * wcsmbs/wcscat.c (__wcscat): Likewise.
6370 * wcsmbs/wcschr.c (wcschr): Likewise.
6371 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6372 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6373 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6374 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6375 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6376 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6377 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6378 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6379 * wcsmbs/wmemset.c (wmemset): Likewise.
6380
9e54314b
JM
63812013-06-06 Joseph Myers <joseph@codesourcery.com>
6382
6383 * scripts/config.guess: Update to version 2013-05-16.
6384 * scripts/config.sub: Update to version 2013-04-24.
6385 * scripts/install-sh: Update to version 2011-11-20.07.
6386 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6387 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6388
350635a5
OB
63892013-06-06 Ondřej Bílka <neleai@seznam.cz>
6390
6391 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6392 * elf/sln.c: Likewise.
6393 * hurd/hurd/ioctl.h: Likewise.
6394 * hurd/hurdmalloc.c: Likewise.
6395 * hurd/xattr.c: Likewise.
6396 * include/shlib-compat.h: Likewise.
6397 * inet/ruserpass.c: Likewise.
6398 * libio/iofgets_u.c: Likewise.
6399 * libio/iofgetws_u.c: Likewise.
6400 * locale/programs/ld-identification.c: Likewise.
6401 * locale/programs/ld-time.c: Likewise.
6402 * mach/msg-destroy.c: Likewise.
6403 * nss/nss_files/files-netgrp.c: Likewise.
6404 * resolv/res_data.c: Likewise.
6405 * soft-fp/op-1.h: Likewise.
6406 * soft-fp/op-2.h: Likewise.
6407 * soft-fp/op-4.h: Likewise.
6408 * soft-fp/op-common.h: Likewise.
6409 * stdio-common/printf_fphex.c: Likewise.
6410 * stdlib/strtod_l.c: Likewise.
6411 * sunrpc/rpc/clnt.h: Likewise.
6412 * sysdeps/generic/framestate.c: Likewise.
6413 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6414 * sysdeps/i386/bsd-setjmp.S: Likewise.
6415 * sysdeps/i386/__longjmp.S: Likewise.
6416 * sysdeps/i386/setjmp.S: Likewise.
6417 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6418 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6419 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6420 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6421 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6422 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6423 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6424 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6425 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6426 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6427 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6428 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6429 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6430 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6431 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6432 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6433 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6434 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6435 * sysdeps/ieee754/support.c: Likewise.
6436 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6437 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6438 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6439 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6440 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6441 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6442 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6443 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6444 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6445 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6446 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6447 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6448 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6449 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6450 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6451 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6452 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6454
44a988af
OB
64552013-06-05 Ondřej Bílka <neleai@seznam.cz>
6456
25506f09 6457 * posix/transbug.c: Remove executable mode.
44a988af 6458
9c84384c
JM
64592013-06-05 Joseph Myers <joseph@codesourcery.com>
6460
6461 * crypt/speeds.c: Remove trailing whitespace.
6462 * dlfcn/default.c: Likewise.
6463 * elf/ifuncdep2.c: Likewise.
6464 * elf/ifuncmain1.c: Likewise.
6465 * elf/ifuncmain1vis.c: Likewise.
6466 * elf/testobj.h: Likewise.
6467 * elf/tst-stackguard1.c: Likewise.
6468 * gmon/sys/gmon.h: Likewise.
6469 * hurd/hurdmsg.c: Likewise.
6470 * hurd/new-fd.c: Likewise.
6471 * hurd/ports-get.c: Likewise.
6472 * iconvdata/ibm1008_420.c: Likewise.
6473 * inet/tst-getni1.c: Likewise.
6474 * inet/tst-getni2.c: Likewise.
6475 * libio/ioungetc.c: Likewise.
6476 * libio/wfiledoalloc.c: Likewise.
6477 * manual/libm-err-tab.pl: Likewise.
6478 * math/w_dremf.c: Likewise.
6479 * misc/ftruncate.c: Likewise.
6480 * posix/bug-glob2.c: Likewise.
6481 * posix/tst-pcre.c: Likewise.
6482 * posix/wait4.c: Likewise.
6483 * resolv/README: Likewise.
6484 * resolv/res_debug.h: Likewise.
6485 * resolv/tst-inet_ntop.c: Likewise.
6486 * setjmp/bug269-setjmp.c: Likewise.
6487 * soft-fp/extended.h: Likewise.
6488 * soft-fp/op-1.h: Likewise.
6489 * soft-fp/op-2.h: Likewise.
6490 * soft-fp/op-4.h: Likewise.
6491 * soft-fp/op-8.h: Likewise.
6492 * soft-fp/testit.c: Likewise.
6493 * stdio-common/bug16.c: Likewise.
6494 * stdlib/random.c: Likewise.
6495 * sunrpc/rpcsvc/rquota.x: Likewise.
6496 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6497 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6498 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6499 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6500 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6501 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6502 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6503 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6504 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6505 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6506 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6507 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6508 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6509 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6510 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6511 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6512 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6513 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6514 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6515 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6516 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6517 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6518 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6519 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6520 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6521 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6523 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6524 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6525 * sysdeps/ieee754/s_lib_version.c: Likewise.
6526 * sysdeps/mach/hurd/check_fds.c: Likewise.
6527 * sysdeps/mach/hurd/getsockname.c: Likewise.
6528 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6529 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6530 * sysdeps/powerpc/bits/link.h: Likewise.
6531 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6532 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6533 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6534 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6535 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6536 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6537 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6538 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6539 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6540 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6541 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6542 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6543 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6544 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6545 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6546 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6547 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6548 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6549 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6550 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6551 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6552 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6553 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6554 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6555 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6556 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6557 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6558 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6559 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6560 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6561 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6562 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6563 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6564 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6565 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6566 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6567 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6568 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6569 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6570 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6571 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6572 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6573 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6574 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6575 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6576 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6577 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6578 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6579 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6580 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6581 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6582 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6583 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6584 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6585 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6586 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6587 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6588 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6589 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6590 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6591 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6592 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6593 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6594 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6595 * sysdeps/powerpc/sysdep.h: Likewise.
6596 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6597 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6598 * sysdeps/sh/dl-trampoline.S: Likewise.
6599 * sysdeps/sh/memset.S: Likewise.
6600 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6601 * sysdeps/sh/strlen.S: Likewise.
6602 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6603 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6604 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6605 * sysdeps/sparc/sparc32/rem.S: Likewise.
6606 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6607 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6608 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6609 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6610 * sysdeps/sparc/sparc32/urem.S: Likewise.
6611 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6612 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6613 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6614 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6615 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6616 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6617 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6618 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6619 * sysdeps/unix/bsd/times.c: Likewise.
6620 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6621 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6625 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6626 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6627 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6628 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6629 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6630 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6631 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6632 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6633 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6634 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6635 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6636 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6637 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6638 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6639 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6640 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6641 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6642 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6643 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6644 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6645 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6646 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6647 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6648 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6649 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6650 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6651 * sysdeps/x86_64/strcspn.S: Likewise.
6652
869378a5
RA
66532013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6654
6655 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6656 generated file. Regenerate properly from gen-translit.pl.
6657 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6658 locale/C-translit.h.
6659
840e2943
AS
66602013-06-05 Andreas Schwab <schwab@suse.de>
6661
6662 [BZ #15100]
6663 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6664 week as 6 instead of -1.
6665 * time/tst-strptime.c (day_tests): Add test case.
6666
4c60cb0c
SP
66672013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6668
6669 * sysdeps/generic/math_private.h
6670 (libc_feholdexcept_setround_53bit): Replace with
6671 libc_feholdsetround_53bit.
6672 (libc_feupdateenv_53bit): Replace with
6673 libc_feresetround_53bit.
6674 (SET_RESTORE_ROUND_53BIT): Adjust.
6675
d180203e
SP
66762013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6677
96df079a
SP
6678 * string/test-strchrnul.c: Add copyright header.
6679
d180203e
SP
6680 * posix/tst-getaddrinfo4.c: Increase test timeout.
6681
8b0ccb2d
CD
66822013-06-03 Carlos O'Donell <carlos@redhat.com>
6683
6684 [BZ #15536]
6685 * math/libm-test.inc (MAX_EXP): Remove
6686 (MIN_EXP): Define.
6687 (ulp): Use MIN_EXP - MANT_DIG.
6688 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6689
3b3c4d40
CD
66902013-05-31 Carlos O'Donell <carlos@redhat.com>
6691
6692 * po/be.po: Revert last change.
6693 * po/zh_CN.po: Likewise.
6694 * po/header.pot: Likewise.
6695
fab7ce3f
JM
66962013-05-31 Joseph Myers <joseph@codesourcery.com>
6697
6698 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6699 link-libc-deps to empty as target-specific variable.
6700 * Makerules (link-libc-args): New variable.
6701 (libc-for-link): Likewise.
6702 (link-libc-deps): Likewise.
6703 (lib%.so): Depend on $(link-libc-deps). Link with
6704 $(link-libc-args).
6705 (build-module): Link with $(link-libc-args).
6706 (build-module-asneeded): Likewise.
6707 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6708 list of objects.
6709 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6710 target-specific variable.
6711 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6712 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6713 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6714 libc.
6715 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6716 libc and ld.so.
6717 ($(objpfx)libpcprofile.so): Likewise.
6718 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6719 libc_nonshared.a.
6720 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6721 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6722 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6723 $(link-libc-deps).
6724 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6725 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6726 * login/Makefile ($(objpfx)libutil.so): Likewise.
6727 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6728 * math/Makefile ($(objpfx)libm.so): Likewise.
6729 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6730 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6731 variable instead of depending directly on libc.
6732 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6733 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6734 $(link-libc-deps).
6735 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6736 libc.
6737 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6738 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6739 ($(objpfx)libanl.so): Likewise.
6740 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6741 ld.so.
6742 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6743 $(link-libc-deps).
6744 * sysdeps/i386/fpu/Makefile: Remove file.
6745 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6746 ($(objpfx)libm.so): Remove dependency on ld.so.
6747
eca5920c
PF
67482013-05-30 Patsy Franklin <pfrankli@redhat.com>
6749
6750 [BZ # 15553]
6751 * nis/yp_xdr.c (XDRMAXNAME): Define.
6752 (XDRMAXRECORD): Define.
6753 (xdr_domainname): Use XDRMAXNAME.
6754 (xdr_mapname): Likewise.
6755 (xdr_peername): Likewise.
6756 (xdr_keydat): Use XDRMAXRECORD.
6757 (xdr_valdat): Likewise.
6758
67592013-05-30 Jeff Law <law@redhat.com>
96945714
JL
6760
6761 [BZ #14256]
6762 * manual/errno.texi (ESTALE): Update to account for more than
6763 just NFS file systems.
6764 * sysdeps/gnu/errlist.c: Regenerated.
6765
b9375348
SP
67662013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6767
6768 [BZ #15465]
6769 * elf/Makefile (tests): Add tst-null-argv.
6770 (modules-names): Add tst-null-argv-lib.
6771 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6772 (tst-null-argv-ENV): Set environment for tst-null-argv.
6773 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6774 (RTLD_PROGNAME): New macro.
6775 * elf/tst-null-argv.c: New test case.
6776 * elf/tst-null-argv-lib.c: Library for test case.
6777 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6778 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6779 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6780 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6781 * elf/dl-init.c (call_init): Likewise.
6782 (_dl_init): Likewise.
6783 * elf/dl-load.c (print_search_path): Likewise.
6784 (_dl_map_object): Likewise.
6785 * elf/dl-lookup.c (do_lookup_x): Likewise.
6786 (add_dependency): Likewise.
6787 (_dl_lookup_symbol_x): Likewise.
6788 (_dl_debug_bindings): Likewise.
6789 * elf/dl-open.c (_dl_show_scope): Likewise.
6790 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6791 * elf/dl-version.c (match_symbol): Likewise.
6792 (_dl_check_map_versions): Likewise.
6793 * elf/rtld.c (dl_main): Likewise.
6794 (print_unresolved): Use RTLD_PROGNAME.
6795 (print_missing_version): Likewise.
6796 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6797 (elf_machine_rela): Likewise.
6798 * sysdeps/powerpc/powerpc32/dl-machine.c
6799 (__process_machine_rela): Likewise.
6800 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6801 Likewise.
6802 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6803 Likewise.
6804 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6805 Likewise.
6806 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6807 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6808 Likewise.
6809 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6810 Likewise.
6811 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6812
8a9f20c8
CD
68132013-05-28 Carlos O'Donell <carlos@redhat.com>
6814
6815 * po/be.po: Add descriptive title.
6816 * po/zh_CN.po: Likewise.
6817 * po/header.pot: Likewise.
6818
0e60d68e
MF
68192013-05-28 Mike Frysinger <vapier@gentoo.org>
6820
6821 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6822 error message.
6823 (enlarge_archive): Likewise.
6824
56b672e9
BN
68252013-05-28 Ben North <ben@redfrontdoor.org>
6826
6827 * manual/arith.texi (frexp): It is the magnitude of the return
6828 value which lies in [0.5, 1), not the return value itself.
6829
5e056687
AZ
68302013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6831
6832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6833
2b66ef5d
TS
68342013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6835
528c2405
TS
6836 * stdio-common/bug26.c (main): Correct fscanf template.
6837
07b4c13d
TS
6838 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6839 declare _dl_skip_args.
6840
ec9dd97c
TS
6841 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6842 Don't declare.
6843
2b66ef5d
TS
6844 * manual/platform.texi: Add missing @end deftypefun.
6845
4f8dfe27
JM
68462013-05-24 Joseph Myers <joseph@codesourcery.com>
6847
0323d086
JM
6848 [BZ #15529]
6849 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6850 bit of mantissa of 2^16382.
6851 * math/libm-test.inc (hypot_test_data): Add more tests.
6852
dd4259b9
JM
6853 * math/libm-test.inc: Add drem and pow10 to list of tested
6854 functions.
6855 (pow10_test): New function.
6856 (drem_test): Likewise.
6857 (drem_test_tonearest): Likewise.
6858 (drem_test_towardzero): Likewise.
6859 (drem_test_downward): Likewise.
6860 (drem_test_upward): Likewise.
6861 (main): Call the new functions.
6862
4f8dfe27
JM
6863 * math/libm-test.inc (finite_test_data): Remove.
6864 (finite_test): Run tests from isfinite_test_data.
6865 (gamma_test_data): Remove.
6866 (gamma_test): Run tests from lgamma_test_data.
6867 * sysdeps/i386/fpu/libm-test-ulps: Update.
6868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6869
d116b7c4
AZ
68702013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6871
6872 * manual/platform.texi: Add PowerPC PPR function set documentation.
6873 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6874 implementation.
6875
e96e3767
CD
68762013-05-24 Carlos O'Donell <carlos@redhat.com>
6877
6878 * math/libm-test.inc (MAX_EXP): Define.
6879 (ULPDIFF): Define.
6880 (ulp): New function.
6881 (check_float_internal): Use ULPDIFF.
6882 (cpow_test): Disable failing test.
6883 (check_ulp): Test ulp() implemetnation.
6884 (main): Call check_ulp before starting tests.
6885
b679a606
JM
68862013-05-24 Joseph Myers <joseph@codesourcery.com>
6887
e8bdba36
JM
6888 * math/gen-libm-test.pl (generate_testfile): Do not handle
6889 START_DATA and END_DATA.
6890 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6891 END_DATA.
6892 (acos_tonearest_test_data): Likewise.
6893 (acos_towardzero_test_data): Likewise.
6894 (acos_downward_test_data): Likewise.
6895 (acos_upward_test_data): Likewise.
6896 (acosh_test_data): Likewise.
6897 (asin_test_data): Likewise.
6898 (asin_tonearest_test_data): Likewise.
6899 (asin_towardzero_test_data): Likewise.
6900 (asin_downward_test_data): Likewise.
6901 (asin_upward_test_data): Likewise.
6902 (asinh_test_data): Likewise.
6903 (atan_test_data): Likewise.
6904 (atanh_test_data): Likewise.
6905 (atan2_test_data): Likewise.
6906 (cabs_test_data): Likewise.
6907 (cacos_test_data): Likewise.
6908 (cacosh_test_data): Likewise.
6909 (carg_test_data): Likewise.
6910 (casin_test_data): Likewise.
6911 (casinh_test_data): Likewise.
6912 (catan_test_data): Likewise.
6913 (catanh_test_data): Likewise.
6914 (cbrt_test_data): Likewise.
6915 (ccos_test_data): Likewise.
6916 (ccosh_test_data): Likewise.
6917 (ceil_test_data): Likewise.
6918 (cexp_test_data): Likewise.
6919 (cimag_test_data): Likewise.
6920 (clog_test_data): Likewise.
6921 (clog10_test_data): Likewise.
6922 (conj_test_data): Likewise.
6923 (copysign_test_data): Likewise.
6924 (cos_test_data): Likewise.
6925 (cos_tonearest_test_data): Likewise.
6926 (cos_towardzero_test_data): Likewise.
6927 (cos_downward_test_data): Likewise.
6928 (cos_upward_test_data): Likewise.
6929 (cosh_test_data): Likewise.
6930 (cosh_tonearest_test_data): Likewise.
6931 (cosh_towardzero_test_data): Likewise.
6932 (cosh_downward_test_data): Likewise.
6933 (cosh_upward_test_data): Likewise.
6934 (cpow_test_data): Likewise.
6935 (cproj_test_data): Likewise.
6936 (creal_test_data): Likewise.
6937 (csin_test_data): Likewise.
6938 (csinh_test_data): Likewise.
6939 (csqrt_test_data): Likewise.
6940 (ctan_test_data): Likewise.
6941 (ctan_tonearest_test_data): Likewise.
6942 (ctan_towardzero_test_data): Likewise.
6943 (ctan_downward_test_data): Likewise.
6944 (ctan_upward_test_data): Likewise.
6945 (ctanh_test_data): Likewise.
6946 (ctanh_tonearest_test_data): Likewise.
6947 (ctanh_towardzero_test_data): Likewise.
6948 (ctanh_downward_test_data): Likewise.
6949 (ctanh_upward_test_data): Likewise.
6950 (erf_test_data): Likewise.
6951 (erfc_test_data): Likewise.
6952 (exp_test_data): Likewise.
6953 (exp_tonearest_test_data): Likewise.
6954 (exp_towardzero_test_data): Likewise.
6955 (exp_downward_test_data): Likewise.
6956 (exp_upward_test_data): Likewise.
6957 (exp10_test_data): Likewise.
6958 (exp2_test_data): Likewise.
6959 (expm1_test_data): Likewise.
6960 (fabs_test_data): Likewise.
6961 (fdim_test_data): Likewise.
6962 (finite_test_data): Likewise.
6963 (floor_test_data): Likewise.
6964 (fma_test_data): Likewise.
6965 (fma_towardzero_test_data): Likewise.
6966 (fma_downward_test_data): Likewise.
6967 (fma_upward_test_data): Likewise.
6968 (fmax_test_data): Likewise.
6969 (fmin_test_data): Likewise.
6970 (fmod_test_data): Likewise.
6971 (fpclassify_test_data): Likewise.
6972 (frexp_test_data): Likewise.
6973 (gamma_test_data): Likewise.
6974 (hypot_test_data): Likewise.
6975 (ilogb_test_data): Likewise.
6976 (isfinite_test_data): Likewise.
6977 (isgreater_test_data): Likewise.
6978 (isgreaterequal_test_data): Likewise.
6979 (isinf_test_data): Likewise.
6980 (isless_test_data): Likewise.
6981 (islessequal_test_data): Likewise.
6982 (islessgreater_test_data): Likewise.
6983 (isnan_test_data): Likewise.
6984 (isnormal_test_data): Likewise.
6985 (issignaling_test_data): Likewise.
6986 (isunordered_test_data): Likewise.
6987 (j0_test_data): Likewise.
6988 (j1_test_data): Likewise.
6989 (jn_test_data): Likewise.
6990 (ldexp_test_data): Likewise.
6991 (lgamma_test_data): Likewise.
6992 (lrint_test_data): Likewise.
6993 (lrint_tonearest_test_data): Likewise.
6994 (lrint_towardzero_test_data): Likewise.
6995 (lrint_downward_test_data): Likewise.
6996 (lrint_upward_test_data): Likewise.
6997 (llrint_test_data): Likewise.
6998 (llrint_tonearest_test_data): Likewise.
6999 (llrint_towardzero_test_data): Likewise.
7000 (llrint_downward_test_data): Likewise.
7001 (llrint_upward_test_data): Likewise.
7002 (log_test_data): Likewise.
7003 (log10_test_data): Likewise.
7004 (log1p_test_data): Likewise.
7005 (log2_test_data): Likewise.
7006 (logb_test_data): Likewise.
7007 (logb_downward_test_data): Likewise.
7008 (lround_test_data): Likewise.
7009 (llround_test_data): Likewise.
7010 (modf_test_data): Likewise.
7011 (nearbyint_test_data): Likewise.
7012 (nextafter_test_data): Likewise.
7013 (nexttoward_test_data): Likewise.
7014 (pow_test_data): Likewise.
7015 (pow_tonearest_test_data): Likewise.
7016 (pow_towardzero_test_data): Likewise.
7017 (pow_downward_test_data): Likewise.
7018 (pow_upward_test_data): Likewise.
7019 (remainder_test_data): Likewise.
7020 (remainder_tonearest_test_data): Likewise.
7021 (remainder_towardzero_test_data): Likewise.
7022 (remainder_downward_test_data): Likewise.
7023 (remainder_upward_test_data): Likewise.
7024 (remquo_test_data): Likewise.
7025 (rint_test_data): Likewise.
7026 (rint_tonearest_test_data): Likewise.
7027 (rint_towardzero_test_data): Likewise.
7028 (rint_downward_test_data): Likewise.
7029 (rint_upward_test_data): Likewise.
7030 (round_test_data): Likewise.
7031 (scalb_test_data): Likewise.
7032 (scalbn_test_data): Likewise.
7033 (scalbln_test_data): Likewise.
7034 (signbit_test_data): Likewise.
7035 (sin_test_data): Likewise.
7036 (sin_tonearest_test_data): Likewise.
7037 (sin_towardzero_test_data): Likewise.
7038 (sin_downward_test_data): Likewise.
7039 (sin_upward_test_data): Likewise.
7040 (sincos_test_data): Likewise.
7041 (sinh_test_data): Likewise.
7042 (sinh_tonearest_test_data): Likewise.
7043 (sinh_towardzero_test_data): Likewise.
7044 (sinh_downward_test_data): Likewise.
7045 (sinh_upward_test_data): Likewise.
7046 (sqrt_test_data): Likewise.
7047 (tan_test_data): Likewise.
7048 (tan_tonearest_test_data): Likewise.
7049 (tan_towardzero_test_data): Likewise.
7050 (tan_downward_test_data): Likewise.
7051 (tan_upward_test_data): Likewise.
7052 (tanh_test_data): Likewise.
7053 (tgamma_test_data): Likewise.
7054 (trunc_test_data): Likewise.
7055 (y0_test_data): Likewise.
7056 (y1_test_data): Likewise.
7057 (yn_test_data): Likewise.
7058 (significand_test_data): Likewise.
7059
b679a606
JM
7060 * math/gen-libm-test.pl (@functions): Remove variable.
7061 (generate_testfile): Don't handle START and END lines.
7062 * math/libm-test.inc (START): New macro.
7063 (END): Likewise.
7064 (END_COMPLEX): Likewise.
7065 (acos_test): Use END macro without arguments.
7066 (acos_test_tonearest): Likewise.
7067 (acos_test_towardzero): Likewise.
7068 (acos_test_downward): Likewise.
7069 (acos_test_upward): Likewise.
7070 (acosh_test): Likewise.
7071 (asin_test): Likewise.
7072 (asin_test_tonearest): Likewise.
7073 (asin_test_towardzero): Likewise.
7074 (asin_test_downward): Likewise.
7075 (asin_test_upward): Likewise.
7076 (asinh_test): Likewise.
7077 (atan_test): Likewise.
7078 (atanh_test): Likewise.
7079 (atan2_test): Likewise.
7080 (cabs_test): Likewise.
7081 (cacos_test): Use END_COMPLEX macro without arguments.
7082 (cacosh_test): Likewise.
7083 (carg_test): Use END macro without arguments.
7084 (casin_test): Use END_COMPLEX macro without arguments.
7085 (casinh_test): Likewise.
7086 (catan_test): Likewise.
7087 (catanh_test): Likewise.
7088 (cbrt_test): Use END macro without arguments.
7089 (ccos_test): Use END_COMPLEX macro without arguments.
7090 (ccosh_test): Likewise.
7091 (ceil_test): Use END macro without arguments.
7092 (cexp_test): Use END_COMPLEX macro without arguments.
7093 (cimag_test): Use END macro without arguments.
7094 (clog_test): Use END_COMPLEX macro without arguments.
7095 (clog10_test): Likewise.
7096 (conj_test): Likewise.
7097 (copysign_test): Use END macro without arguments.
7098 (cos_test): Likewise.
7099 (cos_test_tonearest): Likewise.
7100 (cos_test_towardzero): Likewise.
7101 (cos_test_downward): Likewise.
7102 (cos_test_upward): Likewise.
7103 (cosh_test): Likewise.
7104 (cosh_test_tonearest): Likewise.
7105 (cosh_test_towardzero): Likewise.
7106 (cosh_test_downward): Likewise.
7107 (cosh_test_upward): Likewise.
7108 (cpow_test): Use END_COMPLEX macro without arguments.
7109 (cproj_test): Likewise.
7110 (creal_test): Use END macro without arguments.
7111 (csin_test): Use END_COMPLEX macro without arguments.
7112 (csinh_test): Likewise.
7113 (csqrt_test): Likewise.
7114 (ctan_test): Likewise.
7115 (ctan_test_tonearest): Likewise.
7116 (ctan_test_towardzero): Likewise.
7117 (ctan_test_downward): Likewise.
7118 (ctan_test_upward): Likewise.
7119 (ctanh_test): Likewise.
7120 (ctanh_test_tonearest): Likewise.
7121 (ctanh_test_towardzero): Likewise.
7122 (ctanh_test_downward): Likewise.
7123 (ctanh_test_upward): Likewise.
7124 (erf_test): Use END macro without arguments.
7125 (erfc_test): Likewise.
7126 (exp_test): Likewise.
7127 (exp_test_tonearest): Likewise.
7128 (exp_test_towardzero): Likewise.
7129 (exp_test_downward): Likewise.
7130 (exp_test_upward): Likewise.
7131 (exp10_test): Likewise.
7132 (exp2_test): Likewise.
7133 (expm1_test): Likewise.
7134 (fabs_test): Likewise.
7135 (fdim_test): Likewise.
7136 (finite_test): Likewise.
7137 (floor_test): Likewise.
7138 (fma_test): Likewise.
7139 (fma_test_towardzero): Likewise.
7140 (fma_test_downward): Likewise.
7141 (fma_test_upward): Likewise.
7142 (fmax_test): Likewise.
7143 (fmin_test): Likewise.
7144 (fmod_test): Likewise.
7145 (fpclassify_test): Likewise.
7146 (frexp_test): Likewise.
7147 (gamma_test): Likewise.
7148 (hypot_test): Likewise.
7149 (ilogb_test): Likewise.
7150 (isfinite_test): Likewise.
7151 (isgreater_test): Likewise.
7152 (isgreaterequal_test): Likewise.
7153 (isinf_test): Likewise.
7154 (isless_test): Likewise.
7155 (islessequal_test): Likewise.
7156 (islessgreater_test): Likewise.
7157 (isnan_test): Likewise.
7158 (isnormal_test): Likewise.
7159 (issignaling_test): Likewise.
7160 (isunordered_test): Likewise.
7161 (j0_test): Likewise.
7162 (j1_test): Likewise.
7163 (jn_test): Likewise.
7164 (ldexp_test): Likewise.
7165 (lgamma_test): Likewise.
7166 (lrint_test): Likewise.
7167 (lrint_test_tonearest): Likewise.
7168 (lrint_test_towardzero): Likewise.
7169 (lrint_test_downward): Likewise.
7170 (lrint_test_upward): Likewise.
7171 (llrint_test): Likewise.
7172 (llrint_test_tonearest): Likewise.
7173 (llrint_test_towardzero): Likewise.
7174 (llrint_test_downward): Likewise.
7175 (llrint_test_upward): Likewise.
7176 (log_test): Likewise.
7177 (log10_test): Likewise.
7178 (log1p_test): Likewise.
7179 (log2_test): Likewise.
7180 (logb_test): Likewise.
7181 (logb_test_downward): Likewise.
7182 (lround_test): Likewise.
7183 (llround_test): Likewise.
7184 (modf_test): Likewise.
7185 (nearbyint_test): Likewise.
7186 (nextafter_test): Likewise.
7187 (nexttoward_test): Likewise.
7188 (pow_test): Likewise.
7189 (pow_test_tonearest): Likewise.
7190 (pow_test_towardzero): Likewise.
7191 (pow_test_downward): Likewise.
7192 (pow_test_upward): Likewise.
7193 (remainder_test): Likewise.
7194 (remainder_test_tonearest): Likewise.
7195 (remainder_test_towardzero): Likewise.
7196 (remainder_test_downward): Likewise.
7197 (remainder_test_upward): Likewise.
7198 (remquo_test): Likewise.
7199 (rint_test): Likewise.
7200 (rint_test_tonearest): Likewise.
7201 (rint_test_towardzero): Likewise.
7202 (rint_test_downward): Likewise.
7203 (rint_test_upward): Likewise.
7204 (round_test): Likewise.
7205 (scalb_test): Likewise.
7206 (scalbn_test): Likewise.
7207 (scalbln_test): Likewise.
7208 (signbit_test): Likewise.
7209 (sin_test): Likewise.
7210 (sin_test_tonearest): Likewise.
7211 (sin_test_towardzero): Likewise.
7212 (sin_test_downward): Likewise.
7213 (sin_test_upward): Likewise.
7214 (sincos_test): Likewise.
7215 (sinh_test): Likewise.
7216 (sinh_test_tonearest): Likewise.
7217 (sinh_test_towardzero): Likewise.
7218 (sinh_test_downward): Likewise.
7219 (sinh_test_upward): Likewise.
7220 (sqrt_test): Likewise.
7221 (tan_test): Likewise.
7222 (tan_test_tonearest): Likewise.
7223 (tan_test_towardzero): Likewise.
7224 (tan_test_downward): Likewise.
7225 (tan_test_upward): Likewise.
7226 (tanh_test): Likewise.
7227 (tgamma_test): Likewise.
7228 (trunc_test): Likewise.
7229 (y0_test): Likewise.
7230 (y1_test): Likewise.
7231 (yn_test): Likewise.
7232 (significand_test): Likewise.
7233
bae143d2
OB
72342013-05-24 Ondřej Bílka <neleai@seznam.cz>
7235
7236 [BZ #15381]
7237 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7238
9323d39b
EM
72392013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7240
d4ea44a0 7241 [BZ #14894]
9323d39b
EM
7242 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7243 __ppc_mdoio and __ppc_mdoom.
7244 * manual/platform.texi: Document new functions __ppc_yield,
7245 __ppc_mdoio and __ppc_mdoom.
7246
13e23af7
CD
72472013-05-22 Carlos O'Donell <carlos@redhat.com>
7248
7249 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7250 (main): Mention "tls" pseudo-hwcap is legacy.
7251 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7252
351fe550
JM
72532013-05-22 Joseph Myers <joseph@codesourcery.com>
7254
7255 * math/gen-libm-test.pl (parse_args): Output only string of
7256 arguments as text for test name, not full call or descriptions of
7257 tests for extra outputs.
7258 (generate_testfile): Do not pass function name to parse_args.
7259 Generate this_func variable from START.
7260 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7261 field to arg_str.
7262 (struct test_ff_f_data): Likewise.
7263 (test_ff_f_data_nexttoward): Likewise.
7264 (struct test_fi_f_data): Likewise.
7265 (struct test_fl_f_data): Likewise.
7266 (struct test_if_f_data): Likewise.
7267 (struct test_fff_f_data): Likewise.
7268 (struct test_c_f_data): Likewise.
7269 (struct test_f_f1_data): Likewise. Remove field extra_name.
7270 (struct test_fF_f1_data): Likewise.
7271 (struct test_ffI_f1_data): Likewise.
7272 (struct test_c_c_data): Rename test_name field to arg_str.
7273 (struct test_cc_c_data): Likewise.
7274 (struct test_f_i_data): Likewise.
7275 (struct test_ff_i_data): Likewise.
7276 (struct test_f_l_data): Likewise.
7277 (struct test_f_L_data): Likewise.
7278 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7279 and extra2_name.
7280 (COMMON_TEST_SETUP): New macro.
7281 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7282 (COMMON_TEST_CLEANUP): Likewise.
7283 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7284 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7285 macros.
7286 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7287 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7288 macros.
7289 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7290 (RUN_TEST_fff_f): Take argument string. Call new setup and
7291 cleanup macros.
7292 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7293 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7294 macros.
7295 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7296 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7297 macros.
7298 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7299 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7300 cleanup macros.
7301 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7302 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7303 cleanup macros.
7304 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7305 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7306 cleanup macros.
7307 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7308 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7309 macros.
7310 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7311 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7312 macros.
7313 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7314 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7315 macros.
7316 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7317 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7318 cleanup macros.
7319 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7320 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7321 cleanup macros.
7322 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7323 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7324 macros.
7325 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7326 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7327 cleanup macros.
7328 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7329 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7330 macros.
7331 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7332 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7333 macros.
7334 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7335 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7336 cleanup macros.
7337 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7338
85118d4d
EBM
73392013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7340
7341 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7342 to _sifields.sigfault.
7343 (si_addr_lsb): Define new macro.
7344 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7345 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7346 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7347
7a44c18f
CD
73482013-05-03 Carlos O'Donell <carlos at redhat.com>
7349
7350 [BZ #15441]
7351 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7352 returns -1.
7353 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7354 null return -1.
7355 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7356 loading the domain.
7357
b50a7181
JM
73582013-05-22 Joseph Myers <joseph@codesourcery.com>
7359
7360 * math/gen-libm-test.pl (parse_args): Do not include expected
7361 result in test name.
7362 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7363 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7364 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7365 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7366 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7368
051063c8
SP
73692013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7370
3ce9e010
SP
7371 * benchtests/Makefile: Sort function entries.
7372
051063c8
SP
7373 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7374 tanh, asinh, acosh, atanh.
7375 * benchtests/acos-inputs: New file.
7376 * benchtests/acosh-inputs: New file.
7377 * benchtests/asin-inputs: New file.
7378 * benchtests/asinh-inputs: New file.
7379 * benchtests/atanh-inputs: New file.
7380 * benchtests/cosh-inputs: New file.
7381 * benchtests/log-inputs: New file.
7382 * benchtests/sinh-inputs: New file.
7383 * benchtests/tanh-inputs: New file.
7384
47c22455
DL
73852013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7386
7387 [BZ #15339]
7388 * posix/tst-getaddrinfo4.c: New test.
7389 * posix/Makefile (tests): Add it.
7390
3d04f5db
SP
73912013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7392
7393 [BZ #15339]
7394 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7395 when no services were used.
7396 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7397 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7398
d5dd6189
AS
73992013-05-21 Andreas Schwab <schwab@suse.de>
7400
7401 [BZ #15014]
7402 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7403 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7404 successful.
7405 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7406 redundant variable declarations and reallocation of buffer when
7407 parsing as IPv6 address. Always set NSS status when called from
7408 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7409 buffer too small. Correct computation of needed size.
7410 * nss/Makefile (tests): Add test-digits-dots.
7411 * nss/test-digits-dots.c: New test.
7412
fef94eab
SP
74132013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7414
7415 * benchtests/Makefile: Remove instructions for adding
7416 benchmark tests.
7417 * benchtests/README: New file to explain how to execute and
7418 enhance the benchmark tests.
7419
e39adf43
AS
74202013-05-21 Andreas Schwab <schwab@suse.de>
7421
7422 [BZ #15493]
7423 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7424 * setjmp/tst-sigsetjmp.c: New test.
7425
b2b671b6
OB
74262013-05-20 Ondřej Bílka <neleai@seznam.cz>
7427
7428 * sysdeps/x86_64/memset.S (memset): New implementation.
7429 (__bzero): Likewise.
7430 (__memset_tail): New function.
7431
2d48b41c
OB
74322013-05-20 Ondřej Bílka <neleai@seznam.cz>
7433
7434 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7435 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7436 __memcpy_sse2_unaligned ifunc selection.
7437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7438 Add memcpy-sse2-unaligned.S.
7439 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7440 Add: __memcpy_sse2_unaligned.
7441
f16cc3eb
JM
74422013-05-19 Joseph Myers <joseph@codesourcery.com>
7443
3e694268
JM
7444 [BZ #15490]
7445 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7446 math_force_eval before restoring floating-point envrionment.
7447 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7448 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7449 Likewise.
7450 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7451 <math_private.h>.
7452 (__nearbyintl): Use math_force_eval before restoring
7453 floating-point environment.
7454 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7455
db62a907
JM
7456 * math/gen-libm-test.pl (special_functions): Remove.
7457 (parse_args): Don't handle TEST_extra. Handle functions with no
7458 return value.
7459 * math/libm-test.inc (struct test_sincos_data): Replace with
7460 struct test_fFF_11_data.
7461 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7462 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7463 (sincos_test_data): Change element type to struct
7464 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7465 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7466 RUN_TEST_LOOP_sincos.
7467 * math/README.libm-test: Don't mention special handling of
7468 individual functions.
7469 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7470 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7471 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7472 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7473 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7475
f16cc3eb
JM
7476 * math/gen-libm-test.pl (get_variable): Remove function.
7477 (parse_args): Don't show pointer parameters to call in test
7478 names. Use "extra output N" in test names for extra outputs
7479 rather than naming variables.
7480
3779b5b6
JM
74812013-05-18 Joseph Myers <joseph@codesourcery.com>
7482
2ee094ff
JM
7483 [BZ #15488]
7484 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7485 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7486 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7487 double tests.
7488 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7489 disable.
7490 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7491 check_long_double.
7492
3779b5b6
JM
7493 * math/gen-libm-test.pl (@tests): Remove variable.
7494 ($count): Likewise.
7495 (new_test): Remove function.
7496 (show_exceptions): New function.
7497 (special_functions): Use show_exceptions instead of new_test.
7498 (parse_args): Likewise.
7499 (generate_testfile): Pass only function name in generated call to
7500 print_max_error or print_complex_max_error.
7501 (get_ulps): Do not handle complex tests specially.
7502 (output_test): Rename to ...
7503 (get_all_ulps_for_test): ... this. Return a string rather than
7504 printing to a file. Require ulps to be present.
7505 (output_ulps): Generate arrays rather than #defines.
7506 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7507 (struct ulp_data): New type.
7508 (BUILD_COMPLEX_ULP): Remove macro.
7509 (compare_ulp_data): New function.
7510 (find_ulps): Likewise.
7511 (find_test_ulps): Likewise.
7512 (find_function_ulps): Likewise.
7513 (find_complex_function_ulps): Likewise.
7514 (print_max_error): Determine allowed ulps using
7515 find_function_ulps.
7516 (print_complex_max_error): Determine allowed ulps using
7517 find_complex_function_ulps.
7518 (check_float_internal): Determine max ulps using find_test_ulps.
7519 (check_float): Do not take max_ulp parameter. Update call to
7520 check_float_internal.
7521 (check_complex): Likewise.
7522 (check_int): Do not take max_ulp parameter.
7523 (check_long): Likewise.
7524 (check_bool): Likewise.
7525 (check_longlong): Likewise.
7526 (struct test_f_f_data): Remove max_ulp field.
7527 (struct test_ff_f_data): Likewise.
7528 (struct test_ff_f_data_nexttoward): Likewise.
7529 (struct test_fi_f_data): Likewise.
7530 (struct test_fl_f_data): Likewise.
7531 (struct test_if_f_data): Likewise.
7532 (struct test_fff_f_data): Likewise.
7533 (struct test_c_f_data): Likewise.
7534 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7535 (struct test_fF_f1_data): Likewise.
7536 (struct test_ffI_f1_data): Likewise.
7537 (struct test_c_c_data): Remove max_ulp field.
7538 (struct test_cc_c_data): Likewise.
7539 (struct test_f_i_data): Likewise.
7540 (struct test_ff_i_data): Likewise.
7541 (struct test_f_l_data): Likewise.
7542 (struct test_f_L_data): Likewise.
7543 (struct test_sincos_data): Likewise.
7544 (RUN_TEST_f_f): Do not handle ulps.
7545 (RUN_TEST_LOOP_f_f): Likewise.
7546 (RUN_TEST_2_f): Likewise.
7547 (RUN_TEST_LOOP_2_f): Likewise.
7548 (RUN_TEST_fff_f): Likewise.
7549 (RUN_TEST_LOOP_fff_f): Likewise.
7550 (RUN_TEST_c_f): Likewise.
7551 (RUN_TEST_LOOP_c_f): Likewise.
7552 (RUN_TEST_f_f1): Likewise.
7553 (RUN_TEST_LOOP_f_f1): Likewise.
7554 (RUN_TEST_fF_f1): Likewise.
7555 (RUN_TEST_LOOP_fF_f1): Likewise.
7556 (RUN_TEST_fI_f1): Likewise.
7557 (RUN_TEST_LOOP_fI_f1): Likewise.
7558 (RUN_TEST_ffI_f1): Likewise.
7559 (RUN_TEST_LOOP_ffI_f1): Likewise.
7560 (RUN_TEST_c_c): Likewise.
7561 (RUN_TEST_LOOP_c_c): Likewise.
7562 (RUN_TEST_cc_c): Likewise.
7563 (RUN_TEST_LOOP_cc_c): Likewise.
7564 (RUN_TEST_f_i): Likewise.
7565 (RUN_TEST_LOOP_f_i): Likewise.
7566 (RUN_TEST_f_i_tg): Likewise.
7567 (RUN_TEST_LOOP_f_i_tg): Likewise.
7568 (RUN_TEST_ff_i_tg): Likewise.
7569 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7570 (RUN_TEST_f_b): Likewise.
7571 (RUN_TEST_LOOP_f_b): Likewise.
7572 (RUN_TEST_f_b_tg): Likewise.
7573 (RUN_TEST_LOOP_f_b_tg): Likewise.
7574 (RUN_TEST_f_l): Likewise.
7575 (RUN_TEST_LOOP_f_l): Likewise.
7576 (RUN_TEST_f_L): Likewise.
7577 (RUN_TEST_LOOP_f_L): Likewise.
7578 (RUN_TEST_sincos): Likewise.
7579 (RUN_TEST_LOOP_sincos): Likewise.
7580
8269107f
JM
75812013-05-17 Joseph Myers <joseph@codesourcery.com>
7582
bb38759d
JM
7583 [BZ #15480]
7584 [BZ #15485]
7585 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7586 main case of finite arguments, set rounding mode to FE_TONEAREST
7587 and discard exceptions.
7588 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7589 exceptions.
7590 (remainder_tonearest_test_data): New variable.
7591 (remainder_test_tonearest): New function.
7592 (remainder_towardzero_test_data): New variable.
7593 (remainder_test_towardzero): New function.
7594 (remainder_downward_test_data): New variable.
7595 (remainder_test_downward): New function.
7596 (remainder_upward_test_data): New variable.
7597 (remainder_test_upward): New function.
7598 (main): Call the new test functions.
7599
a00bdcf0
JM
7600 * math/libm-test.inc (struct test_f_f1_data): Remove field
7601 extra_init.
7602 (struct test_fF_f1_data): Likewise.
7603 (struct test_ffI_f1_data): Likewise.
7604 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7605 based on value of EXTRA_EXPECTED.
7606 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7607 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7608 EXTRA_VAR based on value of EXTRA_EXPECTED.
7609 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7610 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7611 EXTRA_VAR based on value of EXTRA_EXPECTED.
7612 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7613 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7614 EXTRA_VAR based on value of EXTRA_EXPECTED.
7615 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7616 * math/gen-libm-test.pl (parse_args): Don't output initializers
7617 for extra output values.
7618
de407f79
JM
7619 * math/libm-test.inc (check_int): Expect result to be exactly
7620 equal to expected value and do not handle ulps.
7621 (check_long): Likewise.
7622 (check_longlong): Likewise.
7623
8269107f
JM
7624 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7625 exceptions.
7626 (cimag_test_data): Likewise.
7627 (conj_test_data): Likewise.
7628 (copysign_test_data): Likewise.
7629 (cproj_test_data): Likewise.
7630 (creal_test_data): Likewise.
7631 (fabs_test_data): Likewise.
7632 (fdim_test_data): Likewise.
7633 (finite_test_data): Likewise.
7634 (floor_test_data): Likewise.
7635 (fmax_test_data): Likewise.
7636 (fmin_test_data): Likewise.
7637 (fmod_test_data): Likewise.
7638 (fpclassify_test_data): Likewise.
7639 (frexp_test_data): Likewise.
7640 (ilogb_test_data): Likewise.
7641 (isfinite_test_data): Likewise.
7642 (isgreater_test_data): Likewise.
7643 (isgreaterequal_test_data): Likewise.
7644 (isinf_test_data): Likewise.
7645 (isless_test_data): Likewise.
7646 (islessequal_test_data): Likewise.
7647 (islessgreater_test_data): Likewise.
7648 (isnan_test_data): Likewise.
7649 (isnormal_test_data): Likewise.
7650 (issignaling_test_data): Likewise.
7651 (isunordered_test_data): Likewise.
7652 (ldexp_test_data): Likewise.
7653 (lrint_test_data): Likewise.
7654 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7655 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7656 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7657 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7658 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7659 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7660 test input.
7661 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7662 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7663 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7664 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7665 that test input.
7666 (lrint_downward_test_data): Test for "inexact" exceptions.
7667 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7668 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7669 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7670 test input.
7671 (lrint_upward_test_data): Test for "inexact" exceptions.
7672 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7673 test input.
7674 (llrint_test_data): Test for "inexact" exceptions.
7675 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7676 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7677 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7678 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7679 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7680 (llrint_downward_test_data): Test for "inexact" exceptions.
7681 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7682 (llrint_upward_test_data): Test for "inexact" exceptions.
7683 (logb_test_data): Likewise.
7684 (logb_downward_test_data): Likewise.
7685 (nextafter_test_data): Likewise.
7686 (nexttoward_test_data): Likewise.
7687 (remainder_test_data): Likewise.
7688 (remquo_test_data): Likewise.
7689 (scalbn_test_data): Likewise.
7690 (scalbln_test_data): Likewise.
7691 (signbit_test_data): Likewise.
7692 (sqrt_test_data): Likewise.
7693 (significand_test_data): Likewise.
7694
48a18de1
SP
76952013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7696
7697 [BZ #15424]
7698 * benchtests/bench-modf.c (struct args): Mark arg0 as
7699 volatile.
7700 * scripts/bench.pl: Mark members of struct args as volatile.
7701
13d3b41a
AZ
77022013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7703
68191c1d 7704 [BZ # 15497]
13d3b41a
AZ
7705 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7706 negative infinity on POWER6 or lower.
7707 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7708
2848b105
MR
77092013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7710
7711 [BZ #15442]
7712 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7713 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7714 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7715 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7716 (_FP_SETQNAN): New macro.
7717 (_FP_SETQNAN_SEMIRAW): Likewise.
7718 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7719 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7720 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7721 (FP_EXTEND): Use _FP_FRAC_SNANP.
7722 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7723 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7724 into account.
7725 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7726 New macro.
7727 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7728 Likewise.
7729
323e5cb7
JM
77302013-05-16 Joseph Myers <joseph@codesourcery.com>
7731
c58b274f
JM
7732 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7733 with DIVIDE_BY_ZERO_EXCEPTION.
7734 (gamma_test_data): Likewise.
7735 (lgamma_test_data): Likewise.
7736 (log_test_data): Likewise.
7737 (log10_test_data): Likewise.
7738 (log2_test_data): Likewise.
7739 (tgamma_test_data): Likewise.
7740
0ab34904
JM
7741 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7742 (acos_test_tonearest): Likewise.
7743 (acos_test_towardzero): Likewise.
7744 (acos_test_downward): Likewise.
7745 (acos_test_upward): Likewise.
7746 (acosh_test): Likewise.
7747 (asin_test): Likewise.
7748 (asin_test_tonearest): Likewise.
7749 (asin_test_towardzero): Likewise.
7750 (asin_test_downward): Likewise.
7751 (asin_test_upward): Likewise.
7752 (asinh_test): Likewise.
7753 (atan_test): Likewise.
7754 (atanh_test): Likewise.
7755 (atan2_test): Likewise.
7756 (cabs_test): Likewise.
7757 (cacos_test): Likewise.
7758 (cacosh_test): Likewise.
7759 (casin_test): Likewise.
7760 (casinh_test): Likewise.
7761 (catan_test): Likewise.
7762 (catanh_test): Likewise.
7763 (cbrt_test): Likewise.
7764 (ccos_test): Likewise.
7765 (ccosh_test): Likewise.
7766 (cexp_test): Likewise.
7767 (clog_test): Likewise.
7768 (clog10_test): Likewise.
7769 (cos_test): Likewise.
7770 (cos_test_tonearest): Likewise.
7771 (cos_test_towardzero): Likewise.
7772 (cos_test_downward): Likewise.
7773 (cos_test_upward): Likewise.
7774 (cosh_test): Likewise.
7775 (cosh_test_tonearest): Likewise.
7776 (cosh_test_towardzero): Likewise.
7777 (cosh_test_downward): Likewise.
7778 (cosh_test_upward): Likewise.
7779 (cpow_test): Likewise.
7780 (csin_test): Likewise.
7781 (csinh_test): Likewise.
7782 (csqrt_test): Likewise.
7783 (ctan_test): Likewise.
7784 (ctan_test_tonearest): Likewise.
7785 (ctan_test_towardzero): Likewise.
7786 (ctan_test_downward): Likewise.
7787 (ctan_test_upward): Likewise.
7788 (ctanh_test): Likewise.
7789 (ctanh_test_tonearest): Likewise.
7790 (ctanh_test_towardzero): Likewise.
7791 (ctanh_test_downward): Likewise.
7792 (ctanh_test_upward): Likewise.
7793 (erf_test): Likewise.
7794 (erfc_test): Likewise.
7795 (exp_test): Likewise.
7796 (exp_test_tonearest): Likewise.
7797 (exp_test_towardzero): Likewise.
7798 (exp_test_downward): Likewise.
7799 (exp_test_upward): Likewise.
7800 (exp10_test): Likewise.
7801 (exp2_test): Likewise.
7802 (expm1_test): Likewise.
7803 (fmod_test): Likewise.
7804 (gamma_test): Likewise.
7805 (hypot_test): Likewise.
7806 (j0_test): Likewise.
7807 (j1_test): Likewise.
7808 (jn_test): Likewise.
7809 (lgamma_test): Likewise.
7810 (log_test): Likewise.
7811 (log10_test): Likewise.
7812 (log1p_test): Likewise.
7813 (log2_test): Likewise.
7814 (logb_test_downward): Likewise.
7815 (pow_test): Likewise.
7816 (pow_test_tonearest): Likewise.
7817 (pow_test_towardzero): Likewise.
7818 (pow_test_downward): Likewise.
7819 (pow_test_upward): Likewise.
7820 (remainder_test): Likewise.
7821 (remquo_test): Likewise.
7822 (sin_test): Likewise.
7823 (sin_test_tonearest): Likewise.
7824 (sin_test_towardzero): Likewise.
7825 (sin_test_downward): Likewise.
7826 (sin_test_upward): Likewise.
7827 (sincos_test): Likewise.
7828 (sinh_test): Likewise.
7829 (sinh_test_tonearest): Likewise.
7830 (sinh_test_towardzero): Likewise.
7831 (sinh_test_downward): Likewise.
7832 (sinh_test_upward): Likewise.
7833 (sqrt_test): Likewise.
7834 (tan_test): Likewise.
7835 (tan_test_tonearest): Likewise.
7836 (tan_test_towardzero): Likewise.
7837 (tan_test_downward): Likewise.
7838 (tan_test_upward): Likewise.
7839 (tanh_test): Likewise.
7840 (tgamma_test): Likewise.
7841 (y0_test): Likewise.
7842 (y1_test): Likewise.
7843 (yn_test): Likewise.
7844
323e5cb7
JM
7845 * math/gen-libm-test.pl (adjust_arg): Remove function.
7846 (special_function): Remove argument $in_func. Only handle
7847 generating output for tables of tests, not inside functions.
7848 (parse_args): Likewise.
7849 (generate_testfile): Remove variable $in_func. Update call to
7850 parse_args.
7851 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7852 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7853 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7854 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7855 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7856 (MAX_VALUE_INIT): Rename macro to max_value.
7857 (MIN_VALUE_INIT): Rename macro to min_value.
7858 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7859 (plus_zero): Remove variable.
7860 (minus_zero): Likewise.
7861 (plus_infty): Likewise.
7862 (minus_infty): Likewise.
7863 (qnan_value): Likewise.
7864 (max_value): Likewise.
7865 (min_value): Likewise.
7866 (min_subnorm_value): Likewise.
7867
e054f494
RA
78682013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7869
7870 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7871 uint64_t or uint32_t usage.
7872 * crypt/sha256-block.c: Likewise.
7873 * crypt/sha256-crypt.c: Likewise.
7874 * crypt/sha256.c: Likewise.
7875 * crypt/sha512-block.c: Likewise.
7876 * crypt/sha512-crypt.c: Likewise.
7877 * crypt/sha512.c: Likewise.
7878 * debug/backtrace-tst.c: Likewise.
7879 * debug/pcprofiledump.c: Likewise.
7880 * elf/cache.c: Likewise.
7881 * elf/dl-cache.c: Likewise.
7882 * elf/dl-misc.c: Likewise.
7883 * elf/dl-profile.c: Likewise.
7884 * elf/dl-support.c: Likewise.
7885 * elf/ldconfig.c: Likewise.
7886 * elf/sprof.c: Likewise.
7887 * iconv/dummy-repertoire.c: Likewise.
7888 * iconv/iconv_charmap.c: Likewise.
7889 * iconv/skeleton.c: Likewise.
7890 * iconvdata/8bit-generic.c: Likewise.
7891 * iconvdata/cp737.h: Likewise.
7892 * iconvdata/cp775.h: Likewise.
7893 * iconvdata/ibm1008.h: Likewise.
7894 * iconvdata/ibm1025.h: Likewise.
7895 * iconvdata/ibm1046.h: Likewise.
7896 * iconvdata/ibm1097.h: Likewise.
7897 * iconvdata/ibm1112.h: Likewise.
7898 * iconvdata/ibm1122.h: Likewise.
7899 * iconvdata/ibm1123.h: Likewise.
7900 * iconvdata/ibm1124.h: Likewise.
7901 * iconvdata/ibm1129.h: Likewise.
7902 * iconvdata/ibm1130.h: Likewise.
7903 * iconvdata/ibm1132.h: Likewise.
7904 * iconvdata/ibm1133.h: Likewise.
7905 * iconvdata/ibm1137.h: Likewise.
7906 * iconvdata/ibm1140.h: Likewise.
7907 * iconvdata/ibm1141.h: Likewise.
7908 * iconvdata/ibm1142.h: Likewise.
7909 * iconvdata/ibm1143.h: Likewise.
7910 * iconvdata/ibm1144.h: Likewise.
7911 * iconvdata/ibm1145.h: Likewise.
7912 * iconvdata/ibm1146.h: Likewise.
7913 * iconvdata/ibm1147.h: Likewise.
7914 * iconvdata/ibm1148.h: Likewise.
7915 * iconvdata/ibm1149.h: Likewise.
7916 * iconvdata/ibm1153.h: Likewise.
7917 * iconvdata/ibm1154.h: Likewise.
7918 * iconvdata/ibm1155.h: Likewise.
7919 * iconvdata/ibm1156.h: Likewise.
7920 * iconvdata/ibm1157.h: Likewise.
7921 * iconvdata/ibm1158.h: Likewise.
7922 * iconvdata/ibm1160.h: Likewise.
7923 * iconvdata/ibm1161.h: Likewise.
7924 * iconvdata/ibm1162.h: Likewise.
7925 * iconvdata/ibm1163.h: Likewise.
7926 * iconvdata/ibm1164.h: Likewise.
7927 * iconvdata/ibm1166.h: Likewise.
7928 * iconvdata/ibm1167.h: Likewise.
7929 * iconvdata/ibm12712.h: Likewise.
7930 * iconvdata/ibm1390.h: Likewise.
7931 * iconvdata/ibm1399.h: Likewise.
7932 * iconvdata/ibm16804.h: Likewise.
7933 * iconvdata/ibm4517.h: Likewise.
7934 * iconvdata/ibm4899.h: Likewise.
7935 * iconvdata/ibm4909.h: Likewise.
7936 * iconvdata/ibm4971.h: Likewise.
7937 * iconvdata/ibm5347.h: Likewise.
7938 * iconvdata/ibm803.h: Likewise.
7939 * iconvdata/ibm856.h: Likewise.
7940 * iconvdata/ibm901.h: Likewise.
7941 * iconvdata/ibm902.h: Likewise.
7942 * iconvdata/ibm9030.h: Likewise.
7943 * iconvdata/ibm9066.h: Likewise.
7944 * iconvdata/ibm921.h: Likewise.
7945 * iconvdata/ibm922.h: Likewise.
7946 * iconvdata/ibm9448.h: Likewise.
7947 * iconvdata/isiri-3342.h: Likewise.
7948 * iconvdata/jis0201.h: Likewise.
7949 * include/link.h: Likewise.
7950 * include/netdb.h: Likewise.
7951 * inet/check_native.c: Likewise.
7952 * inet/check_pf.c: Likewise.
7953 * inet/getipv4sourcefilter.c: Likewise.
7954 * inet/getnameinfo.c: Likewise.
7955 * inet/getsourcefilter.c: Likewise.
7956 * inet/htonl.c: Likewise.
7957 * inet/setipv4sourcefilter.c: Likewise.
7958 * inet/setsourcefilter.c: Likewise.
7959 * inet/test-inet6_opt.c: Likewise.
7960 * inet/tst-network.c: Likewise.
7961 * locale/C-collate.c: Likewise.
7962 * locale/C-ctype.c: Likewise.
7963 * locale/C-time.c: Likewise.
7964 * locale/C-translit.h: Likewise.
7965 * locale/loadarchive.c: Likewise.
7966 * locale/programs/3level.h: Likewise.
7967 * locale/programs/charmap.c: Likewise.
7968 * locale/programs/charmap.h: Likewise.
7969 * locale/programs/ld-address.c: Likewise.
7970 * locale/programs/ld-collate.c: Likewise.
7971 * locale/programs/ld-ctype.c: Likewise.
7972 * locale/programs/ld-identification.c: Likewise.
7973 * locale/programs/ld-measurement.c: Likewise.
7974 * locale/programs/ld-messages.c: Likewise.
7975 * locale/programs/ld-monetary.c: Likewise.
7976 * locale/programs/ld-name.c: Likewise.
7977 * locale/programs/ld-numeric.c: Likewise.
7978 * locale/programs/ld-paper.c: Likewise.
7979 * locale/programs/ld-telephone.c: Likewise.
7980 * locale/programs/ld-time.c: Likewise.
7981 * locale/programs/linereader.c: Likewise.
7982 * locale/programs/locale.c: Likewise.
7983 * locale/programs/locarchive.c: Likewise.
7984 * locale/programs/locfile.h: Likewise.
7985 * locale/programs/repertoire.c: Likewise.
7986 * locale/programs/simple-hash.c: Likewise.
7987 * locale/programs/simple-hash.h: Likewise.
7988 * malloc/memusage.c: Likewise.
7989 * malloc/memusagestat.c: Likewise.
7990 * nis/nis_defaults.c: Likewise.
7991 * nis/nis_hash.c: Likewise.
7992 * nis/nis_print.c: Likewise.
7993 * nis/nis_xdr.c: Likewise.
7994 * nscd/connections.c: Likewise.
7995 * nscd/hstcache.c: Likewise.
7996 * nscd/nscd_gethst_r.c: Likewise.
7997 * nscd/nscd_getserv_r.c: Likewise.
7998 * nscd/nscd_helper.c: Likewise.
7999 * nscd/servicescache.c: Likewise.
8000 * nss/makedb.c: Likewise.
8001 * nss/nss_db/db-XXX.c: Likewise.
8002 * nss/nss_db/db-initgroups.c: Likewise.
8003 * nss/nss_db/db-netgrp.c: Likewise.
8004 * nss/nss_files/files-network.c: Likewise.
8005 * nss/nss_files/files-parse.c: Likewise.
8006 * posix/bug-regex5.c: Likewise.
8007 * posix/fnmatch_loop.c: Likewise.
8008 * posix/regcomp.c: Likewise.
8009 * posix/regexec.c: Likewise.
8010 * posix/tst-rfc3484-2.c: Likewise.
8011 * posix/tst-rfc3484-3.c: Likewise.
8012 * posix/tst-rfc3484.c: Likewise.
8013 * resolv/nss_dns/dns-canon.c: Likewise.
8014 * resolv/nss_dns/dns-network.c: Likewise.
8015 * resolv/res_init.c: Likewise.
8016 * resolv/res_mkquery.c: Likewise.
8017 * resolv/tst-aton.c: Likewise.
8018 * stdlib/cxa_atexit.c: Likewise.
8019 * stdlib/cxa_finalize.c: Likewise.
8020 * stdlib/gen-fpioconst.c: Likewise.
8021 * stdlib/strtol_l.c: Likewise.
8022 * string/tst-endian.c: Likewise.
8023 * sunrpc/auth_des.c: Likewise.
8024 * sunrpc/clnt_udp.c: Likewise.
8025 * sunrpc/rtime.c: Likewise.
8026 * sunrpc/svcauth_des.c: Likewise.
8027 * sunrpc/xdr.c: Likewise.
8028 * sunrpc/xdr_intXX_t.c: Likewise.
8029 * sunrpc/xdr_rec.c: Likewise.
8030 * sysdeps/generic/ldconfig.h: Likewise.
8031 * sysdeps/generic/ldsodefs.h: Likewise.
8032 * sysdeps/generic/memusage.h: Likewise.
8033 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8034 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8035 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8036 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8037 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8038 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8039 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8040 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8041 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8042 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8043 * sysdeps/posix/getaddrinfo.c: Likewise.
8044 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8045 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8046 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8047 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8048 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8049 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8050 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8051 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8052 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8053 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8054 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8055 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8056 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8057 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8058 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8059 * sysdeps/x86_64/dl-tls.h: Likewise.
8060 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8061 * time/alt_digit.c: Likewise.
8062 * time/era.c: Likewise.
8063 * wcsmbs/tst-c16c32-1.c: Likewise.
8064
8c75f674
JM
80652013-05-16 Joseph Myers <joseph@codesourcery.com>
8066
8067 * math/libm-test.inc (struct test_sincos_data): New type.
8068 (RUN_TEST_LOOP_sincos): New macro.
8069 (sincos_test_data): New variable.
8070 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8071
e6e49e59
RH
80722013-05-16 Richard Henderson <rth@redhat.com>
8073
8074 * math/atest-exp2.c (LIMB64): New macro.
8075 (CONSTSZ): New macro.
8076 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8077 (hexdig): Move ...
8078 (print_mpn_fp): ... to function scope.
8079 (read_mpn_hex): Remove.
8080 (get_log2): Remove.
8081 (exp2_mpn): Use mp_log2.
8082 (main): Use mp_exp1.
8083
15c7c18d
JM
80842013-05-16 Joseph Myers <joseph@codesourcery.com>
8085
105a07df
JM
8086 * math/libm-test.inc: Remove comment about not testing "inexact"
8087 exceptions.
8088 (INEXACT_EXCEPTION): New macro.
8089 (NO_INEXACT_EXCEPTION): Likewise.
8090 (INVALID_EXCEPTION_OK): Update value.
8091 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8092 (OVERFLOW_EXCEPTION_OK): Likewise.
8093 (UNDERFLOW_EXCEPTION_OK): Likewise.
8094 (IGNORE_ZERO_INF_SIGN): Likewise.
8095 (ERRNO_UNCHANGED): Likewise.
8096 (ERRNO_EDOM): Likewise.
8097 (ERRNO_ERANGE): Likewise.
8098 (test_exceptions): Handle testing "inexact" exceptions.
8099 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8100 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8101 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8102 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8103 INEXACT_EXCEPTION.
8104 (rint_towardzero_test_data): Likewise.
8105 (rint_downward_test_data): Likewise.
8106 (rint_upward_test_data): Likewise.
8107
e9eee333
JM
8108 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8109 with OVERFLOW_EXCEPTION.
8110 (exp10_test_data): Likewise.
8111 (exp2_test_data): Likewise.
8112 (expm1_test_data): Likewise.
8113 (lgamma_test_data): Likewise.
8114 (pow_test_data): Likewise.
8115 (tgamma_test_data): Likewise.
8116 (yn_test_data): Remove duplicate test of overflow.
8117
1c38ff73
JM
8118 * math/libm-test.inc (struct test_cc_c_data): New type.
8119 (RUN_TEST_LOOP_cc_c): New macro.
8120 (cpow_test_data): New variable.
8121 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8122
15c7c18d
JM
8123 * math/libm-test.inc (struct test_f_L_data): New type.
8124 (RUN_TEST_LOOP_f_L): New macro.
8125 (llrint_test_data): New variable.
8126 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8127 (llrint_tonearest_test_data): New variable.
8128 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8129 (llrint_towardzero_test_data): New variable.
8130 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8131 (llrint_downward_test_data): New variable.
8132 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8133 (llrint_upward_test_data): New variable.
8134 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8135 (llround_test_data): New variable.
8136 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8137
f137ff13
PC
81382013-05-13 Peter Collingbourne <pcc@google.com>
8139
8140 * math/atest-exp2.c (get_log2): Remove const attribute.
8141
3608cb24
JM
81422013-05-15 Joseph Myers <joseph@codesourcery.com>
8143
8144 * math/libm-test.inc (struct test_f_l_data): New type.
8145 (RUN_TEST_LOOP_f_l): New macro.
8146 (lrint_test_data): New variable.
8147 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8148 (lrint_tonearest_test_data): New variable.
8149 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8150 (lrint_towardzero_test_data): New variable.
8151 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8152 (lrint_downward_test_data): New variable.
8153 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8154 (lrint_upward_test_data): New variable.
8155 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8156 (lround_test_data): New variable.
8157 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8158
39b1f617
PC
81592013-05-15 Peter Collingbourne <pcc@google.com>
8160
1deff3dc
PC
8161 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8162 (EXTRACT_WORDS64) Use where appropriate.
8163 (INSERT_WORDS64) Likewise.
8164
791f3ba0
PC
8165 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8166 constraints with x constraints.
8167 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8168
39b1f617
PC
8169 * malloc/obstack.c (_obstack_compat): Add initializer.
8170
12fba011
EM
81712013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8172
8173 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8174 si_trapno and add si_addr_lsb to _sifields.sigfault.
8175 (si_trapno): Remove macro.
8176 (si_addr_lsb): Define new macro.
8177 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8178
d369f531
JM
81792013-05-15 Joseph Myers <joseph@codesourcery.com>
8180
b861c6c4
JM
8181 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8182 instead of TEST_f_l.
8183 (llrint_test_tonearest): Likewise.
8184 (llrint_test_towardzero): Likewise.
8185 (llrint_test_downward): Likewise.
8186 (llrint_test_upward): Likewise.
8187 (llround_test): Likewise.
8188
7abeee12
JM
8189 * math/libm-test.inc (struct test_f_i_data): Add comment.
8190 (RUN_TEST_LOOP_f_b): New macro.
8191 (RUN_TEST_LOOP_f_b_tg): Likewise.
8192 (finite_test_data): New variable.
8193 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8194 (isfinite_test_data): New variable.
8195 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8196 (isinf_test_data): New variable.
8197 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8198 (isnan_test_data): New variable.
8199 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8200 (isnormal_test_data): New variable.
8201 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8202 (issignaling_test_data): New variable.
8203 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8204 (signbit_test_data): New variable.
8205 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8206
cbe8c4d3
JM
8207 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8208 with INVALID_EXCEPTION.
8209 (acosh_test_data): Likewise.
8210 (asin_test_data): Likewise.
8211 (atanh_test_data): Likewise.
8212 (fmod_test_data): Likewise.
8213 (log_test_data): Likewise.
8214 (log10_test_data): Likewise.
8215 (log2_test_data): Likewise.
8216 (pow_test_data): Likewise.
8217 (sqrt_test_data): Likewise.
8218 (y0_test_data): Likewise.
8219 (y1_test_data): Likewise.
8220 (yn_test_data): Likewise.
8221
5575c0e5
JM
8222 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8223 function contents.
8224
d369f531
JM
8225 * math/libm-test.inc (struct test_ff_i_data): New type.
8226 (RUN_TEST_LOOP_ff_i_tg): New macro.
8227 (isgreater_test_data): New variable.
8228 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8229 (isgreaterequal_test_data): New variable.
8230 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8231 (isless_test_data): New variable.
8232 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8233 (islessequal_test_data): New variable.
8234 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8235 (islessgreater_test_data): New variable.
8236 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8237 (isunordered_test_data): New variable.
8238 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8239
781fd748
DM
82402013-05-14 David S. Miller <davem@davemloft.net>
8241
8242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8243
87aa21df
JM
82442013-05-14 Joseph Myers <joseph@codesourcery.com>
8245
5e908270
JM
8246 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8247
f71172e5
JM
8248 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8249 extra_test to int.
8250 (struct test_f_i_data): Change type of max_ulp to int.
8251
8cfa635a
JM
8252 * math/libm-test.inc (test_ffI_f1_data): New type.
8253 (RUN_TEST_LOOP_ffI_f1): New macro.
8254 (remquo_test_data): New variable.
8255 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8256
2bcb36b2
JM
8257 * setjmp/tst-setjmp-fp.c: New file.
8258 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8259 (link-libm): New variable.
8260 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8261
acbd839a
JM
8262 * math/libm-test.inc (struct test_f_i_data): New type.
8263 (RUN_TEST_LOOP_f_i): New macro.
8264 (RUN_TEST_LOOP_f_i_tg): Likewise.
8265 (fpclassify_test_data): New variable.
8266 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8267 (ilogb_test_data): New variable.
8268 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8269
e414d745
JM
8270 * math/libm-test.inc (scalbln_test): Correct function name in END
8271 call.
8272
d9c2a0fd
JM
8273 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8274 (RUN_TEST_LOOP_fI_f1): New macro.
8275 (frexp_test_data): New variable.
8276 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8277
9dc9095d
JM
8278 * math/libm-test.inc (struct test_fF_f1_data): New type.
8279 (RUN_TEST_LOOP_fF_f1): New macro.
8280 (modf_test_data): New variable.
8281 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8282
87aa21df
JM
8283 * math/libm-test.inc (struct test_f_f1_data): New type.
8284 (RUN_TEST_LOOP_f_f1): New macro.
8285 (gamma_test_data): New variable.
8286 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8287 (lgamma_test_data): New variable.
8288 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8289
141af660
CD
82902013-05-13 Carlos O'Donell <carlos@redhat.com>
8291
8292 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8293 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8294 (main): Comment "tls" pseudo-hwcap.
8295
6d33265c
JM
82962013-05-13 Joseph Myers <joseph@codesourcery.com>
8297
68fc074c
JM
8298 * math/libm-test.inc (struct test_fl_f_data): New type.
8299 (RUN_TEST_LOOP_fl_f): New variable.
8300 (scalbln_test_data): New variable.
8301 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8302
243216e1
JM
8303 * math/libm-test.inc (struct test_fi_f_data): New type.
8304 (RUN_TEST_LOOP_fi_f): New macro.
8305 (ldexp_test_data): New variable.
8306 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8307 (scalbn_test_data): New variable.
8308 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8309
6a1992e2
JM
8310 * math/libm-test.inc (struct test_c_f_data): New type.
8311 (RUN_TEST_LOOP_c_f): New macro.
8312 (cabs_test_data): New variable.
8313 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8314 (carg_test_data): New variable.
8315 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8316 (cimag_test_data): New variable.
8317 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8318 (creal_test_data): New variable.
8319 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8320
0e400df5
JM
8321 * math/libm-test.inc (struct test_if_f_data): New type.
8322 (RUN_TEST_LOOP_if_f): New macro.
8323 (jn_test_data): New variable.
8324 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8325 (yn_test_data): New variable.
8326 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8327
6d33265c
JM
8328 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8329
f98ece5f
AZ
83302013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8331
8332 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8333 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8334
0f7d347b
SP
83352013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8336
43fe811b
SP
8337 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8338 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8339 (bench-deps): Add bench-timing.h.
8340 * benchtests-bench-skeleton.c: Include bench-timing.h.
8341 (main): Use TIMING_* macros instead of clock_gettime.
8342 * benchtests/bench-timing.h: New file.
8343
0f7d347b
SP
8344 [BZ #14582]
8345 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8346 Renamed from _LIB_VERSION.
8347 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8348
601a3a5f
JM
83492013-05-12 Joseph Myers <joseph@codesourcery.com>
8350
4f184d30
JM
8351 * math/libm-test.inc (struct test_fff_f_data): New type.
8352 (RUN_TEST_LOOP_fff_f): New macro.
8353 (fma_test_data): New variable.
8354 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8355 (fma_towardzero_test_data): New variable.
8356 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8357 (fma_downward_test_data): New variable.
8358 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8359 (fma_upward_test_data): New variable.
8360 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8361
08198877
JM
8362 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8363 (struct test_c_c_data): New type.
8364 (RUN_TEST_LOOP_c_c): New macro.
8365 (cacos_test_data): New variable.
8366 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8367 (cacosh_test_data): New variable.
8368 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8369 (casin_test_data): New variable.
8370 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8371 (casinh_test_data): New variable.
8372 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8373 (catan_test_data): New variable.
8374 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8375 (catanh_test_data): New variable.
8376 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8377 (ccos_test_data): New variable.
8378 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8379 (ccosh_test_data): New variable.
8380 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8381 (cexp_test_data): New variable.
8382 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8383 (clog_test_data): New variable.
8384 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8385 (clog10_test_data): New variable.
8386 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8387 (conj_test_data): New variable.
8388 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8389 (cproj_test_data): New variable.
8390 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8391 (csin_test_data): New variable.
8392 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8393 (csinh_test_data): New variable.
8394 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8395 (csqrt_test_data): New variable.
8396 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8397 (ctan_test_data): New variable.
8398 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8399 (ctan_tonearest_test_data): New variable.
8400 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8401 (ctan_towardzero_test_data): New variable.
8402 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8403 (ctan_downward_test_data): New variable.
8404 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8405 (ctan_upward_test_data): New variable.
8406 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8407 (ctanh_test_data): New variable.
8408 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8409 (ctanh_tonearest_test_data): New variable.
8410 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8411 (ctanh_towardzero_test_data): New variable.
8412 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8413 (ctanh_downward_test_data): New variable.
8414 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8415 (ctanh_upward_test_data): New variable.
8416 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8417 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8418 of BUILD_COMPLEX.
8419
601a3a5f
JM
8420 * math/libm-test.inc (struct test_ff_f_data): New type.
8421 (struct test_ff_f_data_nexttoward): Likewise.
8422 (RUN_TEST_LOOP_2_f): New macro.
8423 (RUN_TEST_LOOP_ff_f): Likewise.
8424 (atan2_test_data): New variable.
8425 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8426 (copysign_test_data): New variable.
8427 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8428 (fdim_test_data): New variable.
8429 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8430 (fmax_test_data): New variable.
8431 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8432 (fmin_test_data): New variable.
8433 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8434 (fmod_test_data): New variable.
8435 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8436 (hypot_test_data): New variable.
8437 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8438 (nextafter_test_data): New variable.
8439 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8440 (nexttoward_test_data): New variable.
8441 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8442 (pow_test_data): New variable.
8443 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8444 (pow_tonearest_test_data): New variable.
8445 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8446 (pow_towardzero_test_data): New variable.
8447 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8448 (pow_downward_test_data): New variable.
8449 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8450 (pow_upward_test_data): New variable.
8451 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8452 (remainder_test_data): New variable.
8453 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8454 (scalb_test_data): New variable.
8455 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8456 * sysdeps/i386/fpu/libm-test-ulps: Update.
8457
74c57478
JM
84582013-05-11 Joseph Myers <joseph@codesourcery.com>
8459
8329e4da
JM
8460 * math/libm-test.inc (fma_test): Use max_value instead of local
8461 variable fltmax.
8462 (nextafter_test): Likewise.
8463
74c57478
JM
8464 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8465 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8466 (acos_downward_test_data): New variable.
8467 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8468 (acos_upward_test_data): New variable.
8469 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8470 (acosh_test_data): New variable.
8471 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8472 (asin_test_data): New variable.
8473 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8474 (asin_tonearest_test_data): New variable.
8475 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8476 (asin_towardzero_test_data): New variable.
8477 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8478 (asin_downward_test_data): New variable.
8479 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8480 (asin_upward_test_data): New variable.
8481 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8482 (asinh_test_data): New variable.
8483 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8484 (atan_test_data): New variable.
8485 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8486 (atanh_test_data): New variable.
8487 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8488 (cbrt_test_data): New variable.
8489 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8490 (ceil_test_data): New variable.
8491 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8492 (cos_test_data): New variable.
8493 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8494 (cos_tonearest_test_data): New variable.
8495 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8496 (cos_towardzero_test_data): New variable.
8497 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8498 (cos_downward_test_data): New variable.
8499 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8500 (cos_upward_test_data): New variable.
8501 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8502 (cosh_test_data): New variable.
8503 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8504 (cosh_tonearest_test_data): New variable.
8505 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8506 (cosh_towardzero_test_data): New variable.
8507 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8508 (cosh_downward_test_data): New variable.
8509 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8510 (cosh_upward_test_data): New variable.
8511 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8512 (erf_test_data): New variable.
8513 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8514 (erfc_test_data): New variable.
8515 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8516 (exp_test_data): New variable.
8517 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8518 (exp_tonearest_test_data): New variable.
8519 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8520 (exp_towardzero_test_data): New variable.
8521 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8522 (exp_downward_test_data): New variable.
8523 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8524 (exp_upward_test_data): New variable.
8525 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8526 (exp10_test_data): New variable.
8527 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8528 (exp2_test_data): New variable.
8529 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8530 (expm1_test_data): New variable.
8531 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8532 (fabs_test_data): New variable.
8533 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8534 (floor_test_data): New variable.
8535 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8536 (j0_test_data): New variable.
8537 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8538 (j1_test_data): New variable.
8539 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8540 (log_test_data): New variable.
8541 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8542 (log10_test_data): New variable.
8543 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8544 (log1p_test_data): New variable.
8545 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8546 (log2_test_data): New variable.
8547 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8548 (logb_test_data): New variable.
8549 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8550 (logb_downward_test_data): New variable.
8551 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8552 (nearbyint_test_data): New variable.
8553 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8554 (rint_test_data): New variable.
8555 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8556 (rint_tonearest_test_data): New variable.
8557 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8558 (rint_towardzero_test_data): New variable.
8559 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8560 (rint_downward_test_data): New variable.
8561 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8562 (rint_upward_test_data): New variable.
8563 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8564 (round_test_data): New variable.
8565 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8566 (sin_test_data): New variable.
8567 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8568 (sin_tonearest_test_data): New variable.
8569 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8570 (sin_towardzero_test_data): New variable.
8571 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8572 (sin_downward_test_data): New variable.
8573 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8574 (sin_upward_test_data): New variable.
8575 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8576 (sinh_test_data): New variable.
8577 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8578 (sinh_tonearest_test_data): New variable.
8579 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8580 (sinh_towardzero_test_data): New variable.
8581 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8582 (sinh_downward_test_data): New variable.
8583 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8584 (sinh_upward_test_data): New variable.
8585 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8586 (sqrt_test_data): New variable.
8587 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8588 (tan_test_data): New variable.
8589 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8590 (tan_tonearest_test_data): New variable.
8591 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8592 (tan_towardzero_test_data): New variable.
8593 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8594 (tan_downward_test_data): New variable.
8595 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8596 (tan_upward_test_data): New variable.
8597 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8598 (tanh_test_data): New variable.
8599 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8600 (tgamma_test_data): New variable.
8601 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8602 (trunc_test_data): New variable.
8603 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8604 (y0_test_data): New variable.
8605 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8606 (y1_test_data): New variable.
8607 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8608 (significand_test_data): New variable.
8609 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8610
7187d844
CG
86112013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8612
8613 [BZ #12387]
8614 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8615
f63fae73
PT
86162013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8617
8618 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8619
8a67a4b3
AJ
86202013-05-10 Andreas Jaeger <aj@suse.de>
8621
8622 [BZ #15448]
8623 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8624 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8625
51df539d
JM
86262013-05-10 Joseph Myers <joseph@codesourcery.com>
8627
8628 * math/gen-libm-test.pl (adjust_arg): New function.
8629 (special_functions): Handle generating output in both functions
8630 and arrays.
8631 (parse_args): Likewise.
8632 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8633 $in_func argument to parse_args.
8634 * math/libm-test.inc (struct test_f_f_data): New type.
8635 (IF_ROUND_INIT_): New macro.
8636 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8637 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8638 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8639 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8640 (ROUND_RESTORE_): Likewise.
8641 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8642 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8643 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8644 (ROUND_RESTORE_FE_UPWARD): Likewise.
8645 (RUN_TEST_LOOP_f_f): New macro.
8646 (acos_test_data): New variable.
8647 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8648 (acos_tonearest_test_data): New variable.
8649 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8650
5c637fe5
SP
86512013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8652
8653 * benchtests/bench-skeleton.c (startup): Fix coding style.
8654
ab2b9461
JM
86552013-05-10 Joseph Myers <joseph@codesourcery.com>
8656
8657 [BZ #6809]
8658 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8659 negative infinity argument.
8660 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8661 negative infinity argument.
8662 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8663 negative infinity argument.
8664 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8665 domain errors.
8666
4c0fe6fe
FW
86672013-05-10 Florian Weimer <fweimer@redhat.com>
8668
8669 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8670 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8671 * iconv/iconv_prog.c (main): Likewise.
8672 * locale/programs/charmap-dir.c (charmap_readdir)
8673 (fopen_uncompressed): Likewise.
8674 * locale/programs/locfile.c (siblings_uncached)
8675 (write_locale_data): Use lstat64 instead of lstat.
8676 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8677 stat.
8678
a3375d29
AJ
86792013-05-10 Andreas Jaeger <aj@suse.de>
8680
8681 [BZ #15395]
8682 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8683 localization.
8684 Include <locale.h>.
8685
36129722
CD
86862013-05-09 Carlos O'Donell <carlos@redhat.com>
8687
8688 * elf/dl-close.c (_dl_close_worker): Add comments.
8689
faa7f811
JM
86902013-05-09 Joseph Myers <joseph@codesourcery.com>
8691
ed41ffef
JM
8692 [BZ #15359]
8693 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8694 high part of pi/2.
8695 (__ieee754_rem_pio2l): Update comments.
8696
d0213cd0
JM
8697 [BZ #15429]
8698 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8699 high part of pi/2.
8700 (__ieee754_rem_pio2l): Update comments.
8701
0d3e777a
JM
8702 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8703 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8704
24f56066
JM
8705 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8706 M_PI_4l.
8707
faa7f811
JM
8708 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8709 (M_PI_34_LOG10El): Likewise.
8710 (M_PI2_LOG10El): Likewise.
8711 (M_PI4_LOG10El): Likewise.
8712 (M_PI_LOG10El): Likewise.
8713
e9a5e0fd
AZ
87142013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8715
8716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8717
d8cd06db
JM
87182013-05-08 Joseph Myers <joseph@codesourcery.com>
8719
a0d9f9d7
JM
8720 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8721 (MINUS_ZERO_INIT): Likewise.
8722 (PLUS_INFTY_INIT): Likewise.
8723 (MINUS_INFTY_INIT): Likewise.
8724 (QNAN_VALUE_INIT): Likewise.
8725 (MAX_VALUE_INIT): Likewise.
8726 (MIN_VALUE_INIT): Likewise.
8727 (MIN_SUBNORM_VALUE_INIT): Likewise.
8728 (plus_zero): Initialize with PLUS_ZERO_INIT.
8729 (minus_zero): Initialize with MINUS_ZERO_INIT.
8730 (plus_infty): Initialize with PLUS_INFTY_INIT.
8731 (minus_infty): Initialize with MINUS_INFTY_INIT.
8732 (qnan_value): Initialize with QNAN_VALUE_INIT.
8733 (max_value): Initialize with MAX_VALUE_INIT.
8734 (min_value): Initialize with MIN_VALUE_INIT.
8735 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8736
ae08db3b
JM
8737 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8738 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8739 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8740 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8741
f44bf14a
JM
8742 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8743 (RUN_TEST_2_f): Likewise.
8744 (RUN_TEST_ff_f): Likewise.
8745 (RUN_TEST_fi_f): Likewise.
8746 (RUN_TEST_fl_f): Likewise.
8747 (RUN_TEST_fff_f): Likewise.
8748 (RUN_TEST_c_f): Likewise.
8749 (RUN_TEST_f_f1): Likewise.
8750 (RUN_TEST_fF_f1): Likewise.
8751 (RUN_TEST_fI_f1): Likewise.
8752 (RUN_TEST_ffI_f1): Likewise.
8753 (RUN_TEST_c_c): Likewise.
8754 (RUN_TEST_cc_c): Likewise.
8755 (RUN_TEST_f_i): Likewise.
8756 (RUN_TEST_f_i_tg): Likewise.
8757 (RUN_TEST_ff_i_tg): Likewise.
8758 (RUN_TEST_f_b): Likewise.
8759 (RUN_TEST_f_b_tg): Likewise.
8760 (RUN_TEST_f_l): Likewise.
8761 (RUN_TEST_f_L): Likewise.
8762 (RUN_TEST_sincos): Likewise.
8763 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8764 whether to show exceptions. Do not include ");\n" in return
8765 value.
8766 (special_functions): Output call to RUN_TEST_sincos instead of
8767 check_float calls. Update calls to new_test.
8768 (parse_args): Output call to single RUN_TEST_* macro instead of
8769 check_* calls and other assignments. Update calls to new_test.
8770
d8cd06db
JM
8771 [BZ #2546]
8772 [BZ #2560]
8773 [BZ #5159]
8774 [BZ #15426]
8775 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8776 input to result for tgamma overflow.
8777 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8778 (gamma_coeff): New variable.
8779 (NCOEFF): New macro.
8780 (gamma_positive): New function.
8781 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8782 underflow here. Use gamma_positive instead of exp (lgamma) for
8783 other arguments.
8784 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8785 (gamma_coeff): New variable.
8786 (NCOEFF): New macro.
8787 (gammaf_positive): New function.
8788 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8789 underflow here. Use gamma_positive instead of exp (lgamma) for
8790 other arguments.
8791 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8792 (gamma_coeff): New variable.
8793 (NCOEFF): New macro.
8794 (gammal_positive): New function.
8795 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8796 underflow here. Use gamma_positive instead of exp (lgamma) for
8797 other arguments.
8798 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8799 (gamma_coeff): New variable.
8800 (NCOEFF): New macro.
8801 (gammal_positive): New function.
8802 (__ieee754_gammal_r): Handle positive infinity, overflow and
8803 underflow here. Handle NaN the same as positive infinity. Remove
8804 check x < 0xffffffff for negative integers. Use gamma_positive
8805 instead of exp (lgamma) for other arguments.
8806 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8807 (gamma_coeff): New variable.
8808 (NCOEFF): New macro.
8809 (gammal_positive): New function.
8810 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8811 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8812 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8813 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8814 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8815 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8816 * sysdeps/generic/math_private.h (__gamma_productf): New
8817 prototype.
8818 (__gamma_product): Likewise.
8819 (__gamma_productl): Likewise.
8820 * math/Makefile (libm-calls): Add gamma_product.
8821 * math/libm-test.inc (tgamma_test): Add more tests.
8822 * sysdeps/i386/fpu/libm-test-ulps: Update.
8823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8824
bb7cf681
OB
88252013-05-08 Ondřej Bílka <neleai@seznam.cz>
8826
8827 * benchtests/bench-skeleton.c (main): Preheat CPU.
8828
ba853947
AJ
88292013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8830
8831 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8832
8347c74c
RM
88332013-05-07 Roland McGrath <roland@hack.frob.com>
8834
8835 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8836 and _dl_skip_args_internal.
8837
e8dd4791
CD
88382013-05-07 Carlos O'Donell <carlos@redhat.com>
8839
8840 * manual/message.texi (Message Translation): Talk about users.
8841 Message to key mapping impacts design.
8842
c7405830
RM
88432013-05-06 Roland McGrath <roland@hack.frob.com>
8844
a9173057
RM
8845 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8846
976e2f03
RM
8847 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8848
9723ffc5
RM
8849 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8850 * sysdeps/wordsize-64/glob64.c: ... here.
8851
962e6658
RM
8852 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8853 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8854 New macros.
8855
ee586a6d
RM
8856 * debug/getlogin_r_chk.c: Moved to ...
8857 * login/getlogin_r_chk.c: ... here.
8858 * debug/Makefile (routines): Move getlogin_r_chk to ...
8859 * login/Makefile (routines): ... here.
8860 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8861 * login/Versions (libc: GLIBC_2.4): ... here.
8862
355f9165
RM
8863 * io/poll.c (__poll): Renamed from poll.
8864 Add libc_hidden_def.
8865 (poll): Define as weak alias.
8866
bd9ffde6
RM
8867 * debug/ptsname_r_chk.c: Moved to ...
8868 * login/ptsname_r_chk.c: ... here.
8869 * debug/Makefile (routines): Move ptsname_r_chk to ...
8870 * login/Makefile (routines): ... here.
8871 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8872 * login/Versions (libc: GLIBC_2.4): ... here.
8873
8fb16a04
RM
8874 * posix/getlogin.c: Moved to ...
8875 * login/getlogin.c: ... here.
8876 * posix/getlogin_r.c: Moved to ...
8877 * login/getlogin_r.c: ... here.
8878 * posix/getlogin_r.c: Moved to ...
8879 * login/getlogin_r.c: ... here.
8880 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8881 * login/Makefile (routines): ... here.
8882 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8883 * login/Versions (libc: GLIBC_2.0): ... here.
8884
b99b892f
RM
8885 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8886 (setrlimit): Define as weak alias.
8887
c7405830
RM
8888 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8889 Call __ names for open, ftruncate, and close.
8890 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8891 (truncate): Define as weak alias.
8892
5bf96de5
JM
88932013-05-06 Joseph Myers <joseph@codesourcery.com>
8894
9ea3513c
JM
8895 * math/gen-libm-test.pl (parse_args): Initialize x before each
8896 test of frexp, modf and remquo.
8897
5bf96de5
JM
8898 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8899 test signgam value.
8900
16e616a7
AZ
89012013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8902
8903 [BZ #15418]
8904 [BZ #15419]
8905 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8906 internal tests.
8907 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8908
d5e82754
RM
89092013-05-06 Roland McGrath <roland@hack.frob.com>
8910
8911 * elf/dl-writev.h: New file.
8912 * elf/dl-misc.c: Include it.
8913 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8914 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8915
a7548d41
JM
89162013-05-04 Joseph Myers <joseph@codesourcery.com>
8917
b7dab1e4
JM
8918 * math/libm-test.inc (noXFails): Remove variable.
8919 (noXPasses): Likewise.
8920 (BUILD_COMPLEX_INT): Remove macro.
8921 (print_screen): Remove xfail argument.
8922 (print_screen_max_error): Likewise.
8923 (update_stats): Likewise.
8924 (print_max_error): Likewise. Update calls to other affected
8925 functions.
8926 (print_complex_max_error): Likewise.
8927 (test_single_exception): Update calls to print_screen.
8928 (test_single_errno): Likewise.
8929 (check_float_internal): Remove xfail argument. Update calls to
8930 other affected functions.
8931 (check_float): Likewise.
8932 (check_complex): Likewise.
8933 (check_int): Likewise.
8934 (check_long): Likewise.
8935 (check_bool): Likewise.
8936 (check_longlong): Likewise.
8937 (main): Don't print noXFails and noXPasses.
8938 * math/gen-libm-test.pl (top level): Don't mention expected
8939 failure handling in comment.
8940 (new_test): Don't handle expected failures.
8941 (parse_args): Don't mention expected failure handling in comment.
8942 (generate_testfile): Don't handle expected failures.
8943 (parse_ulps): Likewise.
8944 (print_ulps_file): Likewise.
8945 (get_failure): Remove function.
8946 (output_test): Don't handle expected failures.
8947 * make/README.libm-test: Don't mention expected failure handling.
8948
a7548d41
JM
8949 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8950 (minus_zero): Likewise.
8951 (plus_infty): Likewise.
8952 (minus_infty): Likewise.
8953 (qnan_value): Likewise.
8954 (max_value): Likewise.
8955 (min_value): Likewise.
8956 (min_subnorm_value): Likewise.
8957 (initialize): Do not initialize those variables dynamically.
8958
60bfd54c
RM
89592013-05-03 Roland McGrath <roland@hack.frob.com>
8960
cc0e6ed8
RM
8961 * io/open.c (__open_2): Moved to ...
8962 * io/open_2.c: ... this new file.
8963 * io/open64.c (__open64_2): Moved to ...
8964 * io/open64_2.c: ... this new file.
8965 * io/openat.c (__openat_2): Moved to ...
8966 * io/openat_2.c: ... this new file.
8967 * io/openat64.c (__openat64_2): Moved to ...
8968 * io/openat64_2.c: ... this new file.
8969 * io/Makefile (routines): Add them.
8970 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8971 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8972 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8973 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8974 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8975 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8976 (__openat64): Add hidden_ver.
8977 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8978 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8979
60bfd54c
RM
8980 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8981 Separately conditionalize setting of GLRO(dl_sysinfo) so
8982 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8983 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8984
83e7640f
AZ
89852013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8986
8987 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8988 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8989 definition.
8990 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8991 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8992 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8993 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8994 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8995
d5dc2af3
JM
89962013-05-03 Joseph Myers <joseph@codesourcery.com>
8997
c31a5b1e
JM
8998 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8999 test signgam value.
9000
d5dc2af3
JM
9001 * math/libm-test.inc (hypot_test): Do not use
9002 IGNORE_ZERO_INF_SIGN.
9003
164fd39d
AJ
90042013-05-03 Andreas Jaeger <aj@suse.de>
9005
9006 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9007 Linux 3.9.
9008 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9009 (PF_MAX): Adjust for VSOCK change.
9010
8237f48c
AZ
90112013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9012
9013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9014
9df02941
CD
90152013-05-02 Carlos O'Donell <carlos@redhat.com>
9016
9017 [BZ #15264]
9018 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9019 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9020 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9021
d422395e
DM
90222013-05-02 David S. Miller <davem@davemloft.net>
9023
9024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9025
a07c5731
OB
90262013-05-01 Ondřej Bílka <neleai@seznam.cz>
9027
9028 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9029
1324e37f
RM
90302013-05-01 Roland McGrath <roland@hack.frob.com>
9031
9032 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9033
0695940b
RS
90342013-05-01 Richard Smith <richard@metafoo.co.uk>
9035
bb5f27ad 9036 [BZ #14952]
0695940b
RS
9037 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9038 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9039 Use __attribute__ ((__gnu_inline__)).
9040 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9041 Don't use __attribute__ ((__gnu_inline__)).
9042
10de07f5
JM
90432013-05-01 Joseph Myers <joseph@codesourcery.com>
9044
9045 [BZ #15423]
9046 * math/s_catan.c (__catan): Handle small real or imaginary part of
9047 input specially to avoid spurious underflow.
9048 * math/s_catanf.c (__catanf): Likewise.
9049 * math/s_catanh.c (__catanh): Likewise.
9050 * math/s_catanhf.c (__catanhf): Likewise.
9051 * math/s_catanhl.c (__catanhl): Likewise.
9052 * math/s_catanl.c (__catanl): Likewise.
9053 * math/libm-test.inc (catan_test): Add more tests.
9054 (catanh_test): Likewise.
9055 * sysdeps/i386/fpu/libm-test-ulps: Update.
9056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9057
cb4d5414
AZ
90582013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9059
9060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9061
caf84319
JM
90622013-04-30 Joseph Myers <joseph@codesourcery.com>
9063
9064 [BZ #15416]
9065 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9066 accurately for denominator in atan2.
9067 * math/s_catanf.c (__catanf): Likewise.
9068 * math/s_catanh.c (__catanh): Likewise.
9069 * math/s_catanhf.c (__catanhf): Likewise.
9070 * math/s_catanhl.c (__catanhl): Likewise.
9071 * math/s_catanl.c (__catanl): Likewise.
9072 * math/libm-test.inc (catan_test): Add more tests.
9073 (catanh_test): Likewise.
9074 * sysdeps/i386/fpu/libm-test-ulps: Update.
9075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9076
d569c6ee
SP
90772013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9078
6dbe713d
SP
9079 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9080
f0ee064b
SP
9081 * benchtests/Makefile (bench): Remove slow benchmarks.
9082 * benchtests/atan-inputs: Add slow benchmark inputs.
9083 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9084 (BENCH_FUNC): Accept variant offset.
9085 (VARIANT): Define.
9086 * benchtests/bench-skeleton.c (main): Run benchmark for each
9087 variant.
9088 * benchtests/cos-inputs: Add slow benchmark inputs.
9089 * benchtests/exp-inputs: Likewise.
9090 * benchtests/pow-inputs: Likewise.
9091 * benchtests/sin-inputs: Likewise.
9092 * benchtests/slowatan-inputs: Remove.
9093 * benchtests/slowatan.c: Remove.
9094 * benchtests/slowcos-inputs: Remove.
9095 * benchtests/slowcos.c: Remove.
9096 * benchtests/slowexp-inputs: Remove.
9097 * benchtests/slowexp.c: Remove.
9098 * benchtests/slowpow-inputs: Remove.
9099 * benchtests/slowpow.c: Remove.
9100 * benchtests/slowsin-inputs: Remove.
9101 * benchtests/slowsin.c: Remove.
9102 * benchtests/slowtan-inputs: Remove.
9103 * benchtests/slowtan.c: Remove.
9104 * benchtests/tan-inputs: Add slow benchmark inputs.
9105 * scripts/bench.pl: Parse comments and directives.
9106
d569c6ee
SP
9107 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9108 in CPPFLAGS.
9109 ($(objpfx)bench-%.c): Remove *-ITER.
9110 * benchtests/bench-modf.c: Remove definition of ITER.
9111 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9112 (main): Loop for DURATION seconds instead of fixed number of
9113 iterations.
9114 * scripts/bench.pl: Don't expect iterations in parameters.
9115
a6a242fe
RM
91162013-04-29 Roland McGrath <roland@hack.frob.com>
9117
9118 * io/fchdir.c (__fchdir): Renamed from fchdir.
9119 (fchdir): Define as weak alias.
9120
f2da7793
JM
91212013-04-29 Joseph Myers <joseph@codesourcery.com>
9122
9123 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9124 (ERRNO_EDOM): Likewise.
9125 (ERRNO_ERANGE): Likewise.
9126 (noErrnoTests): New variable.
9127 (init_max_error): Set errno to 0.
9128 (test_single_errno): New function.
9129 (test_errno): Likewise.
9130 (check_float_internal): Call test_errno. Set errno to 0.
9131 (check_complex): Refer to errno tests in comment.
9132 (check_int): Call test_errno. Set errno to 0.
9133 (check_long): Likewise.
9134 (check_bool): Likewise.
9135 (check_longlong): Likewise.
9136 (cos_test): Use ERRNO_* flags for errno tests instead of
9137 check_int.
9138 (expm1_test): Likewise.
9139 (fmod_test): Likewise.
9140 (ilogb_test): Likewise.
9141 (lgamma_test): Likewise.
9142 (pow_test): Likewise.
9143 (remainder_test): Likewise.
9144 (sin_test): Likewise.
9145 (tan_test): Likewise.
9146 (yn_test): Likewise.
9147 (initialize): Set errno to 0.
9148 (main): Print number of errno tests.
9149 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9150
b1a36ceb
AJ
91512013-04-29 Andreas Jaeger <aj@suse.de>
9152
c3ed8088
AJ
9153 [BZ #15084]
9154 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9155 and RES_USEVC.
9156
f1a24198
AJ
9157 [BZ #15085]
9158 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9159 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9160 unimplemented.
9161
9ce3b2cb
AJ
9162 [BZ #15380]
9163 * stdlib/random.c (__initstate): Return NULL if
9164 __initstate fails.
9165
f1a24198 9166 [BZ #15086]
b1a36ceb
AJ
9167 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9168 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9169 RES_SNGLKUPREOP.
9170
7e7b6f36
AZ
91712013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9172
9173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9174
4d14f449
JM
91752013-04-29 Joseph Myers <joseph@codesourcery.com>
9176
9177 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9178 of individual tests.
9179 (casin_test): Likewise.
9180 (casinh_test): Likewise.
9181
5b4217d7
JM
91822013-04-27 Joseph Myers <joseph@codesourcery.com>
9183
9184 [BZ #15409]
9185 * math/s_catan.c (__catan): Handle arguments with large real or
9186 imaginary part separately without squaring.
9187 * math/s_catanf.c (__catanf): Likewise.
9188 * math/s_catanh.c (__catanh): Likewise.
9189 * math/s_catanhf.c (__catanhf): Likewise.
9190 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9191 and redefine.
9192 (__catanhl): Handle arguments with large real or imaginary part
9193 separately without squaring.
9194 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9195 and redefine.
9196 (__catanl): Handle arguments with large real or imaginary part
9197 separately without squaring.
9198 * math/libm-test.inc (catan_test): Add more tests.
9199 (catanh_test): Likewise.
9200 * sysdeps/i386/fpu/libm-test-ulps: Update.
9201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9202
4220c3ef
AJ
92032013-04-27 Andreas Jaeger <aj@suse.de>
9204
9205 [BZ #15007]
9206 * stdlib/stdlib.h: Update guards for qecvt.
9207 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9208 <stdlib.h>.
9209
4721b2d1
AM
92102013-04-27 Allan McRae <allan@archlinux.org>
9211
9212 * sysdeps/i386/fpu/libm-test-ulps: Update.
9213
f0302940
JM
92142013-04-26 Joseph Myers <joseph@codesourcery.com>
9215
9457fd95
JM
9216 [BZ #15406]
9217 * math/s_catan.c: Include <float.h>.
9218 (__catan): Ensure underflow exception occurs for underflowed
9219 result.
9220 * math/s_catanf.c: Include <float.h>.
9221 (__catanf): Ensure underflow exception occurs for underflowed
9222 result.
9223 * math/s_catanh.c: Include <float.h>.
9224 (__catanh): Ensure underflow exception occurs for underflowed
9225 result.
9226 * math/s_catanhf.c: Include <float.h>.
9227 (__catanhf): Ensure underflow exception occurs for underflowed
9228 result.
9229 * math/s_catanhl.c: Include <float.h>.
9230 (__catanhl): Ensure underflow exception occurs for underflowed
9231 result.
9232 * math/s_catanl.c: Include <float.h>.
9233 (__catanl): Ensure underflow exception occurs for underflowed
9234 result.
9235 * math/libm-test.inc (catan_test): Add more tests.
9236 (catanh_test): Likewise.
9237
f0302940
JM
9238 [BZ #15405]
9239 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9240 underflowed result.
9241 * math/s_ccoshf.c (__ccoshf): Likewise.
9242 * math/s_ccoshl.c (__ccoshl): Likewise.
9243 * math/s_csin.c (__csin): Likewise.
9244 * math/s_csinf.c (__csinf): Likewise.
9245 * math/s_csinh.c (__csinh): Likewise.
9246 * math/s_csinhf.c (__csinhf): Likewise.
9247 * math/s_csinhl.c (__csinhl): Likewise.
9248 * math/s_csinl.c (__csinl): Likewise.
9249 * math/libm-test.inc (ccos_test): Add more tests.
9250 (ccosh_test): Likewise.
9251 (csin_test): Likewise.
9252 (csinh_test): Likewise.
9253
aa630f59
AZ
92542013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9255
9256 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9257 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9258 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9259 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9260 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9261 powerpc/power5+/fpu folders.
9262 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9263
9264
1b835983
MT
92652013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9266
9267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9268
73709b26
JM
92692013-04-25 Joseph Myers <joseph@codesourcery.com>
9270
9271 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9272 additions to variable.
9273 [$(config-machine) = x86_64] (modules-names): Likewise.
9274 ($(objpfx)tst-audit3): Remove dependency.
9275 ($(objpfx)tst-audit3.out): Likewise.
9276 ($(objpfx)tst-audit4): Likewise.
9277 ($(objpfx)tst-audit4.out): Likewise.
9278 ($(objpfx)tst-audit5): Likewise.
9279 ($(objpfx)tst-audit5.out): Likewise.
9280 ($(objpfx)tst-audit6): Likewise.
9281 ($(objpfx)tst-audit6.out): Likewise.
9282 ($(objpfx)tst-audit7): Likewise.
9283 ($(objpfx)tst-audit7.out): Likewise.
9284 (tst-audit3-ENV): Remove variable.
9285 (tst-audit4-ENV): Likewise.
9286 (tst-audit5-ENV): Likewise.
9287 (tst-audit6-ENV): Likewise.
9288 (tst-audit7-ENV): Likewise.
9289 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9290 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9291 addition to variable.
9292 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9293 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9294 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9295 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9296 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9297 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9298 tst-audit3, tst-audit4 and tst-audit5.
9299 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9300 tst-audit6 and tst-audit7.
9301 [$(subdir) = elf] (modules-names): Add audit modules for those
9302 tests.
9303 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9304 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9305 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9306 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9307 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9308 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9309 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9310 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9311 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9312 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9313 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9314 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9315 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9316 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9317 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9318 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9319 Likewise.
9320 [$(subdir) = elf && $(config-cflags-avx) = yes]
9321 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9322 [$(subdir) = elf && $(config-cflags-avx) = yes]
9323 (CFLAGS-tst-auditmod4a.c): Likewise.
9324 [$(subdir) = elf && $(config-cflags-avx) = yes]
9325 (CFLAGS-tst-auditmod4b.c): Likewise.
9326 [$(subdir) = elf && $(config-cflags-avx) = yes]
9327 (CFLAGS-tst-auditmod6b.c): Likewise.
9328 [$(subdir) = elf && $(config-cflags-avx) = yes]
9329 (CFLAGS-tst-auditmod6c.c): Likewise.
9330 [$(subdir) = elf && $(config-cflags-avx) = yes]
9331 (CFLAGS-tst-auditmod7b.c): Likewise.
9332 * elf/tst-audit3.c: Move to ...
9333 * sysdeps/x86_64/tst-audit3.c: ... here.
9334 * elf/tst-audit4.c: Move to ...
9335 * sysdeps/x86_64/tst-audit4.c: ... here.
9336 * elf/tst-audit5.c: Move to ...
9337 * sysdeps/x86_64/tst-audit5.c: ... here.
9338 * elf/tst-audit6.c: Move to ...
9339 * sysdeps/x86_64/tst-audit6.c: ... here.
9340 * elf/tst-audit7.c: Move to ...
9341 * sysdeps/x86_64/tst-audit7.c: ... here.
9342 * elf/tst-auditmod3a.c: Move to ...
9343 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9344 * elf/tst-auditmod3b.c: Move to ...
9345 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9346 * elf/tst-auditmod4a.c: Move to ...
9347 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9348 * elf/tst-auditmod4b.c: Move to ...
9349 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9350 * elf/tst-auditmod5a.c: Move to ...
9351 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9352 * elf/tst-auditmod5b.c: Move to ...
9353 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9354 * elf/tst-auditmod6a.c: Move to ...
9355 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9356 * elf/tst-auditmod6b.c: Move to ...
9357 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9358 * elf/tst-auditmod6c.c: Move to ...
9359 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9360 * elf/tst-auditmod7a.c: Move to ...
9361 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9362 * elf/tst-auditmod7b.c: Move to ...
9363 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9364
1ef74943
PP
93652013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9366
9367 [BZ #15366]
9368 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9369 define unconditionally.
9370 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9371 define unconditionally.
9372 (INT8_C, INT16_C, etc.): Likewise.
9373
93fd48c5
MR
93742013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9375
ae9552cf
MR
9376 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9377 __ehdr_start with hidden visibility.
9378
93fd48c5
MR
9379 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9380
418601aa
CD
93812013-04-24 Carlos O'Donell <carlos@redhat.com>
9382
9383 * math/libm-test.inc (cos_test): Use accurate hex constants.
9384 (sincost_test): Likewise.
9385
2f38fbfe
JM
93862013-04-24 Joseph Myers <joseph@codesourcery.com>
9387
5e221800
JM
9388 * math/libm-test.inc (catan_test): Add more tests.
9389 (catanh_test): Likewise.
9390
77f143fd
JM
9391 * math/s_catanf.c (__catanf): Use suffixed floating-point
9392 constants.
9393 * math/s_catanhf.c (__catanhf): Likewise.
9394 * math/s_catanhl.c (__catanhl): Likewise.
9395 * math/s_catanl.c (__catanl): Likewise.
9396
2f38fbfe
JM
9397 [BZ #15394]
9398 * math/s_catan.c (__catan): Calculate imaginary part of result
9399 with log1p not log unless computing log of number close to 0.
9400 * math/s_catanf.c (__catanf): Likewise.
9401 * math/s_catanl.c (__catanl): Likewise.
9402 * math/s_catanh.c (__catanh): Calculate real part of result with
9403 log1p not log unless computing log of number close to 0.
9404 * math/s_catanhf.c (__catanhf): Likewise.
9405 * math/s_catanhl.c (__catanhl): Likewise.
9406 * math/libm-test.inc (catan_test): Add more tests.
9407 (catanh_test): Likewise.
9408 * sysdeps/i386/fpu/libm-test-ulps: Update.
9409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9410
45d69176
SP
94112013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9412
9413 * benchtests/Makefile: Mention files in which fast and slow
9414 paths of math functions are implemented.
9415
87f51853
RM
94162013-04-23 Roland McGrath <roland@hack.frob.com>
9417
9418 * sysdeps/posix/timespec_get.c: New file.
9419
3c026539
AZ
94202013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9421
9422 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9423 POWER.
9424 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9425 for POWER.
9426 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9427 powerpc/power5/fpu folders.
9428 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9429 * benchtests/Makefile: Add modf testcase.
9430 * benchtests/bench-modf.c: New file: Benchmark test for mo
9431
ff491d14
SP
94322013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9433
9434 [BZ #14888]
9435 * time/Makefile (tests): Add tst-strptime-whitespace.
9436 * time/strptime_l.c (get_number): Use ISSPACE.
9437 (__strptime_internal): Likewise.
9438 * time/tst-strptime-whitespace.c: New test case.
9439
7ed3f4e8
AS
94402013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9441
9442 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9443 member.
9444 (_nss_files_init): Set it here.
9445
5c95f7b6
HC
94462013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9447
9448 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9449 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9450 unsigned.
9451
d34c9158
JBG
94522013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9453
9454 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9455
2169712d
SP
94562013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9457
9458 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9459 size just once.
9460
29c5de99
DM
94612013-04-21 David S. Miller <davem@davemloft.net>
9462
9463 * po/ru.po: Update Russion translation from translation project.
9464
ccdad15d
AC
94652013-04-17 Adam Conrad <adconrad@0c3.net>
9466
9467 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9468 and setfsgid.
9469
0f122b8d
CD
94702013-04-17 Carlos O'Donell <carlos@redhat.com>
9471
5c5b07da 9472 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 9473 * configure: Regenerate.
5c5b07da 9474 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
9475 Add example to error message.
9476 * sysdeps/i386/configure: Regenerate.
9477
037714dd
SP
94782013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9479
9480 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9481 slowtan.
9482 * benchtests/cos-inputs: New file.
9483 * benchtests/slowcos-inputs: New file.
9484 * benchtests/slowcos.c: New file.
9485 * benchtests/slowtan-inputs: New file.
9486 * benchtests/slowtan.c: New file.
9487 * benchtests/tan-inputs: New file.
9488
e913141d
RM
94892013-04-16 Roland McGrath <roland@hack.frob.com>
9490
9491 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9492 considered kosher.
9493
a2964074
SP
94942013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9495
4856bcd2
SP
9496 * benchtests/Makefile: Include cppflags-iterator.mk to add
9497 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9498
a2964074
SP
9499 * Makefile.in (bench-clean): New target.
9500 * benchtests/Makefile (bench-clean): Likewise.
9501
9fbf9aca
DH
95022013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9503
9504 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9505
207d1e2a
TS
95062013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9507
9508 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9509
306dfba9
AS
95102013-04-15 Andreas Schwab <schwab@suse.de>
9511
9512 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9513 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9514 * nscd/pwdcache.c (cache_addpw): Likewise.
9515 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9516 more than recsize.
9517
206a6699
SP
95182013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9519
9520 * benchtests/Makefile (bench): Write all output to
9521 bench-out.tmp together.
9522
0582f6b3
AS
95232013-04-15 Andreas Schwab <schwab@suse.de>
9524
9525 * nscd/nscd.c (main): Don't fork again after closing files.
9526
acb4325f
SP
95272013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9528
5cb26d0a
SP
9529 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9530
acb4325f
SP
9531 * benchtests/Rules (bench-deps): Collect dependencies into a
9532 single variable. Add Makefile to dependencies.
9533 ($(objpfx)bench-%.c): Depend on bench-deps.
9534
47792506
RM
95352013-04-12 Roland McGrath <roland@hack.frob.com>
9536 Xavier Roche <roche+kml2@exalead.com>
9537
9538 [BZ #15361]
9539 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9540 just that it's a file descriptor.
9541 * manual/llio.texi (Synchronizing AIO Operations): Update description
9542 for EBADF error from aio_fsync.
9543
8fc1bee5
SP
95442013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9545
9546 * Rules (bench): Move target definition...
9547 * benchtests/Makefile: ... here.
9548
aba5e333
CD
95492013-04-11 Carlos O'Donell <carlos@redhat.com>
9550
9551 * math/libm-test.inc (cos_test): Fix PI/2 test.
9552 (sincos_test): Likewise.
9553 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9554 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9555
273cdee8
AS
95562013-04-11 Andreas Schwab <schwab@suse.de>
9557
6ecec3b6
AS
9558 [BZ #13988]
9559 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9560 accept exponent character only when digits were seen.
9561 * stdio-common/Makefile (tests): Add bug26.
9562 * stdio-common/bug26.c: New file.
9563
273cdee8
AS
9564 [BZ #14293]
9565 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9566 non-freeable.
9567
8da491f5
SP
95682013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9569
01dc6df9
SP
9570 * Makeconfig (rtld-prefix): Define built linker prefix.
9571 * Rules (run-bench): Use it.
9572 * math/Makefile (run-regen-ulps): Likewise.
9573
8da491f5
SP
9574 * Rules (bench): Remove eval.
9575
abe7f530
SP
95762013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9577 Roland McGrath <roland@hack.frob.com>
9578 Ondrej Bilka <neleai@seznam.cz>
9579
9580 [BZ #15346]
9581 * time/getdate.c: Include ctype.h and alloca.h.
9582 (__getdate_r): Trim leading and trailing spaces of input.
9583 * time/tst-getdate.c (tests): Add tests with leading and
9584 trailing spaces.
9585
61c23e62
RM
95862013-04-08 Roland McGrath <roland@hack.frob.com>
9587
9588 [BZ #14280]
9589 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9590 when computing value.
9591
7208a313
CD
95922013-04-06 Carlos O'Donell <carlos@redhat.com>
9593
085b2d41
CD
9594 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9595 Use testrun.sh to run libm tests.
9596
7208a313
CD
9597 [BZ #15309]
9598 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9599
872c0acd
MM
96002013-04-06 Marko Myllynen <myllynen@redhat.com>
9601
9602 [BZ #15264]
9603 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9604
26510bdd
CD
96052013-04-06 Carlos O'Donell <carlos@redhat.com>
9606
9607 * Makefile.in (regen-ulps): New target.
9608 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9609 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9610 [ifneq (no,$(PERL)] (regen-ulps): New target.
9611 [ifeq (no,$(PERL)] (regen-ulps): New target.
9612 * math/libm-test.inc (ulps_file_name): Define.
9613 (output_dir): New variable.
9614 (options): Add "output-dir" option.
9615 (parse_opt): Handle 'o' case.
9616 (main): If output_dir is non-NULL use it as a prefix
9617 otherwise use "".
9618 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9619
a01f19c8
CD
96202013-04-06 Carlos O'Donell <carlos@redhat.com>
9621
9622 [BZ #10060, #10062]
9623 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9624 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9625 fail configure if __sync_val_compare_and_swap is not inlined.
9626 * sysdeps/i386/configure: Regenerate.
9627 * configure.in: Build for i686 when configured for i386.
9628 * configure: Regenerate.
9629 * README: Remove i386 reference.
9630
b7a329a5
CD
96312013-04-06 Carlos O'Donell <carlos@redhat.com>
9632
9633 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9634 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9635
bf0f50df
TS
96362013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9637
ee091edf
TS
9638 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9639 (lmsnanval): New variables.
9640 (F): Add conversion tests.
9641 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9642 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9643
a8b792d6
TS
9644 * stdio-common/tstdiomisc.c (F): Properly collect individual
9645 tests' results.
9646
a1cbf437
TS
9647 [BZ #14686, #15336]
9648 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9649 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9650 Instead, use input NaN values or generate a qNaN by arithmetic
9651 operation. Also fix bugs to comply with the standard.
9652 * math/libm-test.inc (remainder_test): Add more tests.
9653
8b43a0c9
TS
9654 [BZ #15335, #15342]
9655 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9656 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9657 input NaN values or generate a qNaN by arithmetic operation.
9658
d91da4ce
TS
9659 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9660 unreachable code.
9661
bf0f50df
TS
9662 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9663 definitions.
9664
05e166c8
JM
96652013-04-03 Joseph Myers <joseph@codesourcery.com>
9666
9667 [BZ #14478]
9668 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9669 underflowed result.
9670 * math/s_cexpf.c (__cexpf): Likewise.
9671 * math/s_cexpl.c (__cexpl): Likewise.
9672 * math/libm-test.inc (cexp_test): Add more tests.
9673
1cef1b19
AS
96742013-04-03 Andreas Schwab <schwab@suse.de>
9675
9676 [BZ #15330]
9677 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9678 order arrays from heap if bigger than alloca cutoff.
9679
74d87055
TS
96802013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9681
9682 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9683 (SNAN_TESTS_double): Refer to GCC PR56831.
9684 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9685 GCC PR56828.
9686
d755bba4
SP
96872013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9688
90d5d5bb
SP
9689 * Rules (bench): Move bench.out after the run is complete.
9690
73e0cd5d
SP
9691 * Rules (bench): Echo currently running benchmark.
9692
64aabd4b
SP
9693 * benchtests/Makefile (bench): Add atan and slowatan.
9694 * benchtests/atan-inputs: New file.
9695 * benchtests/slowatan-inputs: New file.
9696 * benchtests/slowatan.c: New file.
9697
c871eccd
SP
9698 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9699 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9700 its value.
9701
d755bba4
SP
9702 [BZ #15305]
9703 * sysdeps/unix/sysv/linux/kernel-features.h
9704 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9705 __ASSUME_XFS_RESTRICTED_CHOWN.
9706 * sysdeps/unix/sysv/linux/pathconf.c
9707 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9708 Save and restore errno.
9709
52ce4860
JM
97102013-04-02 Joseph Myers <joseph@codesourcery.com>
9711
9712 [BZ #15327]
9713 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9714 arguments using __kernel_casinh.
9715 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9716 arguments using __kernel_casinhf.
9717 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9718 arguments using __kernel_casinhl.
9719 * math/libm-test.inc (cacosh_test): Add more tests.
9720 * sysdeps/i386/fpu/libm-test-ulps: Update.
9721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9722
81f311c2
SP
97232013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9724
e7906a47
SP
9725 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9726 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9727
92e3664b
SP
9728 * bench/Makefile (bench): Add sin and slowsin.
9729 * benchtests/sin-inputs: New file.
9730 * benchtests/slowsin-inputs: New file.
9731 * benchtests/slowsin.c: New file.
9732
81f311c2
SP
9733 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9734 (bench): Add slowexp and slowpow.
9735 (exp-ITER): Increase iterations.
9736 (pow-ITER): Likewise.
9737 * benchtests/exp-inputs: Change input.
9738 * benchtests/pow-inputs: Likewise.
9739 * benchtests/slowexp-inputs: New file.
9740 * benchtests/slowexp.c: New file.
9741 * benchtests/slowpow-inputs: New file.
9742 * benchtests/slowpow.c: New file.
9743
ab0f1aa9
AZ
97442013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9745
9746 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9747 instructions.
9748 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9749 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9750 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9751 * benchtests/Makefile: Add rint benchtest.
9752 * benchtests/rint-inputs: Input for rint benchtest.
9753
57267616
TS
97542013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9755
9756 * Versions.def (libm): Add GLIBC_2.18.
9757 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9758 hidden libm prototypes.
9759 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9760 * math/Makefile (libm-calls): Add s_issignaling.
9761 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9762 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9763 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9764 declaration.
9765 * math/math.h [__USE_GNU] (issignaling): New macro.
9766 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9767 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9768 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9769 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9770 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9771 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9772 * manual/arith.texi (issignaling): New section.
9773 * manual/libm-err-tab.pl (@all_functions): Update comment.
9774 * math/gen-libm-test.pl (parse_args): Apply special handling for
9775 issignaling.
9776 * math/libm-test.inc (print_float, issignaling_test): New
9777 functions.
9778 (check_float_internal): Add issignaling checks.
9779 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9780 default definition.
9781 * sysdeps/powerpc/math-tests.h: New file.
9782 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9783 tests.
9784 * math/test-snan.c (TEST_FUNC): Likewise.
9785
6142896d
DM
97862013-03-30 David S. Miller <davem@davemloft.net>
9787
9788 * po/de.po: Update from translation team.
9789
ccc8cadf
JM
97902013-03-30 Joseph Myers <joseph@codesourcery.com>
9791
9792 [BZ #10357]
9793 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9794 imaginary part less than 1.0 and real part less than 0.5
9795 specially.
9796 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9797 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9798 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9799 (cacos_test): Add more tests.
9800 (casin_test): Likewise.
9801 (casinh_test): Likewise.
9802 * sysdeps/i386/fpu/libm-test-ulps: Update.
9803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9804
0f6a8d4b
SP
98052013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9806
0d1029de
SP
9807 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9808 ONE with its value.
9809
c2d94018
SP
9810 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9811 (__pow_mp): Replace ONE and MONE with their values.
9812 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9813 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9814 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9815 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9816 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9817 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9818
27ec37f1
SP
9819 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9820
a64d7e0e
SP
9821 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9822 (__pow_mp): Replace ZERO and MZERO with their values.
9823 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9824 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9825 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9826 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9827 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9828 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9829 (__sqr): Likewise.
9830
d26dd3eb
SP
9831 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9832
0f6a8d4b
SP
9833 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9834
e57b0c61
RM
98352013-03-28 Roland McGrath <roland@hack.frob.com>
9836
9837 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9838 Declare with __attribute__ ((weak)).
9839 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9840 Call __call_tls_dtors only if it's not NULL.
9841
356b3480
RM
98422013-03-28 Roland McGrath <roland@hack.frob.com>
9843
288f7d79
RM
9844 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9845 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9846 magic __ehdr_start linker symbol if it's defined.
9847 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9848 them up here if it was already done.
9849
dc0a0263
RM
9850 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9851 (_dl_aux_init): Use const in cast when setting it.
9852 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9853 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9854 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9855
3d3436ae
RM
9856 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9857 Declare them here.
9858 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9859 * csu/libc-tls.c: Nor here.
9860 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9861
356b3480
RM
9862 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9863 (__libc_message): Never call vsyslog.
9864
b0f1246a
AM
98652013-03-28 Alan Modra <amodra@gmail.com>
9866
9867 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9868 Define as empty.
9869 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9870 Likewise.
9871
fbbe2b9a
AZ
98722013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9873
9874 [BZ #15214]
9875 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9876 underflow.
9877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9878
1728ab37
SP
98792013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9880
7a86be6e
SP
9881 [BZ #15304]
9882 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9883 Don't add gid passed as argument.
9884
1728ab37
SP
9885 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9886
3a7182a1
JM
98872013-03-27 Joseph Myers <joseph@codesourcery.com>
9888
9889 [BZ #15307]
9890 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9891 imaginary part between 1.0 and 1.5 and real part less than 0.5
9892 specially.
9893 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9894 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9895 * math/libm-test.inc (cacos_test): Add more tests.
9896 (casin_test): Likewise.
9897 (casinh_test): Likewise.
9898 * sysdeps/i386/fpu/libm-test-ulps: Update.
9899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9900
6f2e90e7
SP
99012013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9902
5739f705
SP
9903 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9904 constants.
9905 (norm): Likewise.
9906 (denorm): Likewise.
9907 (__dbl_mp): Likewise.
9908 (add_magnitudes): Likewise.
9909 (sub_magnitudes): Likewise.
9910 (__add): Likewise.
9911 (__sub): Likewise.
9912 (__mul): Likewise.
9913 (__sqr): Likewise.
9914 (__inv): Likewise.
9915 (__dvd): Likewise.
9916
e375e83d
SP
9917 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9918 commented code.
9919 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9920 (__dubcos): Likewise.
9921 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9922 (__ieee754_acos): Likewise.
9923 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9924 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9925 (__exp1): Likewise.
9926 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9927 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9928 (log1): Likewise.
9929 (my_log2): Likewise.
9930 (checkint): Likewise.
9931 * sysdeps/ieee754/dbl-64/e_remainder.c
9932 (__ieee754_remainder): Likewise.
9933 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9934 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9935 (bsloww): Likewise.
9936 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9937
6f2e90e7
SP
9938 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9939 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9940 MANTISSA_STORE_T to store computations on mantissa. Use
9941 macros for rounding and division.
9942 (denorm): Likewise.
9943 (__dbl_mp): Likewise.
9944 (add_magnitudes): Likewise.
9945 (sub_magnitudes): Likewise.
9946 (__mul): Likewise.
9947 (__sqr): Likewise.
9948 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9949 powers of two in terms of TWOPOW macro.
9950 (mp_no): Make type of mantissa as MANTISSA_T.
9951 [!RADIXI]: Define RADIXI.
9952 [!TWO52]: Define TWO52.
9953 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9954
fce14d4e
AZ
99552013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9956
9957 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9958 llroundl symbol when building for PPC32.
9959
9ad027fb
MW
99602013-03-24 Mark H Weaver <mhw@netris.org>
9961
9962 * manual/arith.texi (Normalization Functions): Fix prototypes for
9963 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9964
e42a38dd
AZ
99652013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9966
9967 [BZ #13889]
9968 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9969 high value to check if expl overflow.
9970 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9971 to check for underflow and overflow.
9972 * math/libm-test.inc: Add exp test.
9973
2e0fb521
DL
99742013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9975
9976 [BZ #11120]
9977 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9978 with NOT_IN_libc.
9979
b5784d95
AZ
99802013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9981
9982 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9983 symbol.
9984
5aa4a1a1
TS
99852013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9986
bdef0be7
TS
9987 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9988 wrap blocks consisting of several statements.
9989
5aa4a1a1
TS
9990 * sysdeps/generic/math-tests.h: New file.
9991 * sysdeps/i386/fpu/math-tests.h: Likewise.
9992 * math/test-snan.c: Include it.
9993 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9994
98c48fe5
JM
99952013-03-21 Joseph Myers <joseph@codesourcery.com>
9996
9997 [BZ #15285]
9998 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9999 (__ieee754_j0l): Do not improve calculations using cos of twice
10000 input for inputs above LDBL_MAX / 2.0L.
10001 (__ieee754_y0l): Likewise.
10002 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10003 (__ieee754_j1l): Do not improve calculations using cos of twice
10004 input for inputs above LDBL_MAX / 2.0L.
10005 (__ieee754_y1l): Likewise.
10006 * math/libm-test.inc (j0_test): Add another test.
10007 (j1_test): Likewise.
10008 (y0_test): Likewise.
10009 (y1_test): Likewise.
10010 * sysdeps/i386/fpu/libm-test-ulps: Update.
10011
3775a8bc
SP
100122013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10013
10014 * Rules ($(objpfx)bench-%.c): Include code from a C source
10015 file.
10016
0a1b2ae6
JM
100172013-03-21 Joseph Myers <joseph@codesourcery.com>
10018
10019 [BZ #15287]
10020 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10021 imaginary part 1.0 and real part less than 0.5 specially.
10022 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10023 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10024 * math/libm-test.inc (cacos_test): Add more tests.
10025 (casin_test): Likewise.
10026 (casinh_test): Likewise.
10027 * sysdeps/i386/fpu/libm-test-ulps: Update.
10028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10029
b33d4ce4
SP
100302013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10031
10032 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10033 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10034
bef0b507
JM
100352013-03-20 Joseph Myers <joseph@codesourcery.com>
10036
10037 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10038 * config.make.in (config-cflags-sse4): Remove variable.
10039 (config-cflags-avx): Likewise.
10040 (config-cflags-sse2avx): Likewise.
10041 (config-cflags-novzeroupper): Likewise.
10042 (config-asflags-i686): Likewise.
10043 (have-mfma4): Likewise.
10044 (have-as-vis3): Likewise.
10045 (MIG): Likewise.
10046 * configure.in (MIG): Do not AC_SUBST.
10047 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10048 (libc_cv_cc_sse4): Do not AC_SUBST.
10049 (libc_cv_cc_avx): Likewise.
10050 (libc_cv_cc_sse2avx): Likewise.
10051 (libc_cv_cc_novzeroupper): Likewise.
10052 (libc_cv_cc_fma4): Likewise.
10053 (libc_cv_as_i686): Likewise.
10054 (libc_cv_sparc_as_vis3): Likewise.
10055 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10056 LIBC_CONFIG_VAR.
10057 (config-asflags-i686): Likewise.
10058 (config-cflags-avx): Likewise.
10059 (config-cflags-sse2avx): Likewise.
10060 (have-mfma4): Likewise.
10061 (config-cflags-novzeroupper): Likewise.
10062 * sysdeps/mach/configure.in (MIG): Likewise.
10063 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10064 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10065 LIBC_CONFIG_VAR.
10066 (config-cflags-avx): Likewise.
10067 (config-cflags-sse2avx): Likewise.
10068 (have-mfma4): Likewise.
10069 (config-cflags-novzeroupper): Likewise.
10070 * configure: Regenerated.
10071 * sysdeps/i386/configure: Likewise.
10072 * sysdeps/mach/configure: Likewise.
10073 * sysdeps/sparc/configure: Likewise.
10074 * sysdeps/x86_64/configure: Likewise.
10075
912cc4b3
RM
100762013-03-20 Roland McGrath <roland@hack.frob.com>
10077
10078 [BZ #14812]
10079 * locale/programs/localedef.c (options): Put N_ translation marker
10080 on argument names, not just descriptions.
10081
04eed2b0
MS
100822013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10083
10084 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10085
a065ceff
OB
100862013-03-20 Ondřej Bílka <neleai@seznam.cz>
10087
9bb2a810 10088 [BZ #14176]
a065ceff
OB
10089 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10090
a600e5ce
RM
100912013-03-19 Roland McGrath <roland@hack.frob.com>
10092
10093 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10094 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10095 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10096 [!BEFORE_ABORT] (before_abort): New function.
10097 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10098 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10099 (writev_for_fatal): New function.
10100 (WRITEV_FOR_FATAL): New macro; call that.
10101 (backtrace_and_maps): New function.
10102 (BEFORE_ABORT): New macro; call that.
10103 (struct str_list): Type removed.
10104 (__libc_message, __libc_fatal): Functions removed.
10105 Include <sysdeps/posix/libc_fatal.c> instead.
10106
6b18bea6
JM
101072013-03-19 Joseph Myers <joseph@codesourcery.com>
10108
10109 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10110 constants.
10111 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10112 double constants.
10113
aaa8cb4b
AS
101142013-03-19 Andreas Schwab <schwab@suse.de>
10115
44673770
AS
10116 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10117 * sysdeps/gnu/configure: Regenerate.
10118
aaa8cb4b
AS
10119 * configure.in: Substitute libc_cv_rtlddir.
10120 * configure: Regenerate.
10121 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10122 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10123 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10124 * elf/Makefile (install-others, CFLAGS-interp.c)
10125 (ldso_install, common-ldd-rewrite): Likewise.
10126 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10127 $(inst_slibdir)/$(rtld-installed-name).
10128 * scripts/rellns-sh: Add -p option.
10129 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10130 for source.
10131
d3cfc668
SP
101322013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10133
10134 * manual/nptl.texi: Renamed to ...
10135 * manual/threads.texi: ... this.
10136 * manual/Makefile (chapters): Update.
10137
0e2b9cdd
RM
101382013-03-18 Roland McGrath <roland@hack.frob.com>
10139
10140 [BZ #14812]
10141 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10142 on argument names, not just descriptions.
0e2b9cdd
RM
10143 * malloc/memusagestat.c (options): Likewise.
10144 * nss/getent.c (options): Likewise.
63270c24
RM
10145
101462013-03-18 Benno Schulenberg <bensberg@justemail.net>
10147
10148 [BZ #14812]
10149 * iconv/iconv_prog.c (options): Put N_ translation marker
10150 on argument names, not just descriptions.
10151 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 10152
b2e1393c
OB
101532013-03-18 Ondrej Bilka <neleai@seznam.cz>
10154
10155 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10156 implementation which is faster on all x86_64 architectures.
10157 Tested on AMD, Intel Nehalem, SNB, IVB.
10158 * sysdeps/x86_64/strnlen.S: Likewise.
10159
10160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10161 Remove all multiarch strlen and strnlen versions.
10162 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10163 Remove strlen and strnlen related parts.
10164
10165 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10166 Inline strlen part.
10167 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10168
10169 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10170 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10171 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10172 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10173 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10174 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10175
ec4ff04d
CD
101762013-03-17 Carlos O'Donell <carlos@redhat.com>
10177
10178 * manual/memory.texi (Malloc Tunable Parameters):
10179 Sort parameters alphabetically. Add comments for missing entries.
10180
cd18e90a
DM
101812013-03-17 David S. Miller <davem@davemloft.net>
10182
10183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10184
2a185d32
JM
101852013-03-16 Joseph Myers <joseph@codesourcery.com>
10186
d2f9799e
JM
10187 [BZ #15283]
10188 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10189 for arguments at most half maximum finite value.
10190 * math/libm-test.inc (j0_test): Add more tests.
10191 (j1_test): Likewise.
10192 (y0_test): Likewise.
10193 (y1_test): Likewise.
10194 * sysdeps/i386/fpu/libm-test-ulps: Update.
10195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10196
2a185d32
JM
10197 [BZ #14155]
10198 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10199 1 / x and functions P and Q for arguments above 0x1p256L.
10200 (__ieee754_y0l): Likewise.
10201 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10202 (__ieee754_y1l): Likewise.
10203 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10204 (j1_test): Likewise.
10205 (y0_test): Likewise.
10206 (y1_test): Likewise.
10207
6cbec759
TS
102082013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10209
10210 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10211 variable.
10212
bc16e260
RM
102132013-03-15 Roland McGrath <roland@hack.frob.com>
10214
aefc9b8c
RM
10215 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10216 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10217 zero since it's initialized to EXEC_PAGESIZE.
10218
bc16e260
RM
10219 * sysdeps/unix/sysv/linux/ldsodefs.h
10220 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10221 * sysdeps/generic/ldsodefs.h: ... here.
10222
a57da955
TS
102232013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10224
af00a34d
TS
10225 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10226
495ded2c
TS
10227 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10228 math/test-snan.c.
10229 * math/test-snan.c: Renamed from
10230 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10231 * math/Makefile (tests): Add test-snan.
10232 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10233 test-powerpc-snan.
10234
777b0332
TS
10235 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10236 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10237 functions.
10238 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10239 __builtin_nan family of functions.
10240 * math/libm-test.inc (initialize): Initialize qnan_value with
10241 __builtin_nan family of functions.
10242 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10243 Remove variables.
10244 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10245 Remove functions.
10246 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10247 storage class. Initialize qNaN_var and sNaN_var with
10248 __builtin_nan and __builtin_nans families of functions,
10249 respectively.
10250
64d063b8
TS
10251 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10252 (sqrt_test): Remove duplicate test with qNaN input.
10253 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10254 (round_test, signbit_test, significand_test): Note missing +/-Inf
10255 as well as qNaN tests.
10256
67e971f1
TS
10257 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10258 qNaN_var. Fix a few strings, too.
10259 * math/libm-test.inc (nan_value): Rename to qnan_value.
10260 * math/gen-libm-test.pl (%beautify): Adjust to that.
10261 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10262 * math/test-misc.c (main): Likewise.
10263 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10264 to __qnan_bytes, and __qnan_union, respectively.
10265 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10266 Likewise.
10267 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10268 and lqnanval, respectively.
10269 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10270 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10271 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10272 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10273
64487e12
TS
10274 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10275 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10276 doubles.
10277
e015e27b
TS
10278 * math/test-misc.c (main): Fix copy'n'pastos.
10279 * misc/tst-efgcvt.c (special): Likewise.
10280
a57da955
TS
10281 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10282 Remove declarations.
10283
1e380345
SP
102842013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10285
10286 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10287 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10288 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10289 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10290
ef26eece
AZ
102912013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10292
10293 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10294 macro to return vdso values correctly in IFUNC implementations.
10295 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10296 Optimization by using IFUNC.
10297
8cfdb7e0
SP
102982013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10299 Richard Henderson <rth@redhat.com>
10300 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10301
10302 * Makefile.in (bench): New target.
10303 * NEWS: Mention the benchmark framework.
10304 * Rules (bench): Likewise.
10305 (binaries-bench): Generate binaries for functions to
10306 benchmark.
10307 * benchtests/Makefile: New makefile for benchmark tests.
10308 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10309 programs.
10310 * benchtests/exp-inputs: New input file for EXP function.
10311 * benchtests/pow-inputs: New input file for POW function.
10312 * scripts/bench.pl: New script to generate source files for
10313 benchmark programs.
10314
bcda9880
SP
103152013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10316
d22ca8cd
SP
10317 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10318 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10319 computations on mantissa. Use macros for rounding and
10320 division.
10321 (denorm): Likewise.
10322 (__dbl_mp): Likewise.
10323 (add_magnitudes): Likewise.
10324 (sub_magnitudes): Likewise.
10325 (__mul): Likewise.
10326 (__sqr): Likewise.
10327 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10328 powers of two in terms of TWOPOW macro.
10329 (mp_no): Make type of mantissa as MANTISSA_T.
10330 [!RADIXI]: Define RADIXI.
10331 [!TWO52]: Define TWO52.
10332 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10333
bcda9880
SP
10334 * manual/nptl.texi (cindex): Modify threads to pthreads.
10335
06d5adfb
JM
103362013-03-15 Joseph Myers <joseph@codesourcery.com>
10337
10338 * sysdeps/x86_64/preconfigure: Regenerated.
10339
41c7328e
JM
103402013-03-14 Joseph Myers <joseph@codesourcery.com>
10341
10342 [BZ #14155]
10343 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10344 0x1p28 and above.
10345 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10346 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10347 0x1p28 and above.
10348 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10349 * math/libm-test.inc (j0_test): Do not allow one spurious
10350 underflow exception.
10351 (y1_test): Likewise.
10352
e25cfa60
SP
103532013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10354
0409959c
SP
10355 * manual/Makefile (chapters): Add nptl.
10356 * manual/debug.texi (Debugging Support): Add link to Threads
10357 chapter.
10358 * manual/nptl.texi: New file.
10359
e25cfa60
SP
10360 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10361
58a1335e
PB
103622013-03-14 Petr Baudis <pasky@ucw.cz>
10363
10364 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10365 for non-NULL pointer before the memory validity test. Pointed
10366 out by Holger Brunck <holger.brunck@keymile.com>.
10367
9dc7c64f
AS
103682013-03-13 Andreas Schwab <schwab@suse.de>
10369
10370 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10371 instead of .os.
10372
54206aa6
JM
103732013-03-13 Joseph Myers <joseph@codesourcery.com>
10374
10375 * timezone/zic.c: Update from tzcode 2013b.
10376
e98cdb38
CD
103772013-03-12 Carlos O'Donell <carlos@redhat.com>
10378
10379 * manual/install.texi (Configuring and compiling):
10380 Mention i686 and i586.
10381 * INSTALL: Regenerate.
10382
9967e003
RM
103832013-03-12 Roland McGrath <roland@hack.frob.com>
10384
10385 * sysdeps/init_array/elf-init.c: New file.
10386 * csu/elf-init.c
10387 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10388 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10389
10390 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10391 __gmon_start__ as global, but as static with a .preinit_array pointer.
10392 * sysdeps/init_array/gmon-start.c: New file. Use that.
10393 * sysdeps/init_array/crti.S: New file, empty except for comments.
10394 * sysdeps/init_array/crtn.S: Likewise.
10395
e6b5a293 103962013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
10397
10398 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10399 definining bcopy.
80f844c9
OB
10400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10401 Remove Prefer_SSE_for_memop.
10402 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10403 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10404 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
10405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10406 memset-x86-64.
80f844c9 10407 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 10408 Remove bzero, memset ifunc support.
80f844c9
OB
10409 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10410 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10411 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10412 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10413
fb6b0fcb
AS
104142013-03-11 Andreas Schwab <schwab@suse.de>
10415
10416 [BZ #15234]
10417 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10418 by SHLIB_COMPAT.
10419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10420 (GLIBC_2.16): Remove pthread_atfork.
10421
3e6bd4b1
PP
104222013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10423
10424 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10425 (ptestcases.h): Likewise.
10426
222d7f00
RM
104272013-03-08 Roland McGrath <roland@hack.frob.com>
10428
10429 * Makeconfig ($(common-objpfx)config.status): Depend on
10430 sysdeps/*/preconfigure{,.in} too.
10431
1ba4f030
JM
104322013-03-08 Joseph Myers <joseph@codesourcery.com>
10433
a222d91a
JM
10434 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10435 (__free_hook): Use void * instead of __malloc_ptr_t.
10436 (__malloc_hook): Likewise.
10437 (__realloc_hook): Likewise.
10438 (__memalign_hook): Likewise.
10439 (__after_morecore_hook): Likewise.
10440 * malloc/arena.c (save_malloc_hook): Likewise.
10441 (save_free_hook): Likewise.
10442 * malloc/hooks.c (malloc_hook_ini): Likewise.
10443 (realloc_hook_ini): Likewise.
10444 (memalign_hook_ini): Likewise.
10445 * malloc/malloc.c (malloc_hook_ini): Likewise.
10446 (realloc_hook_ini): Likewise.
10447 (memalign_hook_ini): Likewise.
10448 (__free_hook): Likewise.
10449 (__malloc_hook): Likewise.
10450 (__realloc_hook): Likewise.
10451 (__memalign_hook): Likewise.
10452 (__libc_malloc): Likewise.
10453 (__libc_free): Likewise.
10454 (__libc_realloc): Likewise.
10455 (__libc_memalign): Likewise.
10456 (__libc_valloc): Likewise.
10457 (__libc_pvalloc): Likewise.
10458 (__libc_calloc): Likewise.
10459 (__posix_memalign): Likewise.
10460 * malloc/morecore.c (__sbrk): Likewise.
10461 (__default_morecore): Likewise.
10462
5cc45e10
JM
10463 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10464
dd54b864
JM
10465 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10466 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10467 __malloc_ptrdiff_t.
10468
1ba4f030
JM
10469 * malloc/malloc.h (__malloc_size_t): Remove macro.
10470 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10471 __malloc_size_t.
10472 (old_memalign_hook): Likewise.
10473 (old_realloc_hook): Likewise.
10474 (struct hdr): Likewise.
10475 (flood): Likewise.
10476 (mallochook): Likewise.
10477 (memalignhook): Likewise.
10478 (reallochook): Likewise.
10479 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10480 (tr_old_realloc_hook): Likewise.
10481 (tr_old_memalign_hook): Likewise.
10482 (tr_mallochook): Likewise.
10483 (tr_reallochook): Likewise.
10484 (tr_memalignhook): Likewise.
10485
edf66e57
AZ
104862013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10487
10488 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10489 default_ldbl_pack and using as default implementation.
10490 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10491 implementation.
10492 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10493 redundant definition.
10494 (ldbl_insert_mantissa): Likewise.
10495 (ldbl_canonicalize): Likewise.
10496 (ldbl_nearbyint): Likewise.
10497 (ldbl_pack): Rename to ldbl_pack_ppc.
10498 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10499 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10500 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10501
6d9145d8
SP
105022013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10503
10504 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10505 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10506 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10507 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10509 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10510 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10511 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10512
4dd4e157
AJ
105132013-03-07 Andreas Jaeger <aj@suse.de>
10514
10515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10516 bits/mman-linux.h.
10517
adbb8027
SP
105182013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10519
ce544b5b
SP
10520 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10521 Include mpa.h and declare __MPEXP.
10522 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10523 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10524 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10525 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10526 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10527 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10528 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10529
4cc149fd
SP
10530 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10531 (__slowpow): Use long double EXPL and LOGL functions to
10532 compute POW.
10533 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10534 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10535 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10536 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10537 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10538 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10539
e6ebd4a7
SP
10540 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10541 intermediate variable to calculate exponent.
10542 (__sqr): Likewise.
10543 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10544 Likewise.
10545 (__sqr): Likewise.
10546
82a9811d
SP
10547 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10548 [!NO__SQR]: Define __sqr.
10549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10550 and NO__SQR. Remove all code except __mul and __sqr. Include
10551 sysdeps/ieee754/dbl-64/mpa.c.
10552 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10553
adbb8027
SP
10554 [BZ #12723]
10555 * posix/Makefile (tests): Add tst-pathconf.
10556 * posix/tst-pathconf.c: New test case.
10557 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10558 _PC_PIPE_BUF.
10559 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10560
39120df9
PF
105612013-03-06 Patsy Franklin <pfrankli@redhat.com>
10562
10563 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10564
67525cb8
AJ
105652013-03-06 Andreas Jaeger <aj@suse.de>
10566
664a9ce4
AJ
10567 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10568 definition via __MAP_ANONYMOUS.
10569
8e39047d
AJ
10570 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10571 it's not part of Linux headers.
10572
67525cb8
AJ
10573 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10574 (MAP_HUGE_MASK): Define.
10575
10576 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10577 Define.
10578 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10579 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10580 Define.
10581 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10582 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10583 Define.
10584 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10585 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10586 Define.
10587 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10588
10589 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10590 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10591 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10592 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10593 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10594 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10595
10596 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10597 Handle f2fs.
10598
10599 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10600 Handle f2fs and efivarfs.
10601
10602 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10603 f2fs.
10604
10605 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10606 (EFIVARFS_MAGIC): Add.
10607 (F2FS_LINK_MAX): Add.
10608
e1b42695
PP
106092013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10610
10611 * stdio-common/vfprintf.c: Replace __builtin_expect with
10612 __glibc_unlikely.
10613
2d67d91a
JM
106142013-03-06 Joseph Myers <joseph@codesourcery.com>
10615
10616 [BZ #13550]
10617 * sysdeps/generic/bp-sym.h: Remove file.
10618 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10619 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10620 <bp-sym.h> and <bp-asm.h>.
10621 (__longjmp): Don't use BP_SYM.
10622 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10623 and <bp-asm.h>.
10624 (memcpy): Don't use BP_SYM.
10625 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10626 <bp-sym.h> and <bp-asm.h>.
10627 (memcpy): Don't use BP_SYM.
10628 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10629 <bp-asm.h>.
10630 (memcpy): Don't use BP_SYM.
10631 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10632 <bp-asm.h>.
10633 (memset): Don't use BP_SYM.
10634 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10635 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10636 (__bzero): Don't use BP_SYM.
10637 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10638 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10639 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10640 <bp-sym.h> and <bp-asm.h>.
10641 (memcmp): Don't use BP_SYM. Remove comment about bounded
10642 pointers.
10643 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10644 <bp-sym.h> and <bp-asm.h>.
10645 (memcpy): Don't use BP_SYM.
10646 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10647 <bp-sym.h> and <bp-asm.h>.
10648 (memset): Don't use BP_SYM.
10649 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10650 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10651 (__bzero): Don't use BP_SYM.
10652 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10653 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10654 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10655 <bp-sym.h> and <bp-asm.h>.
10656 (strncmp): Don't use BP_SYM. Remove comment about bounded
10657 pointers.
10658 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10659 <bp-sym.h> and <bp-asm.h>.
10660 (memcpy): Don't use BP_SYM.
10661 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10662 <bp-sym.h> and <bp-asm.h>.
10663 (memset): Don't use BP_SYM.
10664 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10665 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10666 (__bzero): Don't use BP_SYM.
10667 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10668 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10669 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10670 <bp-sym.h> and <bp-asm.h>.
10671 (__memchr): Don't use BP_SYM.
10672 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10673 <bp-sym.h> and <bp-asm.h>.
10674 (memcmp): Don't use BP_SYM. Remove comment about bounded
10675 pointers.
10676 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10677 <bp-sym.h> and <bp-asm.h>.
10678 (memcpy): Don't use BP_SYM.
10679 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10680 <bp-sym.h> and <bp-asm.h>.
10681 (__mempcpy): Don't use BP_SYM.
10682 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10683 <bp-sym.h> and <bp-asm.h>.
10684 (__memrchr): Don't use BP_SYM.
10685 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10686 <bp-sym.h> and <bp-asm.h>.
10687 (memset): Don't use BP_SYM.
10688 (__bzero): Likewise.
10689 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10690 <bp-sym.h> and <bp-asm.h>.
10691 (__rawmemchr): Don't use BP_SYM.
10692 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10693 <bp-sym.h> and <bp-asm.h>.
10694 (__STRCMP): Don't use BP_SYM.
10695 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10696 <bp-sym.h> and <bp-asm.h>.
10697 (strchr): Don't use BP_SYM.
10698 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10699 <bp-sym.h> and <bp-asm.h>.
10700 (__strchrnul): Don't use BP_SYM.
10701 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10702 <bp-sym.h> and <bp-asm.h>.
10703 (strlen): Don't use BP_SYM.
10704 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10705 <bp-sym.h> and <bp-asm.h>.
10706 (strncmp): Don't use BP_SYM. Remove comment about bounded
10707 pointers.
10708 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10709 <bp-sym.h> and <bp-asm.h>.
10710 (__strnlen): Don't use BP_SYM.
10711 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10712 <bp-sym.h> and <bp-asm.h>.
10713 (__GI__setjmp): Don't use BP_SYM.
10714 (_setjmp): Likewise.
10715 (__sigsetjmp): Likewise.
10716 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10717 (L(start_addresses)): Don't use BP_SYM.
10718 (_start): Likewise.
10719 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10720 <bp-asm.h>.
10721 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10722 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10723 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10724 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10725 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10726 <bp-asm.h>.
10727 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10728 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10729 about bounded pointers.
10730 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10731 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10732 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10733 <bp-asm.h>.
10734 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10735 about bounded pointers. Remove GKM FIXME comments.
10736 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10737 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10738 <bp-asm.h>.
10739 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10740 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10741 Remove GKM FIXME comments.
10742 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10743 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10744 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10745 <bp-asm.h>.
10746 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10747 about bounded pointers. Remove GKM FIXME comment.
10748 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10749 and <bp-asm.h>.
10750 (strncmp): Don't use BP_SYM. Remove comment about bounded
10751 pointers.
10752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10753 <bp-sym.h> and <bp-asm.h>.
10754 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10756 <bp-sym.h> and <bp-asm.h>.
10757 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10758 comment.
10759
cdcf361f
PP
107602013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10761
10762 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10763 call free(NULL).
10764
3c4a2b15
DM
107652013-03-05 David S. Miller <davem@davemloft.net>
10766
10767 * po/es.po: Update from translation team.
10768
cdcf361f 107692013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
10770
10771 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10772 <bits/mman-linux.h>.
10773 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10774 is fine.
10775 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10776 <bits/mman-linux.h> to end of file.
10777 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10778 is fine.
10779 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10780 <bits/mman-linux.h> to end of file.
10781 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10782 is fine.
10783 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10784 <bits/mman-linux.h> to end of file.
10785
10786 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10787 (MCL_CURRENT, MCL_FUTURE): Define here.
10788
5f67c04f
AK
107892013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10790
8a4473cc 10791 [BZ #15232]
5f67c04f
AK
10792 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10793 attribute_hidden.
10794 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10795
c3e94a95
AK
107962013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10797
10798 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10799 fourth parameter needed for rt_sigprocmask syscall.
10800 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10801 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10802 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10803 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10804 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10805 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10806
cfb6382a
JM
108072013-03-04 Joseph Myers <joseph@codesourcery.com>
10808
10809 [BZ #13550]
10810 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10811 comment about bounded pointers.
10812 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10813 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10814
539d8e01
AJ
108152013-03-04 Andreas Jaeger <aj@suse.de>
10816
10817 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10818 common definitions.
10819
10820 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10821 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10822 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10823 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10824 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
10825 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10826
2e167a70 108272013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
10828
10829 [BZ #15055]
10830 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10831 __ieee754_sqrl instead of __sqrl.
10832
68508633
JM
108332013-03-01 Joseph Myers <joseph@codesourcery.com>
10834
10835 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10836 * sysdeps/powerpc/fpu_control.h: ... here.
10837 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10838 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10839 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10840 * sysdeps/powerpc/bits/mathinline.h: ... here.
10841
7775448e
RM
108422013-03-01 Roland McGrath <roland@hack.frob.com>
10843
10844 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10845 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10846 to just [NEED_DL_SYSINFO_DSO].
10847 * elf/dl-support.c: Likewise.
10848 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10849 * elf/rtld.c (dl_main): Likewise.
10850 * elf/setup-vdso.h (setup_vdso): Likewise.
10851 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10852 * sysdeps/unix/sysv/linux/dl-sysdep.c
10853 (_dl_discover_osversion): Likewise.
10854
4e9b5995
CD
108552013-03-01 Carlos O'Donell <carlos@redhat.com>
10856
10857 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10858 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10859
e23872c8
SP
108602013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10861
e5c74c63
SP
10862 * NEWS: Mention libm performance improvements and non-x86 PI
10863 futex support.
10864
e23872c8
SP
10865 * csu/libc-start.c (__pthread_initialize_minimal): Change
10866 function arguments.
10867 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10868
b5510883
JM
108692013-02-28 Joseph Myers <joseph@codesourcery.com>
10870
10871 [BZ #13550]
10872 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10873 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10874 <bp-sym.h> and <bp-asm.h>.
10875 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10876 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10877 and <bp-asm.h>.
10878 (memcpy): Don't use BP_SYM.
10879 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10880 <bp-asm.h>.
10881 (__mpn_add_n): Don't use BP_SYM.
10882 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10883 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10884 and <bp-asm.h>.
10885 (__mpn_addmul_1): Don't use BP_SYM.
10886 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10887 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10888 <bp-sym.h>.
10889 (_setjmp): Don't use BP_SYM.
10890 (__novmx_setjmp): Likewise.
10891 (__GI__setjmp): Likewise.
10892 (__vmx_setjmp): Likewise.
10893 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10894 <bp-sym.h>.
10895 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10896 (__bzero): Don't use BP_SYM.
10897 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10898 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10899 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10900 <bp-sym.h> and <bp-asm.h>.
10901 (memcpy): Don't use BP_SYM.
10902 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10903 <bp-sym.h> and <bp-asm.h>.
10904 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10905 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10906 <bp-sym.h> and <bp-asm.h>.
10907 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10908 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10909 <bp-asm.h>.
10910 (__mpn_lshift): Don't use BP_SYM.
10911 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10912 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10913 <bp-asm.h>.
10914 (memset): Don't use BP_SYM.
10915 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10916 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10917 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10918 <bp-asm.h>.
10919 (__mpn_mul_1): Don't use BP_SYM.
10920 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10921 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10922 <bp-sym.h> and <bp-asm.h>.
10923 (memcmp): Don't use BP_SYM.
10924 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10925 <bp-sym.h> and <bp-asm.h>.
10926 (memcpy): Don't use BP_SYM.
10927 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10928 <bp-sym.h> and <bp-asm.h>.
10929 (memset): Don't use BP_SYM.
10930 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10931 <bp-sym.h> and <bp-asm.h>.
10932 (strncmp): Don't use BP_SYM.
10933 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10934 <bp-sym.h> and <bp-asm.h>.
10935 (memcpy): Don't use BP_SYM.
10936 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10937 <bp-sym.h> and <bp-asm.h>.
10938 (memset): Don't use BP_SYM.
10939 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10940 <bp-sym.h> and <bp-asm.h>.
10941 (__memchr): Don't use BP_SYM.
10942 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10943 <bp-sym.h> and <bp-asm.h>.
10944 (memcmp): Don't use BP_SYM.
10945 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10946 <bp-sym.h> and <bp-asm.h>.
10947 (memcpy): Don't use BP_SYM.
10948 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10949 <bp-sym.h> and <bp-asm.h>.
10950 (__mempcpy): Don't use BP_SYM.
10951 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10952 <bp-sym.h> and <bp-asm.h>.
10953 (__memrchr): Don't use BP_SYM.
10954 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10955 <bp-sym.h> and <bp-asm.h>.
10956 (memset): Don't use BP_SYM.
10957 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10958 <bp-sym.h> and <bp-asm.h>.
10959 (__rawmemchr): Don't use BP_SYM.
10960 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10961 <bp-sym.h> and <bp-asm.h>.
10962 (__STRCMP): Don't use BP_SYM.
10963 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10964 <bp-sym.h> and <bp-asm.h>.
10965 (strchr): Don't use BP_SYM.
10966 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10967 <bp-sym.h> and <bp-asm.h>.
10968 (__strchrnul): Don't use BP_SYM.
10969 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10970 <bp-sym.h> and <bp-asm.h>.
10971 (strlen): Don't use BP_SYM.
10972 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10973 <bp-sym.h> and <bp-asm.h>.
10974 (strncmp): Don't use BP_SYM.
10975 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10976 <bp-sym.h> and <bp-asm.h>.
10977 (__strnlen): Don't use BP_SYM.
10978 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10979 <bp-asm.h>.
10980 (__mpn_rshift): Don't use BP_SYM.
10981 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10982 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10983 <bp-sym.h> and <bp-asm.h>.
10984 (__sigsetjmp): Don't use BP_SYM.
10985 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10986 (L(start_addresses)): Don't use BP_SYM.
10987 (_start): Likewise.
10988 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10989 <bp-asm.h>.
10990 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10991 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10992 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10993 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10994 <bp-asm.h>.
10995 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10996 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10997 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10998 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10999 <bp-asm.h>.
11000 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11001 comments.
11002 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11003 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11004 <bp-asm.h>.
11005 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11006 FIXME comments.
11007 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11008 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11009 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11010 <bp-asm.h>.
11011 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11012 comment.
11013 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11014 and <bp-asm.h>.
11015 (strncmp): Don't use BP_SYM,
11016 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11017 <bp-asm.h>.
11018 (__mpn_sub_n): Don't use BP_SYM.
11019 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11020 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11021 and <bp-asm.h>.
11022 (__mpn_submul_1): Don't use BP_SYM.
11023 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11025 <bp-sym.h> and <bp-asm.h>.
11026 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11028 <bp-sym.h> and <bp-asm.h>.
11029 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11030 comment.
11031
8d19fe64
SP
110322013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11033
11034 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11035 Use ZK to minimize writes to Z.
11036 (sub_magnitudes): Simplify code a bit.
11037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11038 Use ZK to minimize writes to Z.
11039 (sub_magnitudes): Simplify code a bit.
11040
85bd816a
RM
110412013-02-27 Roland McGrath <roland@hack.frob.com>
11042
11043 * csu/gmon-start.c: Add special exception to license text.
11044
b5977bf2
RH
110452013-02-27 Richard Henderson <rth@redhat.com>
11046
11047 * scripts/config.guess: Update from config.git.
11048 * scripts/config.sub: Likewise.
11049
11d6e2f2
SP
110502013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11051
09c14ed2
SP
11052 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11053
a688864e
SP
11054 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11055
6295157a
SP
11056 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11057
b8de2202
SP
11058 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11059
11d6e2f2
SP
11060 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11061
7e80ddb8
RM
110622013-02-26 Roland McGrath <roland@hack.frob.com>
11063
11064 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11065 [$(build-shared = yes].
7e80ddb8 11066
7da6d9ed
SP
110672013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11068
45f05884
SP
11069 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11070 (__mul): Reduce iterations for calculating mantissa.
11071
2236d359
SP
11072 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11073 MPTWO.
11074 (__mpranred): Likewise.
11075
7da6d9ed
SP
11076 [BZ #15160]
11077 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11078 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11079
b7688c42
PE
110802013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11081
11082 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11083 Define __attribute__.
11084
53a5c423
SP
110852013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11086
11087 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11088 unused.
11089 * posix/regex_internal.h (__attribute): Remove.
11090 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11091 (re_string_context_at): Likewise.
11092 (bitset_not): Use __attribute__ and mark function as possibly
11093 unused.
11094 (bitset_merge): Likewise.
11095 (bitset_mask): Likewise.
11096 (re_string_char_size_at): Likewise.
11097 (re_string_wchar_at): Likewise.
11098 (re_string_elem_size_at): Likewise.
11099
60f5a8b5
SP
111002013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11101
2a983a2e
SP
11102 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11103 code.
11104 (cc32): Likewise.
11105
e69804d1
SP
11106 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11107 (__acr): Likewise.
11108 (__cpy): Likewise.
11109 (norm): Likewise.
11110 (denorm): Likewise.
11111 (__dbl_mp): Likewise.
11112 (add_magnitudes): Likewise.
11113 (sub_magnitudes): Likewise.
11114 (__mul): Likewise.
11115 (__inv): Likewise.
11116
2f22a1e8
SP
11117 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11118 style.
11119
8930ddc7
SP
11120 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11121 style.
11122
dc60cb11
SP
11123 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11124 code.
11125
60f5a8b5
SP
11126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11127 up changes with default code.
11128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11129 Likewise.
11130
b4d1fd33
AM
111312013-02-24 Allan McRae <allan@archlinux.org>
11132
faf6f8bc
AM
11133 * manual/socket.texi (The Internet Namespace): Order menu items
11134 to match that in the file.
11135
b4d1fd33
AM
11136 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11137 node listing of the info page menu.
11138
2366713d
JM
111392013-02-21 Joseph Myers <joseph@codesourcery.com>
11140
11141 [BZ #13550]
11142 * sysdeps/i386/bp-asm.h: Remove file.
11143 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11144 (PARMS): Do not use macros from bp-asm.h.
11145 (S1): Likewise.
11146 (S2): Likewise.
11147 (SIZE): Likewise.
11148 (__mpn_add_n): Do not use BP_SYM
11149 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11150 "bp-asm.h".
11151 (PARMS): Do not use macros from bp-asm.h.
11152 (S1): Likewise.
11153 (SIZE): Likewise.
11154 (__mpn_addmul_1): Do not use BP_SYM
11155 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11156 "bp-asm.h".
11157 (PARMS): Do not use macros from bp-asm.h.
11158 (SIGMSK): Likewise.
11159 (_setjmp): Likewise. Do not use BP_SYM.
11160 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11161 "bp-asm.h".
11162 (PARMS): Do not use macros from bp-asm.h.
11163 (SIGMSK): Likewise.
11164 (setjmp): Likewise. Do not use BP_SYM.
11165 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11166 "bp-asm.h".
11167 (PARMS): Do not use macros from bp-asm.h.
11168 (__frexp): Do not use BP_SYM.
11169 (frexp): Likewise.
11170 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11171 "bp-asm.h".
11172 (PARMS): Do not use macros from bp-asm.h.
11173 (__frexpf): Do not use BP_SYM.
11174 (frexpf): Likewise.
11175 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11176 "bp-asm.h".
11177 (PARMS): Do not use macros from bp-asm.h.
11178 (__frexpl): Do not use BP_SYM.
11179 (frexpl): Likewise.
11180 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11181 "bp-asm.h".
11182 (PARMS): Do not use macros from bp-asm.h.
11183 (__remquo): Do not use BP_SYM.
11184 (remquo): Likewise.
11185 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11186 "bp-asm.h".
11187 (PARMS): Do not use macros from bp-asm.h.
11188 (__remquof): Do not use BP_SYM.
11189 (remquof): Likewise.
11190 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11191 "bp-asm.h".
11192 (PARMS): Do not use macros from bp-asm.h.
11193 (__remquol): Do not use BP_SYM.
11194 (remquol): Likewise.
11195 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11196 "bp-asm.h".
11197 (PARMS): Do not use macros from bp-asm.h.
11198 (DEST): Likewise.
11199 (SRC): Likewise.
11200 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11201 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11202 "bp-asm.h".
11203 (PARMS): Do not use macros from bp-asm.h.
11204 (strlen): Do not use BP_SYM.
11205 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11206 "bp-asm.h".
11207 (PARMS): Do not use macros from bp-asm.h.
11208 (S1): Likewise.
11209 (S2): Likewise.
11210 (SIZE): Likewise.
11211 (__mpn_add_n): Do not use BP_SYM.
11212 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11213 "bp-asm.h".
11214 (PARMS): Do not use macros from bp-asm.h.
11215 (S1): Likewise.
11216 (SIZE): Likewise.
11217 (__mpn_addmul_1): Do not use BP_SYM.
11218 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11219 weak_alias.
11220 (bzero): Likewise.
11221 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11222 "bp-asm.h".
11223 (PARMS): Do not use macros from bp-asm.h.
11224 (S): Likewise.
11225 (SIZE): Likewise.
11226 (__mpn_lshift): Do not use BP_SYM.
11227 * sysdeps/i386/i586/memcpy.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 (LEN): Likewise.
11233 (memcpy): Likewise. Do not use BP_SYM.
11234 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11235 libc_hidden_def and weak_alias.
11236 (mempcpy): Do not use BP_SYM in weak_alias.
11237 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11238 "bp-asm.h".
11239 (PARMS): Do not use macros from bp-asm.h.
11240 (DEST): Likewise.
11241 (LEN): Likewise.
11242 [!BZERO_P] (CHR): Likewise.
11243 (memset): Likewise. Do not use BP_SYM.
11244 * sysdeps/i386/i586/mul_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_mul_1): Do not use BP_SYM.
11250 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11251 "bp-asm.h".
11252 (PARMS): Do not use macros from bp-asm.h.
11253 (S): Likewise.
11254 (SIZE): Likewise.
11255 (__mpn_rshift): Do not use BP_SYM.
11256 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11257 "bp-asm.h".
11258 (PARMS): Do not use macros from bp-asm.h.
11259 (STR): Likewise.
11260 (CHR): Likewise.
11261 (strchr): Likewise. Do not use BP_SYM.
11262 (index): Do not use BP_SYM in weak_alias.
11263 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11264 "bp-asm.h".
11265 (PARMS): Do not use macros from bp-asm.h.
11266 (DEST): Likewise.
11267 (SRC): Likewise.
11268 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11269 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11270 "bp-asm.h".
11271 (PARMS): Do not use macros from bp-asm.h.
11272 (strlen): Do not use BP_SYM.
11273 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11274 "bp-asm.h".
11275 (PARMS): Do not use macros from bp-asm.h.
11276 (S1): Likewise.
11277 (S2): Likewise.
11278 (SIZE): Likewise.
11279 (__mpn_sub_n): Do not use BP_SYM.
11280 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11281 "bp-asm.h".
11282 (PARMS): Do not use macros from bp-asm.h.
11283 (S1): Likewise.
11284 (SIZE): Likewise.
11285 (__mpn_submul_1): Do not use BP_SYM.
11286 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11287 "bp-asm.h".
11288 (PARMS): Do not use macros from bp-asm.h.
11289 (S1): Likewise.
11290 (S2): Likewise.
11291 (SIZE): Likewise.
11292 (__mpn_add_n): Do not use BP_SYM.
11293 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11294 weak_alias.
11295 (bzero): Likewise.
11296 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11297 "bp-asm.h".
11298 (PARMS): Do not use macros from bp-asm.h.
11299 (BLK2): Likewise.
11300 (LEN): Likewise.
11301 (memcmp): Do not use BP_SYM.
11302 (bcmp): Do not use BP_SYM in weak_alias.
11303 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11304 "bp-asm.h".
11305 (PARMS): Do not use macros from bp-asm.h.
11306 (DEST): Likewise.
11307 (SRC): Likewise.
11308 (LEN): Likewise.
11309 (memcpy): Likewise. Do not use BP_SYM.
11310 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11311 "bp-asm.h".
11312 (PARMS): Do not use macros from bp-asm.h.
11313 (DEST): Likewise.
11314 (SRC): Likewise.
11315 (LEN): Likewise.
11316 (memmove): Likewise. Do not use BP_SYM.
11317 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11318 "bp-asm.h".
11319 (PARMS): Do not use macros from bp-asm.h.
11320 (DEST): Likewise.
11321 (SRC): Likewise.
11322 (LEN): Likewise.
11323 (__mempcpy): Likewise. Do not use BP_SYM.
11324 (mempcpy): Do not use BP_SYM in weak_alias.
11325 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11326 "bp-asm.h".
11327 (PARMS): Do not use macros from bp-asm.h.
11328 (DEST): Likewise.
11329 (LEN): Likewise.
11330 [!BZERO_P] (CHR): Likewise.
11331 (memset): Likewise. Do not use BP_SYM.
11332 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11333 "bp-asm.h".
11334 (PARMS): Do not use macros from bp-asm.h.
11335 (STR2): Likewise.
11336 (strcmp): Do not use BP_SYM.
11337 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11338 "bp-asm.h".
11339 (PARMS): Do not use macros from bp-asm.h.
11340 (STR): Likewise.
11341 (DELIM): Likewise.
11342 [USE_AS_STRTOK_R] (SAVE): Likewise.
11343 (FUNCTION): Likewise. Do not use BP_SYM.
11344 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11345 aliases.
11346 (strtok_r): Likewise.
11347 (__GI___strtok_r): Likewise.
11348 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11349 (PARMS): Do not use macros from bp-asm.h.
11350 (S): Likewise.
11351 (SIZE): Likewise.
11352 (__mpn_lshift): Do not use BP_SYM.
11353 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11354 (PARMS): Do not use macros from bp-asm.h.
11355 (STR): Likewise.
11356 (CHR): Likewise.
11357 (__memchr): Do not use BP_SYM.
11358 (memchr): Do not use BP_SYM in weak_alias.
11359 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11360 (PARMS): Do not use macros from bp-asm.h.
11361 (BLK2): Likewise.
11362 (LEN): Likewise.
11363 (memcmp): Do not use BP_SYM.
11364 (bcmp): Do not use BP_SYM in weak_alias.
11365 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11366 (PARMS): Do not use macros from bp-asm.h.
11367 (S1): Likewise.
11368 (SIZE): Likewise.
11369 (__mpn_mul_1): Do not use BP_SYM.
11370 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11371 "bp-asm.h".
11372 (PARMS): Do not use macros from bp-asm.h.
11373 (STR): Likewise.
11374 (CHR): Likewise.
11375 (__rawmemchr): Do not use BP_SYM.
11376 (rawmemchr): Do not use BP_SYM in weak_alias.
11377 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11378 (PARMS): Do not use macros from bp-asm.h.
11379 (S): Likewise.
11380 (SIZE): Likewise.
11381 (__mpn_rshift): Do not use BP_SYM.
11382 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11383 (PARMS): Do not use macros from bp-asm.h.
11384 (SIGMSK): Likewise.
11385 (__sigsetjmp): Likewise. Do not use BP_SYM.
11386 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11387 (_start): Do not use BP_SYM.
11388 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11389 (PARMS): Do not use macros from bp-asm.h.
11390 (DEST): Likewise.
11391 (SRC): Likewise.
11392 (__stpcpy): Likewise. Do not use BP_SYM.
11393 (stpcpy): Do not use BP_SYM in weak_alias.
11394 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11395 "bp-asm.h".
11396 (PARMS): Do not use macros from bp-asm.h.
11397 (DEST): Likewise.
11398 (SRC): Likewise.
11399 (LEN): Likewise.
11400 (__stpncpy): Likewise. Do not use BP_SYM.
11401 (stpncpy): Do not use BP_SYM in weak_alias.
11402 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11403 (PARMS): Do not use macros from bp-asm.h.
11404 (STR): Likewise.
11405 (CHR): Likewise.
11406 (strchr): Likewise. Do not use BP_SYM.
11407 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11408 "bp-asm.h".
11409 (PARMS): Do not use macros from bp-asm.h.
11410 (STR): Likewise.
11411 (CHR): Likewise.
11412 (__strchrnul): Likewise. Do not use BP_SYM.
11413 (strchrnul): Do not use BP_SYM in weak_alias.
11414 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11415 "bp-asm.h".
11416 (PARMS): Do not use macros from bp-asm.h.
11417 (STOP): Likewise.
11418 (strcspn): Do not use BP_SYM.
11419 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11420 "bp-asm.h".
11421 (PARMS): Do not use macros from bp-asm.h.
11422 (STR): Likewise.
11423 (STOP): Likewise.
11424 (strpbrk): Likewise. Do not use BP_SYM.
11425 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11426 "bp-asm.h".
11427 (PARMS): Do not use macros from bp-asm.h.
11428 (STR): Likewise.
11429 (CHR): Likewise.
11430 (strrchr): Likewise. Do not use BP_SYM.
11431 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11432 (PARMS): Do not use macros from bp-asm.h.
11433 (SKIP): Likewise.
11434 (strspn): Do not use BP_SYM.
11435 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11436 (PARMS): Do not use macros from bp-asm.h.
11437 (STR): Likewise.
11438 (DELIM): Likewise.
11439 (SAVE): Likewise.
11440 (FUNCTION): Likewise. Do not use BP_SYM.
11441 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11442 aliases.
11443 (strtok_r): Likewise.
11444 (__GI___strtok_r): Likewise.
11445 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11446 (PARMS): Do not use macros from bp-asm.h.
11447 (S1): Likewise.
11448 (S2): Likewise.
11449 (SIZE): Likewise.
11450 (__mpn_sub_n): Do not use BP_SYM.
11451 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11452 "bp-asm.h".
11453 (PARMS): Do not use macros from bp-asm.h.
11454 (S1): Likewise.
11455 (SIZE): Likewise.
11456 (__mpn_submul_1): Do not use BP_SYM.
11457 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11458 <bp-sym.h>.
11459 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11460 and <bp-asm.h>.
11461 (PARMS): Do not use macros from bp-asm.h.
11462 (FLAGS): Likewise.
11463 (PTID): Likewise.
11464 (TLS): Likewise.
11465 (CTID): Likewise.
11466 (__clone): Do not use BP_SYM.
11467 (clone): Do not use BP_SYM in weak_alias.
11468 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11469 and <bp-asm.h>.
11470 (PARMS): Do not use macros from bp-asm.h.
11471 (LEN): Likewise.
11472 (__mmap64): Do not use BP_SYM.
11473 (mmap64): Do not use BP_SYM in weak_alias.
11474 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11475 <bp-sym.h> and <bp-asm.h>.
11476 (PARMS): Do not use macros from bp-asm.h.
11477 (__posix_fadvise64_l64): Do not use BP_SYM.
11478 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11479 (PARMS): Do not use macros from bp-asm.h.
11480 (NSOPS): Likewise.
11481 (semtimedop): Do not use BP_SYM.
11482 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11483 and <bp-asm.h>.
11484
582a3cff
AM
114852013-02-21 Allan McRae <allan@archlinux.org>
11486
11487 * manual/message.texi (Charset conversion in gettext):
11488 Move @end statement to beginning of line.
11489
bab8a695
SP
114902013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11491
80945231
SP
11492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11493 static.
11494 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11495 Likewise.
11496
bab8a695
SP
11497 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11498 (denorm): Likewise.
11499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11501
e21d7aa7
AK
115022013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11503
11504 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11505 tail-call to the resolved function if pltexit isn't needed.
11506
4c7a4263
SP
115072013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11508
11509 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11510 or Y being zero as being unlikely.
11511 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11512 Likewise.
11513
41f49342
CD
115142013-02-20 Carlos O'Donell <carlos@redhat.com>
11515
11516 * manual/nss.texi (System Databases and Name Service Switch):
11517 Remove frobnicate @pxref.
11518
50022a93
TS
115192013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11520
11521 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11522 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11523
08cbd996
PM
115242013-02-20 Petr Machata <pmachata@redhat.com>
11525
11526 * elf/elf.h (R_ARM_TARGET1): New macro.
11527 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11528 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11529 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11530 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11531 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11532 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11533 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11534 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11535 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11536 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11537 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11538 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11539 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11540 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11541 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11542 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11543 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11544 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11545 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11546 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11547 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11548 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11549 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11550 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11551 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11552 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11553 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11554 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11555 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11556 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11557 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11558 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11559 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11560 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11561 (R_ARM_THM_GOT_BREL12): Likewise.
11562 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11563 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11564 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11565 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11566 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11567 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11568 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11569 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11570 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11571
c7b275d6
TS
115722013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11573
11574 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11575 __attribute_used__ to __attribute__ ((unused)).
11576
20cd7fb3
SP
115772013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11578
11579 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11580 powerpc mpa.c.
11581 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11582 comment formatting.
11583 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11584
92945b52
JM
115852013-02-19 Joseph Myers <joseph@codesourcery.com>
11586
11587 [BZ #13550]
11588 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11589 Remove macro.
11590 (ENTER): Remove both macro definitions.
11591 (LEAVE): Likewise.
11592 (CHECK_BOUNDS_LOW): Likewise.
11593 (CHECK_BOUNDS_HIGH): Likewise.
11594 (CHECK_BOUNDS_BOTH): Likewise.
11595 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11596 (RETURN_BOUNDED_POINTER): Likewise.
11597 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11598 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11599 (POP_ERRNO_LOCATION_RETURN): Likewise.
11600 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11601 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11602 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11603 macros.
11604 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11605 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11606 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11607 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11608 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11609 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11610 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11611 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11612 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11613 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11614 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11615 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11616 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11617 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11618 removed macros.
11619 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11620 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11621 macros.
11622 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11623 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11624 * sysdeps/i386/i586/memset.S (memset): Likewise.
11625 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11626 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11627 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11628 macros.
11629 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11630 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11631 Change uses of L(2) to L(out).
11632 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11633 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11634 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11635 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11636 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11637 removed macros.
11638 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11639 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11640 macros.
11641 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11642 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11643 (RETURN): Do not use macro LEAVE.
11644 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11645 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11646 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11647 * sysdeps/i386/i686/memset.S (memset): Likewise.
11648 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11649 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11650 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11651 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11652 Likewise.
11653 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11654 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11655 L(1_2) and L(1_3) into L(1).
11656 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11657 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11658 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11659 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11660 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11661 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11662 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11663 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11664 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11665 macros.
11666 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11667 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11668 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11669 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11670 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11671 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11672 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11673 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11674 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11675 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11676 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11677 * sysdeps/i386/strspn.S (strspn): Likewise.
11678 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11679 conditional code.
11680 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11681 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11682 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11683 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11684 L(1_3) into L(1_1).
11685 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11686 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11687 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11688 macros.
11689 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11690
2389741a
JJ
116912013-02-19 Jakub Jelinek <jakub@redhat.com>
11692
11693 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11694 macro.
11695
2016b3cd
SP
116962013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11697
e4f22324
SP
11698 * math/atest-exp.c (exp_mpn): Remove ROUND.
11699 * math/atest-exp2.c (exp_mpn): Likewise.
11700 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11701
2016b3cd
SP
11702 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11703 * stdlib/tst-tls-atexit-lib.c: Likewise.
11704 * stdlib/tst-tls-atexit.c: Likewise.
11705
4be9b544
MF
117062013-02-18 Mike Frysinger <vapier@gentoo.org>
11707
11708 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11709 and __attribute_alloc_size__.
11710
2f62b9ee
MF
117112013-02-18 Mike Frysinger <vapier@gentoo.org>
11712
11713 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11714 __attribute_alloc_size__.
11715 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11716 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11717
6ff444c4
MF
117182013-02-18 Mike Frysinger <vapier@gentoo.org>
11719
11720 * include/programs/xmalloc.h: New file.
11721 * catgets/gencat.c: Include it.
11722 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11723 * elf/pldd.c: Likewise.
11724 * iconv/iconv_charmap.c: Likewise.
11725 * iconv/iconvconfig.c: Likewise.
11726 * iconv/strtab.c: Likewise.
11727 * locale/programs/locale.c: Likewise.
11728 * locale/programs/localedef.h: Likewise.
11729 * locale/programs/simple-hash.c: Likewise.
11730 * nscd/nscd.h: Likewise.
11731 * nss/makedb.c: Likewise.
11732 * sysdeps/generic/ldconfig.h: Likewise.
11733
be179c8a
SP
117342013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11735
ba384f6e
SP
11736 * Versions.def: Add GLIBC_2.18.
11737 * include/link.h (struct link_map): New member l_tls_dtor_count.
11738 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11739 (__call_tls_dtors): Likewise.
11740 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11741 __cxa_thread_atexit_impl.
11742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11743 Likewise.
11744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11745 Likewise.
11746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11747 Likewise.
11748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11749 Likewise.
11750 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11752 Likewise.
11753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11754 Likewise.
11755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11757 Likewise.
11758 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11759 (tests): Add test case tst-tls-atexit.
11760 (modules-names): Add shared library for tst-tls-atexit.
85891aca 11761 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
11762 (GLIBC_PRIVATE): Add __call_tls_dtors.
11763 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11764 for libstdc++.
11765 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11766 * stdlib/tst-tls-atexit.c: New test case.
11767 * stdlib/tst-tls-atexit-lib.c: New test case.
11768
ffaa74cf 11769 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 11770
be179c8a
SP
11771 * elf/Versions (ld): Add _dl_find_dso_for_object.
11772 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11773 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11774 (dl_open_worker): Use _dl_find_dso_for_object.
11775 * elf/dl-sym.c (do_sym): Likewise.
11776 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11777
f78b5caa
AK
117782013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11779
11780 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11781 Syntactic changes only.
11782 (_dl_runtime_profile): Do a tail-call to the resolved function.
11783
29691210
JM
117842013-02-17 Joseph Myers <joseph@codesourcery.com>
11785
11786 [BZ #13550]
11787 * sysdeps/x86_64/bp-asm.h: Remove file.
11788 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11789 <bp-sym.h> and <bp-asm.h>.
11790 (__clone): Do not use BP_SYM.
11791 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11792 <bp-sym.h> and <bp-asm.h>.
11793 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11794 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11795 "bp-asm.h".
11796 (_setjmp): Do not use BP_SYM.
11797 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11798 "bp-asm.h".
11799 (setjmp): Do not use BP_SYM.
11800 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11801 libc_hidden_def.
11802 (mempcpy): Do not use BP_SYM in weak_alias.
11803 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11804 "bp-asm.h".
11805 (strchr): Do not use BP_SYM.
11806 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11807 "bp-asm.h".
11808 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11809 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11810 (_start): Do not use BP_SYM.
11811 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11812 "bp-asm.h".
11813 (strcat): Do not use BP_SYM.
11814 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11815 "bp-asm.h".
11816 (STRCMP): Do not use BP_SYM.
11817 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11818 "bp-asm.h".
11819 (STRCPY): Do not use BP_SYM.
11820 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11821 "bp-asm.h".
11822 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11823 "bp-asm.h".
11824 (FUNCTION): Do not use BP_SYM.
11825 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11826 weak_alias.
11827 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11828
f238fd19
AJ
118292013-02-17 Andreas Jaeger <aj@suse.de>
11830
11831 * time/Versions: Sort entries.
11832 * string/Versions: Likewise.
11833 * resolv/Versions: Likewise.
11834 * posix/Versions: Likewise.
11835 * iconv/Versions: Likewise.
11836 * elf/Versions: Likewise.
11837 * wcsmbs/Versions: Likewise.
11838
bd07f23c 118392013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 11840
22af19f9
SP
11841 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11842 loop termination condition.
11843
4709fe76
SP
11844 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11845 variable to calculate EZ.
11846 (__sqr): Likewise.
2d0e0f29
SP
11847
11848 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11849 the lower precision input.
11850
daaa7713
JM
118512013-02-15 Joseph Myers <joseph@codesourcery.com>
11852
11853 [BZ #13550]
11854 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11855 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11856 (run-via-rtld-prefix): Do not handle %-bp tests.
11857 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11858 (all-object-suffixes): Remove .ob.
11859 (bppfx): Remove variable.
11860 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11861 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11862 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11863 [$(build-bounded) = yes] (libtype.ob): Likewise.
11864 * Makerules (elide-routines.ob): Remove variable.
11865 (do-tests-clean): Do not handle *-bp.out.
11866 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11867 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11868 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11869 (tests): Do not include $(tests-bp.out).
11870 (xtests): Do not include $(xtests-bp.out).
11871 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11872 [$(build-bounded) = yes] ($(addprefix
11873 $(objpfx),$(binaries-bounded))): Remove rule.
11874 ($(objpfx)%-bp.out): Remove rule.
11875 * config.make.in (build-bounded): Remove variable.
11876 * crypt/Makefile [$(build-bounded) = yes]
11877 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11878 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11879 append to variable.
11880 [$(build-bounded) = yes] (install-lib): Likewise.
11881 [$(build-bounded) = yes] (generated): Likewise.
11882 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11883 Remove rule.
11884 * intl/Makefile [$(build-bounded) = yes]
11885 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11886 * math/Makefile [$(build-bounded) = yes]
11887 ($(tests:%=$(objpfx)%-bp): Likewise.
11888 * misc/Makefile [$(build-bounded) = yes]
11889 ($(objpfx)tst-tsearch-bp): Likewise.
11890 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11891 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11892 Remove dependency.
11893 * string/Makefile (o-objects.ob): Remove variable.
11894 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11895 (CFLAGS-.ob): Remove variable.
11896 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11897 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11898 both definitions of variable.
11899 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11900 (ASFLAGS-.ob): Remove variable.
11901
e97ed6dd
JM
119022013-02-14 Joseph Myers <joseph@codesourcery.com>
11903
2bdd4ca6
JM
11904 [BZ #13550]
11905 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11906 Remove __BOUNDED_POINTERS__ from condition.
11907 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11908 * string/bits/string2.h [!__NO_STRING_INLINES &&
11909 !__BOUNDED_POINTERS__]: Likewise.
11910 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11911 Likewise.
11912 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11913 Remove conditional code.
11914 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11915 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11916 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11917 condition.
11918
e97ed6dd
JM
11919 [BZ #13550]
11920 * csu/libc-start.c: Do not include <bp-sym.h>.
11921 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11922 * elf/dl-open.c: Do not include <bp-sym.h>.
11923 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11924 * math/fegetenv.c: Do not include <bp-sym.h>.
11925 (fegetenv): Do not use BP_SYM in versioned symbols.
11926 * nptl/sysdeps/pthread/bits/libc-lockP.h
11927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11928 <bp-sym.h>.
11929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11930 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11932 (__pthread_mutex_destroy): Likewise.
11933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11934 (__pthread_mutex_lock): Likewise.
11935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11936 (__pthread_mutex_trylock): Likewise.
11937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11938 (__pthread_mutex_unlock): Likewise.
11939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11940 (__pthread_mutexattr_init): Likewise.
11941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11942 (__pthread_mutexattr_destroy): Likewise.
11943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11944 (__pthread_mutexattr_settype): Likewise.
11945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11946 (__pthread_rwlock_init): Likewise.
11947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11948 (__pthread_rwlock_destroy): Likewise.
11949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11950 (__pthread_rwlock_rdlock): Likewise.
11951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11952 (__pthread_rwlock_tryrdlock): Likewise.
11953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11954 (__pthread_rwlock_wrlock): Likewise.
11955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11956 (__pthread_rwlock_trywrlock): Likewise.
11957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11958 (__pthread_rwlock_unlock): Likewise.
11959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11960 (__pthread_key_create): Likewise.
11961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11962 (__pthread_setspecific): Likewise.
11963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11964 (__pthread_getspecific): Likewise.
11965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11966 Likewise.
11967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11968 (_pthread_cleanup_push_defer): Likewise.
11969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11970 (_pthread_cleanup_pop_restore): Likewise.
11971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11972 (pthread_setcancelstate): Likewise.
11973 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11974 <bp-sym.h>.
11975 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11976 (memchr): Do not use BP_SYM in weak_alias.
11977 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11978 (fegetenv): Do not use BP_SYM in versioned symbols.
11979 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11980 (fesetenv): Do not use BP_SYM in versioned symbols.
11981 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11982 (feupdateenv): Do not use BP_SYM in versioned symbols.
11983 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11984 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11985 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11986 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11987 (open64): Do not use BP_SYM in weak_alias.
11988 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11989 (fegetenv): Do not use BP_SYM in versioned symbols.
11990 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11991 (fesetenv): Do not use BP_SYM in versioned symbols.
11992 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11993 (feupdateenv): Do not use BP_SYM in versioned symbols.
11994 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11995 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11996 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11997 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11998 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11999 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12000 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12001 <bp-sym.h>.
12002 (__libc_start_main): Do not use BP_SYM.
12003
d6752ccd
SP
120042013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12005
cb57ce60
SP
12006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12007 redundant return line.
12008 (norm): Likewise.
12009 (denorm): Likewise.
12010 (dbl_mp): Likewise.
12011 (sub_magnitudes): Likewise.
12012 (__add): Likewise.
12013 (__sub): Likewise.
12014 (__mul): Likewise.
12015 (__inv): Likewise.
12016 (__dvd): Likewise.
12017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12018 (norm): Likewise.
12019 (denorm): Likewise.
12020 (dbl_mp): Likewise.
12021 (sub_magnitudes): Likewise.
12022 (__add): Likewise.
12023 (__sub): Likewise.
12024 (__mul): Likewise.
12025 (__inv): Likewise.
12026 (__dvd): Likewise.
12027
f414520d
SP
12028 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12029 instead of __mul.
12030 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12031 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12032 (cc32): Likewise.
12033
d6752ccd
SP
12034 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12035 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12036 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12037 of __mul for squares.
12038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12039 function
12040 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12041 Likewise.
12042 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12043 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12044
70d9946a
JM
120452013-02-13 Joseph Myers <joseph@codesourcery.com>
12046
12047 [BZ #13550]
12048 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12049 code.
12050 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12051 prototype or function definition. Rename ubp_* variables and
12052 parameters. Remove argv definitions conditional on
12053 [__BOUNDED_POINTERS__].
12054 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12055 * elf/dl-runtime.c (_dl_fixup): Likewise.
12056 * include/set-hooks.h (RUN_HOOK): Likewise.
12057 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12058 definition.
12059 * string/strcpy.c (strcpy): Do not use __unbounded.
12060 * sysdeps/generic/frame.h (struct layout): Likewise.
12061 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12062 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12063 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12064 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12065 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12066 (__backtrace): Likewise.
12067 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12068 use __ptrvalue.
12069 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12070 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12071 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12072 Likewise.
12073 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12074 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12075 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12076 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12077 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12078 Do not use __unbounded.
12079 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12080 Rename __unboundedrlimits parameter to rlimits in prototype.
12081 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12082 Do not use __unbounded.
12083 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12084 not use __ptrvalue.
12085 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12086 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12087 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12088 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12089 __ptrvalue or __unbounded.
12090 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12091 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12092 use __unbounded.
12093 (__new_msgctl): Do not use __ptrvalue.
12094 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12095 __unbounded.
12096 (__libc_msgrcv): Do not use __ptrvalue.
12097 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12098 startup_info): Do not use __unbounded.
12099 (__libc_start_main): Likewise. Rename ubp_* variables and
12100 parameters. Remove argv definitions conditional on
12101 [__BOUNDED_POINTERS__].
12102 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12103 __ptrvalue.
12104 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12105 use __unbounded.
12106 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12107 or __ptrvalue.
12108 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12109 use __unbounded.
12110 (__new_shmctl): Do not use __ptrvalue.
12111 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12112 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12113 Likewise.
12114 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12115 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12116 (__libc_sigaction): Likewise.
12117 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12118 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12119 Likewise.
12120 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12121
cc7834d6
OB
121222013-02-13 Ondřej Bílka <neleai@seznam.cz>
12123
ffb1ec7b 12124 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
12125
12126 * string/mempcpy.c: Implement by calling memcpy.
12127
bdf02814
SP
121282013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12129
c2af38aa
SP
12130 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12131
4e92d59e
SP
12132 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12133 evaluation.
12134
909279a5
SP
12135 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12136 values in the mantissa.
12137
bdf02814
SP
12138 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12139 minimize writes to Z.
12140 (sub_magnitudes): Simplify code a bit.
12141
cd525923
RM
121422013-02-12 Roland McGrath <roland@hack.frob.com>
12143
12144 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12145 from the message. The linker prefixes all warnings with that already.
12146
7e2f0d2d
AS
121472013-02-12 Andreas Schwab <schwab@suse.de>
12148
a445af0b
AS
12149 [BZ #15078]
12150 * posix/regexec.c (extend_buffers): Add parameter min_len.
12151 (check_matching): Pass minimum needed length.
12152 (clean_state_log_if_needed): Likewise.
12153 (get_subexp): Likewise.
12154 * posix/Makefile (tests): Add bug-regex34.
12155 (bug-regex34-ENV): Define.
12156 * posix/bug-regex34.c: New file.
12157
7e2f0d2d
AS
12158 [BZ #11561]
12159 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12160 elements compare against the byte sequence of it, not its name.
12161 * posix/Makefile (tests): Add bug-regex35.
12162 (bug-regex35-ENV): Define.
12163 * posix/bug-regex35.c: New file.
12164
a175b684
TV
121652013-02-11 Tom de Vries <tom@codesourcery.com>
12166
12167 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12168 comment.
12169 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12170 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12171 (CHECK_EOL): Add undef.
12172
310998fe 121732013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
12174
12175 * bits/stdlib-bsearch.h: New file.
12176 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 12177 * stdlib/stdlib.h: Likewise.
41eda41d 12178
8ded91fb
RM
121792013-02-11 Roland McGrath <roland@hack.frob.com>
12180
12181 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12182 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12183 declaration.
12184 * manual/search.texi (Array Search Function): Add missing const in
12185 lfind prototype.
12186 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12187 declaration to use rlim_t.
12188 (Basic Scheduling Functions): Remove erroneous const from
12189 sched_getparam prototype. Remove erroneous * from
12190 sched_get_priority_max and sched_get_priority_min prototypes.
12191 (Resource Usage): Fix summary @comment on vtimes to refer to
12192 sys/vtimes.h rather than vtimes.h.
12193 Add missing *s in vtimes prototype.
12194 (Limits on Resources): Fix ulimit prototype to return long int.
12195 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12196 prototypes to use long int rather than double.
12197 (BSD Random): Fix initstate and setstate to use char *, not void *.
12198 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12199 prototype to make second argument 'struct aiocb64 *const[]'.
12200 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12201 (Status of AIO Operations): Remove erroneous const in aio_return and
12202 aio_return64 prototypes.
12203 (Synchronizing I/O): Fix sync prototype to return void.
12204 * manual/startup.texi (Suboptions): Remove an erroneous const in
12205 getsubopt prototype.
12206 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12207 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12208 use size_t rather than int.
12209 (Scanning All Users): Likewise for getpwent_r.
12210 (Setting Groups): Add missing const to setgroups prototype.
12211 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12212 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12213 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12214 'const void *' rather than 'const char *'.
12215 (Host Address Functions): Likewise for inet_ntop.
12216 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12217 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12218 ssize_t for return value.
12219 (Sending Data): Likewise for send, sendto, sendmsg.
12220 (Socket Option Functions): Add a missing const in setsockopt prototype.
12221 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12222 use wchar_t for the argument.
12223 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12224 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12225 take no arguments.
12226 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12227 double/float/long double for second argument.
12228 Fix return types of significand, significandf, significandl.
12229 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12230 argument in fchmod prototype.
12231 (File Owner): Use uid_t and gid_t in fchown prototype.
12232 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12233 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12234 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12235 use 'const struct dirent **' as argument types to CMP function pointer
12236 argument.
12237 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12238 (File Times): Fix summary magic @comment for struct utimbuf and utime
12239 to refer to utime.h, not time.h.
12240 * manual/string.texi (Argz Functions): Add missing const in
12241 argz_extract and argz_next prototypes.
12242 (Finding Tokens in a String): Likewise for basename.
12243 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12244 (Copying and Concatenation): Fix typo in wmemmove prototype.
12245 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12246 (Signal Stack): Remove erroneous const in sigstack prototype.
12247 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12248 prototype.
12249 (Simple Calendar Time): Likewise for stime.
12250 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12251 prototype.
12252 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12253 say sys/sysctl.h instead.
12254 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12255 and vsyslog prototypes.
12256
fe77fe6d
TV
122572013-02-11 Tom de Vries <tom@codesourcery.com>
12258
12259 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12260 Remove.
12261
3a09b620
RM
122622013-02-11 Roland McGrath <roland@hack.frob.com>
12263
12264 * misc/sys/mman.h: Fix typo in mremap comment.
12265
550a0b89
RM
122662013-02-08 Roland McGrath <roland@hack.frob.com>
12267
12268 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12269 the '\0' terminator.
12270
a2da1673
JM
122712013-02-08 Joseph Myers <joseph@codesourcery.com>
12272
12273 [BZ #13550]
12274 * debug/segfault.c: Don't include <bp-checks.h>.
12275 * sysdeps/generic/bp-checks.h: Remove file.
12276 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12277 (__GETDENTS): Don't use CHECK_N.
12278 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12279 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12280 (__getgroups): Don't use CHECK_N.
12281 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12282 (setgroups): Don't use CHECK_N.
12283 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12284 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12285 (__libc_msgrcv): Don't use CHECK_N.
12286 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12287 (__libc_msgsnd): Don't use CHECK_N.
12288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12289 <bp-checks.h>.
12290 (__libc_pread): Don't use CHECK_N.
12291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12292 include <bp-checks.h>.
12293 (__libc_pread64): Don't use CHECK_N.
12294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12295 include <bp-checks.h>.
12296 (__libc_pwrite): Don't use CHECK_N.
12297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12298 include <bp-checks.h>.
12299 (__libc_pwrite64): Don't use CHECK_N.
12300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12301 <bp-checks.h>.
12302 (__libc_pread): Don't use CHECK_N.
12303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12304 include <bp-checks.h>.
12305 (__libc_pread64): Don't use CHECK_N.
12306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12307 include <bp-checks.h>.
12308 (__libc_pwrite): Don't use CHECK_N.
12309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12310 include <bp-checks.h>.
12311 (__libc_pwrite64): Don't use CHECK_N.
12312 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12313 (do_pread): Don't use CHECK_N.
12314 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12315 (do_pread64): Don't use CHECK_N.
12316 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12317 (do_pwrite): Don't use CHECK_N.
12318 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12319 (do_pwrite64): Don't use CHECK_N.
12320 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12321 (__libc_readv): Don't use CHECK_N.
12322 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12323 (semop): Don't use CHECK_N.
12324 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12325 <bp-checks.h>.
12326 (semtimedop): Don't use CHECK_N.
12327 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12328 (__libc_pread): Don't use CHECK_N.
12329 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12330 <bp-checks.h>.
12331 (__libc_pread64): Don't use CHECK_N.
12332 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12333 <bp-checks.h>.
12334 (__libc_pwrite): Don't use CHECK_N.
12335 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12336 <bp-checks.h>.
12337 (__libc_pwrite64): Don't use CHECK_N.
12338 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12339 <bp-checks.h>.
12340 (__libc_msgrcv): Don't use CHECK_N.
12341 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12342 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12343 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12344 (__libc_writev): Don't use CHECK_N.
12345
b84660a8
RM
123462013-02-08 Roland McGrath <roland@hack.frob.com>
12347
7f3e75f8
RM
12348 * string/strcpy.c: Removed unused variable.
12349
b84660a8
RM
12350 * Makeconfig (+sysdep-includes): Define with := rather than =.
12351 Use an existing include/ subdir of each sysdeps dir before it.
12352
471514d3
CD
123532013-02-08 Carlos O'Donell <carlos@redhat.com>
12354
12355 * nscd/connection.c (register_traced_file): Comment function.
12356 [HAVE_INOTIFY] (union __inev): Define.
12357 [HAVE_INOTIFY] (inotify_check_files): New function.
12358 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12359 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12360 clear_db_cache.
12361 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12362
b2d3c3be
CD
123632013-02-08 Carlos O'Donell <carlos@redhat.com>
12364
12365 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12366 loaded if not already and that a failure is permanent.
12367
b39949d2
CD
123682013-02-08 Carlos O'Donell <carlos@redhat.com>
12369
ddacd1db 12370 [BZ #15006]
b39949d2
CD
12371 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12372 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12373
b2c9eff4
JM
123742013-02-08 Joseph Myers <joseph@codesourcery.com>
12375
f3aae3f3
JM
12376 [BZ #13550]
12377 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12378 (CHECK_1_NULL_OK): Likewise.
12379 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12380 (__fxstat): Do not use CHECK_1.
12381 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12382 <bp-checks.h>.
12383 (___fxstat64): Do not use CHECK_1.
12384 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12385 <bp-checks.h>.
12386 (__fxstatat): Do not use CHECK_1.
12387 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12388 <bp-checks.h>.
12389 (__fxstatat64): Do not use CHECK_1.
12390 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12391 <bp-checks.h>.
12392 (__fxstat): Do not use CHECK_1.
12393 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12394 <bp-checks.h>.
12395 (__fxstatat): Do not use CHECK_1.
12396 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12397 <bp-checks.h>.
12398 (__getresgid): Do not use CHECK_1.
12399 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12400 <bp-checks.h>.
12401 (__getresuid): Do not use CHECK_1.
12402 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12403 <bp-checks.h>.
12404 (__lxstat): Do not use CHECK_1.
12405 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12406 <bp-checks.h>.
12407 (__old_msgctl): Do not use CHECK_1.
12408 (__new_msgctl): Likewise.
12409 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12410 <bp-checks.h>.
12411 (__new_setrlimit): Do not use CHECK_1.
12412 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12413 <bp-checks.h>.
12414 (__old_shmctl): Do not use CHECK_1.
12415 (__new_shmctl): Likewise.
12416 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12417 <bp-checks.h>.
12418 (__xstat): Do not use CHECK_1.
12419 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12420 (__lxstat): Do not use CHECK_1.
12421 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12422 <bp-checks.h>.
12423 (___lxstat64): Do not use CHECK_1.
12424 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12425 (__old_msgctl): Do not use CHECK_1.
12426 (__new_msgctl): Likewise.
12427 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12428 <bp-checks.h>.
12429 (__gettimeofday): Do not use CHECK_1.
12430 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12431 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12432 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12433 <bp-checks.h>.
12434 (__gettimeofday): Do not use CHECK_1.
12435 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12436 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12437 (__new_shmctl): Do not use CHECK_1.
12438 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12439 <bp-checks.h>.
12440 (do_sigtimedwait): Do not use CHECK_1.
12441 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12442 <bp-checks.h>.
12443 (do_sigwaitinfo): Do not use CHECK_1.
12444 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12445 <bp-checks.h>.
12446 (msgctl): Do not use CHECK_1.
12447 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12448 <bp-checks.h>.
12449 (shmctl): Do not use CHECK_1.
12450 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12451 (ustat): Do not use CHECK_1.
12452 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12453 <bp-checks.h>.
12454 (__fxstat): Do not use CHECK_1.
12455 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12456 <bp-checks.h>.
12457 (__fxstatat): Do not use CHECK_1.
12458 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12459 <bp-checks.h>.
12460 (__lxstat): Do not use CHECK_1.
12461 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12462 <bp-checks.h>.
12463 (__xstat): Do not use CHECK_1.
12464 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12465 (__xstat): Do not use CHECK_1.
12466 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12467 (___xstat64): Do not use CHECK_1.
12468
b2c9eff4
JM
12469 [BZ #13550]
12470 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12471 definitions.
12472 (CHECK_BOUNDS_HIGH): Likewise.
12473 * string/strcpy.c: Do not include <bp-checks.h>.
12474 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12475
f1d70dad
RM
124762013-02-07 Roland McGrath <roland@hack.frob.com>
12477
12478 * nscd/nscd-client.h (__nscd_drop_map_ref):
12479 Add __attribute__ ((unused)).
12480 * nis/nss-nisplus.h (niserr2nss): Likewise.
12481
12482 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12483 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12484
12485 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12486 Remove inline keyword.
12487 * include/rounding-mode.h (round_away): Likewise.
12488 * libio/wfileops.c (adjust_wide_data): Likewise.
12489 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12490 (__m128i_strloadu_tolower): Likewise.
12491 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12492 (__m128i_strloadu_tolower): Likewise.
12493 * time/mktime.c (ydhms_diff): Likewise.
12494 * locale/elem-hash.h (elem_hash): Likewise.
12495 * locale/setlocale.c (setdata): Likewise.
12496 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12497 (re_string_wchar_at): Likewise.
12498 (bitset_not, bitset_merge, bitset_mask): Likewise.
12499 [!(__GNUC__ > 3)] (inline): Remove macro.
12500 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12501 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12502 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12503 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12504 * string/memcmp.c (memcmp_bytes): Likewise.
12505 * locale/programs/locarchive.c (compute_hashval): Likewise.
12506 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12507 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12508 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12509 * nss/getent.c (print_rpc, print_protocols): Likewise.
12510 (print_passwd, print_group, print_aliases): Likewise.
12511 * nis/nss-nisplus.h (niserr2nss): Likewise.
12512 * nscd/connections.c (restart_p): Likewise.
12513 Change return type to bool.
12514
eab55bfb
RM
125152013-02-05 Roland McGrath <roland@hack.frob.com>
12516
7bd642f5
RM
12517 * Makeconfig (all-Depend-files): Add existing
12518 $(sorted-subdirs:=/Depend) files.
12519 (all-subdirs): Remove nss.
12520 * sysdeps/unix/inet/Subdirs: Add it here instead.
12521 * hesiod/Depend: New file.
12522
573c29b2
RM
12523 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12524 instead of calling alloca.
12525
b2e25af0
RM
12526 * io/lseek.c (__lseek): Rename to __libc_lseek.
12527 Define __lseek as an alias.
12528
eab55bfb
RM
12529 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12530
9a0d1941
CD
125312013-02-04 Carlos O'Donell <carlos@redhat.com>
12532
12533 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12534 else clause and remove check for non-standard endianness.
12535
b83bbec4
DM
125362013-02-04 David S. Miller <davem@davemloft.net>
12537
12538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12539
6277fdab
JM
125402013-02-04 Joseph Myers <joseph@codesourcery.com>
12541
12542 [BZ #13550]
12543 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12544 (__ubp_memchr): Remove prototype.
12545 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12546 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12547 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12548 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12549 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12550 Remove alias.
12551 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12552 (__ubp_memchr): Likewise.
12553 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12554 (__ubp_memchr): Likewise.
12555 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12556 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12557 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12558 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12559 CHECK_STRING.
12560 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12561 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12562 (__getcwd): Do not use CHECK_STRING.
12563 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12564 <bp-checks.h>.
12565 (__real_chown): Do not use CHECK_STRING.
12566 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12567 <bp-checks.h>.
12568 (fchownat): Do not use CHECK_STRING.
12569 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12570 CHECK_STRING.
12571 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12572 <bp-checks.h>.
12573 (__lchown): Do not use CHECK_STRING.
12574 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12575 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12576 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12577 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12579 include <bp-checks.h>.
12580 (truncate64): Do not use CHECK_STRING.
12581 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12582 <bp-checks.h>.
12583 (__real_chown): Do not use CHECK_STRING.
12584 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12585 <bp-checks.h>.
12586 (__lchown): Do not use CHECK_STRING.
12587 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12588 <bp-checks.h>.
12589 (__chown): Do not use CHECK_STRING.
12590 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12591 <bp-checks.h>.
12592 (truncate64): Do not use CHECK_STRING.
12593 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12594 Likewise.
12595 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12596 (__xmknod): Do not use CHECK_STRING.
12597 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12598 <bp-checks.h>.
12599 (__xmknodat): Do not use CHECK_STRING.
12600 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12601 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12602
903ae060
AS
126032013-02-04 Andreas Schwab <schwab@suse.de>
12604
12605 [BZ #14142]
12606 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12607 * include/netdb.h: Likewise for h_errno.
12608 * elf/tst-stackguard1.c: Include <tls.h>.
12609
542f9466
JK
126102013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12611
12612 * elf/link.h (struct link_map): Extend the l_addr comment.
12613 * include/link.h (struct link_map): Likewise.
12614
e782a927
JM
126152013-02-01 Joseph Myers <joseph@codesourcery.com>
12616
12617 [BZ #13550]
12618 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12619 (BOUNDED_1): Remove macro.
12620 * debug/backtrace.c: Don't include <bp-checks.h>.
12621 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12622 (__backtrace): Likewise.
12623 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12624 <bp-checks.h>.
12625 (__backtrace): Don't use BOUNDED_1.
12626 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12627 <bp-checks.h>.
12628 (__backtrace): Don't use BOUNDED_1.
12629 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12630 (__backtrace): Don't use BOUNDED_1.
12631 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12632 (shmat): Don't use BOUNDED_N.
12633
8cf28c5e
JM
126342013-01-31 Joseph Myers <joseph@codesourcery.com>
12635
3a7ac8a0
JM
12636 [BZ #13550]
12637 * sysdeps/generic/bp-start.h: Remove file.
12638 * csu/libc-start.c: Don't include <bp-start.h>.
12639 (LIBC_START_MAIN): Set up __environ directly instead of using
12640 INIT_ARGV_and_ENVIRON.
12641 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12642 <bp-start.h>.
12643
f3499f95
JM
12644 [BZ #13550]
12645 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12646 definitions.
12647 (CHECK_FCNTL): Likewise.
12648 (CHECK_N_PAGES): Likewise.
12649
32a45bea
JM
12650 [BZ #13550]
12651 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12652 definitions.
12653 (CHECK_SIGSET_NULL_OK): Likewise.
12654 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12655 <bp-checks.h>.
12656 (sigpending): Don't use CHECK_SIGSET.
12657 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12658 <bp-checks.h>.
12659 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12660 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12661 <bp-checks.h>.
12662 (do_sigsuspend): Don't use CHECK_SIGSET.
12663 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12664 use CHECK_SIGSET.
12665 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12666 (do_sigwait): Don't use CHECK_SIGSET.
12667 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12668 use CHECK_SIGSET.
12669 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12670 include <bp-checks.h>.
12671 (sigpending): Don't use CHECK_SIGSET.
12672 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12673 include <bp-checks.h>.
12674 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12675 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12676 <bp-checks.h>.
12677 (sigpending): Don't use CHECK_SIGSET.
12678 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12679 <bp-checks.h>.
12680 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12681
2e8a5c8c
JM
12682 [BZ #13550]
12683 * sysdeps/generic/bp-semctl.h: Remove file.
12684 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12685 <bp-checks.h> and <bp-semctl.h>.
12686 (__old_semctl): Don't use CHECK_SEMCTL.
12687 (__new_semctl): Likewise.
12688 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12689 and <bp-semctl.h>.
12690 (__old_semctl): Don't use CHECK_SEMCTL.
12691 (__new_semctl): Likewise.
12692 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12693 <bp-checks.h> and <bp-semctl.h>.
12694 (__old_semctl): Don't use CHECK_SEMCTL.
12695 (__new_semctl): Likewise.
12696 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12697 <bp-checks.h> and <bp-semctl.h>.
12698 (semctl): Don't use CHECK_SEMCTL.
12699
c2d54929
JM
12700 [BZ #13550]
12701 * Makerules (elide-bp-thunks): Remove variable.
12702 (elide-routines.oS): Don't use $(elide-bp-thunks).
12703 (elide-routines.os): Likewise.
12704 (elide-routines.o): Likewise.
12705 (elide-routines.op): Likewise.
12706 (elide-routines.og): Likewise.
12707 (objects): Don't use $(bp-thunks).
12708 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12709 include.
12710 (common-generated): Do not add s-proto-bp.d.
12711 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12712 (int): Likewise.
12713 (typ): Likewise.
12714 Do not generate makefile rules for bounded-pointer thunks.
12715 * sysdeps/generic/bp-thunks.h: Remove file.
12716 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12717 * sysdeps/unix/s-proto-bp.S: Likewise.
12718
8cf28c5e
JM
12719 [BZ #15062]
12720 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12721 parts of result separately when argument is not close to line from
12722 -i to i and one part of argument is small.
12723 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12724 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12725 * math/libm-test.inc (cacos_test): Add more tests.
12726 (casin_test): Likewise.
12727 (casinh_test): Likewise.
12728 * sysdeps/i386/fpu/libm-test-ulps: Update.
12729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12730
c4e33b8d
DM
127312013-01-31 David S. Miller <davem@davemloft.net>
12732
12733 * po/de.po: Update from translation team.
12734
3b60b421
MK
127352013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12736
12737 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12738
bb931195
TS
127392013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12740
b5a5da23
TS
12741 * configure.in (_AC_PROG_CC_C89): New definition.
12742 * configure: Regenerate.
12743
bb931195
TS
12744 * configure.in (AC_PROG_CPP): New definition.
12745 * configure: Regenerate.
12746
8c53a12c
JM
127472013-01-23 Joseph Myers <joseph@codesourcery.com>
12748
12749 * debug/tst-backtrace.h: New file.
12750 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12751 (ret): Remove variable.
12752 (x): Likewise.
12753 (FAIL): Remove macro.
12754 (NO_INLINE): Likewise.
12755 (fn1): Use match function instead of strstr.
12756 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12757 (ret): Remove variable.
12758 (x): Likewise.
12759 (FAIL): Remove macro.
12760 (NO_INLINE): Likewise.
12761 (fn): Use match function instead of strstr.
12762 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12763 (ret): Remove variable.
12764 (x): Likewise.
12765 (FAIL): Remove macro.
12766 (NO_INLINE): Likewise.
12767 (handle_signal): Use match function instead of strstr.
12768 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12769 (ret): Remove variable.
12770 (x): Likewise.
12771 (FAIL): Remove macro.
12772 (NO_INLINE): Likewise.
12773 (handle_signal): Use match function instead of strstr.
12774
4858fa2a
RM
127752013-01-23 Roland McGrath <roland@hack.frob.com>
12776
12777 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12778
bae8e7f5
DM
127792013-01-23 David S. Miller <davem@davemloft.net>
12780
12781 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12782 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12783 argument of CAS if possible.
12784 * sysdeps/sparc/sparc64/bits/atomic.h
12785 (__arch_compare_and_exchange_val_32_acq): Likewise.
12786 (__arch_compare_and_exchange_val_64_acq): Likewise.
12787
9cbbc4ae
PT
127882013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12789
12790 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12791 * sysdeps/posix/ulimit.c: ... this.
92a601b8 12792 Include <limits.h>.
67b3f58c 12793 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 12794
5655a0b5
AC
127952013-01-23 Adam Conrad <adconrad@0c3.net>
12796
12797 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12798 (LDFLAGS-tst-array5): Likewise.
12799
052aff95
JM
128002013-01-23 Joseph Myers <joseph@codesourcery.com>
12801
12802 [BZ #15036]
12803 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12804 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12805 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12806 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12807
7c1e01aa
DM
128082013-01-21 David S. Miller <davem@davemloft.net>
12809
12810 * sysdeps/sparc/backtrace.c: New file.
12811 * sysdeps/sparc/sparc32/backtrace.h: New file.
12812 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12813 * sysdeps/sparc/sparc64/backtrace.h: New file.
12814 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12815 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12816 -funwind-tables.
12817
ab087e0a
AS
128182013-01-21 Andreas Schwab <schwab@suse.de>
12819
12820 [BZ #15020]
12821 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12822 closed its stdout.
12823
ed689c2f
AS
128242013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12825
12826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12827 "mpa2.h".
12828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12829
31d470ac
JM
128302013-01-18 Joseph Myers <joseph@codesourcery.com>
12831 Mark Mitchell <mark@codesourcery.com>
12832 Tom de Vries <tom@codesourcery.com>
12833 Paul Pluzhnikov <ppluzhnikov@google.com>
12834
12835 * debug/tst-backtrace2.c: New file.
12836 * debug/tst-backtrace3.c: Likewise.
12837 * debug/tst-backtrace4.c: Likewise.
12838 * debug/tst-backtrace5.c: Likewise.
12839 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12840 (CFLAGS-tst-backtrace3.c): Likewise.
12841 (CFLAGS-tst-backtrace4.c): Likewise.
12842 (CFLAGS-tst-backtrace5.c): Likewise.
12843 (LDFLAGS-tst-backtrace2): Likewise.
12844 (LDFLAGS-tst-backtrace3): Likewise.
12845 (LDFLAGS-tst-backtrace4): Likewise.
12846 (LDFLAGS-tst-backtrace5): Likewise.
12847 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12848 tst-backtrace4 and tst-backtrace5.
12849
90567f30 128502013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
12851 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12852
12853 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12854 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12855 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12856 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12858 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12859 "+r" and remove output regs list as redundant. Add explicit inline
12860 asm to specify register of return val to work around compiler codegen
12861 bug. Remove (int) cast on return value. Add return type parameter to
12862 use in macro so that this macro does not truncate return value for
12863 64-bit values.
12864 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12865 pass to INTERNAL_VSYSCALL_NCS.
12866 (INLINE_VSYSCALL): Add 'long int' as return type to
12867 INTERNAL_VSYSCALL_NCS macro invocation.
12868 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12869 INTERNAL_VSYSCALL_NCS macro invocation.
12870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12871
d3b9ea61
SP
128722013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12873
0b57daeb
SP
12874 [BZ #14496]
12875 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12876 Fix application of SIMD FP exception mask.
12877
caa99d06
SP
12878 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12879 mp_no from a power of two.
12880 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12881 __mpexp_twomm1. Use __pow_mp.
12882
d3b9ea61
SP
12883 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12884 multiplication.
12885
1dbaee3c
DM
128862013-01-17 David S. Miller <davem@davemloft.net>
12887
12888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12889
728d7b43
JM
128902013-01-17 Joseph Myers <joseph@codesourcery.com>
12891
12892 [BZ #15023]
12893 * include/complex.h: Condition contents on [!_COMPLEX_H].
12894 (__kernel_casinhf): New prototype.
12895 (__kernel_casinh): Likewise.
12896 (__kernel_casinhl): Likewise.
12897 * math/Makefile (libm_calls): Add k_casinh.
12898 * math/k_casinh.c: New file.
12899 * math/k_casinhf.c: Likewise.
12900 * math/k_casinhl.c: Likewise.
12901 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12902 finite nonzero arguments.
12903 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12904 finite nonzero arguments.
12905 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12906 finite nonzero arguments.
12907 * math/s_casinh.c: Do not include <float.h>.
12908 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12909 * math/s_casinhf.c: Do not include <float.h>.
12910 (__casinhf): Move code for finite nonzero arguments to
12911 k_casinhf.c.
12912 * math/s_casinhl.c: Do not include <float.h>.
12913 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12914 redefine.
12915 (__casinhl): Move code for finite nonzero arguments to
12916 k_casinhl.c.
12917 * math/libm-test.inc (cacos_test): Add more tests.
12918 * sysdeps/i386/fpu/libm-test-ulps: Update.
12919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12920
2a26ef3a
PT
129212013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12922
12923 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12924 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12925 [!HAVE_MREMAP]: Remove [defined linux] case.
12926 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12927
a897655d
SP
129282013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12929
12930 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12931
881ebe89 129322013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
12933
12934 * elf/elf.h (R_386_SIZE32): New relocation.
12935 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12936 R_386_SIZE32.
12937 (elf_machine_rela): Likewise.
12938 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12939 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12940
59981e9b
JM
129412013-01-17 Joseph Myers <joseph@codesourcery.com>
12942
12943 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12944 (FP_FAST_FMA): Do not define.
12945 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12946 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12947 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12948 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12949 !_SOFT_FLOAT]: Likewise.
12950 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12951 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12952 value.
12953 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12954 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12955 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12956 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12957 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12958 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12959 file.
12960
cfa8054f
AS
129612013-01-16 Andreas Schwab <schwab@suse.de>
12962
12963 [BZ #14327]
12964 * include/stdlib.h (__mktemp): Add declaration.
12965 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12966 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12967
dd930cc5
SP
129682013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12969
881ebe89
SP
12970 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12971 definitions.
12972 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12973 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12974 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12975 definitions here.
12976 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12977 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12978 definitions.
12979 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12980 and ONE.
12981 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12982 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12983 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12984 definitions.
12985 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12986 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12987 definitions.
12988 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 12989
dd930cc5
SP
12990 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12991
c19a9f89
DM
129922013-01-15 David S. Miller <davem@davemloft.net>
12993
1aa61767
DM
12994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12995 trunc{,f} to libm-sysdep_routes.
12996 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12998 file.
12999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13001 file.
13002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13003 file.
13004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13006 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13007 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13008 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13009 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13010 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13011 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13012
c42d5e98
DM
13013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13014 nearbyint{,f} to libm-sysdep_routes.
13015 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13017 New file.
13018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13019 file.
13020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13021 New file.
13022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13023 file.
13024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13026 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13027 file.
13028 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13029 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13030 file.
13031 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13032 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13033 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13034
c19a9f89
DM
13035 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13036 libc_feholdexcept and libc_fesetenv.
13037
357679d2
MF
130382013-01-15 Mike Frysinger <vapier@gentoo.org>
13039
13040 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13041
65a82e3d
DM
130422013-01-14 David S. Miller <davem@davemloft.net>
13043
8b954ab9
DM
13044 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13045 (SPARC_ASM_VIS2_IFUNC): Likewise.
13046 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13048 use of 'siam' instruction.
13049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13050 Likewise.
13051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13052 Likewise.
13053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13054 Likewise.
13055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13057 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13058 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13060 file.
13061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13062 file.
13063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13064 file.
13065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13066 file.
13067 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13068 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13072 new VIS2 routines.
13073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13076 Likewise.
13077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13082 routines to libm-sysdep_routines.
13083 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13084
65a82e3d
DM
13085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13086 fdim/fdimf to libm-sysdep_routines.
13087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13088 file.
13089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13091 file.
13092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13095 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13096 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13097 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13098 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13099
e34ab705
SP
131002013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13101
2a91b573
SP
13102 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13103 to optimize copies.
13104
1066a534
SP
13105 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13106 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13108
e34ab705
SP
13109 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13110 local variable MPTWO.
13111 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13112 Likewise.
13113
aba5e596
MF
131142013-01-13 Mike Frysinger <vapier@gentoo.org>
13115
13116 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13117 GLOB_NOESCAPE.
13118
e557e9e5
MF
131192013-01-13 Mike Frysinger <vapier@gentoo.org>
13120
13121 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13122
0428cec9
MF
131232013-01-13 Mike Frysinger <vapier@gentoo.org>
13124
13125 * manual/pattern.texi (glob_t): Document gl_flags.
13126 (glob64_t): Likewise.
13127
8794a964
DM
131282013-01-11 David S. Miller <davem@davemloft.net>
13129
66438c3f
RM
13130 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13131 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13132 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
13133 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13134 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13135 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13136 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13137 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13138 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13139 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13140 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13141 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13142 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13143
4ae4244d
DM
13144 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13145 sparc V9 rather than using V8 code.
13146 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13147 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13148
8794a964
DM
13149 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13150 Move to...
13151 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13152 Here.
13153
6270516e
RM
131542013-01-11 Roland McGrath <roland@hack.frob.com>
13155
13156 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13157 not in the main loop.
13158 * configure: Regenerated.
13159
6a57d931
JM
131602013-01-11 Joseph Myers <joseph@codesourcery.com>
13161
13162 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13163 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13164 to just #else.
13165 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13166 [!__GLIBC_HAVE_LONG_LONG] case.
13167 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13168 condition to just #else.
13169 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13170 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13171 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13172 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13173 unconditional.
13174 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13175 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13176 #elif condition to just #else.
13177 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13178 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13179 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13180 #elif condition to just #else.
13181
0e8529e9
SE
131822013-01-11 Steve Ellcey <sellcey@mips.com>
13183
13184 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13185 (EF_MIPS_ARCH_64): Fix value.
13186 (EF_MIPS_ARCH_32R2): New.
13187 (EF_MIPS_ARCH_64R2): New.
13188
740b3dbe
L
131892013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13190
13191 * Makeconfig (+link-pie-before-libc): New.
13192 (+link-pie-after-libc): Likewise.
13193 (+link-pie-tests): Likewise.
13194 (+link-pie): Rewritten.
13195 (link-before-libc): Remove $(config-LDFLAGS).
13196 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13197 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13198 (config-LDFLAGS): Renamed to ...
13199 (rtld-LDFLAGS): This.
13200 (rtld-tests-LDFLAGS): New macro.
13201 (link-libc-rpath-link): Likewise.
13202 (link-libc-tests-rpath-link): Likewise.
13203 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13204 (link-libc): Prepand $(link-libc-rpath-link).
13205 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13206 (test-program-prefix): New macro.
13207 (test-via-rtld-prefix): Likewise.
13208 (test-program-cmd): Likewise.
13209 (host-test-program-cmd): Likewise.
13210 * Makefile ($(common-objpfx)testrun.sh): Replace
13211 $(run-program-prefix) with $(test-program-prefix).
13212 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13213 $(rtld-LDFLAGS).
13214 ($(common-objpfx)shlib.lds): Likewise.
13215 (build-module-helper): Likewise.
13216 ($(common-objpfx)format.lds): Likewise.
13217 * Rules (binaries-pie-tests): New.
13218 (binaries-pie-notests): Likewise.
13219 (binaries-pie): Rewritten.
13220 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13221 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13222 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13223 (make-test-out): Replace $(host-built-program-cmd) with
13224 $(host-test-program-cmd).
13225 * config.make.in (build-hardcoded-path-in-tests): New variable.
13226 * configure.in (--enable-hardcoded-path-in-tests): New configure
13227 option.
13228 (hardcoded_path_in_tests): New AC_SUBST.
13229 * configure: Regenerated.
13230 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13231 $(built-program-cmd) with $(test-program-cmd).
13232 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13233 (test_program_cmd): This.
13234 * elf/Makefile ($(objpfx)order.out): Run test with
13235 $(test-program-prefix).
13236 ($(objpfx)order2.out): Likewise.
13237 ($(objpfx)tst-initorder.out): Likewise.
13238 ($(objpfx)tst-initorder2.out): Likewise.
13239 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13240 $(test-program-cmd).
13241 ($(objpfx)tst-array1-static.out): Likewise.
13242 ($(objpfx)tst-array2.out): Likewise.
13243 ($(objpfx)tst-array3.out): Likewise.
13244 ($(objpfx)tst-array4.out): Likewise.
13245 ($(objpfx)tst-array5.out): Likewise.
13246 ($(objpfx)tst-array5-static.out): Likewise.
13247 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13248 $(test-program-cmd).
13249 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13250 $(run-program-prefix) with $(test-program-prefix).
13251 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13252 (test_program_prefix): This.
13253 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13254 $(run-program-prefix) with $(test-program-prefix).
13255 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13256 (test_program_prefix): This.
13257 * iconvdata/tst-tables.sh: Likewise.
13258 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13259 $(run-program-prefix) with $(test-program-prefix).
13260 ($(objpfx)tst-translit.out): Likewise.
13261 ($(objpfx)tst-gettext2.out): Likewise.
13262 ($(objpfx)tst-gettext4.out): Likewise.
13263 ($(objpfx)tst-gettext6.out): Likewise.
13264 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13265 (test_program_prefix): This.
13266 * intl/tst-gettext2.sh: Likewise.
13267 * intl/tst-gettext4.sh Likewise.
13268 * intl/tst-gettext6.sh: Likewise.
13269 * intl/tst-translit.sh: Likewise.
13270 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13271 with $(test-program-cmd).
13272 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13273 $(run-program-prefix) with $(test-program-prefix).
13274 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13275 (test_program_prefix): This.
13276 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13277 $(run-program-prefix) with $(test-program-prefix).
13278 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13279 (test_program_prefix): This.
13280 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13281 * posix/Makefile ($(objpfx)globtest.out): Replace
13282 $(run-via-rtld-prefix) and $(test-wrapper) with
13283 $(test-program-prefix) and $(test-via-rtld-prefix).
13284 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13285 $(test-program-prefix).
13286 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13287 $(host-test-program-cmd).
13288 (tst-spawn-ARGS): Likewise.
13289 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13290 $(test-program-prefix).
13291 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13292 (test_via_rtld_prefix): This.
13293 (test_wrapper): Renamed to ...
13294 (test_program_prefix): This.
13295 (run_program_prefix): Replaced by test_program_prefix.
13296 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13297 (test_program_prefix): This.
13298 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13299 with $(host-test-program-cmd).
13300 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13301 $(run-program-prefix) with $(test-program-prefix).
13302 ($(objpfx)tst-printf.out): Likewise.
13303 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13304 $(test-program-cmd).
13305 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13306 (test_program_prefix): This.
13307 * stdio-common/tst-unbputc.sh: Likewise.
13308 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13309 $(run-program-prefix) with $(test-program-prefix).
13310 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13311 (test_program_prefix): This.
13312 * string/Makefile ($(objpfx)tst-svc.out): Replace
13313 $(built-program-cmd) with $(test-program-cmd).
13314
c6fe55cf
AJ
133152013-01-11 Andreas Jaeger <aj@suse.de>
13316
13317 [BZ #15003]
13318 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13319 value. Sync with Linux 3.7.
13320
9e6919c8
DM
133212013-01-10 David S. Miller <davem@davemloft.net>
13322
13323 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13324 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13325 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13326
1c9f1a02
RM
133272013-01-10 Roland McGrath <roland@hack.frob.com>
13328
13329 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13330 never set.
13331 * configure: Regenerated.
13332
b9de2dde
DM
133332013-01-10 David S. Miller <davem@davemloft.net>
13334
13335 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13336 sparc V9 rather than using V8 code.
13337 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13338 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13339
e7f68ef4
RM
133402013-01-10 Roland McGrath <roland@hack.frob.com>
13341
13342 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13343 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13344 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13345 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13346 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13347 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13348 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13349 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13350 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13351 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13352 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13353 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13354 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13355 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13356 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13357 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13358 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13359 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13360 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13361 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13362 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13363 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13364 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13365 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13366 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13367 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13368 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13369
5a47cc9c
DM
133702013-01-10 David S. Miller <davem@davemloft.net>
13371
13372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13373
4cf8f209
L
133742013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13375
13376 * posix/Makefile (tests-static): New variable.
13377 (tests): Add $(tests-static).
13378 (tst-exec-static-ARGS): New variable.
13379 (tst-spawn-static-ARGS): Likewise.
13380 * posix/tst-exec-static.c: New file.
13381 * posix/tst-spawn-static.c: Likewise.
13382 * posix/tst-exec.c: Support run directly.
13383 * posix/tst-spawn.c: Likewise.
13384
fed0faa1
JM
133852013-01-10 Joseph Myers <joseph@codesourcery.com>
13386
828beb13
JM
13387 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13388 long.
13389 * math/bits/mathcalls.h (llrint): Likewise.
13390 (llround): Likewise.
13391 * stdlib/stdlib.h (struct drand48_data): Likewise.
13392 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13393 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13394 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13395 Likewise.
13396 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13397 Likewise.
13398 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13399 (elf_greg_t): Likewise.
13400 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13401 (__jmp_buf): Likewise.
13402 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13403 definitions.
13404 (llrint): Likewise, for all definitions.
13405 (llrintl): Likewise.
13406
fed0faa1
JM
13407 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13408 Remove [__GNUC__] condition.
13409 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13410 condition to just [__USE_ISOC99].
13411 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13412
1a20cb20
L
134132013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13414
13415 [BZ #14200]
13416 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13417 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13418 defined.
13419 (_POSIX_V6_ILP32_OFF32): Likewise.
13420 (_XBS5_ILP32_OFF32): Likewise.
13421 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13422 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13423
751b85f7
SP
134242013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13425
7490eb81
SP
13426 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13427
751b85f7
SP
13428 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13429 doubles __mpexp_twomm1. Adjust usage.
13430 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13431 Remove.
13432
988197f0
AS
134332013-01-10 Andreas Schwab <schwab@suse.de>
13434
13435 [BZ #14964]
13436 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13437 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13438
e83d7298
DM
134392013-01-09 David S. Miller <davem@davemloft.net>
13440
034ed64b 13441 [BZ #15003]
e83d7298
DM
13442 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13443 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13444 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13445 TCP_FASTOPEN): Define.
13446 (tcp_repair_opt): New structure.
13447 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13448 enum values.
13449 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13450 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13451 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13452 (tcp_cookie_transactions): New structure.
13453
d5e0b9bd
AB
134542013-01-09 Anton Blanchard <anton@samba.org>
13455
13456 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13457 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13458 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13459 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13460
0c07e3ea
JM
134612013-01-09 Joseph Myers <joseph@codesourcery.com>
13462
13463 * include/features.h (__USE_ANSI): Remove.
13464
232f7002
RM
134652013-01-09 Roland McGrath <roland@hack.frob.com>
13466
ad98e30c
RM
13467 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13468
232f7002
RM
13469 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13470
950c99ca
SP
134712013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13472
b5792741
SP
13473 * sysdeps/s390/fpu/libm-test-ulps: Update.
13474
47cf2278
SP
13475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13476
950c99ca
SP
13477 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13478 (__acr): Likewise.
13479 (__cpy): Likewise.
13480 (norm): Likewise.
13481 (denorm): Likewise.
13482 (__mp_dbl): Likewise.
13483 (__dbl_mp): Likewise.
13484 (add_magnitudes): Likewise.
13485 (sub_magnitudes): Likewise.
13486 (__add): Likewise.
13487 (__sub): Likewise.
13488 (__mul): Likewise.
13489 (__inv): Likewise.
13490 (__dvd): Likewise.
13491 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13492 (__acr): Likewise.
13493 (__cpy): Likewise.
13494 (norm): Likewise.
13495 (denorm): Likewise.
13496 (__mp_dbl): Likewise.
13497 (__dbl_mp): Likewise.
13498 (add_magnitudes): Likewise.
13499 (sub_magnitudes): Likewise.
13500 (__add): Likewise.
13501 (__sub): Likewise.
13502 (__mul): Likewise.
13503 (__inv): Likewise.
13504 (__dvd): Likewise.
13505 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13506 (__acr): Likewise.
13507 (__cpy): Likewise.
13508 (norm): Likewise.
13509 (denorm): Likewise.
13510 (__mp_dbl): Likewise.
13511 (__dbl_mp): Likewise.
13512 (add_magnitudes): Likewise.
13513 (sub_magnitudes): Likewise.
13514 (__add): Likewise.
13515 (__sub): Likewise.
13516 (__mul): Likewise.
13517 (__inv): Likewise.
13518 (__dvd): Likewise.
13519
eede9df9
JM
135202013-01-08 Joseph Myers <joseph@codesourcery.com>
13521
13522 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13523 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13524 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13525 2 && __USE_EXTERN_INLINES]: Likewise.
13526
c40ea3d9
AJ
135272013-01-08 Andreas Jaeger <aj@suse.de>
13528
13529 [BZ# 14985]
13530 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13531 Remove.
13532 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13533 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13534
2ccdea26
AB
135352013-01-07 Anton Blanchard <anton@samba.org>
13536
13537 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13538 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13539 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13540 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13541 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13542 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13543 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13544 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13546 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13547 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13548 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13549 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13550 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13551 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13552 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13553 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13554 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13555 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13556 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13557 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13558 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13559 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13560 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13561 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13562 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13563 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13564 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13565 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13566 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13567 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13568 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13569 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13570 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13571 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13572 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13573 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13574 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13575 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13576 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13577 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13578 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13579 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13580
a9708fed
JM
135812013-01-07 Joseph Myers <joseph@codesourcery.com>
13582
375607b9
JM
13583 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13584 (__MALLOC_PMT): Likewise.
13585 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13586 [__GNUC__], only on [_LIBC].
13587 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13588 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13589 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13590 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13591 forward declaration.
13592 (realloc_hook_ini): Likewise.
13593 (memalign_hook_ini): Likewise.
13594 (__libc_memalign): Do not use __MALLOC_PMT in variable
13595 declaration.
13596 (__libc_valloc): Likewise.
13597 (__libc_pvalloc): Likewise.
13598 (__libc_calloc): Likewise.
13599 (__posix_memalign): Likewise.
13600
a9708fed
JM
13601 [BZ #14996]
13602 * math/s_casinh.c: Include <float.h>.
13603 (__casinh): Do not do computation with squaring and square root
13604 for large arguments.
13605 * math/s_casinhf.c: Include <float.h>.
13606 (__casinhf): Do not do computation with squaring and square root
13607 for large arguments.
13608 * math/s_casinhl.c: Include <float.h>.
13609 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13610 (__casinhl): Do not do computation with squaring and square root
13611 for large arguments.
13612 * math/libm-test.inc (casin_test): Add more tests.
13613 (casinh_test): Likewise.
13614 * sysdeps/i386/fpu/libm-test-ulps: Update.
13615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13616
afec409a
L
136172013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13618
13619 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13620 (__x86_64_raw_data_cache_size): Likewise.
13621 (__x86_64_data_cache_size_half): Likewise.
13622 (__x86_64_raw_data_cache_size_half): Likewise.
13623 (__x86_64_shared_cache_size): Likewise.
13624 (__x86_64_raw_shared_cache_size): Likewise.
13625 (__x86_64_shared_cache_size_half): Likewise.
13626 (__x86_64_raw_shared_cache_size_half): Likewise.
13627 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13628 to ...
13629 (__x86_data_cache_size): This.
13630 (__x86_64_raw_data_cache_size): Renamed to ...
13631 (__x86_raw_data_cache_size): This.
13632 (__x86_64_data_cache_size_half): Renamed to ...
13633 (__x86_data_cache_size_half): This.
13634 (__x86_64_raw_data_cache_size_half): Renamed to ...
13635 (__x86_raw_data_cache_size_half): This.
13636 (__x86_64_shared_cache_size): Renamed to ...
13637 (__x86_shared_cache_size): This.
13638 (__x86_64_raw_shared_cache_size): Renamed to ...
13639 (__x86_raw_shared_cache_size): This.
13640 (__x86_64_shared_cache_size_half): Renamed to ...
13641 (__x86_shared_cache_size_half): This.
13642 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13643 (__x86_raw_shared_cache_size_half): This.
13644 * sysdeps/x86_64/memcpy.S: Updated.
13645 * sysdeps/x86_64/memset.S: Likewise.
13646 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13647 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13648 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13649
0b3986d0
DM
136502013-01-04 David S. Miller <davem@davemloft.net>
13651
13652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13653
e47686e9
AS
136542013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13655
d643bac1
AS
13656 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13657 1 to avoid redefinition warning.
13658 (__USE_GNU): Don't define.
13659 (init_signaling_nan): Protoize.
13660
e47686e9
AS
13661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13662
b18decba
SP
136632013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13664
fffb407f
SP
13665 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13667 (__cpymn): Likewise.
13668 (norm): Remove commented code.
13669 (denorm): Likewise.
13670 (__mp_dbl): Likewise.
13671 (__inv): Likewise.
13672 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13673 (__cpymn): Likewise.
13674 (norm): Remove commented code.
13675 (denorm): Likewise.
13676 (__mp_dbl): Likewise.
13677 (__inv): Likewise.
13678
b18decba
SP
13679 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13680 mp_no value for 1.0 and 2.0.
13681 (norm): Use RADIXI instead of radixi.d.
13682 (denorm): Likewise.
13683 (__mul): Use 0.0 instead of zero.d.
13684 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13685 mp_no value for 1.0 and 2.0.
13686 (norm): Use RADIXI instead of radixi.d.
13687 (denorm): Likewise.
13688 (__mul): Use 0.0 instead of zero.d.
13689
cdc1c96f
JM
136902013-01-04 Joseph Myers <joseph@codesourcery.com>
13691
13692 [BZ #14994]
13693 * math/s_casinh.c (__casinh): Reduce finite argument to first
13694 quadrant then set signs of results at the end.
13695 * math/s_casinhf.c (__casinhf): Likewise.
13696 * math/s_casinhl.c (__casinhl): Likewise.
13697 * math/libm-test.inc (casin_test): Add more tests.
13698 (casinh_test): Likewise.
13699 * sysdeps/i386/fpu/libm-test-ulps: Update.
13700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13701
302913e1
SP
137022013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13703
6420d207
SP
13704 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13705
a9e48ab4
SP
13706 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13707
b7837264
SP
13708 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13709 declarations.
13710 (denorm): Likewise.
13711 (__mp_dbl): Likewise.
13712 (__inv): Likewise.
13713
f8af25d2
SP
13714 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13715 and adjust the header comment.
13716
302913e1
SP
13717 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13718 variable name from declaration.
13719
5d7dd1ca
L
137202013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13721
13722 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13723 Initialize COMMON_CPUID_INDEX_7 element.
13724 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13725 (CPUID_RTM): Likewise.
13726 (HAS_RTM): Likewise.
13727 (COMMON_CPUID_INDEX_7): New enum.
13728
2f5f40f4
AS
137292013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13730
13731 [BZ #14981]
13732 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13733 size is zero, record memory as freed.
13734
4056f4a0
AJ
137352013-01-03 Andreas Jaeger <aj@suse.de>
13736
13737 * po/ia.po: Add new Interlingua translation.
13738
ab15736f 137392012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
13740
13741 * locale/programs/localedef.c: Fix description of '--posix' flag.
13742
568035b7
JM
137432013-01-02 Joseph Myers <joseph@codesourcery.com>
13744
e6898b8d
JM
13745 * NEWS: Update dates in second copyright notice.
13746 * README: Update copyright dates in example.
13747 * manual/libc.texinfo: Update copyright dates.
13748 * scripts/test-installation.pl: Update copyright date in --version
13749 output.
13750
0e2f9562
JM
13751 * hurd/ctty-input.c: Fix copyright notice formatting.
13752 * hurd/ctty-output.c: Likewise.
13753 * hurd/dtable.c: Likewise.
13754 * hurd/hurd-raise.c: Likewise.
13755 * hurd/hurdprio.c: Likewise.
13756 * hurd/msgportdemux.c: Likewise.
13757 * misc/sys/file.h: Likewise.
13758 * misc/sys/ioctl.h: Likewise.
13759 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13760 * sysdeps/mach/hurd/chdir.c: Likewise.
13761 * sysdeps/mach/hurd/fchdir.c: Likewise.
13762 * sysdeps/mach/hurd/rename.c: Likewise.
13763 * sysdeps/mach/hurd/rmdir.c: Likewise.
13764 * sysdeps/mach/hurd/seekdir.c: Likewise.
13765 * sysdeps/mach/hurd/setsid.c: Likewise.
13766 * sysdeps/posix/wait3.c: Likewise.
13767
568035b7
JM
13768 * All files with FSF copyright notices: Update copyright dates
13769 using scripts/update-copyrights.
13770 * intl/plural.c: Regenerated.
13771 * locale/programs/charmap-kw.h: Likewise.
13772 * locale/programs/locfile-kw.h: Likewise.
13773
da08f647
SP
137742013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13775
0f5477af
SP
13776 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13777 four values.
13778
44e0d4c2
SP
13779 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13780 calculation loop and add branch prediction.
13781
4d55b4e5
SP
13782 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13783 check access beyond bounds of m1np.
13784
da08f647
SP
13785 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13786 MPTWO.
13787 (__inv): Remove local variable MPTWO to use the global
13788 constant.
13789 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13790 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13791 variable MPTWO.
13792 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13793 MP3HALFS static const.
13794
8e051029
DM
137952013-01-01 David S. Miller <davem@davemloft.net>
13796
13797 * po/ca.po: Update from translation team.
13798
f4cf5f2d
JM
137992013-01-01 Joseph Myers <joseph@codesourcery.com>
13800
13801 * scripts/update-copyrights: New file.
13802 * Makeconfig: Reformat copyright notice.
13803 * ctype/ctype.h: Likewise.
13804 * debug/swprintf_chk.c: Likewise.
13805 * elf/dl-cache.c: Likewise.
13806 * elf/dl-debug.c: Likewise.
13807 * elf/dl-object.c: Likewise.
13808 * grp/initgroups.c: Likewise.
13809 * hurd/Makefile: Likewise.
13810 * hurd/hurd/signal.h: Likewise.
13811 * hurd/hurdfault.c: Likewise.
13812 * hurd/hurdioctl.c: Likewise.
13813 * hurd/hurdlookup.c: Likewise.
13814 * hurd/intr-msg.c: Likewise.
13815 * iconv/gconv_open.c: Likewise.
13816 * libio/swprintf.c: Likewise.
13817 * locale/lc-ctype.c: Likewise.
13818 * locale/nl_langinfo.c: Likewise.
13819 * mach/Machrules: Likewise.
13820 * mach/Makefile: Likewise.
13821 * malloc/obstack.h: Likewise.
13822 * manual/Makefile: Likewise.
13823 * manual/tsort.awk: Likewise.
13824 * misc/bits/stab.def: Likewise.
13825 * nis/nis_print_group_entry.c: Likewise.
13826 * nis/nis_table.c: Likewise.
13827 * nis/nss_compat/compat-pwd.c: Likewise.
13828 * nis/nss_compat/compat-spwd.c: Likewise.
13829 * po/Makefile: Likewise.
13830 * posix/fnmatch.c: Likewise.
13831 * posix/regex.h: Likewise.
13832 * resolv/Makefile: Likewise.
13833 * resolv/nss_dns/dns-network.c: Likewise.
13834 * resolv/res_hconf.c: Likewise.
13835 * scripts/gen-sorted.awk: Likewise.
13836 * soft-fp/soft-fp.h: Likewise.
13837 * stdio-common/printf.h: Likewise.
13838 * stdlib/monetary.h: Likewise.
13839 * stdlib/random.c: Likewise.
13840 * stdlib/random_r.c: Likewise.
13841 * sysdeps/generic/Makefile: Likewise.
13842 * sysdeps/gnu/Makefile: Likewise.
13843 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13844 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13845 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13846 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13847 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13848 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13849 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13850 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13851 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13853 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13854 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13855 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13856 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13857 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13858 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13859 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13860 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13861 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13862 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13863 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13864 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13865 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13866 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13867 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13868 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13869 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13870 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13871 * sysdeps/mach/hurd/errnos.awk: Likewise.
13872 * sysdeps/mach/hurd/fork.c: Likewise.
13873 * sysdeps/mach/hurd/getcwd.c: Likewise.
13874 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13875 * sysdeps/mach/hurd/mmap.c: Likewise.
13876 * sysdeps/mach/hurd/utimes.c: Likewise.
13877 * sysdeps/mach/hurd/xmknod.c: Likewise.
13878 * sysdeps/posix/profil.c: Likewise.
13879 * sysdeps/posix/readdir_r.c: Likewise.
13880 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13881 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13882 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13883 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13885 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13886 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13887 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13889 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13890 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13891 * sysdeps/pthread/lio_listio.c: Likewise.
13892 * sysdeps/sparc/dl-procinfo.h: Likewise.
13893 * sysdeps/unix/i386/sysdep.S: Likewise.
13894 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13895 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13896 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13897 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13899 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13900 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13901 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13902 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13903 * sysdeps/wordsize-32/divdi3.c: Likewise.
13904 * time/sys/time.h: Likewise.
13905 * wcsmbs/Makefile: Likewise.
13906
0549fbba
DM
139072013-01-01 David S. Miller <davem@davemloft.net>
13908
a141f1a7
DM
13909 * po/fr.po: Update from translation team.
13910
0549fbba
DM
13911 * catgets/gencat.c: Update copyright year.
13912 * csu/version.c: Likewise.
13913 * debug/catchsegv.sh: Likewise.
13914 * debug/pcprofiledump.c: Likewise.
13915 * debug/xtrace.sh: Likewise.
13916 * elf/ldconfig.c: Likewise.
13917 * elf/ldd.bash.in: Likewise.
13918 * elf/pldd.c: Likewise.
13919 * elf/sotruss.ksh: Likewise.
13920 * elf/sprof.c: Likewise.
13921 * iconv/iconv_prog.c: Likewise.
13922 * iconv/iconvconfig.c: Likewise.
13923 * locale/programs/locale.c: Likewise.
13924 * locale/programs/localedef.c: Likewise.
13925 * login/programs/pt_chown.c: Likewise.
13926 * malloc/memusage.sh: Likewise.
13927 * malloc/memusagestat.c: Likewise.
13928 * malloc/mtrace.pl: Likewise.
13929 * nscd/nscd.c: Likewise.
13930 * nss/getent.c: Likewise.
13931 * nss/makedb.c: Likewise.
13932 * posix/getconf.c: Likewise.
13933
18ea052c
SP
139342012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13935
13936 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13937 numbers.
13938
9c89fca6
MF
139392012-12-30 Mike Frysinger <vapier@gentoo.org>
13940
13941 * math/bits/mathcalls.h (modf): Use __nonnull.
13942
085ec079
SP
139432012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13944
13945 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13946 (split): Use macro CN instead of the bare value.
13947 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13948 could be used.
13949 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13950 instead of the bare value.
13951 (power1): Likewise.
13952
6d9f97e1
SP
139532012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13954
d63f73be
SP
13955 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13956 __ATAN_TWOM.
13957 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13958
6d9f97e1
SP
13959 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13960 their values.
13961 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13962 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13963 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13964 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13965
4c4febf5
AJ
139662012-12-28 Andreas Jaeger <aj@suse.de>
13967
af5843ef
AJ
13968 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13969 values are from Linux 3.7.
13970
4c4febf5
AJ
13971 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13972 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13973
99136f82
SP
139742012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13975
2f216c3c 13976 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
13977 TRUE case.
13978
99136f82
SP
13979 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13980 (norm): Likewise.
13981 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13982 variables with preprocessor constants.
13983 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13984 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13985 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13986
7fffbdff
BH
139872012-12-27 Bruno Haible <bruno@clisp.org>
13988
13989 [BZ #14317]
13990 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13991 only if needed.
13992
b76eb5f0
SP
139932012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13994
31a7fe5c
SP
13995 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13996 and use variable directly.
13997 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13998
b76eb5f0
SP
13999 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14000 MPONE.
14001 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14002 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14003 variable MPONE.
14004 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14005 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14006 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14007 include directive. Remove local variable MPONE.
14008 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14009 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14010 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14011
2c8bfe7d
DM
140122012-12-25 David S. Miller <davem@davemloft.net>
14013
14014 * version.h (RELEASE): Set to "development".
14015 (VERSION): Set to "2.17.90".
14016 * NEWS: Add 2.18 section.
14017
147d03b0
DM
140182012-12-21 David S. Miller <davem@davemloft.net>
14019
14020 * po/hr.po: Update from translation team.
14021
a8ebb2b9
AK
140222012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14023
14024 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14025
95b4f1b6
SE
140262012-12-19 Steve Ellcey <sellcey@mips.com>
14027
b2d94007 14028 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 14029
cedb2a90
MS
140302012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14031
14032 * manual/contrib.texi (Contributors): Spelling correction.
14033
bbf527d6
DM
140342012-12-15 David S. Miller <davem@davemloft.net>
14035
14036 * po/ru.po: Update from translation team.
14037
bc38c906
DM
140382012-12-13 David S. Miller <davem@davemloft.net>
14039
85429b1a
DM
14040 * NEWS: Mention IFUNC testsuite enhancements.
14041
d283e353
DM
14042 * po/pl.po: Update from translation team.
14043 * po/bg.po: Likewise.
14044
bc38c906
DM
14045 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14046 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14047
a181b0d7
DM
140482012-12-11 David S. Miller <davem@davemloft.net>
14049
4641d57e
DM
14050 * po/sv.po: Update from translation team.
14051
f7bc6495
DM
14052 * po/vi.po: Update from translation team.
14053
6fc9048f
DM
14054 * po/cs.po: Update from translation team.
14055
a181b0d7
DM
14056 * po/de.po: Update from translation team.
14057 * po/eo.po: Likewise.
14058 * po/nl.po: Likewise.
14059
f70bfe80
SP
140602012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14061
3c8b4190
SP
14062 [BZ #14246]
14063 * manual/argp.texi (Argp Helper Functions): Move node to follow
14064 Argp Parsing State.
14065
f70bfe80
SP
14066 [BZ #14872]
14067 * manual/conf.texi (Limits on File System Capacity): Mention if
14068 terminating null is included in the max size.
14069
188f0adf
AJ
140702012-12-10 Andreas Jaeger <aj@suse.de>
14071
14072 * po/cs.po: Update from translation team.
14073
56e7d3ad
SP
140742012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14075
14076 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14077 void pointer and cast to uintptr_t.
14078 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14079 path.
14080 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14081 * sysdeps/s390/s390-64/memset.S: Likewise.
14082
76f2d2ea 140832012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
14084
14085 [BZ #14833]
14086 * menual/message.texi (Message Translation): Fix typos.
14087 (Helper programs for gettext): Likewise.
14088
67cbf9a2
AS
140892012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14090
14091 [BZ #14898]
14092 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14093 Change to -1.
14094
682d0e9a
DM
140952012-12-07 David S. Miller <davem@davemloft.net>
14096
14097 * po/libc.pot: Update.
14098
573cd484
RH
140992012-12-07 Richard Henderson <rth@redhat.com>
14100
7e9da188 14101 [BZ #10114]
573cd484
RH
14102 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14103 normal/normal case to before the switch.
14104 (_FP_DIV): Likewise.
14105
e933a943
MF
141062012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14107 Mike Frysinger <vapier@gentoo.org>
14108
14109 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14110 check for __NR_fadvise64_64.
14111
82123268
CM
141122012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14113
14114 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14115 0, not just to plain "0" as a statement.
14116 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14117 with cw.
14118
d9814526
JM
141192012-12-06 Joseph Myers <joseph@codesourcery.com>
14120
14121 * NEWS: Use sourceware.org in Bugzilla URL.
14122
7728c574
SP
141232012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14124
f16946dd
SP
14125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14126 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14127
5704bbcb
SP
14128 * stdio-common/tst-put-error.c (do_test): Add newline to the
14129 padded test to ensure flush.
14130
17aa0516
JL
141312012-12-05 Jeff Law <law@redhat.com>
14132
14133 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14134
363313b5
JM
141352012-12-05 Joseph Myers <joseph@codesourcery.com>
14136
effbd42a
JM
14137 * README: Don't refer to ports add-on as distributed separately.
14138 Mention AArch64 in list of systems supported in the ports add-on.
14139
87600365
JM
14140 * LICENSES: Add more non-FSF copyright and license notices.
14141
a0d7066a
JM
14142 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14143 ((unused)).
14144
66ca5a5b
JM
14145 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14146
363313b5
JM
14147 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14148 10000 as width of padded output.
14149
b37984ad
JM
141502012-12-04 Joseph Myers <joseph@codesourcery.com>
14151
9003570a
JM
14152 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14153
b37984ad
JM
14154 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14155 variable LX with __attribute__ ((unused)).
14156 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14157 Likewise.
14158 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14159 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14160 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14161 with __attribute__ ((unused)).
14162
c8df52ec
DM
141632012-12-04 David S. Miller <davem@abraco.davemloft.net>
14164
14165 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14166
b3b099af
JM
141672012-12-04 Joseph Myers <joseph@codesourcery.com>
14168
c33aa6e3
JM
14169 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14170 (CFLAGS-nldbl-acos.c): New variable.
14171 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14172 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14173 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14174 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14175 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14176 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14177 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14178 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14179 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14180 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14181 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14182 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14183 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14184 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14185 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14186 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14187 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14188 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14189 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14190 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14191 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14192 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14193 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14194 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14195 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14196 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14197 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14198 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14199 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14200 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14201 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14202 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14203 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14204 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14205 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14206 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14207 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14208 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14209 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14210 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14211 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14212 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14213 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14214 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14215 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14216 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14217 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14218 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14219 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14220 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14221 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14222 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14223 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14224 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14225 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14226 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14227 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14228 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14229 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14230 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14231 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14232 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14233 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14234 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14235 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14236 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14237 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14238 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14239 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14240 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14241 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14242 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14243 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14244 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14245 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14246 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14247 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14248 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14249 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14250 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14251 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14252 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14253 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14254 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14255 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14256 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14257 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14258 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14259 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14260 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14261 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14262 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14263 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14264 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14265 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14266 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14267 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14268
20f0018d
JM
14269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14270 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14271
b3b099af
JM
14272 [BZ #14914]
14273 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14274 whole low double instead of just low 47 bits when splitting values
14275 into two parts.
14276
029264d1
AM
142772012-12-03 Allan McRae <allan@archlinux.org>
14278
14279 * manual/stdio.texi (Predefined Printf Handlers): Remove
14280 @hsep and @vsep usage.
14281
c9d6789e
MF
142822012-12-03 Mike Frysinger <vapier@gentoo.org>
14283
14284 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14285 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14286
4b7634a5
JL
142872012-12-03 Jeff Law <law@redhat.com>
14288
14289 * time/sys/time.h (settimeofday): Do not mark TV argument
14290 as __nonnull.
14291
eb6cbd24
MF
142922012-12-01 Mike Frysinger <vapier@gentoo.org>
14293
14294 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14295 when currently writing and seek to current position when not.
14296 * libio/Makefile (tests): Remove bug-fclose1.
14297 * libio/bug-fclose1.c: Delete.
14298
f638872a
JM
142992012-12-01 Joseph Myers <joseph@codesourcery.com>
14300
14301 * manual/arith.texi (feenableexcept): Fix typo.
14302 (fedisableexcept): Likewise.
14303
48085d14
RM
143042012-11-30 Roland McGrath <roland@hack.frob.com>
14305
14306 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14307 second, differently-typed declaration, rather than a cast.
14308
1a538b9f
SP
143092012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14310
14311 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14312 * include/rpc/svc.h: ... here.
14313
d07f2ff1 143142012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
14315
14316 [BZ #13013]
14317 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14318 depending n and resplen2 to catch cases where answer
14319 equals answerp2.
14320
c93ec1f0
CD
143212012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14322
14323 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14324 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14325
37db69de
MF
143262012-11-29 Mike Frysinger <vapier@gentoo.org>
14327
14328 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14329
e10c4e4f
RM
143302012-11-29 Roland McGrath <roland@hack.frob.com>
14331
14332 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14333
2af1b328
JL
143342012-11-28 Jeff Law <law@redhat.com>
14335
14336 [BZ #13761]
14337 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14338 dataset_temporary. Track alloca usage into alloca_used.
14339 If dataset is large allocate and release it via malloc/free.
14340
111db5b1
FW
143412012-06-04 Florian Weimer <fweimer@redhat.com>
14342
f06cc227 14343 [BZ #14197]
111db5b1
FW
14344 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14345
dd694abd
DM
143462012-11-28 David S. Miller <davem@davemloft.net>
14347
14348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14349
9984dd01
JM
143502012-11-28 Joseph Myers <joseph@codesourcery.com>
14351
14352 [BZ #14803]
14353 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14354 of pi/2 rounded to nearest to 64 bits.
14355 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14356 nearest to 64 bits.
14357 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14358 bits.
14359
14bc93a9
JL
143602012-11-28 Jeff Law <law@redhat.com>
14361 Martin Osvald <mosvald@redhat.com>
14362
14363 [BZ #14889]
14364 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14365 * sunrpc/svc.c: Include time.h.
14366 (__svc_accept_failed): New function.
14367 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14368 any reason other than EINTR, call __svc_accept_failed.
14369 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14370 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14371
e3c6aa3a
AS
143722012-11-28 Andreas Schwab <schwab@suse.de>
14373
14374 * scripts/abilist.awk: Also handle indirect functions in .opd
14375 section.
14376
1bead169
JM
143772012-11-28 Joseph Myers <joseph@codesourcery.com>
14378
14379 [BZ #13881]
14380 * sysdeps/x86/fpu/powl_helper.c: New file.
14381 * sysdeps/x86/fpu/Makefile: Likewise.
14382 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14383 (p3): New object.
14384 (__ieee754_powl): Use __powl_helper for finite arguments except
14385 integer exponents below 8.
14386 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14387 (p3): New object.
14388 (__ieee754_powl): Use __powl_helper for finite arguments except
14389 integer exponents below 8.
14390 * math/libm-test.inc (pow_test): Add more tests and enable some
14391 previously disabled tests.
14392 * sysdeps/i386/fpu/libm-test-ulps: Update.
14393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14394
0817d63d
SP
143952012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14396 Carlos O'Donell <carlos_odonell@mentor.com>
14397
14398 * nss/makedb.c (is_prime): Assert that input is odd and greater
14399 than 4. Note that fact in a comment too.
14400 (next_prime): Add 4 to input.
14401
de2fd463
SP
144022012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14403
14404 [BZ #11741]
14405 * libio/Makefile (tests): Add test case tst-fwrite-error.
14406 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14407 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14408 * libio/tst-fwrite-error.c: New test case.
14409
c515fb51
L
144102012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14411
14412 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14413 before casting to void *.
14414 * include/libc-internal.h (__pointer_type): New macro.
14415 (__integer_if_pointer_type_sub): Likewise.
14416 (__integer_if_pointer_type): Likewise.
14417 (cast_to_integer): Likewise.
14418 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14419 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14420 before casting to atomic64_t.
14421 (atomic_exchange_acq): Likewise.
14422 (__arch_exchange_and_add_body): Likewise.
14423 (__arch_add_body): Likewise.
14424 (atomic_add_negative): Likewise.
14425 (atomic_add_zero): Likewise.
14426
4cf77aa9
JM
144272012-11-26 Joseph Myers <joseph@codesourcery.com>
14428
14429 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14430 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14431 (add_fdes): Likewise.
14432 (linear_search_fdes): Likewise.
14433 (binary_search_unencoded_fdes): Likewise.
14434
d260b3b4
AS
144352012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14436
14437 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14438
67060746
AC
144392012-11-24 Adam Conrad <adconrad@0c3.net>
14440
14441 * configure.in: Autodetect C++ header directories.
14442 * configure: Regenerated.
14443
800938a1
MF
144442012-11-23 Mike Frysinger <vapier@gentoo.org>
14445
14446 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14447
4e6e34e6
AS
144482012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14449
14450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14451
7c7feb47
JM
144522012-11-22 Joseph Myers <joseph@codesourcery.com>
14453
7184dcdf
JM
14454 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14455 LDBL_MANT_DIG == 106]: Disable some tests.
14456 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14457 Likewise.
14458 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14459 Likewise.
14460
0a42601f
JM
14461 [BZ #14871]
14462 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14463 input for small inputs. Return +/- pi/2 for large inputs.
14464 * math/libm-test.inc (atan_test): Add more tests.
14465
79c9b9fe
JM
14466 * sysdeps/generic/unwind-dw2-fde-glibc.c
14467 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14468 __attribute__ ((unused)).
14469
c60d3bf2
JM
14470 [BZ #14645]
14471 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14472 x * y if x and y are nonzero and z is zero.
14473
ef1e0867
JM
14474 [BZ #14811]
14475 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14476 nonzero exponents with absolute value below 0x1p-117 to +/-
14477 0x1p-117.
14478
1468ded3
JM
14479 [BZ #14869]
14480 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14481 up arguments below 2**-450, not just those below 2**-500.
14482 * math/libm-test.inc (hypot_test): Add another test.
14483
8e27e3cc
JM
14484 [BZ #14868]
14485 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14486 Return a+b for ratio over 2**120, not 2**60.
14487 * math/libm-test.inc (hypot_test): Add another test.
14488
c9c0279b
JM
14489 * math/libm-test.inc (clog_test): Use
14490 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14491 (clog10_test): Likewise.
14492
7c7feb47
JM
14493 [BZ #6778]
14494 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14495
fff1530e
AS
144962012-11-22 Andreas Schwab <schwab@suse.de>
14497
14498 * sysdeps/i386/fpu/libm-test-ulps: Update.
14499
94558d30
PT
145002012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14501
14502 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14503 printf output with newline.
14504
7e1be741
L
145052012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14506
6bfea974
L
14507 [BZ #14865]
14508 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14509 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14510 -z nodlopen, -z initfirst and -z execstack support.
14511 * configure: Regenerated.
14512
7e1be741
L
14513 * elf/elf.h (DF_1_NODIRECT): New macro.
14514 (DF_1_IGNMULDEF): Likewise.
14515 (DF_1_NOKSYMS): Likewise.
14516 (DF_1_NOHDR): Likewise.
14517 (DF_1_EDITED): Likewise.
14518 (DF_1_NORELOC): Likewise.
14519 (DF_1_SYMINTPOSE): Likewise.
14520 (DF_1_GLOBAUDIT): Likewise.
14521 (DF_1_SINGLETON): Likewise.
14522 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14523 DT_1_SUPPORTED_MASK bits.
14524 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14525
105ce2ce
CD
145262012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14527
14528 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14529
123be9de
TS
145302012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14531
d072f3f7
TS
14532 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14533 macro.
14534
123be9de
TS
14535 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14536 (sendmmsg): Move declarations...
14537 * socket/sys/socket.h: ... here.
14538 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14539 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14540 include it from...
14541 * socket/recvmmsg.c: ... this new file.
14542 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14543 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14544 definition of __sendmmsg hidden.
14545 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14546 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14547 Move ENOSYS stub into and include it from...
14548 * socket/sendmmsg.c: ... this new file.
14549 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14550 (sysdep_routines): Move recvmmsg and sendmmsg...
14551 * socket/Makefile (routines): ... here.
14552 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14553 (GLIBC_PRIVATE): Add __sendmmsg.
14554 * include/sys/socket.h (__sendmmsg): Add declarations.
14555 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14556 sendmmsg.
14557
cf9a5d18
JM
145582012-11-20 Joseph Myers <joseph@codesourcery.com>
14559
14560 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14561 variable I1 with __attribute__ ((unused)).
14562 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14563
ecd4caf9
JM
145642012-11-19 Joseph Myers <joseph@codesourcery.com>
14565
be14d48f
JM
14566 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14567 DUMMY variables with __attribute__ ((unused)).
14568
ecd4caf9
JM
14569 * bits/byteswap.h: Include <bits/types.h>.
14570 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14571
986cab95
PT
145722012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14573
14574 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14575 string_t. Do not manually set errno.
14576 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14577 length with __strnlen. Make sure to both set errno and return it on
14578 failure.
14579
6d33cc9d
DM
145802012-11-19 David S. Miller <davem@davemloft.net>
14581
14582 With help from Joseph Myers.
14583 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14584 very large arguments properly.
14585 * math/libm-test.inc (atan_test): New tests.
14586 (atan2_test): New tests.
14587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14589
ee663277
JM
145902012-11-19 Joseph Myers <joseph@codesourcery.com>
14591
877f2d8e
JM
14592 [BZ #14856]
14593 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14594 Define to 3.
14595
116fc08a
JM
14596 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14597 [POSIX] (EADDRNOTAVAIL): Likewise.
14598 [POSIX] (EAFNOSUPPORT): Likewise.
14599 [POSIX] (EALREADY): Likewise.
14600 [POSIX] (ECONNABORTED): Likewise.
14601 [POSIX] (ECONNREFUSED): Likewise.
14602 [POSIX] (ECONNRESET): Likewise.
14603 [POSIX] (EDESTADDRREQ): Likewise.
14604 [POSIX] (EDQUOT): Likewise.
14605 [POSIX] (EHOSTUNREACH): Likewise.
14606 [POSIX] (EIDRM): Likewise.
14607 [POSIX] (EISCONN): Likewise.
14608 [POSIX] (ELOOP): Likewise.
14609 [POSIX] (EMULTIHOP): Likewise.
14610 [POSIX] (ENETDOWN): Likewise.
14611 [POSIX] (ENETUNREACH): Likewise.
14612 [POSIX] (ENOBUFS): Likewise.
14613 [POSIX] (ENODATA): Likewise.
14614 [POSIX] (ENOLINK): Likewise.
14615 [POSIX] (ENOMSG): Likewise.
14616 [POSIX] (ENOPROTOOPT): Likewise.
14617 [POSIX] (ENOSR): Likewise.
14618 [POSIX] (ENOSTR): Likewise.
14619 [POSIX] (ENOTCONN): Likewise.
14620 [POSIX] (ENOTSOCK): Likewise.
14621 [POSIX] (EOPNOTSUPP): Likewise.
14622 [POSIX] (EOVERFLOW): Likewise.
14623 [POSIX] (EPROTO): Likewise.
14624 [POSIX] (EPROTONOSUPPORT): Likewise.
14625 [POSIX] (EPROTOTYPE): Likewise.
14626 [POSIX] (ESTALE): Likewise.
14627 [POSIX] (ETIME): Likewise.
14628 [POSIX] (ETXTBSY): Likewise.
14629 [POSIX] (EWOULDBLOCK): Likewise.
14630 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14631 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14632 [POSIX] (SEEK_CUR): Likewise.
14633 [POSIX] (SEEK_END): Likewise.
14634 [POSIX || UNIX98] (mode_t): Do not require.
14635 [POSIX] (off_t): Likewise.
14636 [POSIX] (pid_t): Likewise.
14637 [POSIX] (sys/stat.h): Do not allow header.
14638 [POSIX] (unistd.h): Likewise.
14639 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14640 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14641 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14642 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14643 require.
14644 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14645 sigevent): Specify elements.
14646 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14647 entry.
14648 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14649 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14650
a483863f
JM
14651 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14652 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14653 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14654 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14655 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14656 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14657 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14658 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14659 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14660 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14661 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14662 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14663 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14664 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14665 Likewise.
14666 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14667 Likewise.
14668 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14669 Likewise.
14670 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14671 Likewise.
14672 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14673 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14674 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14675 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14676 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14677 Specify lower bound on value.
14678 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14679 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14680 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14681 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14682 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14683 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14684 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14685 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14686 value.
14687 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14688 as optional.
14689 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14690 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14691 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14692 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14693 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14694 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14695 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14696 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14697 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14698 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14699 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14700 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14701 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14702 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14703 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14704 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14705 entry.
14706 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14707 optional.
14708 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14709 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14710 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14711 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14712 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14713 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14714 Likewise.
14715 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14716 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14717 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14718 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14719 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14720 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14721 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14722 as optional.
14723 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14724 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14725 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14726 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14727 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14728 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14729 specify as optional.
14730 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14731 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14732 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14733 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14734 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14735 [XPG3] (NL_LANGMAX): Likewise.
14736 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14737 [POSIX || XPG3] (NL_NMAX): Likewise.
14738 [POSIX || XPG3] (NL_SETMAX): Likewise.
14739 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14740 [XPG3] (NZERO): Likewise.
14741 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14742 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14743 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14744 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14745 (REG_ERANGE): Expect.
14746 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14747 optional-constant.
14748 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14749 Use (void) in prototype.
14750 [POSIX] (*_t): Allow.
14751 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14752 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14753 (WRDE_BADVAL): Expect.
14754
5ba924e3
JM
14755 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14756 expect.
14757 [XPG3 || XPG4] (O_RSYNC): Likewise.
14758 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14759 Likewise.
14760 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14761 [XPG3 || XPG4] (sigqueue): Likewise.
14762 [XPG3 || XPG4] (sigtimedwait): Likewise.
14763 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14764 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14765 [XPG3 || XPG4] (vsnprintf): Likewise.
14766 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14767 Likewise.
14768 [XPG3 || XPG4] (blksize_t): Likewise.
14769 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14770 Likewise.
14771 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14772 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14773 [XPG3 || XPG4] (struct itimerspec): Likewise.
14774 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14775 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14776 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14777 [XPG3 || XPG4] (clockid_t): Likewise.
14778 [XPG3 || XPG4] (timer_t): Likewise.
14779 [XPG3 || XPG4] (clock_getres): Likewise.
14780 [XPG3 || XPG4] (clock_gettime): Likewise.
14781 [XPG3 || XPG4] (clock_settime): Likewise.
14782 [XPG3 || XPG4] (nanosleep): Likewise.
14783 [XPG3 || XPG4] (timer_create): Likewise.
14784 [XPG3 || XPG4] (timer_delete): Likewise.
14785 [XPG3 || XPG4] (timer_gettime): Likewise.
14786 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14787 [XPG3 || XPG4] (timer_settime): Likewise.
14788 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14789 [XPG3 || XPG4] (getlogin_r): Likewise.
14790 [XPG3 || XPG4] (pread): Likewise.
14791 [XPG3 || XPG4] (pthread_atfork): Likewise.
14792 [XPG3 || XPG4] (pwrite): Likewise.
14793
ee663277
JM
14794 [BZ #14835]
14795 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14796 <bits/siginfo.h>.
14797
942caa16
PT
147982012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14799
e19af380
PT
14800 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14801 finalizing MALLSTREAM.
14802
942caa16
PT
14803 * sysdeps/mach/hurd/syncfs.c: New file.
14804
cfde9b46
SP
148052012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14806
14807 [BZ #14719]
14808 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14809 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14810 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14811 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14812 (_nss_dns_gethostbyname4_r): Likewise.
14813 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14814 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14815
f6da27e5
PH
148162012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14817
14818 [BZ #13763]
14819 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14820
6665d4a2
SM
148212012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14822
1f51ee92
SM
14823 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14824 * elf/cache.c (print_entry): Print ",AArch64" for
14825 FLAG_AARCH64_LIB64
14826
6665d4a2
SM
14827 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14828 * elf/cache.c (print_entry): Print ",hard-float" for
14829 FLAG_ARM_LIBHF.
14830
05b227bd
DM
148312012-11-18 David S. Miller <davem@davemloft.net>
14832
14833 With help from Joseph Myers.
14834 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14835 cutoff to 2**-13.
14836 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14837 cutoff to 2**-25.
14838 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14839 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14840 small.
14841 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14842 * math/libm-test.inc (y0_test): New tests.
14843 (y1_test): New tests.
14844 * sysdeps/i386/fpu/libm-test-ulps: Update.
14845 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14847
786b0b67
AS
148482012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14849
14850 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14851 64-bit targets.
14852 * configure: Regenerated.
14853
8e18b86d
DM
148542012-11-17 David S. Miller <davem@davemloft.net>
14855
14856 [BZ #14811]
14857 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14858 nonzero exponents with absolute value below 0x1p-128 to +/-
14859 0x1p-128.
14860
531f1ae0
JM
148612012-11-17 Joseph Myers <joseph@codesourcery.com>
14862
12df29e2
JM
14863 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14864
150dc1a0
JM
14865 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14866
531f1ae0
JM
14867 * posix/getconf-speclist.c: New file.
14868 * posix/posix-envs.def: Likewise.
14869 * posix/confstr.c (START_ENV_GROUP): New macro.
14870 (END_ENV_GROUP): Likewise.
14871 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14872 (KNOWN_PRESENT_ENV_STRING): Likewise.
14873 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14874 (UNKNOWN_ENVIRONMENT): Likewise.
14875 (confstr): Include posix-envs.def instead of handling
14876 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14877 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14878 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14879 (END_ENV_GROUP): Likewise.
14880 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14881 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14882 (UNKNOWN_ENVIRONMENT): Likewise.
14883 (__sysconf): Include posix-envs.def instead of handling associated
14884 cases directly here.
14885 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14886 preprocessing getconf-speclist.c rather than running getconf or
14887 generating empty file.
14888
a93f9cbc
PT
148892012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14890
14891 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14892
d64d9f87
AL
148932012-11-16 Andrej Lajovic <natrij@gmail.com>
14894
14895 [BZ #14672]
14896 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14897
447885eb
DM
148982012-11-16 David S. Miller <davem@davemloft.net>
14899
14900 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14901 smaller than LDBL_EPSILON/2.0L, just return xm1.
14902
bcbf9830
L
149032012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14904
14905 * elf/tst-array1.c (init): Set constructor priority to 1000.
14906 (fini): Set destructor priority to 1000.
14907 * elf/tst-array2dep.c: Likewise.
14908
2b766585
SP
149092012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14910
14911 [BZ #11741]
14912 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14913 (_IO_new_file_xsputn): Also return EOF if none of the input
14914 data was written when overflow failed.
14915 * libio/iopadn.c (_IO_padn): Likewise.
14916 * libio/iowpadn.c (_IO_wpadn): Likewise.
14917 * stdio-common/tst-put-error.c: Add copyright notice.
14918 (do_test): Add case for printing padded string.
14919 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14920 _IO_padn returned error.
14921 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14922 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14923 return EOF.
14924
b1848fde
SP
149252012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14926
14927 * libio/libioP.h: Add comment note that the references to C++
14928 bits are now obsolete.
14929
2fd89785
MS
149302012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14931
14932 * math/libm-test.inc (check_complex): Use asprintf.
14933
e3ea5409
JM
149342012-11-14 Joseph Myers <joseph@codesourcery.com>
14935
14936 * debug/pcprofiledump.c (print_version): Update copyright year.
14937 * malloc/memusagestat.c (print_version): Likewise.
14938
2e64d265
L
149392012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14940
14941 [BZ #14831]
14942 * elf/Makefile (tests): Add tst-audit8.
14943 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14944 ($(objpfx)tst-audit8.out): New target.
14945 (tst-audit8-ENV): New variable.
14946 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14947 audit if l_reloc_result is NULL.
14948 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14949 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14950 * elf/tst-audit8.c: New file.
14951
c485e4d2
MS
149522012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14953
14954 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14955 * misc/Makefile (CFLAGS-select.c): Define.
14956 * posix/Makefile (CFLAGS-pause.c): Define.
14957
3a0d900a
DM
149582012-11-13 David S. Miller <davem@davemloft.net>
14959
14960 * crypt/Makefile: Move test targets after toplevel Rules
14961 inclusion. Grab any necessary sysdep routines when linking.
14962 * crypt/md5.c (md5_process_block): Remove define, we will always
14963 name it __md5_process_block.
14964 (md5_finish_ctx): Update md5_process_block call.
14965 (md5_stream): Likewise.
14966 (md5_process_bytes): Likewise.
14967 (md5_process_block): Rename to __md5_process_block and move to ...
14968 * crypt/md5-block.c: ... here.
14969 * crypt/sha256.c (sha256_process_block): Move to ...
14970 * crypt/sha256-block.c: ... here.
14971 * crypt/sha512.c (sha512_process_block): Move to ...
14972 * crypt/sha512-block.c: ... here.
14973 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14974 path.
14975 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14976 * sysdeps/sparc/sparc64/multiarch/Makefile
14977 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14978 crypt subdir.
14979 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14980 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14981 multiarch changes.
14982 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14983 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14984 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14985 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14986 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14987 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14988 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14989 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14990 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14991 file.
14992 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14993 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14994 file.
14995 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14996
8ca89318
JM
149972012-11-13 Joseph Myers <joseph@codesourcery.com>
14998
e27d476a
JM
14999 * timezone/tzselect.ksh: Update from tzcode git revision
15000 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15001 * timezone/zdump.c: Likewise.
15002 * timezone/zic.c: Likewise.
15003 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15004 in TZVERSION setting, not $(PKGVERSION).
15005 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15006 REPORT_BUGS_TO settings.
15007
8ca89318
JM
15008 [BZ #14838]
15009 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15010 macro.
15011
47594329
MS
150122012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15013
15014 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15015 detection to immediately after _FP_ROUND().
15016 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15017 bits are 0.
15018
640ac3f1
DM
150192012-11-11 David S. Miller <davem@davemloft.net>
15020
15021 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15022 inttypes.h
15023 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15024 __close rather than their public counterparts.
15025
3d2577bb
JM
150262012-11-10 Joseph Myers <joseph@codesourcery.com>
15027
15028 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15029 file.
15030 [UNIX98] (sem_timedwait): Do not expect.
15031 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15032 [XPG4 || UNIX98] (sockatmark): Do not expect.
15033 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15034 (clock_getcpuclockid): Do not expect.
15035 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15036 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15037 Do not expect.
15038 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15039 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15040 [UNIX98] (vwscanf): Likewise.
15041 [UNIX98] (vswscanf): Likewise.
15042
fb1ae1ee
JM
150432012-11-09 Joseph Myers <joseph@codesourcery.com>
15044
9ec6f8bd
JM
15045 * timezone/version.h: Remove file.
15046 * timezone/README: Do not refer to version.h.
15047 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15048 $(objpfx)version.h.
15049 ($(objpfx)zdump.o): Likewise.
c3f81911 15050 ($(objpfx)version.h): New target.
9ec6f8bd 15051
0aa8f8a1
JM
15052 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15053 2012i.
15054 * timezone/README: Don't mention modification to tzselect.ksh.
15055 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15056 work on unmodified tzselect.ksh. Substitute version numbers in
15057 tzselect.ksh.
15058
4e87147f
JM
15059 * Makefile (format-me): Remove.
15060 (INSTALL): Adjust indentation. Use commands directly instead of
15061 using $(format-me).
15062
8b748aed
JM
15063 * aclocal.m4 (ACX_PKGVERSION): New macro.
15064 (ACX_BUGURL): Likewise.
15065 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15066 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15067 (REPORT_BUGS_TO): Likewise.
15068 * configure: Regenerated.
15069 * config.h.in (PKGVERSION): New macro.
15070 (REPORT_BUGS_TO): Likewise.
15071 * config.make.in (PKGVERSION): New variable.
15072 (PKGVERSION_TEXI): Likewise.
15073 (REPORT_BUGS_TO): Likewise.
15074 (REPORT_BUGS_TEXI): Likewise.
15075 * Makefile (format-me): Use -I$(common-objpfx)manual.
15076 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15077 ($(common-objpfx)manual/%): New target.
15078 (manual/%): Remove target.
15079 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15080 (print_version): Use PKGVERSION.
15081 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15082 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15083 and REPORT_BUGS_TO.
15084 ($(objpfx)xtrace): Likewise.
15085 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15086 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15087 (print_version): Use PKGVERSION.
15088 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15089 (do_version): Use PKGVERSION.
15090 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15091 REPORT_BUGS_TO.
15092 (common-ldd-rewrite): Likewise.
15093 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15094 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15095 (print_version): Use PKGVERSION.
15096 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15097 * elf/pldd.c (argp_program_bug_address): Remove variable.
15098 (more_help): New function.
15099 (argp): Use more_help.
15100 (print_version): Use PKGVERSION.
15101 * elf/sln.c (main): Use PKGVERSION.
15102 (usage): Use REPORT_BUGS_TO.
15103 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15104 (top level): Use PKGVERSION.
15105 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15106 (print_version): Use PKGVERSION.
15107 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15108 (print_version): Use PKGVERSION.
15109 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15110 (print_version): Use PKGVERSION.
15111 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15112 (print_version): Use PKGVERSION.
15113 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15114 (print_version): Use PKGVERSION.
15115 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15116 (print_version): Use PKGVERSION.
15117 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15118 and BUGURL.
15119 ($(objpfx)memusage): Likewise.
15120 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15121 (do_version): Use PKGVERSION.
15122 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15123 (print_version): Use PKGVERSION.
15124 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15125 ($PKGVERSION): New variable.
15126 ($REPORT_BUGS_TO): Likewise.
15127 (usage): Use $REPORT_BUGS_TO.
15128 (top level): Use $PKGVERSION.
15129 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15130 ($(objpfx)pkgvers.texi): New rule.
15131 ($(objpfx)stamp-pkgvers): Likewise.
15132 * manual/install.texi: Include pkgvers.texi.
15133 (--with-pkgversion): Document new configure option.
15134 (--with-bugurl): Likewise.
15135 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15136 than necessarily for this particular distribution. Use
15137 REPORT_BUGS_TO for where to report bugs.
15138 * INSTALL: Regenerated.
15139 * manual/libc.texinfo: Include pkgvers.texi.
15140 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15141 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15142 (print_version): Use PKGVERSION.
15143 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15144 (print_version): Use PKGVERSION.
15145 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15146 (print_version): Use PKGVERSION.
15147 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15148 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15149 macro.
15150 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15151 (print_version): Use PKGVERSION.
15152 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15153 (print_version): Use PKGVERSION.
15154 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15155 and PKGVERSION.
15156
92e4b6a9
JM
15157 * timezone/checktab.awk: Update from tzcode 2012i.
15158 * timezone/ialloc.c: Likewise.
15159 * timezone/private.h: Likewise.
15160 * timezone/scheck.c: Likewise.
15161 * timezone/tzfile.h: Likewise.
15162 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15163 (TZVERSION): Hardcode tzcode version number.
15164 * timezone/zdump.c: Update from tzcode 2012i.
15165 * timezone/zic.c: Likewise.
15166 * timezone/version.h: New file.
15167 * timezone/README: Describe version.h. Update upstream location.
15168
9bde902c
JM
15169 [BZ #14824]
15170 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15171 (mktemp): Enable declaration.
15172 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15173 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15174 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15175 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15176 Likewise.
15177 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15178 Likewise.
15179 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15180 Likewise.
15181 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15182 Likewise.
15183 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15184 Likewise.
15185 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15186 Likewise.
15187
fb1ae1ee
JM
15188 [BZ #14821]
15189 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15190 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15191 for copies of such integer values.
15192 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15193 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15194
2c1adbcb
AJ
151952012-11-09 Andreas Jaeger <aj@suse.de>
15196
15197 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15198 definitions and declarations that are provided by
15199 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15200
d0f8457e
AK
152012012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15202
3a235abb 15203 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
15204 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15205 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15206 definition.
15207
57241e26
MS
152082012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15209
15210 * elf/elf.h: Update comment before AArch64 relocations.
15211
60e8270d
DM
152122012-11-07 David S. Miller <davem@davemloft.net>
15213
15214 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15215 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15216 (__start_context): Declare.
15217 (__makecontext_ret): Delete.
15218 (__makecontext): Hook up __start_context instead of
15219 __makecontext_ret.
15220 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15221 (sysdep_routines): Add __start_context when in stdlib.
15222
0fbb0fbc
JM
152232012-11-07 Joseph Myers <joseph@codesourcery.com>
15224
15225 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15226 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15227 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15228 hardcoded "nm".
15229 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15230 (READELF): New variable. Use it instead of hardcoded "readelf".
15231
eb48db7e
L
152322012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15233
15234 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15235 * sysdeps/x86/Makefile: Here.
15236 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15237 * sysdeps/x86/tst-xmmymm.sh: This.
15238
05bcf62a
JM
152392012-11-07 Joseph Myers <joseph@codesourcery.com>
15240
c4b6cf53
JM
15241 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15242 expectations.
15243 [UNIX98] (pthread_barrier_t): Do not expect.
15244 [UNIX98] (pthread_barrierattr_t): Likewise.
15245 [UNIX98] (pthread_spinlock_t): Likewise.
15246 [UNIX98] (pthread_barrier_destroy): Likewise.
15247 [UNIX98] (pthread_barrier_init): Likewise.
15248 [UNIX98] (pthread_barrier_wait): Likewise.
15249 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15250 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15251 [UNIX98] (pthread_barrierattr_init): Likewise.
15252 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15253 [UNIX98] (pthread_getcpuclockid): Likewise.
15254 [UNIX98] (pthread_mutex_timedlock): Likewise.
15255 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15256 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15257 [UNIX98] (pthread_sigmask): Likewise.
15258 [UNIX98] (pthread_spin_destroy): Likewise.
15259 [UNIX98] (pthread_spin_init): Likewise.
15260 [UNIX98] (pthread_spin_lock): Likewise.
15261 [UNIX98] (pthread_spin_trylock): Likewise.
15262 [UNIX98] (pthread_spin_unlock): Likewise.
15263 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15264 Do not expect.
15265 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15266 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15267 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15268 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15269 [XPG3 || XPG4] (pthread_key_t): Likewise.
15270 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15271 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15272 [XPG3 || XPG4] (pthread_once_t): Likewise.
15273 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15274 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15275 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15276 [XPG3 || XPG4] (pthread_t): Likewise.
15277
cbe6e120
JM
15278 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15279 not expect.
15280 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15281
1b126443
JM
15282 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15283 Change function return type to int.
15284
b961a573
JM
15285 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15286 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15287 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15288 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15289 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15290 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15291 [!POSIX] (posix_madvise): Likewise.
15292 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15293 && !UNIX98].
15294 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15295 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15296 (mode_t): Likewise.
15297 (posix_mem_offset): Likewise.
15298 (posix_typed_mem_get_info): Likewise.
15299 (posix_typed_mem_open): Likewise.
15300
9e188909
JM
15301 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15302 Change condition to [XOPEN2K8].
15303
05bcf62a
JM
15304 * conform/conformtest.pl: Preprocess allow-header data with -x c
15305 instead of from stdin.
15306 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15307 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15308 [C99-based standards] (cerfc): Likewise.
15309 [C99-based standards] (cexp2): Likewise.
15310 [C99-based standards] (cexpm1): Likewise.
15311 [C99-based standards] (clog10): Likewise.
15312 [C99-based standards] (clog1p): Likewise.
15313 [C99-based standards] (clog2): Likewise.
15314 [C99-based standards] (clgamma): Likewise.
15315 [C99-based standards] (ctgamma): Likewise.
15316 [C99-based standards] (cerff): Likewise.
15317 [C99-based standards] (cerfcf): Likewise.
15318 [C99-based standards] (cexp2f): Likewise.
15319 [C99-based standards] (cexpm1f): Likewise.
15320 [C99-based standards] (clog10f): Likewise.
15321 [C99-based standards] (clog1pf): Likewise.
15322 [C99-based standards] (clog2f): Likewise.
15323 [C99-based standards] (clgammaf): Likewise.
15324 [C99-based standards] (ctgammaf): Likewise.
15325 [C99-based standards] (cerfl): Likewise.
15326 [C99-based standards] (cerfcl): Likewise.
15327 [C99-based standards] (cexp2l): Likewise.
15328 [C99-based standards] (cexpm1l): Likewise.
15329 [C99-based standards] (clog10l): Likewise.
15330 [C99-based standards] (clog1pl): Likewise.
15331 [C99-based standards] (clog2l): Likewise.
15332 [C99-based standards] (clgammal): Likewise.
15333 [C99-based standards] (ctgammal): Likewise.
15334 * conform/data/inttypes.h-data [C99-based standards]: Include
15335 stdint.h-data. Remove all expectations for stdint.h contents.
15336 [C99-based standards] (PRI*): Do not allow.
15337 [C99-based standards] (SCN*): Likewise.
15338 [C99-based standards] (*_t): Likewise.
15339 [C99-based-standards] (PRId8): Expect macro.
15340 [C99-based-standards] (PRIi8): Likewise.
15341 [C99-based-standards] (PRIo8): Likewise.
15342 [C99-based-standards] (PRIu8): Likewise.
15343 [C99-based-standards] (PRIx8): Likewise.
15344 [C99-based-standards] (PRIX8): Likewise.
15345 [C99-based-standards] (SCNd8): Likewise.
15346 [C99-based-standards] (SCNi8): Likewise.
15347 [C99-based-standards] (SCNo8): Likewise.
15348 [C99-based-standards] (SCNu8): Likewise.
15349 [C99-based-standards] (SCNx8): Likewise.
15350 [C99-based-standards] (PRIdLEAST8): Likewise.
15351 [C99-based-standards] (PRIiLEAST8): Likewise.
15352 [C99-based-standards] (PRIoLEAST8): Likewise.
15353 [C99-based-standards] (PRIuLEAST8): Likewise.
15354 [C99-based-standards] (PRIxLEAST8): Likewise.
15355 [C99-based-standards] (PRIXLEAST8): Likewise.
15356 [C99-based-standards] (SCNdLEAST8): Likewise.
15357 [C99-based-standards] (SCNiLEAST8): Likewise.
15358 [C99-based-standards] (SCNoLEAST8): Likewise.
15359 [C99-based-standards] (SCNuLEAST8): Likewise.
15360 [C99-based-standards] (SCNxLEAST8): Likewise.
15361 [C99-based-standards] (PRIdFAST8): Likewise.
15362 [C99-based-standards] (PRIiFAST8): Likewise.
15363 [C99-based-standards] (PRIoFAST8): Likewise.
15364 [C99-based-standards] (PRIuFAST8): Likewise.
15365 [C99-based-standards] (PRIxFAST8): Likewise.
15366 [C99-based-standards] (PRIXFAST8): Likewise.
15367 [C99-based-standards] (SCNdFAST8): Likewise.
15368 [C99-based-standards] (SCNiFAST8): Likewise.
15369 [C99-based-standards] (SCNoFAST8): Likewise.
15370 [C99-based-standards] (SCNuFAST8): Likewise.
15371 [C99-based-standards] (SCNxFAST8): Likewise.
15372 [C99-based-standards] (PRId16): Likewise.
15373 [C99-based-standards] (PRIi16): Likewise.
15374 [C99-based-standards] (PRIo16): Likewise.
15375 [C99-based-standards] (PRIu16): Likewise.
15376 [C99-based-standards] (PRIx16): Likewise.
15377 [C99-based-standards] (PRIX16): Likewise.
15378 [C99-based-standards] (SCNd16): Likewise.
15379 [C99-based-standards] (SCNi16): Likewise.
15380 [C99-based-standards] (SCNo16): Likewise.
15381 [C99-based-standards] (SCNu16): Likewise.
15382 [C99-based-standards] (SCNx16): Likewise.
15383 [C99-based-standards] (PRIdLEAST16): Likewise.
15384 [C99-based-standards] (PRIiLEAST16): Likewise.
15385 [C99-based-standards] (PRIoLEAST16): Likewise.
15386 [C99-based-standards] (PRIuLEAST16): Likewise.
15387 [C99-based-standards] (PRIxLEAST16): Likewise.
15388 [C99-based-standards] (PRIXLEAST16): Likewise.
15389 [C99-based-standards] (SCNdLEAST16): Likewise.
15390 [C99-based-standards] (SCNiLEAST16): Likewise.
15391 [C99-based-standards] (SCNoLEAST16): Likewise.
15392 [C99-based-standards] (SCNuLEAST16): Likewise.
15393 [C99-based-standards] (SCNxLEAST16): Likewise.
15394 [C99-based-standards] (PRIdFAST16): Likewise.
15395 [C99-based-standards] (PRIiFAST16): Likewise.
15396 [C99-based-standards] (PRIoFAST16): Likewise.
15397 [C99-based-standards] (PRIuFAST16): Likewise.
15398 [C99-based-standards] (PRIxFAST16): Likewise.
15399 [C99-based-standards] (PRIXFAST16): Likewise.
15400 [C99-based-standards] (SCNdFAST16): Likewise.
15401 [C99-based-standards] (SCNiFAST16): Likewise.
15402 [C99-based-standards] (SCNoFAST16): Likewise.
15403 [C99-based-standards] (SCNuFAST16): Likewise.
15404 [C99-based-standards] (SCNxFAST16): Likewise.
15405 [C99-based-standards] (PRId32): Likewise.
15406 [C99-based-standards] (PRIi32): Likewise.
15407 [C99-based-standards] (PRIo32): Likewise.
15408 [C99-based-standards] (PRIu32): Likewise.
15409 [C99-based-standards] (PRIx32): Likewise.
15410 [C99-based-standards] (PRIX32): Likewise.
15411 [C99-based-standards] (SCNd32): Likewise.
15412 [C99-based-standards] (SCNi32): Likewise.
15413 [C99-based-standards] (SCNo32): Likewise.
15414 [C99-based-standards] (SCNu32): Likewise.
15415 [C99-based-standards] (SCNx32): Likewise.
15416 [C99-based-standards] (PRIdLEAST32): Likewise.
15417 [C99-based-standards] (PRIiLEAST32): Likewise.
15418 [C99-based-standards] (PRIoLEAST32): Likewise.
15419 [C99-based-standards] (PRIuLEAST32): Likewise.
15420 [C99-based-standards] (PRIxLEAST32): Likewise.
15421 [C99-based-standards] (PRIXLEAST32): Likewise.
15422 [C99-based-standards] (SCNdLEAST32): Likewise.
15423 [C99-based-standards] (SCNiLEAST32): Likewise.
15424 [C99-based-standards] (SCNoLEAST32): Likewise.
15425 [C99-based-standards] (SCNuLEAST32): Likewise.
15426 [C99-based-standards] (SCNxLEAST32): Likewise.
15427 [C99-based-standards] (PRIdFAST32): Likewise.
15428 [C99-based-standards] (PRIiFAST32): Likewise.
15429 [C99-based-standards] (PRIoFAST32): Likewise.
15430 [C99-based-standards] (PRIuFAST32): Likewise.
15431 [C99-based-standards] (PRIxFAST32): Likewise.
15432 [C99-based-standards] (PRIXFAST32): Likewise.
15433 [C99-based-standards] (SCNdFAST32): Likewise.
15434 [C99-based-standards] (SCNiFAST32): Likewise.
15435 [C99-based-standards] (SCNoFAST32): Likewise.
15436 [C99-based-standards] (SCNuFAST32): Likewise.
15437 [C99-based-standards] (SCNxFAST32): Likewise.
15438 [C99-based-standards] (PRId64): Likewise.
15439 [C99-based-standards] (PRIi64): Likewise.
15440 [C99-based-standards] (PRIo64): Likewise.
15441 [C99-based-standards] (PRIu64): Likewise.
15442 [C99-based-standards] (PRIx64): Likewise.
15443 [C99-based-standards] (PRIX64): Likewise.
15444 [C99-based-standards] (SCNd64): Likewise.
15445 [C99-based-standards] (SCNi64): Likewise.
15446 [C99-based-standards] (SCNo64): Likewise.
15447 [C99-based-standards] (SCNu64): Likewise.
15448 [C99-based-standards] (SCNx64): Likewise.
15449 [C99-based-standards] (PRIdLEAST64): Likewise.
15450 [C99-based-standards] (PRIiLEAST64): Likewise.
15451 [C99-based-standards] (PRIoLEAST64): Likewise.
15452 [C99-based-standards] (PRIuLEAST64): Likewise.
15453 [C99-based-standards] (PRIxLEAST64): Likewise.
15454 [C99-based-standards] (PRIXLEAST64): Likewise.
15455 [C99-based-standards] (SCNdLEAST64): Likewise.
15456 [C99-based-standards] (SCNiLEAST64): Likewise.
15457 [C99-based-standards] (SCNoLEAST64): Likewise.
15458 [C99-based-standards] (SCNuLEAST64): Likewise.
15459 [C99-based-standards] (SCNxLEAST64): Likewise.
15460 [C99-based-standards] (PRIdFAST64): Likewise.
15461 [C99-based-standards] (PRIiFAST64): Likewise.
15462 [C99-based-standards] (PRIoFAST64): Likewise.
15463 [C99-based-standards] (PRIuFAST64): Likewise.
15464 [C99-based-standards] (PRIxFAST64): Likewise.
15465 [C99-based-standards] (PRIXFAST64): Likewise.
15466 [C99-based-standards] (SCNdFAST64): Likewise.
15467 [C99-based-standards] (SCNiFAST64): Likewise.
15468 [C99-based-standards] (SCNoFAST64): Likewise.
15469 [C99-based-standards] (SCNuFAST64): Likewise.
15470 [C99-based-standards] (SCNxFAST64): Likewise.
15471 [C99-based-standards] (PRIdMAX): Likewise.
15472 [C99-based-standards] (PRIiMAX): Likewise.
15473 [C99-based-standards] (PRIoMAX): Likewise.
15474 [C99-based-standards] (PRIuMAX): Likewise.
15475 [C99-based-standards] (PRIxMAX): Likewise.
15476 [C99-based-standards] (PRIXMAX): Likewise.
15477 [C99-based-standards] (SCNdMAX): Likewise.
15478 [C99-based-standards] (SCNiMAX): Likewise.
15479 [C99-based-standards] (SCNoMAX): Likewise.
15480 [C99-based-standards] (SCNuMAX): Likewise.
15481 [C99-based-standards] (SCNxMAX): Likewise.
15482 [C99-based-standards] (PRIdPTR): Likewise.
15483 [C99-based-standards] (PRIiPTR): Likewise.
15484 [C99-based-standards] (PRIoPTR): Likewise.
15485 [C99-based-standards] (PRIuPTR): Likewise.
15486 [C99-based-standards] (PRIxPTR): Likewise.
15487 [C99-based-standards] (PRIXPTR): Likewise.
15488 [C99-based-standards] (SCNdPTR): Likewise.
15489 [C99-based-standards] (SCNiPTR): Likewise.
15490 [C99-based-standards] (SCNoPTR): Likewise.
15491 [C99-based-standards] (SCNuPTR): Likewise.
15492 [C99-based-standards] (SCNxPTR): Likewise.
15493 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15494 allow.
15495 * conform/data/stdint.h-data: Update comments to clarify
15496 requirements.
15497 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15498 type.
15499 [C99-based standards] (INT8_MAX): Likewise.
15500 [C99-based standards] (INT16_MIN): Likewise.
15501 [C99-based standards] (INT16_MAX): Likewise.
15502 [C99-based standards] (INT32_MIN): Likewise.
15503 [C99-based standards] (INT32_MAX): Likewise.
15504 [C99-based standards] (INT64_MIN): Likewise.
15505 [C99-based standards] (INT64_MAX): Likewise.
15506 [C99-based standards] (UINT8_MAX): Likewise.
15507 [C99-based standards] (UINT16_MAX): Likewise.
15508 [C99-based standards] (UINT32_MAX): Likewise.
15509 [C99-based standards] (UINT64_MAX): Likewise.
15510 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15511 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15512 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15513 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15514 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15515 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15516 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15517 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15518 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15519 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15520 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15521 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15522 [C99-based standards] (INT_FAST8_MIN): Likewise.
15523 [C99-based standards] (INT_FAST8_MAX): Likewise.
15524 [C99-based standards] (INT_FAST16_MIN): Likewise.
15525 [C99-based standards] (INT_FAST16_MAX): Likewise.
15526 [C99-based standards] (INT_FAST32_MIN): Likewise.
15527 [C99-based standards] (INT_FAST32_MAX): Likewise.
15528 [C99-based standards] (INT_FAST64_MIN): Likewise.
15529 [C99-based standards] (INT_FAST64_MAX): Likewise.
15530 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15531 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15532 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15533 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15534 [C99-based standards] (INTPTR_MIN): Likewise.
15535 [C99-based standards] (INTPTR_MAX): Likewise.
15536 [C99-based standards] (UINTPTR_MAX): Likewise.
15537 [C99-based standards] (INTMAX_MIN): Likewise.
15538 [C99-based standards] (INTMAX_MAX): Likewise.
15539 [C99-based standards] (UINTMAX_MAX): Likewise.
15540 [C99-based standards] (PTRDIFF_MIN): Likewise.
15541 [C99-based standards] (PTRDIFF_MAX): Likewise.
15542 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15543 [C99-based standards] (SIZE_MAX): Likewise.
15544 [C99-based standards] (WCHAR_MAX): Likewise.
15545 [C99-based standards] (WINT_MAX): Likewise.
15546 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15547 constraint on value.
15548 [C99-based standards] (WCHAR_MIN): Likewise.
15549 [C99-based standards] (WINT_MIN): Likewise.
15550 [C99-based standards] (*_t): Allow.
15551 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15552 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15553 Include math.h-data and complex.h-data. Remove all expectations
15554 of math.h and complex.h contents.
15555 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15556 at end of line.
15557 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15558 (struct tm): Expect tag.
15559 [C99-based-standards] (wcstof): Expect function.
15560 [C99-based-standards] (wcstold): Likewise.
15561 [C99-based-standards] (wcstoll): Likewise.
15562 [C99-based-standards] (wcstoull): Likewise.
15563 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15564 macro-int-constant. Specify type.
15565 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15566 constraint on value.
15567 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15568 Specify type.
15569 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15570 Specify value.
15571 [ISO C standards]: Do not allow headers.
15572 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15573 wcs[abcdefghijklmnopqrstuvwxyz]*.
15574 [ISO C standards] (*_t): Do not allow.
15575 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15576 Expect function.
15577 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15578 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15579 Specify type.
15580 [ISO C standards]: Do not allow headers.
15581 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15582 is[abcdefghijklmnopqrstuvwxyz]*.
15583 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15584 to[abcdefghijklmnopqrstuvwxyz]*.
15585 [ISO C standards] (*_t): Do not allow.
15586 * conform/data/stdalign.h-data: New file.
15587 * conform/data/stdbool.h-data: Likewise.
15588 * conform/data/stdnoreturn.h-data: Likewise.
15589
7514feb8
RM
155902012-11-07 Roland McGrath <roland@hack.frob.com>
15591
15592 [BZ #14815]
15593 * manual/filesys.texi (Directory Entries): Typo fix.
15594 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15595
19b2ecfc
MS
155962012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15597
15598 * elf/elf.h (EM_AARCH64): New macro.
15599 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15600 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15601 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15602 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15603 (R_AARCH64_TLSDESC): Likewise.
15604 (NT_ARM_TLS): Likewise.
15605 (NT_ARM_HW_BREAK): Likewise.
15606 (NT_ARM_HW_WATCH): Likewise.
15607
60e235ee
JM
156082012-11-07 Joseph Myers <joseph@codesourcery.com>
15609
15610 [BZ #14811]
15611 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15612 (__ieee754_powl): Saturate nonzero exponents with absolute value
15613 below 0x1p-79 to +/- 0x1p-79.
15614 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15615 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15616 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15617 nonzero exponents with absolute value below 0x1p-32 to +/-
15618 0x1p-32.
15619 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15620 (__ieee754_powl): Saturate nonzero exponents with absolute value
15621 below 0x1p-79 to +/- 0x1p-79.
15622 * math/libm-test.inc (pow_test): Add more tests.
15623
0ab234b7
AK
156242012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15625
15626 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15627 _dl_s390_cap_flags with kernel. Increase string length.
15628 (_dl_s390_platforms): Add z196 and zEC12.
15629
45832f74
JM
156302012-11-07 Joseph Myers <joseph@codesourcery.com>
15631
15632 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15633 Change XOPEN21K to XOPEN2K.
15634
19218757
MK
156352012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15636
15637 * string/memmove.c: Use memcpy when possible.
15638
c5f45721
AJ
156392012-11-06 Andreas Jaeger <aj@suse.de>
15640
15641 * po/eo.po: Update from translation team.
15642
82477c28
JM
156432012-11-06 Joseph Myers <joseph@codesourcery.com>
15644
15645 [BZ #14793]
15646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15647 exponent and small x and y exponents, scale x or y up. Increase
15648 by 2 the exponent used in scaling up.
15649 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15650 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15651 * math/libm-test.inc (fma_test): Add more tests.
15652 (fma_test_towardzero): Likewise.
15653 (fma_test_downward): Likewise.
15654 (fma_test_upward): Likewise.
15655
99252c8c
JM
156562012-11-05 Joseph Myers <joseph@codesourcery.com>
15657
acfa885f
JM
15658 [BZ #14805]
15659 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15660 fenv_t *.
15661
99252c8c
JM
15662 [BZ #14801]
15663 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15664 namespace for names of struct fields.
15665 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15666 fenv_t fields.
15667 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15668 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15669
d6d98dea
ST
156702012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15671
15672 [BZ #3665]
15673 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15674
e10bb107
TS
156752012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15676
15677 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15678 PTR_DEMANGLE.
15679
15680 [BZ #5246]
15681 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15682 PTR_DEMANGLE.
15683
a0c2940d
JM
156842012-11-04 Joseph Myers <joseph@codesourcery.com>
15685
15686 [BZ #14797]
15687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15688 definitely overflow as x * y not x * y + z.
15689 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15690 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15691 * math/libm-test.inc (fma_test): Add more tests.
15692 (fma_test_towardzero): Likewise.
15693 (fma_test_downward): Likewise.
15694 (fma_test_upward): Likewise.
15695
b830319d
TS
156962012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15697
15698 [BZ #157]
15699
15700 * include/stub-tag.h: Remove file.
15701 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15702 '#include' of it.
15703 * manual/maint.texi (Porting): Don't reference it.
15704 * Makerules ($(objpfx)stubs): Likewise.
15705 * dirent/closedir.c: Don't include <stub-tag.h>.
15706 * dirent/dirfd.c: Likewise.
15707 * dirent/fdopendir.c: Likewise.
15708 * dirent/getdents.c: Likewise.
15709 * dirent/getdents64.c: Likewise.
15710 * dirent/opendir.c: Likewise.
15711 * dirent/readdir.c: Likewise.
15712 * dirent/readdir64.c: Likewise.
15713 * dirent/readdir64_r.c: Likewise.
15714 * dirent/readdir_r.c: Likewise.
15715 * dirent/rewinddir.c: Likewise.
15716 * dirent/seekdir.c: Likewise.
15717 * dirent/telldir.c: Likewise.
15718 * gmon/profil.c: Likewise.
15719 * grp/setgroups.c: Likewise.
15720 * inet/if_index.c: Likewise.
15721 * io/access.c: Likewise.
15722 * io/chdir.c: Likewise.
15723 * io/chmod.c: Likewise.
15724 * io/chown.c: Likewise.
15725 * io/close.c: Likewise.
15726 * io/dup.c: Likewise.
15727 * io/dup2.c: Likewise.
15728 * io/dup3.c: Likewise.
15729 * io/euidaccess.c: Likewise.
15730 * io/faccessat.c: Likewise.
15731 * io/fchdir.c: Likewise.
15732 * io/fchmod.c: Likewise.
15733 * io/fchmodat.c: Likewise.
15734 * io/fchown.c: Likewise.
15735 * io/fchownat.c: Likewise.
15736 * io/fcntl.c: Likewise.
15737 * io/flock.c: Likewise.
15738 * io/fstatfs.c: Likewise.
15739 * io/fstatfs64.c: Likewise.
15740 * io/fstatvfs.c: Likewise.
15741 * io/fstatvfs64.c: Likewise.
15742 * io/futimens.c: Likewise.
15743 * io/fxstat.c: Likewise.
15744 * io/fxstat64.c: Likewise.
15745 * io/fxstatat.c: Likewise.
15746 * io/fxstatat64.c: Likewise.
15747 * io/getcwd.c: Likewise.
15748 * io/isatty.c: Likewise.
15749 * io/lchmod.c: Likewise.
15750 * io/lchown.c: Likewise.
15751 * io/link.c: Likewise.
15752 * io/linkat.c: Likewise.
15753 * io/lseek.c: Likewise.
15754 * io/lseek64.c: Likewise.
15755 * io/lxstat64.c: Likewise.
15756 * io/mkdir.c: Likewise.
15757 * io/mkdirat.c: Likewise.
15758 * io/mkfifo.c: Likewise.
15759 * io/mkfifoat.c: Likewise.
15760 * io/open.c: Likewise.
15761 * io/open64.c: Likewise.
15762 * io/openat.c: Likewise.
15763 * io/openat64.c: Likewise.
15764 * io/pipe.c: Likewise.
15765 * io/pipe2.c: Likewise.
15766 * io/poll.c: Likewise.
15767 * io/posix_fadvise.c: Likewise.
15768 * io/posix_fadvise64.c: Likewise.
15769 * io/posix_fallocate.c: Likewise.
15770 * io/posix_fallocate64.c: Likewise.
15771 * io/read.c: Likewise.
15772 * io/readlink.c: Likewise.
15773 * io/readlinkat.c: Likewise.
15774 * io/rmdir.c: Likewise.
15775 * io/sendfile.c: Likewise.
15776 * io/sendfile64.c: Likewise.
15777 * io/statfs.c: Likewise.
15778 * io/statfs64.c: Likewise.
15779 * io/statvfs.c: Likewise.
15780 * io/statvfs64.c: Likewise.
15781 * io/symlink.c: Likewise.
15782 * io/symlinkat.c: Likewise.
15783 * io/ttyname.c: Likewise.
15784 * io/ttyname_r.c: Likewise.
15785 * io/umask.c: Likewise.
15786 * io/unlink.c: Likewise.
15787 * io/unlinkat.c: Likewise.
15788 * io/utime.c: Likewise.
15789 * io/utimensat.c: Likewise.
15790 * io/write.c: Likewise.
15791 * io/xmknod.c: Likewise.
15792 * io/xmknodat.c: Likewise.
15793 * io/xstat.c: Likewise.
15794 * io/xstat64.c: Likewise.
15795 * login/getpt.c: Likewise.
15796 * login/grantpt.c: Likewise.
15797 * login/unlockpt.c: Likewise.
15798 * math/e_acoshl.c: Likewise.
15799 * math/e_acosl.c: Likewise.
15800 * math/e_asinl.c: Likewise.
15801 * math/e_atan2l.c: Likewise.
15802 * math/e_atanhl.c: Likewise.
15803 * math/e_coshl.c: Likewise.
15804 * math/e_expl.c: Likewise.
15805 * math/e_fmodl.c: Likewise.
15806 * math/e_gammal_r.c: Likewise.
15807 * math/e_hypotl.c: Likewise.
15808 * math/e_j0l.c: Likewise.
15809 * math/e_j1l.c: Likewise.
15810 * math/e_jnl.c: Likewise.
15811 * math/e_lgammal_r.c: Likewise.
15812 * math/e_log10l.c: Likewise.
15813 * math/e_log2l.c: Likewise.
15814 * math/e_logl.c: Likewise.
15815 * math/e_powl.c: Likewise.
15816 * math/e_rem_pio2l.c: Likewise.
15817 * math/e_sinhl.c: Likewise.
15818 * math/e_sqrtl.c: Likewise.
15819 * math/fclrexcpt.c: Likewise.
15820 * math/fedisblxcpt.c: Likewise.
15821 * math/feenablxcpt.c: Likewise.
15822 * math/fegetenv.c: Likewise.
15823 * math/fegetexcept.c: Likewise.
15824 * math/fegetround.c: Likewise.
15825 * math/feholdexcpt.c: Likewise.
15826 * math/fesetenv.c: Likewise.
15827 * math/fesetround.c: Likewise.
15828 * math/feupdateenv.c: Likewise.
15829 * math/fgetexcptflg.c: Likewise.
15830 * math/fraiseexcpt.c: Likewise.
15831 * math/fsetexcptflg.c: Likewise.
15832 * math/ftestexcept.c: Likewise.
15833 * math/k_cosl.c: Likewise.
15834 * math/k_rem_pio2l.c: Likewise.
15835 * math/k_sinl.c: Likewise.
15836 * math/k_tanl.c: Likewise.
15837 * math/s_asinhl.c: Likewise.
15838 * math/s_atanl.c: Likewise.
15839 * math/s_cbrtl.c: Likewise.
15840 * math/s_erfl.c: Likewise.
15841 * math/s_expm1l.c: Likewise.
15842 * math/s_log1pl.c: Likewise.
15843 * math/s_tanhl.c: Likewise.
15844 * misc/acct.c: Likewise.
15845 * misc/brk.c: Likewise.
15846 * misc/chflags.c: Likewise.
15847 * misc/chroot.c: Likewise.
15848 * misc/fchflags.c: Likewise.
15849 * misc/fgetxattr.c: Likewise.
15850 * misc/flistxattr.c: Likewise.
15851 * misc/fremovexattr.c: Likewise.
15852 * misc/fsetxattr.c: Likewise.
15853 * misc/fsync.c: Likewise.
15854 * misc/ftruncate.c: Likewise.
15855 * misc/futimes.c: Likewise.
15856 * misc/futimesat.c: Likewise.
15857 * misc/getdomain.c: Likewise.
15858 * misc/getdtsz.c: Likewise.
15859 * misc/gethostid.c: Likewise.
15860 * misc/gethostname.c: Likewise.
15861 * misc/getloadavg.c: Likewise.
15862 * misc/getpagesize.c: Likewise.
15863 * misc/getsysstats.c: Likewise.
15864 * misc/getxattr.c: Likewise.
15865 * misc/gtty.c: Likewise.
15866 * misc/ioctl.c: Likewise.
15867 * misc/lgetxattr.c: Likewise.
15868 * misc/listxattr.c: Likewise.
15869 * misc/llistxattr.c: Likewise.
15870 * misc/lremovexattr.c: Likewise.
15871 * misc/lsetxattr.c: Likewise.
15872 * misc/lutimes.c: Likewise.
15873 * misc/madvise.c: Likewise.
15874 * misc/mincore.c: Likewise.
15875 * misc/mlock.c: Likewise.
15876 * misc/mlockall.c: Likewise.
15877 * misc/mmap.c: Likewise.
15878 * misc/mprotect.c: Likewise.
15879 * misc/msync.c: Likewise.
15880 * misc/munlock.c: Likewise.
15881 * misc/munlockall.c: Likewise.
15882 * misc/munmap.c: Likewise.
15883 * misc/preadv.c: Likewise.
15884 * misc/preadv64.c: Likewise.
15885 * misc/ptrace.c: Likewise.
15886 * misc/pwritev.c: Likewise.
15887 * misc/pwritev64.c: Likewise.
15888 * misc/readv.c: Likewise.
15889 * misc/reboot.c: Likewise.
15890 * misc/remap_file_pages.c: Likewise.
15891 * misc/removexattr.c: Likewise.
15892 * misc/revoke.c: Likewise.
15893 * misc/select.c: Likewise.
15894 * misc/setdomain.c: Likewise.
15895 * misc/setegid.c: Likewise.
15896 * misc/seteuid.c: Likewise.
15897 * misc/sethostid.c: Likewise.
15898 * misc/sethostname.c: Likewise.
15899 * misc/setregid.c: Likewise.
15900 * misc/setreuid.c: Likewise.
15901 * misc/setxattr.c: Likewise.
15902 * misc/sstk.c: Likewise.
15903 * misc/stty.c: Likewise.
15904 * misc/swapoff.c: Likewise.
15905 * misc/swapon.c: Likewise.
15906 * misc/sync.c: Likewise.
15907 * misc/syncfs.c: Likewise.
15908 * misc/syscall.c: Likewise.
15909 * misc/truncate.c: Likewise.
15910 * misc/ualarm.c: Likewise.
15911 * misc/usleep.c: Likewise.
15912 * misc/ustat.c: Likewise.
15913 * misc/utimes.c: Likewise.
15914 * misc/vhangup.c: Likewise.
15915 * misc/writev.c: Likewise.
15916 * posix/_exit.c: Likewise.
15917 * posix/alarm.c: Likewise.
15918 * posix/execve.c: Likewise.
15919 * posix/fexecve.c: Likewise.
15920 * posix/fork.c: Likewise.
15921 * posix/fpathconf.c: Likewise.
15922 * posix/getaddrinfo.c: Likewise.
15923 * posix/getegid.c: Likewise.
15924 * posix/geteuid.c: Likewise.
15925 * posix/getgid.c: Likewise.
15926 * posix/getgroups.c: Likewise.
15927 * posix/getlogin.c: Likewise.
15928 * posix/getlogin_r.c: Likewise.
15929 * posix/getpgid.c: Likewise.
15930 * posix/getpid.c: Likewise.
15931 * posix/getppid.c: Likewise.
15932 * posix/getresgid.c: Likewise.
15933 * posix/getresuid.c: Likewise.
15934 * posix/getsid.c: Likewise.
15935 * posix/getuid.c: Likewise.
15936 * posix/glob64.c: Likewise.
15937 * posix/nanosleep.c: Likewise.
15938 * posix/pathconf.c: Likewise.
15939 * posix/pause.c: Likewise.
15940 * posix/posix_madvise.c: Likewise.
15941 * posix/pread.c: Likewise.
15942 * posix/pread64.c: Likewise.
15943 * posix/pwrite.c: Likewise.
15944 * posix/pwrite64.c: Likewise.
15945 * posix/sched_getaffinity.c: Likewise.
15946 * posix/sched_getp.c: Likewise.
15947 * posix/sched_gets.c: Likewise.
15948 * posix/sched_primax.c: Likewise.
15949 * posix/sched_primin.c: Likewise.
15950 * posix/sched_rr_gi.c: Likewise.
15951 * posix/sched_setaffinity.c: Likewise.
15952 * posix/sched_setp.c: Likewise.
15953 * posix/sched_sets.c: Likewise.
15954 * posix/sched_yield.c: Likewise.
15955 * posix/setgid.c: Likewise.
15956 * posix/setlogin.c: Likewise.
15957 * posix/setpgid.c: Likewise.
15958 * posix/setresgid.c: Likewise.
15959 * posix/setresuid.c: Likewise.
15960 * posix/setsid.c: Likewise.
15961 * posix/setuid.c: Likewise.
15962 * posix/sleep.c: Likewise.
15963 * posix/spawni.c: Likewise.
15964 * posix/sysconf.c: Likewise.
15965 * posix/times.c: Likewise.
15966 * posix/wait.c: Likewise.
15967 * posix/wait3.c: Likewise.
15968 * posix/wait4.c: Likewise.
15969 * posix/waitpid.c: Likewise.
15970 * resolv/gai_sigqueue.c: Likewise.
15971 * resource/getpriority.c: Likewise.
15972 * resource/getrlimit.c: Likewise.
15973 * resource/getrusage.c: Likewise.
15974 * resource/nice.c: Likewise.
15975 * resource/setpriority.c: Likewise.
15976 * resource/setrlimit.c: Likewise.
15977 * resource/ulimit.c: Likewise.
15978 * rt/aio_cancel.c: Likewise.
15979 * rt/aio_fsync.c: Likewise.
15980 * rt/aio_read.c: Likewise.
15981 * rt/aio_sigqueue.c: Likewise.
15982 * rt/aio_suspend.c: Likewise.
15983 * rt/aio_write.c: Likewise.
15984 * rt/clock_getres.c: Likewise.
15985 * rt/clock_gettime.c: Likewise.
15986 * rt/clock_nanosleep.c: Likewise.
15987 * rt/clock_settime.c: Likewise.
15988 * rt/lio_listio.c: Likewise.
15989 * rt/mq_close.c: Likewise.
15990 * rt/mq_getattr.c: Likewise.
15991 * rt/mq_notify.c: Likewise.
15992 * rt/mq_open.c: Likewise.
15993 * rt/mq_receive.c: Likewise.
15994 * rt/mq_send.c: Likewise.
15995 * rt/mq_setattr.c: Likewise.
15996 * rt/mq_timedreceive.c: Likewise.
15997 * rt/mq_timedsend.c: Likewise.
15998 * rt/mq_unlink.c: Likewise.
15999 * rt/shm_open.c: Likewise.
16000 * rt/shm_unlink.c: Likewise.
16001 * rt/timer_create.c: Likewise.
16002 * rt/timer_delete.c: Likewise.
16003 * rt/timer_getoverr.c: Likewise.
16004 * rt/timer_gettime.c: Likewise.
16005 * rt/timer_settime.c: Likewise.
16006 * setjmp/__longjmp.c: Likewise.
16007 * setjmp/setjmp.c: Likewise.
16008 * signal/kill.c: Likewise.
16009 * signal/killpg.c: Likewise.
16010 * signal/raise.c: Likewise.
16011 * signal/sigaction.c: Likewise.
16012 * signal/sigaltstack.c: Likewise.
16013 * signal/sigblock.c: Likewise.
16014 * signal/sigignore.c: Likewise.
16015 * signal/sigintr.c: Likewise.
16016 * signal/signal.c: Likewise.
16017 * signal/sigpause.c: Likewise.
16018 * signal/sigpending.c: Likewise.
16019 * signal/sigqueue.c: Likewise.
16020 * signal/sigreturn.c: Likewise.
16021 * signal/sigset.c: Likewise.
16022 * signal/sigsetmask.c: Likewise.
16023 * signal/sigstack.c: Likewise.
16024 * signal/sigsuspend.c: Likewise.
16025 * signal/sigtimedwait.c: Likewise.
16026 * signal/sigvec.c: Likewise.
16027 * signal/sigwait.c: Likewise.
16028 * signal/sigwaitinfo.c: Likewise.
16029 * signal/sysv_signal.c: Likewise.
16030 * socket/accept.c: Likewise.
16031 * socket/accept4.c: Likewise.
16032 * socket/bind.c: Likewise.
16033 * socket/connect.c: Likewise.
16034 * socket/getpeername.c: Likewise.
16035 * socket/getsockname.c: Likewise.
16036 * socket/getsockopt.c: Likewise.
16037 * socket/isfdtype.c: Likewise.
16038 * socket/listen.c: Likewise.
16039 * socket/recv.c: Likewise.
16040 * socket/recvfrom.c: Likewise.
16041 * socket/recvmsg.c: Likewise.
16042 * socket/send.c: Likewise.
16043 * socket/sendmsg.c: Likewise.
16044 * socket/sendto.c: Likewise.
16045 * socket/setsockopt.c: Likewise.
16046 * socket/shutdown.c: Likewise.
16047 * socket/sockatmark.c: Likewise.
16048 * socket/socket.c: Likewise.
16049 * socket/socketpair.c: Likewise.
16050 * stdio-common/ctermid.c: Likewise.
16051 * stdio-common/cuserid.c: Likewise.
16052 * stdio-common/remove.c: Likewise.
16053 * stdio-common/rename.c: Likewise.
16054 * stdio-common/renameat.c: Likewise.
16055 * stdio-common/tempname.c: Likewise.
16056 * stdlib/getcontext.c: Likewise.
16057 * stdlib/makecontext.c: Likewise.
16058 * stdlib/setcontext.c: Likewise.
16059 * stdlib/swapcontext.c: Likewise.
16060 * stdlib/system.c: Likewise.
16061 * streams/fattach.c: Likewise.
16062 * streams/fdetach.c: Likewise.
16063 * streams/getmsg.c: Likewise.
16064 * streams/getpmsg.c: Likewise.
16065 * streams/putmsg.c: Likewise.
16066 * streams/putpmsg.c: Likewise.
16067 * sysdeps/unix/bsd/getpt.c: Likewise.
16068 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16069 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16070 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16072 Likewise.
16073 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16074 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16075 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16076 * sysvipc/msgctl.c: Likewise.
16077 * sysvipc/msgget.c: Likewise.
16078 * sysvipc/msgrcv.c: Likewise.
16079 * sysvipc/msgsnd.c: Likewise.
16080 * sysvipc/semctl.c: Likewise.
16081 * sysvipc/semget.c: Likewise.
16082 * sysvipc/semop.c: Likewise.
16083 * sysvipc/semtimedop.c: Likewise.
16084 * sysvipc/shmat.c: Likewise.
16085 * sysvipc/shmctl.c: Likewise.
16086 * sysvipc/shmdt.c: Likewise.
16087 * sysvipc/shmget.c: Likewise.
16088 * termios/tcdrain.c: Likewise.
16089 * termios/tcflow.c: Likewise.
16090 * termios/tcflush.c: Likewise.
16091 * termios/tcgetattr.c: Likewise.
16092 * termios/tcgetpgrp.c: Likewise.
16093 * termios/tcsendbrk.c: Likewise.
16094 * termios/tcsetattr.c: Likewise.
16095 * termios/tcsetpgrp.c: Likewise.
16096 * time/adjtime.c: Likewise.
16097 * time/clock.c: Likewise.
16098 * time/getitimer.c: Likewise.
16099 * time/gettimeofday.c: Likewise.
16100 * time/setitimer.c: Likewise.
16101 * time/settimeofday.c: Likewise.
16102 * time/stime.c: Likewise.
16103 * time/time.c: Likewise.
16104
161052012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 16106
a20492cf
PT
16107 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16108 /usr/old/bin.
16109
72e182e3
PT
16110 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16111 instead of spaces.
16112 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16113
fbeafede
JM
161142012-11-03 Joseph Myers <joseph@codesourcery.com>
16115
5b5b04d6
JM
16116 [BZ #14796]
16117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16118 FE_TONEAREST before applying Dekker multiplication and Knuth
16119 addition. Clear inexact exceptions and check for exact zero
16120 results afterwards.
16121 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16122 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16123 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16124 * math/libm-test.inc (fma_test): Add more tests.
16125 (fma_test_towardzero): Likewise.
16126 (fma_test_downward): Likewise.
16127 (fma_test_upward): Likewise.
16128 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16129 function.
16130 (libc_fesetround): New macro.
16131 (libc_fesetroundf): Likewise.
16132 (libc_fesetroundl): Likewise.
16133 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16134 function.
16135 (libc_fesetround_387): Likewise.
16136 (libc_fesetroundf): New macro.
16137 (libc_fesetround): Likewise.
16138 (libc_fesetroundl): Likewise.
16139 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16140 function.
16141 (libc_fesetroundf): New macro.
16142 (libc_fesetround): Likewise.
16143 (libc_fesetroundl): Likewise.
16144 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16145 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16146 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16147 libm_hidden_ver.
16148 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16149 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16150 libm_hidden_def.
16151 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16152 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16153 libm_hidden_ver.
16154 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16155 libm_hidden_def.
16156
fbeafede
JM
16157 [BZ #3439]
16158 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16159 integer constant usable in #if and use that to give value to enum
16160 constant.
16161 (FE_DIVBYZERO): Likewise.
16162 (FE_UNDERFLOW): Likewise.
16163 (FE_OVERFLOW): Likewise.
16164 (FE_INVALID): Likewise.
16165 (FE_INVALID_SNAN): Likewise.
16166 (FE_INVALID_ISI): Likewise.
16167 (FE_INVALID_IDI): Likewise.
16168 (FE_INVALID_ZDZ): Likewise.
16169 (FE_INVALID_IMZ): Likewise.
16170 (FE_INVALID_COMPARE): Likewise.
16171 (FE_INVALID_SOFTWARE): Likewise.
16172 (FE_INVALID_SQRT): Likewise.
16173 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16174 (FE_TONEAREST): Likewise.
16175 (FE_TOWARDZERO): Likewise.
16176 (FE_UPWARD): Likewise.
16177 (FE_DOWNWARD): Likewise.
16178 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16179 (FE_DIVBYZERO): Likewise.
16180 (FE_OVERFLOW): Likewise.
16181 (FE_UNDERFLOW): Likewise.
16182 (FE_INEXACT): Likewise.
16183 (FE_TONEAREST): Likewise.
16184 (FE_DOWNWARD): Likewise.
16185 (FE_UPWARD): Likewise.
16186 (FE_TOWARDZERO): Likewise.
16187 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16188 (FE_UNDERFLOW): Likewise.
16189 (FE_OVERFLOW): Likewise.
16190 (FE_DIVBYZERO): Likewise.
16191 (FE_INVALID): Likewise.
16192 (FE_TONEAREST): Likewise.
16193 (FE_TOWARDZERO): Likewise.
16194 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16195 (FE_OVERFLOW): Likewise.
16196 (FE_UNDERFLOW): Likewise.
16197 (FE_DIVBYZERO): Likewise.
16198 (FE_INEXACT): Likewise.
16199 (FE_TONEAREST): Likewise.
16200 (FE_TOWARDZERO): Likewise.
16201 (FE_UPWARD): Likewise.
16202 (FE_DOWNWARD): Likewise.
16203 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16204 (FE_DIVBYZERO): Likewise.
16205 (FE_OVERFLOW): Likewise.
16206 (FE_UNDERFLOW): Likewise.
16207 (FE_INEXACT): Likewise.
16208 (FE_TONEAREST): Likewise.
16209 (FE_DOWNWARD): Likewise.
16210 (FE_UPWARD): Likewise.
16211 (FE_TOWARDZERO): Likewise.
16212
105ca950
CM
162132012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16214
16215 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16216
a542b389
AS
162172012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16218
16219 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16220 commands. Quote $PWD.
16221 (blacklist_exports): Don't use remove_newlines. Replace "declare
16222 -x" by "export".
16223 (remove_newlines): Remove.
16224
f62c8abc
L
162252012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16226
16227 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16228 * stdlib/stdlib.h (atof): Moved to ...
16229 * include/bits/stdlib-float.h: Here. New file.
16230 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16231 * stdlib/bits/stdlib-float.h: New file.
16232 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16233 -mno-sse -mno-mmx.
16234 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16235 <xmmintrin.h>.
16236
0155d5b2
JM
162372012-11-02 Joseph Myers <joseph@codesourcery.com>
16238
a68d0680
JM
16239 * conform/conformtest.pl (@headers): Add fenv.h.
16240 * conform/data/fenv.h-data: New file.
16241 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16242 include of <math/fenv.h>.
16243
caf7f573
JM
16244 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16245 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16246 && !UNIX98]. Enables tests for XOPEN2K8.
16247 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16248 POSIX2008]: Likewise.
16249
6c073ad6
JM
16250 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16251 (struct rusage): Do not expect type or its members.
16252
0155d5b2
JM
16253 [BZ #3439]
16254 * math/math.h (FP_NAN): Define macro to integer constant usable in
16255 #if and use that to give value to enum constant.
16256 (FP_INFINITE): Likewise.
16257 (FP_ZERO): Likewise.
16258 (FP_SUBNORMAL): Likewise.
16259 (FP_NORMAL): Likewise.
16260
b5dcacb4
AS
162612012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16262
16263 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16264 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16265 arguments.
16266
f7934be8
RM
162672012-11-02 Roland McGrath <roland@hack.frob.com>
16268
16269 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16270 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16271 autoconf-time if not.
16272 * configure.in: Remove AC_PREREQ.
16273
d7d08bde
TMQMF
162742012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16275
16276 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16277 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16278 of the internal implementation.
16279
dcdae19a
JM
162802012-11-02 Joseph Myers <joseph@codesourcery.com>
16281
16282 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16283 except include of <misc/sys/syslog.h>.
16284
d6cffd3e
AS
162852012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16286
16287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16288 function returns with a NULL context exit with zero.
16289
b3563932
TMQMF
162902012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16291
16292 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16293
b288a93d
L
162942012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16295
16296 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16297 (run_program_cmd): This.
16298 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16299 (tst_langinfo): New variable. Use it.
16300
a2421a68
SAS
163012012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16302
16303 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16304 floating point opcodes.
16305
6f796e1b
TS
163062012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16307
7402596b
TS
16308 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16309 variable.
16310
d0d4f868
TS
16311 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16312
6f796e1b
TS
16313 * sysdeps/mach/hurd/powerpc: Remove directory.
16314 * sysdeps/mach/powerpc: Likewise.
16315
4da224a2
AS
163162012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16317
16318 * scripts/check-local-headers.sh: Ignore c++ headers.
16319
341dd673
TS
163202012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16321
16322 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16323 __libc_cleanup_region_start argument.
16324
473611b2
JM
163252012-11-01 Joseph Myers <joseph@codesourcery.com>
16326
16327 [BZ #14784]
16328 [BZ #14785]
16329 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16330 x * y using scaling, not as x * y + z.
16331 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16332 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16333 * math/libm-test.inc (fma_test): Add more tests.
16334 (fma_test_towardzero): Likewise.
16335 (fma_test_downward): Likewise.
16336 (fma_test_upward): Likewise.
16337
4078da3d
TS
163382012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16339
16340 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16341
903252aa
JM
163422012-10-31 Joseph Myers <joseph@codesourcery.com>
16343
16344 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16345 New variable.
16346
cbc818d0
TS
163472012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16348
16349 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16350
5a03cb1e
AS
163512012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16352
16353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16354 Fix sort order.
16355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16356 Likewise.
16357
90aff2ff
TMQMF
163582012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16359
16360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16361 Fix the order of the list for glibc 2.17.
16362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16363 Likewise.
16364
1818fcb7
AS
163652012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16366
16367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16368
ef82f4da
JM
163692012-10-31 Joseph Myers <joseph@codesourcery.com>
16370
16a0e2ec
JM
16371 [BZ #14610]
16372 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16373 for low part of x being zero before using __atanl (y).
16374 * math/libm-test.inc (atan2_test): Add another test.
16375
0eb69512
JM
16376 * manual/install.texi (Configuring and compiling): Document
16377 general use of test-wrapper and test-wrapper-env.
16378 * INSTALL: Regenerated.
16379
ef82f4da
JM
16380 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16381 (__fma): Do not extract and scale down low bits on after-rounding
16382 systems when result rounded to normal precision would have normal
16383 exponent.
16384 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16385 (__fmal): Do not extract and scale down low bits on after-rounding
16386 systems when result rounded to normal precision would have normal
16387 exponent.
16388 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16389 (__fmal): Do not extract and scale down low bits on after-rounding
16390 systems when result rounded to normal precision would have normal
16391 exponent.
16392 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16393 macro.
16394 (fma_test): Add more tests.
16395 (fma_test_towardzero): Likewise.
16396 (fma_test_downward): Likewise.
16397 (fma_test_upward): Likewise.
16398
954ef0d9
L
163992012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16400
16401 * sysdeps/i386/tininess.h: Renamed to ...
16402 * sysdeps/x86/tininess.h: This.
16403 * sysdeps/x86_64/tininess.h: Removed.
16404
df61ffb2
JM
164052012-10-30 Joseph Myers <joseph@codesourcery.com>
16406
16407 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16408 input. Use $(build-program-cmd).
16409 ($(objpfx)tst-array1-static.out): Likewise.
16410 ($(objpfx)tst-array2.out): Likewise.
16411 ($(objpfx)tst-array3.out): Likewise.
16412 ($(objpfx)tst-array4.out): Likewise.
16413 ($(objpfx)tst-array5.out): Likewise.
16414 ($(objpfx)tst-array5-static.out): Likewise.
16415
01767843
CM
164162012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16417
47cc1490
CM
16418 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16419 if defined.
16420
01767843
CM
16421 * nss/nsswitch.h (nss_interface_function): Provide new
16422 macro for use with NSS functions.
16423 * grp/initgroups.c: Use new macro.
16424 * nss/getXXbyYY.c: Likewise.
16425 * nss/getXXbyYY_r.c: Likewise.
16426 * nss/getXXent.c: Likewise.
16427 * nss/getXXent_r.c: Likewise.
16428 * sysdeps/posix/getaddrinfo.c: Likewise.
16429
8321aa97
AJ
164302012-10-30 Andreas Jaeger <aj@suse.de>
16431
16432 * po/ru.po: Update Russion translation from translation project.
16433
2a27fd6d
JM
164342012-10-30 Joseph Myers <joseph@codesourcery.com>
16435
8627a232
JM
16436 [BZ #14152]
16437 [BZ #14783]
16438 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16439 result and shift together with sticky bit instead of replicating
16440 round-to-nearest rounding.
16441 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16442 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16443 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16444 missing underflow exceptions.
16445 (fma_test_towardzero): Add more tests.
16446 (fma_test_downward): Likewise.
16447 (fma_test_upward): Likewise.
16448
2a27fd6d
JM
16449 [BZ #14047]
16450 * sysdeps/generic/tininess.h: New file.
16451 * sysdeps/i386/tininess.h: Likewise.
16452 * sysdeps/sh/tininess.h: Likewise.
16453 * sysdeps/x86_64/tininess.h: Likewise.
16454 * stdlib/tst-strtod-underflow.c: Likewise.
16455 * stdlib/tst-tininess.c: Likewise.
16456 * stdlib/strtod_l.c: Include <tininess.h>.
16457 (round_and_return): Do not set errno for exact underflow cases.
16458 Force an underflow exception when setting errno for underflow.
16459 Determine underflow based on rounding to normal precision if
16460 TININESS_AFTER_ROUNDING.
16461 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16462 ERANGE for exact underflow cases.
16463 * stdlib/Makefile (tests): Add tst-tininess and
16464 tst-strtod-underflow.
16465 ($(objpfx)tst-tininess): Use $(link-libm).
16466 ($(objpfx)tst-strtod-underflow): Likewise.
16467
e7170363
AJ
164682012-10-30 Andreas Jaeger <aj@suse.de>
16469
e5088dc6
AJ
16470 [BZ#14767]
16471 * elf/Makefile (tests): Remove conditional for have-initfini-array
16472 since this is now always required and the variable does not exist
16473 anymore.
16474 (tests-static): Likewise.
16475 (modules-names): Likewise.
16476
e7170363 16477 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
16478
16479 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16480 merged with constructor/destructor.
16481 (init_array): Likewise.
16482 * elf/tst-array2dep.c (fini_array): Likewise.
16483 (init_array): Likewise.
16484
60457d8a
MF
164852012-10-29 Mike Frysinger <vapier@gentoo.org>
16486
16487 * manual/message.texi: Delete @cartouche tags.
16488
8bece752
PT
164892012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16490
94ce799f
PT
16491 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16492 EOPNOTSUPP.
16493 * sysdeps/mach/hurd/fsync.c: Likewise.
16494
8bece752
PT
16495 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16496 [_POSIX_REALTIME_SIGNALS]: Change condition to
16497 [_POSIX_REALTIME_SIGNALS > 0].
16498
86ebe6b1
AJ
164992012-10-27 Andreas Jaeger <aj@suse.de>
16500
16501 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16502 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16503 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16504 [__WORDSIZE != 64]: Likewise.
16505
54399c08
L
165062012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16507
16508 * iconvdata/tst-table.sh: Remove ${SHELL}.
16509 * iconvdata/tst-tables.sh: Likewise.
16510
e2211bed
DM
165112012-10-25 David S. Miller <davem@davemloft.net>
16512
16513 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16514 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16515 of strtoull.
16516
f303f97c
DM
16517 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16518 ifunc-impl-list.c
16519 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16520 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16521 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16522 file.
16523
1e9d84cd
RM
165242012-10-25 Roland McGrath <roland@hack.frob.com>
16525
16526 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16527 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16528 __getdirentries.
16529
df381762
JM
165302012-10-25 Joseph Myers <joseph@codesourcery.com>
16531 Jim Blandy <jimb@codesourcery.com>
16532
16533 * scripts/cross-test-ssh.sh: New file.
16534 * manual/install.texi (Configuring and compiling): Document use of
16535 cross-test-ssh.sh.
16536 * INSTALL: Regenerated.
16537
bff64913
PT
165382012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16539
16540 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16541 EOPNOTSUPP.
16542
25fe8932
JM
165432012-10-25 Joseph Myers <joseph@codesourcery.com>
16544
16545 * Makeconfig (run-program-prefix): Fix comment.
16546
cc1290d0
JM
165472012-10-24 Joseph Myers <joseph@codesourcery.com>
16548 Jim Blandy <jimb@codesourcery.com>
16549
16550 * Makeconfig (test-wrapper): New variable,
16551 (test-wrapper-env): Likewise.
16552 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16553 (run-built-tests): Define to yes.
16554 (run-program-prefix): Use $(test-wrapper).
16555 (built-program-cmd): Likewise.
16556 * Rules (make-test-out): Use $(test-wrapper-env) and
16557 $(host-built-program-cmd).
16558 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16559 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16560 tst-pathopt.sh.
16561 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16562 $(test-wrapper-env) to tst-rtld-load-self.sh.
16563 ($(objpfx)order2.out): Use $(test-wrapper).
16564 ($(objpfx)tst-initorder.out): Likewise.
16565 ($(objpfx)tst-initorder2.out): Likewise.
16566 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16567 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16568 (test_wrapper_env): New variable. Use it to run ld.so.
16569 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16570 Use it to run ld.so.
16571 (test_wrapper_env): Likewise.
16572 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16573 $(test-wrapper) to run-iconv-test.sh.
16574 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16575 (ICONV): Use $test_wrapper.
16576 * posix/Makefile ($(objpfx)globtest.out): Pass
16577 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16578 globtest.sh, not $(run-program-prefix).
16579 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16580 (test_wrapper): Likewise.
16581 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16582 set together with run_via_rtld_prefix.
16583 (run_program_prefix): Define in terms of test_wrapper and
16584 run_via_rtld_prefix.
16585
6e6249d0
RM
165862012-10-24 Roland McGrath <roland@hack.frob.com>
16587
16588 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16589 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16590 Targets removed.
16591
16592 [BZ #14743]
16593 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16594 Declare __clock_getres, __clock_gettime, __clock_settime,
16595 __clock_nanosleep, and __clock_getcpuclockid.
16596 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16597 Remove librt_hidden_def (clock_gettime).
16598 * sysdeps/unix/clock_gettime.c: Likewise.
16599 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16600 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16601 * rt/clock_getres.c: Define __clock_getres as an alias.
16602 * sysdeps/posix/clock_getres.c: Likewise.
16603 * rt/clock_settime.c: Define __clock_settime as an alias.
16604 * sysdeps/unix/clock_settime.c: Likewise.
16605 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16606 * sysdeps/unix/clock_nanosleep.c: Likewise.
16607 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16608 * rt/clock-compat.c: New file.
16609 * rt/Makefile (librt-routines): Add clock-compat and move
16610 $(clock-routines) to ...
16611 (routines): ... here, new variable.
16612 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16613 Don't add get_clockfreq here.
16614 * rt/Versions (libc: GLIBC_2.17): New version set.
16615 Add clock_* symbols here.
16616 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16617 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16618 (GLIBC_2.17): Add clock_* symbols.
16619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16621 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16623 Likewise.
16624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16625 Likewise.
16626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16630 * NEWS: Mention the move.
16631
16632 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16633 Use __open, __read, __close rather than their public counterparts.
16634 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16635 (__get_clockfreq_via_cpuinfo): Likewise.
16636 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16637 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16638
16639 * config.h.in (HAVE_IFUNC): New #undef.
16640 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16641 was successful.
16642 * configure: Regenerated.
16643
0cae3f4b
MF
166442012-10-24 Mike Frysinger <vapier@gentoo.org>
16645
16646 * configure.in: Move READELF check to start of file.
16647 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16648 libc_cv_asm_gnu_indirect_function in the process.
16649 * configure: Regenerated.
16650
8175a253
MF
166512012-10-24 Mike Frysinger <vapier@gentoo.org>
16652
16653 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16654 send the output to /dev/null.
16655 (libc_cv_cc_with_libunwind): Likewise.
16656 (libc_cv_as_noexecstack): Likewise.
16657 * configure: Regenerate.
16658
0708a7d1
JM
166592012-10-24 Joseph Myers <joseph@codesourcery.com>
16660
10b40d85
JM
16661 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16662
0708a7d1
JM
16663 * posix/globtest.sh (TMPDIR): Do not set.
16664 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16665 (testout): Likewise.
16666
9fddec1a
AJ
166672012-10-24 Andreas Jaeger <aj@suse.de>
16668
3a8db22f
AJ
16669 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16670 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16671 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16672 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16673 posix_fadvise64, posix_fallocate64.
16674
9fddec1a
AJ
16675 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16676 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16677 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16678 Likewise.
16679 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16680 Likewise.
16681 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16682
16683 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16684 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16685 <bits/fcntl-linux.h>.
16686 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16687
16688 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16689 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16690 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16691 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16692 [__WORDSIZE != 64]: Likewise.
16693
ebfd1bbd
JM
166942012-10-23 Joseph Myers <joseph@codesourcery.com>
16695
03ac099f
JM
16696 * Makeconfig (run-built-tests): New variable.
16697 * Rules [$(cross-compiling) = yes]: Change condition to
16698 [$(run-built-tests) = no].
16699 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16700 to [$(run-built-tests) = yes].
16701 * elf/Makefile [$(cross-compiling) = no]: Likewise
16702 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16703 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16704 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16705 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16706 * io/Makefile [$(cross-compiling) = no]: Likewise.
16707 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16708 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16709 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16710 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16711 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16712 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16713 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16714 * string/Makefile [$(cross-compiling) = no]: Likewise.
16715
ebfd1bbd
JM
16716 * posix/Makefile ($(objpfx)globtest.out): Pass
16717 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16718 $(rtld-installed-name).
16719 * posix/globtest.sh (elf_objpfx): Remove variable.
16720 (rtld_installed_name): Likewise.
16721 (library_path): Likewise.
16722 (run_program_prefix): New variable. Use for running globtest
16723 binary.
16724
166bca24
JB
167252012-10-23 Jim Blandy <jimb@codesourcery.com>
16726 Joseph Myers <joseph@codesourcery.com>
16727
16728 * Makeconfig (host-built-program-cmd): New variable.
16729 * elf/Makefile (tst-stackguard1-ARGS): Use
16730 $(host-built-program-cmd).
16731 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16732 (tst-spawn-ARGS): Likewise.
16733 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16734
88866099
JM
167352012-10-23 Joseph Myers <joseph@codesourcery.com>
16736 Jim Blandy <jimb@codesourcery.com>
16737
16738 * Makeconfig (run-via-rtld-prefix): New variable.
16739 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16740 (built-program-cmd): Likewise.
16741
b4b4c296
AJ
167422012-10-22 Andreas Jaeger <aj@suse.de>
16743
16744 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16745 __O_RSYNC if it exists, otherwise to O_SYNC.
16746
6fb54a22
JB
167472012-10-22 Jim Blandy <jimb@codesourcery.com>
16748 Joseph Myers <joseph@codesourcery.com>
16749
16750 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16751 /dev/null.
16752 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16753 from /dev/null
16754 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16755 /dev/null.
16756
481b90b9
AJ
167572012-10-22 Andreas Jaeger <aj@suse.de>
16758
2a0e2669
AJ
16759 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16760 Define always.
16761 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16762
76e38f9a
AJ
16763 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16764 bits/fcntl-linux.h.
16765
7cd37b43
AJ
16766 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16767 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16768
481b90b9
AJ
16769 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16770 to __O_LARGEFILE.
16771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16772 to __O_LARGEFILE.
16773
aba75984
JB
167742012-10-21 Jim Blandy <jimb@codesourcery.com>
16775 Joseph Myers <joseph@codesourcery.com>
16776
16777 * config.make.in (NM): New variable.
16778
88d4247f
AJ
167792012-10-21 Andreas Jaeger <aj@suse.de>
16780
16781 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16782 definitions and declarations that are provided by
16783 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16784
f2eed205
L
167852012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16786
16787 [BZ #14683]
16788 * elf/Makefile (tests-static): Add tst-leaks1-static.
16789 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16790 ($(objpfx)tst-leaks1-static): New rule.
16791 ($(objpfx)tst-leaks1-static-mem): Likewise.
16792 (tst-leaks1-static-ENV): New macro.
16793 * elf/dl-open.c (dl_open_worker): Check the main application
16794 only if SHARED is defined.
16795 * elf/tst-leaks1-static.c: New file.
16796
335e6931
AJ
167972012-10-20 Andreas Jaeger <aj@suse.de>
16798
16799 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16800 generic values for Linux.
16801 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16802 and declarations that are provided by <bits/fcntl-linux.h> and
16803 include <bits/fcntl-linux.h>.
16804 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16805 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16806
ac5c94d3
RM
168072012-10-20 Roland McGrath <roland@hack.frob.com>
16808
16809 * io/fcntl.h: Move include of <bits/types.h> to the top and
16810 include it unconditionally.
16811
de54b33a
L
168122012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16813
228cfb01
L
16814 * wcsmbs/Makefile (tests-ifunc): New variable.
16815 (tests): Add $(tests-ifunc).
16816 * wcsmbs/test-wcschr-ifunc.c: New file.
16817 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16818 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16819 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16820 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16821 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16822
69f07e5f
L
16823 * string/Makefile (tests-ifunc): New variable.
16824 (tests): Add $(tests-ifunc).
16825 * string/test-memccpy.c (TEST_NAME): New macro.
16826 * string/test-memchr.c (TEST_NAME): Likewise.
16827 * string/test-memcmp.c (TEST_NAME): Likewise.
16828 * string/test-memcpy.c (TEST_NAME): Likewise.
16829 * string/test-memmem.c (TEST_NAME): Likewise.
16830 * string/test-memmove.c (TEST_NAME): Likewise.
16831 * string/test-memset.c (TEST_NAME): Likewise.
16832 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16833 * string/test-stpcpy.c (TEST_NAME): Likewise.
16834 * string/test-stpncpy.c (TEST_NAME): Likewise.
16835 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16836 * string/test-strcasestr.c (TEST_NAME): Likewise.
16837 * string/test-strcat.c (TEST_NAME): Likewise.
16838 * string/test-strchr.c (TEST_NAME): Likewise.
16839 * string/test-strcmp.c(TEST_NAME): Likewise.
16840 * string/test-strcpy.c (TEST_NAME): Likewise.
16841 * string/test-strcspn.c (TEST_NAME): Likewise.
16842 * string/test-strlen.c (TEST_NAME): Likewise.
16843 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16844 * string/test-strncmp.c (TEST_NAME): Likewise.
16845 * string/test-strncpy.c (TEST_NAME): Likewise.
16846 * string/test-strnlen.c (TEST_NAME): Likewise.
16847 * string/test-strpbrk.c (TEST_NAME): Likewise.
16848 * string/test-strrchr.c (TEST_NAME): Likewise.
16849 * string/test-strspn.c (TEST_NAME): Likewise.
16850 * string/test-strstr.c (TEST_NAME): Likewise.
16851 * string/test-bcopy-ifunc.c: New file.
16852 * string/test-bzero-ifunc.c: Likewise.
16853 * string/test-memccpy-ifunc.c: Likewise.
16854 * string/test-memchr-ifunc.c: Likewise.
16855 * string/test-memcmp-ifunc.c: Likewise.
16856 * string/test-memcpy-ifunc.c: Likewise.
16857 * string/test-memmem-ifunc.c: Likewise.
16858 * string/test-memmove-ifunc.c: Likewise.
16859 * string/test-mempcpy-ifunc.c: Likewise.
16860 * string/test-memset-ifunc.c: Likewise.
16861 * string/test-rawmemchr-ifunc.c: Likewise.
16862 * string/test-stpcpy-ifunc.c: Likewise.
16863 * string/test-stpncpy-ifunc.c: Likewise.
16864 * string/test-strcasecmp-ifunc.c: Likewise.
16865 * string/test-strcasestr-ifunc.c: Likewise.
16866 * string/test-strcat-ifunc.c: Likewise.
16867 * string/test-strchr-ifunc.c: Likewise.
16868 * string/test-strchrnul-ifunc.c: Likewise.
16869 * string/test-strcmp-ifunc.c: Likewise.
16870 * string/test-strcpy-ifunc.c: Likewise.
16871 * string/test-strcspn-ifunc.c: Likewise.
16872 * string/test-strlen-ifunc.c: Likewise.
16873 * string/test-strncasecmp-ifunc.c: Likewise.
16874 * string/test-strncat-ifunc.c: Likewise.
16875 * string/test-strncmp-ifunc.c: Likewise.
16876 * string/test-strncpy-ifunc.c: Likewise.
16877 * string/test-strnlen-ifunc.c: Likewise.
16878 * string/test-strpbrk-ifunc.c: Likewise.
16879 * string/test-strrchr-ifunc.c: Likewise.
16880 * string/test-strspn-ifunc.c: Likewise.
16881 * string/test-strstr-ifunc.c: Likewise.
16882
de54b33a
L
16883 * debug/Makefile (tests-ifunc): New variable.
16884 (tests): Add $(tests-ifunc).
16885 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16886 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16887 * debug/test-stpcpy_chk-ifunc.c: New file.
16888 * debug/test-strcpy_chk-ifunc.c: Likewise.
16889
88481c16
SP
168902012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16891
16892 [BZ #13601]
16893 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16894 header is not read in.
16895
135948bd
JM
168962012-10-19 Joseph Myers <joseph@codesourcery.com>
16897
89f1c388
JM
16898 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16899 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16900 directly. Pass built executable to script as
16901 $(built-program-cmd).
16902 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16903 $testprogram without using LD_LIBRARY_PATH and $ldso.
16904
e40a0d21
JM
16905 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16906 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16907 $(rtld-installed-name).
16908 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16909 (rtld_installed_name): Likewise.
16910 (library_path): Likewise.
16911 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16912 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16913 $(run-program-prefix) to tst-tables.sh.
16914 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16915 it to run tst-table-from and tst-table-to.
16916 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16917 Pass it to tst-table.sh.
16918 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16919 $(run-program-prefix) to tst-gettext.sh.
16920 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16921 tst-translit.sh.
16922 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16923 tst-gettext2.sh.
16924 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16925 to run tst-gettext.
16926 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16927 to run tst-gettext2.
16928 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16929 to run tst-translit.
16930 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16931 $(run-program-prefix) to tst-mtrace.sh.
16932 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16933 to run tst-mtrace.
16934 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16935 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16936 $(rtld-installed-name).
16937 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16938 (rtld_installed_name): Likewise.
16939 (run_program_prefix): New variable. Use it to run wordexp-test.
16940
728e272a
JM
16941 * Makeconfig (ARCH): Remove all definitions.
16942 (machine): Likewise.
16943 [ARCH]: Remove conditional code.
16944 [!objdir]: Give error.
16945 [!objdir] (objpfx): Remove.
16946 [!objdir] (common-objpfx): Likewise.
16947 [!objdir] (common-objdir): Likewise.
16948 * configure.in (config_makefile): Remove. Hardcode Makefile in
16949 AC_CONFIG_FILES call.
16950 * configure: Regenerated.
16951
d528cdcf
JM
16952 [BZ #13888]
16953 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16954 or TMPDIR.
16955 (testout): Likewise.
16956
135948bd
JM
16957 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16958 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16959 $(rtld-installed-name).
16960 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16961 (rtld_installed_name): Likwise.
16962 (runit): Remove function.
16963 (run_getconf): New variable, Use it for running getconf binary.
16964
38c78296
L
169652012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16966
16967 [BZ #14716]
16968 * string/test-memmem.c (check_result): New function.
16969 (do_one_test): Use it.
16970 (check1): New function.
16971 (test_main): Use it.
16972
d077f65f
MT
169732012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16974
16975 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16976
ced52c71
JM
169772012-10-18 Joseph Myers <joseph@codesourcery.com>
16978
16979 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16980 (_G_LSEEK64): Likewise.
16981 (_G_MMAP64): Likewise.
16982 (_G_FSTAT64): Likewise.
16983 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16984 (_G_LSEEK64): Likewise.
16985 (_G_MMAP64): Likewise.
16986 (_G_FSTAT64): Likewise.
16987 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16988 unconditional. Call __mmap64 directly.
16989 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16990 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16991 __lseek64 directly.
16992 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16993 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16994 __mmap64 directly.
16995 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16996 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16997 __lseek64 directly.
16998 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16999 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17000 __lseek64 directly.
17001 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17002 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17003 __lseek64 directly.
17004 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17005 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17006 __fxstat64 directly.
17007 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17008 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17009 unconditional.
17010 (freopen64) [!_G_OPEN64]: Remove conditional code.
17011 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17012 unconditional.
17013 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17014 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17015 unconditional.
17016 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17017 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17018 unconditional.
17019 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17020 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17021 unconditional.
17022 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17023 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17024 unconditional.
17025 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17026 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17027 unconditional.
17028 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17029 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17030 unconditional.
17031 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17032
b741de23
SP
170332012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17034
17035 [BZ #12140]
17036 * manual/memory.texi (Malloc Tunable Parameters): Add note
17037 about free list pointers overwriting some perturb bytes.
17038 Wording suggested by Roland McGrath.
17039
f9b9d9c9
JM
170402012-10-17 Joseph Myers <joseph@codesourcery.com>
17041
17042 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17043 (lgamma_test): Likewise.
17044 (tgamma_test): Likewise.
17045
172a631a
FW
170462012-10-16 Florian Weimer <fweimer@redhat.com>
17047
17048 [BZ #14700]
17049 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17050 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17051
e9f37252
MK
170522012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17053
17054 * NEWS: Mention BZ #14716.
17055 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17056 when removing AVAILABLE1_USES_J macro.
17057
d394eb74
L
170582012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17059
17060 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17061 (__bswap_64): __uint64_t for unsigned 64-bit int.
17062
ca38dc17
AS
170632012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17064
17065 * include/string.h (memmem): Declare libc hidden alias.
17066 * string/memmem.c (memmem): Define libc hidden alias.
17067 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17068 __read, __close instead of open, read, close.
17069
9a387d1f
L
170702012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17071
ac49ecaf
L
17072 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17073 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17074 global and hidden.
17075 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17076 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17077 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17078 Likewise.
17079 (__rawmemchr_sse2): Likewise.
17080 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17081 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17082 (__strchr_sse2): Likewise.
17083 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17084 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17085 (__strcasecmp_sse2): Likewise.
17086 (__strncasecmp_sse2): Likewise.
17087 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17088 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17089 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17090 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17091 (__strrchr_sse2): Likewise.
17092 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17093 ifunc-impl-list.c.
17094 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17095 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17096 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17097 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17098 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17099 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17100 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17101 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17102 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17103 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17104 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17105 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17106 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17107 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17108 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17109 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17110 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17111 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17112 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17113 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17114 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17115 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17116 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17117 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17118 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17119 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17120 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17121 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17122 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17123 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17124
b090e8ea
L
17125 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17126 global and hidden.
17127 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17128 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17129 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17130 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17131 Likewise.
17132 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17133 Likewise.
17134 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17135 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17136 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17137 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17138 ifunc-impl-list.c.
17139 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17140 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17141 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17142 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17143 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17144 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17145 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17146 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17147 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17148 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17149 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17150 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17151 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17152 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17153 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17154 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17155 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17156 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17157 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17158 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17159 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17160 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17161 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17162 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17163 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17164 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17165 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17166 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17167 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17168 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17169 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17170 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17171 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17172 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17173 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17174 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17175 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17176 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17177 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17178 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17179 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17180
11dd4af6
L
17181 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17182 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17183 * include/ifunc-impl-list.h: New file.
17184 * misc/ifunc-impl-list.c: Likewise.
17185 * misc/Makefile (routines): Add ifunc-impl-list.
17186 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17187 * string/test-string.h: Include <ifunc-impl-list.h>.
17188 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17189 impl_array): New variables.
17190 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17191 are defined.
17192 (test_init): Call __libc_ifunc_impl_list to initialize
17193 func_list if TEST_IFUNC and TEST_NAME are defined.
17194
9a387d1f
L
17195 * string/Makefile (strop-tests): Add bcopy and bzero.
17196 * string/test-bcopy.c: New file.
17197 * string/test-bzero.c: Likewise.
17198 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17199 defined.
17200 * string/test-memset.c: Support bzero test if TEST_BZERO is
17201 defined.
17202 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17203 __libc_memmove.
17204 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17205 __libc_memset.
17206 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17207 of memset.
17208
472371b9
JM
172092012-10-10 Joseph Myers <joseph@codesourcery.com>
17210
1e4a9536
JM
17211 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17212 * configure: Regenerated.
17213
d173d12e
JM
17214 * Makeconfig (+link-static-before-libc): Don't include
17215 $(link-static-libc).
17216
472371b9
JM
17217 * libio/libio.h (_IO_pos_t): Remove.
17218
89a3ad0b
AO
172192012-10-10 Alexandre Oliva <aoliva@redhat.com>
17220
17221 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17222 McGrath.
17223
e7451425
AO
172242012-10-10 Alexandre Oliva <aoliva@redhat.com>
17225
17226 * crypt/crypt-entry.c: Include fips-private.h.
17227 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17228 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17229 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17230 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17231
4ba74a35
AO
172322012-10-10 Alexandre Oliva <aoliva@redhat.com>
17233
17234 * crypt/crypt-private.h: Include stdbool.h.
17235 (_ufc_setup_salt_r): Return bool.
17236 * crypt/crypt-entry.c: Include errno.h.
17237 (__crypt_r): Return NULL with EINVAL for bad salt.
17238 * crypt/crypt_util.c (bad_for_salt): New.
17239 (_ufc_setup_salt_r): Check that salt is long enough and within
17240 the specified alphabet.
17241 * crypt/badsalttest.c: New file.
17242 * crypt/Makefile (tests): Add it.
17243 ($(objpfx)badsalttest): New.
17244
f96f1242
MK
172452012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17246
17247 * NEWS: Add entry for BZ #14602.
17248
0e8e0c1c
JM
172492012-10-09 Joseph Myers <joseph@codesourcery.com>
17250
17251 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17252 type-generic.
17253 * math/libm-test.inc: Update comment listing what functions and
17254 macros are tested.
17255 (isgreater_test): New function.
17256 (isgreaterequal_test): Likewise.
17257 (isless_test): Likewise.
17258 (islessequal_test): Likewise.
17259 (islessgreater_test): Likewise.
17260 (isunordered_test): Likewise.
17261 (main): Call the new functions.
17262
273edc5e
RM
172632012-10-09 Roland McGrath <roland@hack.frob.com>
17264
b8493de0
RM
17265 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17266 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17267 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17268 * sysdeps/i386/configure: Regenerated.
17269 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17270 * sysdeps/mach/configure: Regenerated.
17271 * sysdeps/mach/hurd/configure: Regenerated.
17272 * sysdeps/powerpc/configure: Regenerated.
17273 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17274 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17275 * sysdeps/s390/s390-32/configure: Regenerated.
17276 * sysdeps/s390/s390-64/configure: Regenerated.
17277 * sysdeps/sh/configure: Regenerated.
17278 * sysdeps/sparc/configure: Regenerated.
17279 * sysdeps/unix/sysv/linux/configure: Regenerated.
17280 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17281 * sysdeps/x86_64/configure: Regenerated.
17282
273edc5e
RM
17283 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17284 defined. Don't check if MAP is NULL.
17285
c8450f70
JM
172862012-10-09 Joseph Myers <joseph@codesourcery.com>
17287
17288 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17289 (_G_stat64): Likewise.
17290 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17291 (_G_stat64): Likewise.
17292 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17293 instead of struct _G_stat64.
17294 * libio/fileops.c (mmap_remap_check): Likewise.
17295 (decide_maybe_mmap): Likewise.
17296 (_IO_new_file_seekoff): Likewise.
17297 (_IO_file_stat): Likewise.
17298 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17299 _G_off64_t.
17300 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17301 instead of struct _G_stat64.
17302 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17303
57e605ba
MK
173042012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17305
17306 [BZ #14602]
17307 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17308 Replace with ...
17309 (CHECK_EOL): New macro.
17310 (two_way_short_needle): Check beginning of haystack for EOL. Use
17311 CHECK_EOL.
17312 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17313 Replace with CHECK_EOL.
17314 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17315 Replace with CHECK_EOL.
17316
ef1bb361
JM
173172012-10-08 Joseph Myers <joseph@codesourcery.com>
17318
17319 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17320 type-generic.
17321 * math/libm-test.inc: Update comment listing what functions and
17322 macros are tested.
17323 (finite_test): New function.
17324 (isinf_test): Likewise.
17325 (isnan_test): Likewise.
17326 (fpclassify_test): Test subnormal input.
17327 (isfinite_test): Likewise.
17328 (isnormal_test): Likewise.
17329 (main): Call the new functions.
17330
55f11534
JN
173312012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17332
17333 [BZ #14660]
17334 * Makerules (%.dynsym): Force C locale when running
17335 $(OBJDUMP) --dynamic-syms.
17336
1ab29350
AS
173372012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17338
17339 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17340 <stdint.h>.
17341
f1ecb7ef
DM
173422012-10-06 David S. Miller <davem@davemloft.net>
17343
17344 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17345 upper 32-bits of the length value in %o2 since we use branch-on-register
17346 tests which consider the entire 64-bit register.
17347
5d41d91a
L
173482012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17349
17350 * string/test-strstr.c (check2): Add a test for page boundary.
17351
3baddb72
DM
173522012-10-05 David S. Miller <davem@davemloft.net>
17353
17354 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17355 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17356 file.
17357 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17358 sysdep_routines.
17359 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17360 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17361 and bzero when HWCAP_SPARC_CRYPTO is present.
17362
9cee5585
L
173632012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17364
d7e0dab9
L
17365 [BZ #14602]
17366 * string/test-strstr.c (check2): New function.
17367 (test_main): Call check2.
17368
03759f47
L
17369 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17370 and bug-strchr1.
17371 * string/bug-strcasestr1.c (do_test): Moved to ...
17372 * string/test-strcasestr.c (check1): Here. New function.
17373 (do_one_test): Break out result checking code into ...
17374 (check_result): This. New function.
17375 (do_one_test): Call check_result.
17376 (test_main): Call check1.
17377 * string/bug-strchr1.c (do_test): Moved to ...
17378 * string/test-strchr.c (check1): Here. New function.
17379 (do_one_test): Break out result checking code into ...
17380 (check_result): This. New function.
17381 (do_one_test): Call check_result.
17382 (test_main): Call check1.
17383 * string/bug-strstr1.c (main): Moved to ...
046f153e 17384 * string/test-strstr.c (check1): Here. New function.
03759f47
L
17385 (do_one_test): Break out result checking code into ...
17386 (check_result): This. New function.
17387 (do_one_test): Call check_result.
17388 (test_main): Call check1.
17389 * string/bug-strcasestr1.c: Removed.
17390 * string/bug-strchr1.c: Likewise.
17391 * string/bug-strstr1.c: Likewise.
17392
53cea63e
L
17393 * elf/Makefile (dl-routines): Add hwcaps.
17394 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17395 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17396 (_dl_important_hwcaps): Moved to ...
17397 * elf/dl-hwcaps.c: Here. New file.
17398 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17399
9cee5585 17400 [BZ #14557]
bb859b06
L
17401 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17402 if IS_IN_rtld isn't defined.
17403
9cee5585
L
17404 * elf/dl-support.c (_dl_sysinfo_map): New.
17405 Include "get-dynamic-info.h" and "setup-vdso.h".
17406 (_dl_non_dynamic_init): Call setup_vdso.
17407 * elf/dynamic-link.h: Don't include <assert.h>.
17408 (elf_get_dynamic_info): Moved to ...
17409 * elf/get-dynamic-info.h: Here. New file.
17410 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17411 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17412 * elf/setup-vdso.h: Here. New file.
17413 * elf/rtld.c: Include "setup-vdso.h".
17414 (dl_main): Call setup_vdso.
17415
23c31b76
JM
174162012-10-05 Joseph Myers <joseph@codesourcery.com>
17417
28234b07
JM
17418 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17419 creal in comment listing functions tested. List finite, isinf,
17420 isnan, isless, islessequal, isgreater, isgreaterequal,
17421 islessgreater, isunordered, lgamma_r and pow10 as functions and
17422 macros not tested. Mention which functions not tested are aliases
17423 for other functions. Fix typo. Note that signs of NaNs are not
17424 tested.
17425
23c31b76
JM
17426 * scripts/config.guess: Update from config.git.
17427 * scripts/config.sub: Likewise.
17428
9043e228
RM
174292012-10-04 Roland McGrath <roland@hack.frob.com>
17430
17431 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17432 * misc/madvise.c (madvise): Renamed to __madvise.
17433 Make madvise a weak alias.
17434 * include/sys/mman.h: Declare __madvise.
17435 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17436 * sysdeps/unix/syscalls.list
17437 (madvise): Make __madvise the strong name, and madvise a weak alias.
17438 * sysdeps/unix/sysv/linux/syscalls.list
17439 (madvise, mmap): Remove redundant entries.
17440 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17441 * malloc/malloc.c (mtrim): Likewise.
17442 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17443
f57f8055
RM
174442012-10-03 Roland McGrath <roland@hack.frob.com>
17445
17446 * sysdeps/mach/hurd/dl-cache.c: File removed.
17447 * config.h.in (USE_LDCONFIG): New #undef.
17448 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17449 * configure: Regenerated.
17450 * elf/Makefile (dl-routines): Add dl-cache only under
17451 [$(use-ldconfig) = yes].
17452 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17453 cache on [USE_LDCONFIG].
17454 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17455 [USE_LDCONFIG].
17456 * elf/rtld.c (dl_main): Likewise.
17457
5bb0c10a
PT
174582012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17459
17460 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17461 _SC_LEVEL4_CACHE_LINESIZE.
17462
010188c6
RM
174632012-10-03 Roland McGrath <roland@hack.frob.com>
17464
17465 * sysdeps/unix/bsd/confstr.h: File removed.
17466
b6c5ec07
AO
174672012-10-02 Alexandre Oliva <aoliva@redhat.com>
17468
17469 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17470 sys/sdt-config.h.
17471
408223d4
RM
174722012-10-02 Roland McGrath <roland@hack.frob.com>
17473
17474 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17475 Make 'mapoff' field ElfW(Off) rather than off_t.
17476
bb9510dc
DL
174772012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17478
fc997c6e
DL
17479 * nscd/Makefile: Remove nscd-cflags and all its users.
17480 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17481 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17482
bb9510dc
DL
17483 [BZ #10631]
17484 * malloc.c (malloc_printerr): Clarify error message.
17485
05699367
L
174862012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17487
17488 [BZ #14648]
17489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17490 Set bit_FMA_Usable if FMA is supported.
17491 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17492 macro.
17493 (bit_FMA4_Usable): Updated.
17494 (index_FMA_Usable): New macro.
17495 (CPUID_FMA): Likewise
17496 (HAS_FMA): Defined with bit_FMA_Usable.
17497
51367701
RM
174982012-10-01 Roland McGrath <roland@hack.frob.com>
17499
17500 * bits/types.h (__swblk_t): Type removed.
17501 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17502 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17503 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17504 (__SWBLK_T_TYPE): Likewise.
17505 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17506 (__SWBLK_T_TYPE): Likewise.
17507 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17508 (__SWBLK_T_TYPE): Likewise.
17509 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17510 (__SWBLK_T_TYPE): Likewise.
17511
4d57bf63 175122012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 17513 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
17514
17515 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17516 (xdr_mapname): Use YPMAXMAP as maxsize.
17517 (xdr_peername): Use YPMAXPEER as maxsize.
17518 (xdr_keydat): Use YPAXRECORD as maxsize.
17519 (xdr_valdat): Use YPMAXRECORD as maxsize.
17520
93c65d43
RM
175212012-10-01 Roland McGrath <roland@hack.frob.com>
17522
497a03d6
RM
17523 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17524
93c65d43
RM
17525 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17526 * csu/init-first.c: ... here.
17527 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17528 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17529 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17530 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17531 * sysdeps/i386/init-first.c: File removed.
17532 * sysdeps/sh/init-first.c: File removed.
17533
bec749fd
JM
175342012-10-01 Joseph Myers <joseph@codesourcery.com>
17535
17536 [BZ #14645]
17537 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17538 if x * y might underflow to zero and z is zero.
17539 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17540 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17541 * math/libm-test.inc (min_subnorm_value): New variable.
17542 (fma_test): Add more tests.
17543 (fma_test_towardzero): Likewise.
17544 (fma_test_downward): Likewise
17545 (fma_test_upward): Likewise.
17546 (initialize): Set min_subnorm_value.
17547
8ec5b013
JM
175482012-09-29 Joseph Myers <joseph@codesourcery.com>
17549
17550 [BZ #14638]
17551 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17552 0 + 0.
17553 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17554 mode for addition resulting in exact zero.
17555 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17556 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17557 exact 0 + 0.
17558 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17559 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17560 * math/libm-test.inc (fma_test): Add more tests.
17561 (fma_test_towardzero): New function.
17562 (fma_test_downward): Likewise.
17563 (fma_test_upward): Likewise.
17564 (main): Call the new functions.
17565
b1fa802e
DM
175662012-09-28 David S. Miller <davem@davemloft.net>
17567
17568 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17569
d3b9fd9e
RM
175702012-09-28 Roland McGrath <roland@hack.frob.com>
17571
ea4d37b3
RM
17572 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17573 instead of SIGALRM.
17574
ac51c949
RM
17575 * sysdeps/gnu/_G_config.h: Moved to ...
17576 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17577 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17578 * sysdeps/generic/_G_config.h: ... here.
17579
28c195f7
RM
17580 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17581
848917f9
RM
17582 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17583
6bacf05b
RM
17584 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17585 Conditionalize target on [libnss_test1.so-version].
17586
91363dbb
RM
17587 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17588
cc87f7d8
RM
17589 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17590 (elfobjdir): Move out of conditionals.
17591
b1c608fe
RM
17592 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17593 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17594 (__nss_lookup_function): Conditionalize label remove_from_tree on
17595 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 17596
1d9a6d96
DM
175972012-09-28 David S. Miller <davem@davemloft.net>
17598
17599 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17600 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17601 file.
17602 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17603 sysdep_routines.
17604 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17606 when HWCAP_SPARC_CRYPTO is present.
17607
72581615
PT
176082012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17609
17610 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17611
715a900c
JL
176122012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17613
17614 [BZ #6530]
17615 * stdio-common/vfprintf.c (process_string_arg): Revert
17616 2000-07-22 change.
17617
176182011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17619
17620 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17621 for testcase.
17622 * stdio-common/tst-sprintf.c: Include <locale.h>
17623 (main): Test sprintf's handling of incomplete multibyte
17624 characters.
17625
9bac1d86
L
176262012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17627
17628 * elf/dl-runtime.c (VERSYMIDX): Removed.
17629 * elf/dl-version.c (VERSYMIDX): Likewise.
17630 * elf/do-rel.h (VERSYMIDX): Likewise.
17631 (VALIDX): Likewise.
17632 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17633 * elf/rtld.c (VALIDX): Likewise.
17634 (ADDRIDX): Likewise.
9bac1d86
L
17635 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17636 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17637 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
17638 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17639 (VALIDX): Likewise.
17640 (ADDRIDX): Likewise.
9bac1d86 17641
b31606c0
PT
176422012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17643
17644 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17645
11541177
JL
176462012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17647
17648 [BZ #11438]
17649 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17650 to global scope.
17651 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17652 addresses are in the same scope as 192.0.2/24.
17653 * posix/gai.conf: Document new scope table defaults.
17654
adb26fae
SP
176552012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17656
17657 [BZ #5298]
17658 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17659 for ftell. Compute offsets from write pointers instead.
17660 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17661
4573c6b0
SP
176622012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17663
17664 [BZ #14543]
17665 * libio/Makefile (tests): New test case tst-fseek.
17666 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17667 combination works in wide mode.
17668 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17669 state when the external buffer state changes.
17670
aa9bbfe6
DM
176712012-09-27 David S. Miller <davem@davemloft.net>
17672
17673 [BZ #14376]
17674 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17675 pass reloc->r_addend in as the 'high' argument to
17676 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17677
784421e7
DM
17678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17679
c39bc8b8
PT
176802012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17681
17682 * rt/tst-aio2.c: Include <pthread.h>.
17683 * rt/tst-aio3.c: Likewise.
17684
1ccc2399
SE
176852012-09-27 Steve Ellcey <sellcey@mips.com>
17686
17687 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17688
31ed4153
L
176892012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17690
25f5f885
L
17691 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17692 contents on [SHARED].
31ed4153 17693
b7bfe116
MP
176942012-09-26 Marek Polacek <polacek@redhat.com>
17695
17696 [BZ #14530]
17697 [BZ #13741]
17698 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17699 for C++ and GCC <4.3 as well as for non GCC compilers.
17700
43c4edba
MT
177012012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17702
17703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17704
6a1bf82f
RM
177052012-09-25 Roland McGrath <roland@hack.frob.com>
17706
17707 * Makefile.in (all, install): Declare with .PHONY.
17708 Reported by Michael Hope <michael.hope@linaro.org>.
17709
8ad11b9a
TMQMF
177102012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17711
17712 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17713 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17714 system header.
17715 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17716 Likewise.
17717 (sydep_routines): Add the new and the internal functions.
17718 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17719 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17721 (GLIBC_2.17): Add the new function.
17722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17723 (GLIBC_2.17): Likewise.
17724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17725 (GLIBC_2.17): Likewise.
17726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17727 (GLIBC_2.17): Likewise.
17728 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17729
7e2fca8d
AM
177302012-09-25 Alan Modra <amodra@gmail.com>
17731
17732 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17733 Add release barrier before setting once_control to say
17734 initialisation is done. Add hints on lwarx. Use macro in
17735 place of isync.
17736 (clear_once_control): Add release barrier.
17737
b87c4b24
JM
177382012-09-25 Joseph Myers <joseph@codesourcery.com>
17739
d032e0d2
JM
17740 [BZ #13629]
17741 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17742 specially.
17743 * math/s_clog10.c (__clog10): Likewise.
17744 * math/s_clog10f.c (__clog10f): Likewise.
17745 * math/s_clog10l.c (__clog10l): Likewise.
17746 * math/s_clogf.c (__clogf): Likewise.
17747 * math/s_clogl.c (__clogl): Likewise.
17748 * math/Makefile (libm-calls): Add x2y2m1.
17749 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17750 (__x2y2m1): Likewise.
17751 (__x2y2m1l): Likewise.
17752 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17753 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17754 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17755 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17756 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17757 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17758 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17759 * sysdeps/i386/fpu/libm-test-ulps: Update.
17760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17761
b87c4b24
JM
17762 [BZ #14621]
17763 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17764 int as type of variable DEPTH.
17765 (glob): Use size_t instead of int as type of variables NEWCOUNT
17766 and OLD_PATHC.
17767
6d3bf199
LD
177682012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17769
22bf5c17
LD
17770 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17771 Add s_sincosf-sse2.
17772 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17773 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17774 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17775 macros for using routine as __sincosf_ia32.
17776 Use macro for function declaration and weak_alias.
17777 * sysdeps/i386/fpu/libm-test-ulps: Update.
17778
17779 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17781
17782 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
17783 subnormal argument.
17784 * math/s_cexpf.c (__cexpf): Likewise.
17785 * math/s_csinf.c (__csinf): Likewise.
17786 * math/s_csinhf.c (__csinhf): Likewise.
17787 * math/s_ctanf.c (__ctanf): Likewise.
17788 * math/s_ctanhf.c (__ctanhf): Likewise.
17789 * math/s_ccosh.c (__ccoshf): Likewise.
17790 * math/s_cexp.c (__cexpl): Likewise.
17791 * math/s_csin.c (__csin): Likewise.
17792 * math/s_csinh.c (__csinh): Likewise.
17793 * math/s_ctan.c (__ctan): Likewise.
17794 * math/s_ctanh.c (ctanh): Likewise.
17795 * math/s_ccoshl.c (__ccoshl): Likewise.
17796 * math/s_cexpl.c (__cexpl): Likewise.
17797 * math/s_csinl.c (__csinl): Likewise.
17798 * math/s_csinhl.c (__csinhl): Likewise.
17799 * math/s_ctanl.c (__ctanl): Likewise.
17800 * math/s_ctanhl.c (__ctanhl): Likewise.
17801
203e5603
JM
178022012-09-25 Joseph Myers <joseph@codesourcery.com>
17803
17804 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17805 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17806 (_IO_off_t): Define to __off_t, not _G_off_t.
17807 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17808 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17809 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17810 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17811 type of __dummy and __dummy2 fields.
17812 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17813 (_G_ssize_t): Likewise.
17814 (_G_off_t): Likewise.
17815 (_G_pid_t): Likewise.
17816 (_G_uid_t): Likewise.
17817 (_G_wchar_t): Likewise.
17818 (_G_wint_t): Likewise.
17819 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17820 (_G_ssize_t): Likewise.
17821 (_G_off_t): Likewise.
17822 (_G_pid_t): Likewise.
17823 (_G_uid_t): Likewise.
17824 (_G_wchar_t): Likewise.
17825 (_G_wint_t): Likewise.
17826 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17827 (_G_ssize_t): Likewise.
17828 (_G_off_t): Likewise.
17829 (_G_pid_t): Likewise.
17830 (_G_uid_t): Likewise.
17831 (_G_wchar_t): Likewise.
17832 (_G_wint_t): Likewise.
17833
9fab36eb
SP
178342012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17835
17836 * malloc/arena.c: Include malloc-sysdep.h.
17837 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17838 is sufficient to shrink the heap or an unmap is needed.
17839 * sysdeps/generic/malloc-sysdep.h: New file. Define
17840 new function check_may_shrink_heap.
17841 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17842 new function check_may_shrink_heap.
17843
2b4f00d1
SP
178442012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17845
17846 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17847 comments.
17848
9a9028b1
DL
178492012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17850
57c69bef
DL
17851 * catgets/test-gencat.sh: Add "set -e".
17852 * elf/tst-pathopt.sh: Likewise.
17853 * grp/tst_fgetgrent.sh: Likewise.
17854 * iconvdata/run-iconv-test.sh: Likewise.
17855 * intl/tst-gettext.sh: Likewise.
17856 * intl/tst-gettext2.sh: Likewise.
17857 * intl/tst-gettext4.sh: Likewise.
17858 * intl/tst-gettext6.sh: Likewise.
17859 * intl/tst-translit.sh: Likewise.
17860 * io/ftwtest-sh: Likewise.
17861 * libio/test-freopen.sh: Likewise.
17862 * malloc/tst-mtrace.sh: Likewise.
17863 * posix/globtest.sh: Likewise.
17864 * posix/tst-getconf.sh: Likewise.
17865 * posix/wordexp-tst.sh: Likewise.
17866 * stdio-common/tst-printf.sh: Likewise.
17867 * stdio-common/tst-unbputc.sh: Likewise.
17868 * stdlib/tst-fmtmsg.sh: Likewise.
17869 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17870 * catgets/Makefile: Do not specify -e option when running
17871 testsuite shell scripts.
17872 * elf/Makefile: Likewise.
17873 * grp/Makefile: Likewise.
17874 * iconvdata/Makefile: Likewise.
17875 * intl/Makefile: Likewise.
17876 * io/Makefile: Likewise.
17877 * libio/Makefile: Likewise.
17878 * malloc/Makefile: Likewise.
17879 * posix/Makefile: Likewise.
17880 * stdio-common/Makefile: Likewise.
17881 * stdlib/Makefile: Likewise.
17882 * sysdeps/x86_64/Makefile: Likewise.
17883
9a9028b1
DL
17884 * io/ftwtest-sh: Add copyright header.
17885 * posix/globtest.sh: Likewise.
17886 * posix/tst-getconf.sh: Likewise.
17887 * posix/wordexp-tst.sh: Likewise.
17888 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17889
ced6f16e
L
178902012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17891
94b32c39
L
17892 [BZ #13679]
17893 * Makeconfig (+link): Defined as $(+link-static) if
17894 $(build-shared) isn't yes.
17895 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17896 isn't yes.
17897 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17898
189e935b
L
17899 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17900
ced6f16e
L
17901 [BZ #14562]
17902 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17903 new chunk size with MALLOC_ALIGN_MASK.
17904
a9f8e53a
JM
179052012-09-24 Joseph Myers <joseph@codesourcery.com>
17906
17907 [BZ #5044]
17908 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17909 <rounding-mode.h>.
17910 (__printf_fphex): Determine rounding using get_rounding_mode and
17911 round_away.
17912 * stdio-common/tst-printf-round.c (struct hex_test): New
17913 structure.
17914 (hex_tests): New variable.
17915 (test_hex_in_one_mode): New function.
17916 (do_test): Also run tests for hex float output.
17917
43153109
JM
179182012-09-21 Joseph Myers <joseph@codesourcery.com>
17919
17920 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17921 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17922 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17923 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17924 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17925 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17926 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17927 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17928
8a26625d
JM
179292012-09-20 Joseph Myers <joseph@codesourcery.com>
17930
17931 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17932 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17933 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17934 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17935
f3fd569c
DL
179362012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17937
17938 [BZ #14579]
17939 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17940 mode only.
17941 * elf/tst-rtld-load-self.sh: New test.
17942 * elf/Makefile: Run it.
17943
63bbedd4
JM
179442012-09-18 Joseph Myers <joseph@codesourcery.com>
17945
17946 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17947 (tst-writev-ENV): Remove.
17948 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17949
626f8b6a
CM
179502012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17951
17952 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17953
b7aaa4d6
JM
179542012-09-17 Joseph Myers <joseph@codesourcery.com>
17955
17956 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17957 unconditional.
17958 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17959 Likewise.
17960 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17961 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17962 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17963 Likewise.
17964
65513990
L
179652012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17966
17967 [BZ #14587]
17968 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17969 * config.make.in (have-cpp-asm-debuginfo): Removed.
17970 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17971 * configure: Regenerated.
17972
784761be
JM
179732012-09-14 Joseph Myers <joseph@codesourcery.com>
17974
17975 [BZ #5044]
17976 * stdio-common/printf_fp.c: Include <stdbool.h> and
17977 <rounding-mode.h>.
17978 (___printf_fp): Determine rounding using get_rounding_mode and
17979 round_away.
17980 * stdio-common/tst-printf-round.c: New file.
17981 * stdio-common/Makefile (tests): Add tst-printf-round.
17982 (link-libm): New variable.
17983 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17984
9503345f
L
179852012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17986
17987 [BZ #14576]
17988 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17989 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17990 Likewise.
17991 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17992 Likewise.
17993
ad35fc00
JM
179942012-09-13 Joseph Myers <joseph@codesourcery.com>
17995
17996 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17997 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17998 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17999 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18000
6c9b0f68
JM
180012012-09-12 Joseph Myers <joseph@codesourcery.com>
18002
18003 [BZ #14518]
18004 * include/rounding-mode.h: New file.
18005 * sysdeps/generic/get-rounding-mode.h: Likewise.
18006 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18007 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18008 (MAX_VALUE): New macro.
18009 (MIN_VALUE): Likewise.
18010 (overflow_value): New function.
18011 (underflow_value): Likewise.
18012 (round_and_return): Use overflow_value and underflow_value to
18013 determine return values in overflow and underflow cases. Use
18014 round_away to determine rounding depending on rounding mode.
18015 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18016 determine return values in overflow and underflow cases.
18017 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18018 (struct test_results): New structure.
18019 (struct test): Use struct test_results to store expected results
18020 for all rounding modes.
18021 (TEST): Include expected results for all rounding modes.
18022 (test_in_one_mode): New function.
18023 (do_test): Use test_in_one_mode to compute and check results.
18024 Check results for all rounding modes.
18025 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18026 $(link-libm).
18027
19fcedd5
AM
180282012-12-09 Allan McRae <allan@archlinux.org>
18029
1e9d84cd 18030 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 18031
8bbfd2f1
JM
180322012-09-11 Joseph Myers <joseph@codesourcery.com>
18033
18034 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18035 (_G_int32_t): Likewise.
18036 (_G_uint16_t): Likewise.
18037 (_G_uint32_t): Likewise.
18038 (_G_HAVE_BOOL): Likewise.
18039 (_G_HAVE_ATEXIT): Likewise.
18040 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18041 (_G_HAVE_IO_FILE_OPEN): Likewise.
18042 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18043 (_G_int32_t): Likewise.
18044 (_G_uint16_t): Likewise.
18045 (_G_uint32_t): Likewise.
18046 (_G_HAVE_BOOL): Likewise.
18047 (_G_HAVE_ATEXIT): Likewise.
18048 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18049 (_G_HAVE_IO_FILE_OPEN): Likewise.
18050 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18051 (_G_int32_t): Likewise.
18052 (_G_uint16_t): Likewise.
18053 (_G_uint32_t): Likewise.
18054 (_G_HAVE_BOOL): Likewise.
18055 (_G_HAVE_ATEXIT): Likewise.
18056 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18057 (_G_HAVE_IO_FILE_OPEN): Likewise.
18058
b1dc5912
L
180592012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18060
18061 * csu/libc-tls.c: Update copyright years.
18062
0e886ef9
JM
180632012-09-10 Joseph Myers <joseph@codesourcery.com>
18064
28361c5e
JM
18065 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18066 [!_G_USING_THUNKS]: Remove conditional code.
18067 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18068 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18069
0e886ef9
JM
18070 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18071 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18072 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18073 (_G_VTABLE_LABEL_PREFIX): Likewise.
18074 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18075 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18076 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18077 (_G_VTABLE_LABEL_PREFIX): Likewise.
18078 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18079 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18080 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18081 (_G_VTABLE_LABEL_PREFIX): Likewise.
18082 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18083
bcba7aa2
L
180842012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18085
18086 * libio/Makefile: Include ../Makeconfig before tests.
18087 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18088 only if $(build-shared) is yes.
18089
06585ee8
L
18090 * iconv/gconv_db.c: Update copyright years.
18091
80ccd52c
LD
180922012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18093
18094 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18095 unwind info if defined PIC. Fix special cases description.
18096 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18097
18098 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18099 DP_HI_MASK entry.
18100 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18101
691bc9c1
L
181022012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18103
3d9b46b3
L
18104 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18105
de2139a9
L
18106 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18107 is NULL.
18108
5ca78dd0
L
18109 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18110 (LDLIBS-tst-chk4): This.
18111 (LDFLAGS-tst-chk5): Renamed to ...
18112 (LDLIBS-tst-chk5): This.
18113 (LDFLAGS-tst-chk6): Renamed to ...
18114 (LDLIBS-tst-chk6): This.
18115 (LDFLAGS-tst-lfschk4): Renamed to ...
18116 (LDLIBS-tst-lfschk4): This.
18117 (LDFLAGS-tst-lfschk5): Renamed to ...
18118 (LDLIBS-tst-lfschk5): This.
18119 (LDFLAGS-tst-lfschk6): Renamed to ...
18120 (LDLIBS-tst-lfschk6): This.
18121
691bc9c1
L
18122 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18123 on $(common-objpfx)soversions.mk.
18124
65cafb1c
JM
181252012-09-07 Joseph Myers <joseph@codesourcery.com>
18126
18127 [BZ #10014]
18128 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18129 example host name.
18130
c78ab094
SP
181312012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18132
18133 * malloc/arena.c (arena_get_retry): New function that gets
18134 another arena for the caller to try its request on.
18135 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18136 current arena cannot fulfill the request.
18137 (__libc_memalign): Likewise.
18138 (__libc_memalign): Likewise.
18139 (__libc_pvalloc): Likewise.
18140 (__libc_calloc): Likewise.
18141
01f49f59
JT
181422012-09-05 John Tobey <john.tobey@gmail.com>
18143
18144 [BZ #13542]
18145 * manual/arith.texi (Operations on Complex): Fix description
18146 of carg branch cut.
18147
4c23fed5
JM
181482012-09-06 Joseph Myers <joseph@codesourcery.com>
18149
1d3c8572
JM
18150 [BZ #10014]
18151 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18152 host name.
18153
4c23fed5
JM
18154 [BZ #10038]
18155 * manual/memory.texi (Memory): Make order of menu items match
18156 order of sections.
18157
04570aaa
L
181582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18159
18160 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18161 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18162 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18163
b80af2f4
L
181642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18165
18166 * csu/libc-tls.c (static_dtv): Renamed to ...
18167 (_dl_static_dtv): This. Make it global.
18168 (_dl_initial_dtv): Removed.
18169 (__libc_setup_tls): Updated.
18170 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18171 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18172 DL_INITIAL_DTV.
18173
2abe9f15
PM
181742012-09-06 Petr Machata <pmachata@redhat.com>
18175
18176 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18177 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18178 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18179 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18180
0948c3af
L
181812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18182
18183 [BZ #14545]
18184 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18185 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18186 freeing dtv[-1].
18187
a5055ad1
L
181882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18189
18190 [BZ #14544]
18191 * Makeconfig (link-static-before-libc): Replace $(+prector)
18192 with $(+prectorT).
18193 (link-static-after-libc): Replace $(+postctor) with
18194 $(+postctorT).
18195 (link-bounded): Replace $(+prector)/$(+postctor) with
18196 $(+prectorT)/$(+postctorT).
18197 (+prectorT): New macro.
18198 (+postctorT): Likewise.
18199
ed8c2ecd
JM
182002012-09-06 Joseph Myers <joseph@codesourcery.com>
18201
18202 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18203 (round_str): Handle values above the maximum for IBM long double
18204 as inexact.
18205 * stdlib/tst-strtod-round.c (tests): Regenerated.
18206
14c996c8
AK
182072012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18208
18209 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18210 assembler flag.
18211 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18212 zarch_nohighgprs around the zarch optimized routines.
18213 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18214 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18215 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18216 for zarch.
18217
430d6ce6
DM
182182012-09-05 David S. Miller <davem@davemloft.net>
18219
18220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18221
ff04dda4
DM
18222 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18223 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18224 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18225 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18226 entries.
18227
24d4e01b
AO
182282012-09-05 Alexandre Oliva <aoliva@redhat.com>
18229
18230 * malloc/arena.c: Fold copyright years.
18231 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18232
61d58174
AO
182332012-09-05 Alexandre Oliva <aoliva@redhat.com>
18234
18235 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18236
20196a5e
AO
182372012-09-05 Alexandre Oliva <aoliva@redhat.com>
18238
18239 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18240
5c447383
AO
182412012-09-05 Alexandre Oliva <aoliva@redhat.com>
18242
18243 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18244 change internal state upon failure.
18245
fad64255
AO
182462012-09-05 Alexandre Oliva <aoliva@redhat.com>
18247
18248 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18249 * malloc/memusage.c (mmap): Likewise.
18250 (mmap64, mremap): Likewise. Adjust name in comment.
18251
1ffb8c90
SP
182522012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18253
18254 * libio/fileops.c: Fix typos in comments.
18255 * libio/oldfileops.c: Likewise.
18256 * libio/wfileops.c: Likewise.
18257
6ef9cc37
SP
182582012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18259
18260 [BZ #1349]
18261 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18262 (tst-malloc-usable-ENV): Set environment for test case.
18263 * malloc/hooks.c (malloc_check_get_size): New function to get
18264 requested size.
18265 * malloc/malloc.c (musable): Use malloc_check_get_size.
18266 * malloc/tst-malloc-usable.c: New test case.
18267
4d038ae3
AS
182682012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18269
18270 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18271
c4e85184
AM
182722012-09-05 Allan McRae <allan@archlinux.org>
18273
b9dafc56 18274 [BZ #13966]
c4e85184
AM
18275 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18276 determine header location.
18277 * configure: Regenerated.
18278
e1343020
AS
182792012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18280
18281 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18282 float format.
18283 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
18284 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18285 format.
e1343020
AS
18286 (test): Regenerate.
18287
0a9f1987
DM
182882012-09-04 David S. Miller <davem@davemloft.net>
18289
18290 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18291 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18292 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18293
29237804
FW
182942012-09-04 Florian Weimer <fweimer@redhat.com>
18295
18296 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18297 failures.
18298
edb3cb88
FW
18299 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18300
60160d83
JM
183012012-09-04 Joseph Myers <joseph@codesourcery.com>
18302
18303 [BZ #9914]
18304 * libio/iogetdelim.c: Include <limits.h>.
18305 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18306 + len + 1 would overflow.
18307
bcd6c8dc
AJ
183082012-09-03 Andreas Jaeger <aj@suse.de>
18309
18310 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18311 * sysdeps/i386/fpu/libm-test-ulps: Update.
18312
4ffffbd2
LD
183132012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18314
18315 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18316 Add s_sinf-sse2, s_conf-sse2.
18317
18318 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18319 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18320 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18321 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18322
18323 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18324 for using routine as __sinf_ia32.
18325 Use macro for function declaration and weak_alias.
18326 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18327 for using routine as __cosf_ia32.
18328 Use macro for function declaration and weak_alias.
18329
18330 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18331 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18332
18333 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18334 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18336
18337 * math/libm-test.inc (cos_test): Add more test cases.
18338 (sin_test): Likewise.
18339 (sincos_test): Likewise.
18340
511fa286
AK
183412012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18342
18343 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18344 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18345 hidden.
18346 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18347
5f30cfec
L
183482012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18349
18350 [BZ #14538]
18351 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18352 first element of the GOT.
18353 (elf_machine_load_address): Return the difference between
18354 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18355
0786794f
AM
183562012-09-01 Allan McRae <allan@archlinux.org>
18357
5f30cfec
L
18358 [BZ #13412]
18359 * configure.in (AWK): Require gawk version 3.0 or later.
18360 * configure: Regenerated.
0786794f 18361
26889eac
JM
183622012-09-01 Joseph Myers <joseph@codesourcery.com>
18363
18364 * sysdeps/unix/sysv/linux/kernel-features.h
18365 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18366 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18367 [__NR_clock_getres]: Make code unconditional.
18368 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18369 (clock_getcpuclockid): Remove code left unreachable by removal of
18370 conditionals.
18371 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18372 code unconditional.
18373 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18374 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18375 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18376 Make code unconditional.
18377 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18378 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18379 * sysdeps/unix/sysv/linux/clock_settime.c
18380 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18381 conditional code.
18382 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18383 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18384
d22e28b0
L
183852012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18386
18387 [BZ #14476]
18388 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18389 scripts/test-installation.pl.
18390
18391 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18392 and $ld_so_version if it is set.
18393
050af9c4
SP
183942012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18395
18396 [BZ #14516]
18397 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18398 failure if reading from procfs failed.
18399 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18400
ad845c0b
JM
184012012-08-27 Joseph Myers <joseph@codesourcery.com>
18402
18403 * sysdeps/unix/sysv/linux/kernel-features.h
18404 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18405 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18406 Remove conditional code.
18407 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18408 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18409 Remove conditional code.
18410 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18411 * sysdeps/unix/sysv/linux/i386/fxstat.c
18412 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18413 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18414 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18415 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18416 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18417 * sysdeps/unix/sysv/linux/i386/lxstat.c
18418 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18419 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18420 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18421 Remove conditional code.
18422 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18423 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18424 Remove conditional code.
18425 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18426 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18427 <kernel-features.h>.
18428 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18429 Remove.
18430 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18431 Remove conditional code.
18432 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18433 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18434 Remove conditional.
18435
5dbf56af
MF
184362012-08-27 Mike Frysinger <vapier@gentoo.org>
18437
18438 [BZ #5400]
18439 * NEWS: Add fixed bug number.
18440
d6e70f43
JM
184412012-08-27 Joseph Myers <joseph@codesourcery.com>
18442
7efb4737
JM
18443 [BZ #14519]
18444 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18445 underflowing exponent in case of negative sign.
18446 * stdlib/tst-strtod-round-data: Add more tests.
18447 * stdlib/tst-strtod-round.c (tests): Regenerated.
18448
af92131a
JM
18449 [BZ #3479]
18450 * stdlib/strtod_l.c (NDIG): Remove.
18451 (HEXNDIG): Likewise.
18452 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18453 smallest representable value.
18454 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18455 lie within an exact representation of 1/2 ulp of the result.
18456 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18457 unconditionally.
18458 (TENS_P9_IDX): Define unconditionally.
18459 (TENS_P9_SIZE): Likewise.
18460 (TENS_P10_IDX): Likewise.
18461 (TENS_P10_SIZE): Likewise.
18462 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18463 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18464 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18465 entries for 10^2^13 and 10^2^14.
18466 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18467 (TENS_P13_IDX): Define.
18468 (TENS_P13_SIZE): Likewise.
18469 (TENS_P14_IDX): Likewise.
18470 (TENS_P14_SIZE): Likewise.
18471 (_fpioconst_pow10): Change array size to
18472 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18473 unconditional.
18474 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18475 1024]: Add entries for 10^2^13 and 10^2^14.
18476 [LAST_POW10 > _LAST_POW10]: Remove #error.
18477 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18478 (_fpioconst_pow10): Change array size to
18479 FPIOCONST_POW10_ARRAY_SIZE.
18480 * stdlib/gen-fpioconst.c: New file.
18481 * stdlib/gen-tst-strtod-round.c: Likewise.
18482 * stdlib/tst-strtod-round-data: Likewise.
18483 * stdlib/tst-strtod-round.c: Likewise.
18484 * stdlib/Makefile (tests): Add tst-strtod-round.
18485
d6e70f43
JM
18486 [BZ #14459]
18487 * stdlib/strtod_l.c: Include <stdint.h>.
18488 (NDEBUG): Do not define.
18489 (round_and_return): Change EXPONENT parameter to type intmax_t.
18490 Rearrange calculations to avoid internal overflow possibilities.
18491 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18492 Rearrange calculations to avoid internal overflow possibilities.
18493 Assert that number fits inside MPNSIZE limbs.
18494 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18495 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18496 calculations and add assertions to avoid internal overflow
18497 possibilities. Add casts to avoid signed/unsigned operations.
18498 * stdlib/tst-strtod-overflow.c: New file.
18499 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18500
1f529f7d
MP
185012012-08-25 Marek Polacek <polacek@redhat.com>
18502
18503 * time/time.h: Fix some typos in comments.
18504
59a629f1
RM
185052012-08-23 Roland McGrath <roland@hack.frob.com>
18506
18507 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18508 * posix/tst-rfc3484-2.c: Likewise.
18509 * posix/tst-rfc3484-3.c: Likewise.
18510
d3bafbc9
SM
185112012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18512
18513 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18514 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18515
4efcc022
JM
185162012-08-23 Joseph Myers <joseph@codesourcery.com>
18517
18518 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18519 #include of fxstatat64.c.
18520
3cc3ef96
RM
185212012-08-22 Roland McGrath <roland@hack.frob.com>
18522
f04e2132
RM
18523 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18524 * shadow/getspent_r.c: Likewise.
18525 * shadow/getspnam.c: Likewise.
18526 * shadow/getspnam_r.c: Likewise.
18527 * gshadow/getsgent.c: Likewise.
18528 * gshadow/getsgent_r.c: Likewise.
18529 * gshadow/getsgnam.c: Likewise.
18530 * gshadow/getsgnam_r.c: Likewise.
18531 * inet/getnetbyad.c: Likewise.
18532 * inet/getnetbyad_r.c: Likewise.
18533 * inet/getnetbynm.c: Likewise.
18534 * inet/getnetbynm_r.c: Likewise.
18535 * inet/getnetent.c: Likewise.
18536 * inet/getnetent_r.c: Likewise.
18537 * inet/getproto.c: Likewise.
18538 * inet/getproto_r.c: Likewise.
18539 * inet/getprtent.c: Likewise.
18540 * inet/getprtent_r.c: Likewise.
18541 * inet/getprtname.c: Likewise.
18542 * inet/getprtname_r.c: Likewise.
18543 * inet/getrpcbyname.c: Likewise.
18544 * inet/getrpcbyname_r.c: Likewise.
18545 * inet/getrpcbynumber.c: Likewise.
18546 * inet/getrpcbynumber_r.c: Likewise.
18547 * inet/getrpcent.c: Likewise.
18548 * inet/getrpcent_r.c: Likewise.
18549 * inet/getaliasent.c: Likewise.
18550 * inet/getaliasent_r.c: Likewise.
18551 * inet/getaliasname.c: Likewise.
18552 * inet/getaliasname_r.c: Likewise.
18553 * nscd/getgrgid_r.c: Likewise.
18554 * nscd/getgrnam_r.c: Likewise.
18555 * nscd/gethstbyad_r.c: Likewise.
18556 * nscd/gethstbynm3_r.c: Likewise.
18557 * nscd/getpwnam_r.c: Likewise.
18558 * nscd/getpwuid_r.c: Likewise.
18559 * nscd/getsrvbynm_r.c: Likewise.
18560 * nscd/getsrvbypt_r.c: Likewise.
18561 * nscd/gai.c: Likewise.
18562
c53d909c
RM
18563 * configure.in (build_nscd): New substituted variable, set
18564 by --disable-build-nscd and defaults to $use_nscd.
18565 * configure: Regenerated.
18566 * config.make.in (build-nscd): New substituted variable.
18567 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18568 Change conditional to require [$(build-nscd) = yes] as well.
18569 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18570
3cc3ef96
RM
18571 [BZ# 13696]
18572 * configure.in (use_nscd): New substituted variable, set by
18573 --disable-nscd. If enabled, define USE_NSCD.
18574 * configure: Regenerated.
18575 * config.h.in: Add USE_NSCD.
18576 * config.make.in (use-nscd): New substituted variable.
18577 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18578 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18579 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18580 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18581 (CFLAGS-getgrnam_r.c): Likewise.
18582 (CFLAGS-initgroups.c): Likewise.
18583 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18584 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18585 Variables removed.
18586 * inet/getnetgrent_r.c
18587 (nscd_setnetgrent): New function, broken out of ...
18588 (setnetgrent): ... here. Call it.
18589 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18590 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18591 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18592 * nscd/Makefile (routines, aux): Move definitions after include of
18593 Makeconfig. Conditionalize on [$(use-nscd) != no].
18594 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18595 Conditionalize on [USE_NSCD].
18596 (is_nscd, nscd_init_cb): Likewise.
18597 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18598 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18599 * nss/nss_db/db-init.c: Likewise.
18600 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18601 [USE_NSCD].
18602 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18603 (make_request): Use it.
18604 (cache_valid_p): New function.
18605 (__check_pf): Use it.
18606 * NEWS: Add item for --disable-nscd.
18607
07e51550
DL
186082012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18609
18610 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18611 to support sed >= 4.2.1-20-ga9bf076.
18612 * configure: Regenerated.
18613
35a5b08b
RM
186142012-08-22 Roland McGrath <roland@hack.frob.com>
18615
18616 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18617 Conditionalize whole body on [IREL].
18618
8479f23a
JL
186192012-08-22 Jeff Law <law@redhat.com>
18620
18621 [BZ #14505]
18622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18623 if the family is PF_UNSPEC.
18624
48da0b21
MF
186252012-08-22 Mike Frysinger <vapier@gentoo.org>
18626
18627 * Makerules (lib-version): Rename from V.
18628 (install-lib-nosubdir): Change V to lib-version.
18629
15d0da8c
WS
186302012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18631
18632 [BZ #14252]
18633 * powerpc32/power6/wcschr.c: New file.
18634 * powerpc32/power6/wcscpy.c: New file.
18635 * powerpc32/power6/wcsrchr.c: New file.
18636 * powerpc64/power6/wcschr.c: New file.
18637 * powerpc64/power6/wcscpy.c: New file.
18638 * powerpc64/power6/wcsrchr.c: New file.
18639
bcca0895
MK
186402012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18641
18642 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18643 (two_way_short_needle): Use it.
5a4aaa33
RM
18644 * string/strstr.c (AVAILABLE1_USES_J): Define.
18645 * string/strcasestr.c: Likewise.
99677e57
MK
18646
18647 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18648 array references.
18649 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18650
400726de
MK
18651 [BZ #11607]
18652 * NEWS: Add an entry.
18653 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18654 define their defaults.
18655 (two_way_short_needle): Detect end-of-string on-the-fly.
18656 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18657 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18658 * string/bug-strcasestr1.c: New test.
18659 * string/Makefile: Run it.
18660
20a71f2c
MK
186612012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18662
18663 [BZ #11607]
18664 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18665 the first character.
18666
21ad0558
RM
186672012-08-21 Roland McGrath <roland@hack.frob.com>
18668
18669 * csu/elf-init.c (__libc_csu_irel): Function removed.
18670 * csu/libc-start.c (apply_irel): New function.
18671 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18672
0e1d9911
JM
186732012-08-21 Joseph Myers <joseph@codesourcery.com>
18674
18675 * sysdeps/unix/sysv/linux/kernel-features.h
18676 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18677 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18678 <kernel-features.h>.
18679 [__NR_fadvise64_64]: Make code unconditional.
18680 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18681 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18682 !__NR_fadvise64_64)]: Likewise.
18683 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18684 !__NR_fadvise64_64))]: Likewise.
18685 [__NR_fadvise64]: Make code unconditional.
18686 [!__NR_fadvise64]: Remove conditional code.
18687 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18688 <kernel-features.h>.
18689 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18690 unconditional.
18691 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18692 conditional code.
18693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18694 not include <kernel-features.h>.
18695 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18696 unconditional.
18697 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18698 conditional code.
18699 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18700 include <kernel-features.h>.
18701 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18702 unconditional.
18703 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18704 conditional code.
18705
14a50c9d
WS
187062012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18707
18708 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18709 slight instruction rearrangements per scrollpipe analysis.
18710 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18711
c0f4faf0
RM
187122012-08-20 Roland McGrath <roland@hack.frob.com>
18713
696da859
RM
18714 * manual/syslog.texi (syslog; vsyslog, closelog):
18715 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18716 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18717
c0f4faf0
RM
18718 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18719 DSOCAPS to match condition on defining it.
18720
348363b2
JM
187212012-08-20 Joseph Myers <joseph@codesourcery.com>
18722
a35cbf28
JM
18723 * sysdeps/unix/sysv/linux/kernel-features.h
18724 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18726 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18727 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18729 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18730 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18732 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18733 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18734
445f7ecd
JM
18735 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18736 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18737
348363b2
JM
18738 * sysdeps/unix/sysv/linux/kernel-features.h
18739 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18740 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18741 unconditional.
18742 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18743 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18744 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18745 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18746 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18747 Make code unconditional.
18748 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18749 (__mmap64) [!__NR_mmap2]: Likewise.
18750 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18751 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18752 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18753 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18754 [__NR_mmap2]: Make code unconditional.
18755 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18756 (__mmap64) [!__NR_mmap2]: Likewise.
18757
bc5bc0e5
AK
187582012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18759
18760 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18761
88d506de
AJ
187622012-08-18 Andreas Jaeger <aj@suse.de>
18763
18764 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18765
493387d2
MF
187662012-08-18 Mike Frysinger <vapier@gentoo.org>
18767
18768 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18769 * include/unistd.h (__have_sock_cloexec): Likewise.
18770 (__have_pipe2): Likewise.
18771 (__have_dup3): Likewise.
18772
a277af22
MF
187732012-08-18 Mike Frysinger <vapier@gentoo.org>
18774
18775 [BZ #9685]
18776 * include/unistd.h (__have_pipe2): Change define into an extern int.
18777 (__have_dup3): Likewise.
18778 * socket/have_sock_cloexec.c: Include fcntl.h.
18779 (__have_pipe2): New variable.
18780 (__have_dup3): Likewise.
18781
fdab8fd3
MF
187822012-08-17 Mike Frysinger <vapier@gentoo.org>
18783
18784 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18785
31035e80
MP
187862012-08-17 Marek Polacek <polacek@redhat.com>
18787
18788 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18789 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18790
3bd9e993
RM
187912012-08-17 Roland McGrath <roland@hack.frob.com>
18792
c91c505f
RM
18793 * configure.in: Add AC_SUBST for sysheaders.
18794 * configure: Regenerated.
18795 * config.make.in (sysheaders): New substituted variable.
18796
7c6f9d53
RM
18797 * sysdeps/unix/mkfifo.c: Moved ...
18798 * sysdeps/posix/mkfifo.c: ... here.
18799 * sysdeps/unix/mkfifoat.c: Moved ...
18800 * sysdeps/posix/mkfifoat.c: ... here.
18801
18802 * sysdeps/unix/utime.c: Moved ...
18803 * sysdeps/posix/utime.c: ... here.
18804
18805 * sysdeps/unix/time.c: Moved ...
18806 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
18807 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18808 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
18809
18810 * sysdeps/unix/nice.c: Moved ...
18811 * sysdeps/posix/nice.c: ... here.
18812
18813 * sysdeps/unix/alarm.c: Moved ...
18814 * sysdeps/posix/alarm.c: ... here.
18815
3bd9e993
RM
18816 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18817
d1f09384
JL
188182012-08-17 Jeff Law <law@redhat.com>
18819
18820 * intl/Makefile (codeset_mo): New variable.
18821 ($(codeset_mo)): New target.
18822 (tst-codeset.out): Depend on that. Remove explicit rule.
18823 (tst-gettext3.out, tst-gettext5.out): Likewise.
18824 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18825 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18826 * intl/tst-codeset.sh: Remove.
18827 * intl/tst-gettext3.sh: Likewise.
18828 * intl/tst-gettext5.sh: Likewise.
18829
2ae1ae5c
RM
188302012-08-17 Roland McGrath <roland@hack.frob.com>
18831
c31fdb83
RM
18832 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18833 * sysdeps/unix/syscalls.list: ... here.
18834
a0844057
RM
18835 * sysdeps/posix/getaddrinfo.c
18836 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18837 (gaiconf_init, gaiconf_reload): Use them.
18838 [!_STATBUF_ST_NSEC]
18839 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18840 Define using time_t rather than struct timespec.
18841
750c1f2a
RM
18842 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18843 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18844 Macros removed.
18845 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18846 [!NO_THREADS].
18847 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18848 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18849 Likewise.
18850
2ae1ae5c
RM
18851 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18852 __libc_cleanup_push argument.
18853
e66a42f5
RM
18854 * bits/param.h: New file.
18855 * misc/sys/param.h: New file.
18856 * include/sys/param.h: New file.
18857 * misc/Makefile (headers): Add bits/param.h.
18858 * sysdeps/generic/sys/param.h: File removed.
18859 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18860 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18861 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 18862 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 18863
b7c08a66
RM
18864 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18865 last change.
18866
b2e1c562
RM
18867 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18868 [_IO_MTSAFE_IO].
18869 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18870 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18871 New macros.
18872
c75ccd4c
RM
18873 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18874 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18875 rather than -D_IO_MTSAFE_IO conditionally.
18876 * stdio-common/Makefile (CPPFLAGS): Likewise.
18877 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18878 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18879 Use $(libio-mtsafe).
18880 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18881 of -D_IO_MTSAFE_IO.
18882 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18883 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18884 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18885 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18886 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18887 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18888 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18889 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18890 (CFLAGS-fread_u_chk.c): Likewise.
18891 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18892 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18893 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18894 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18895 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18896 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18897 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18898 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18899 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18900
18901 * libio/Makefile: Test [$(libc-reentrant) = yes]
18902 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18903
18904 * Makeconfig
18905 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18906 * sysdeps/pthread/configure: File removed.
18907 * sysdeps/pthread/Makeconfig: New file.
18908 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18909 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18910
d9195db8
GB
189112012-08-16 Gary Benson <gbenson@redhat.com>
18912
18913 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18914 unmapping the first object in a namespace.
18915
86466cd9
RM
189162012-08-16 Roland McGrath <roland@hack.frob.com>
18917
18918 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18919 (__internal_setnetgrent): ... this. Add internal_function to
18920 definition. Add libc_hidden_def.
18921 (setnetgrent): Update caller.
18922 (internal_endnetgrent): Renamed to ...
18923 (__internal_endnetgrent): ... this. Add internal_function to
18924 definition. Add libc_hidden_def.
18925 (endnetgrent): Update caller.
18926 (internal_getnetgrent_r): Renamed to ...
18927 (__internal_getnetgrent_r): ... this. Add internal_function to
18928 definition. Add libc_hidden_def.
18929 (__getnetgrent_r): Update caller.
18930 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18931
c3c8283c
JM
189322012-08-16 Joseph Myers <joseph@codesourcery.com>
18933
18934 * stdlib/longlong.h: Update from GCC.
18935
db1ee0a8
RM
189362012-08-16 Roland McGrath <roland@hack.frob.com>
18937
18938 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18939 on _QL, which is set by umul_ppmm but never used.
18940 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18941 variables, which are set by GMP macros but never used.
18942 * stdio-common/_itowa.c (_itowa): Likewise.
18943 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18944 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18945
30f69637
CD
189462012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18947
18948 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18949 struct La_sh_regs is not constant.
18950 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18951 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18952 and struct La_sparc64_regs are not constant.
18953
93a78ac4
JM
189542012-08-16 Joseph Myers <joseph@codesourcery.com>
18955
18956 * sysdeps/unix/sysv/linux/kernel-features.h
18957 (__ASSUME_POSIX_TIMERS): Remove.
18958 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18959 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18960 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18961 Make code unconditional.
18962 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18963 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18964 Make code unconditional.
18965 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18966 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18967 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18968 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18969 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18970 Make code unconditional.
18971 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18972 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18973 (__libc_missing_posix_timers): Remove.
18974
dd924cd7
RM
189752012-08-15 Roland McGrath <roland@hack.frob.com>
18976
4b4f2771
RM
18977 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18978 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18979
601c888b
RM
18980 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18981
176790a7
RM
18982 * elf/dl-sym.c: Include <stdlib.h>.
18983
329bc018
RM
18984 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18985 constants, which avoids warnings in 32-bit builds.
18986
e04e272d
RM
18987 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18988 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18989
952bf94a
RM
18990 * misc/lseek.c: File moved to ...
18991 * io/lseek.c: ... here.
18992
7c99b50a
RM
18993 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18994
dd924cd7
RM
18995 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18996 shifting LEN more than 31 bits at once.
18997
b3f479a8
LD
189982012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18999
19000 [BZ #14195]
8c4ae0d4
RM
19001 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19002 segmentation fault for a case of two empty input strings.
b3f479a8
LD
19003 * string/test-strncasecmp.c (check1): Renamed to...
19004 (bz12205): ...this.
19005 (bz14195): Add new testcase for two empty input strings and N > 0.
19006 (test_main): Call new testcase, adapt for renamed function.
19007
9c55864e
AJ
190082012-08-15 Andreas Jaeger <aj@suse.de>
19009
19010 [BZ #14090]
19011 * crypt/md5test2.c: New test, based on test supplied by Serge
19012 Belyshev <belyshev@depni.sinp.msu.ru>.
19013 * crypt/Makefile (xtests): Add md5test-giant..
19014 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19015
02dcb6c5
PE
190162012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19017
19018 [BZ #14090]
19019 * crypt/md5.c (md5_process_block): Don't assume the buffer
19020 length is less than 2**32.
19021 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19022 length is less than 2**64.
19023
a3f95dcc
RM
190242012-08-15 Roland McGrath <roland@hack.frob.com>
19025
be75d758
RM
19026 * string/str-two-way.h: Include <sys/param.h>.
19027 (MAX): Macro removed.
19028
7312ca90
RM
19029 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19030 Move #define and #undef of memmove to just before and after
19031 including <string.h>.
19032
9a0a5486
RM
19033 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19034 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19035 and after including <string.h>. Move declarations of
19036 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19037 to before #include "string/memmove.c".
19038
67cc348d
RM
19039 * include/dirent.h: Declare __getdirentries.
19040
a3f95dcc
RM
19041 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19042 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19043
ca98e171
MF
190442012-08-14 Mike Frysinger <vapier@gentoo.org>
19045
19046 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19047 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19048 * sysdeps/i386/configure: Regenerated.
19049 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19050 STABS_CURRENT_FILE, and STABS_FUN.
19051 (END): Remove call to STABS_FUN_END.
19052 (STABS_CURRENT_FILE1): Delete.
19053 (STABS_CURRENT_FILE): Likewise.
19054 (STABS_FUN): Likewise.
19055 (STABS_FUN_END): Likewise.
19056 (STABS_FUN2): Likewise.
19057 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19058 * sysdeps/x86_64/configure: Regenerated.
19059
5908bf46
RM
190602012-08-14 Roland McGrath <roland@hack.frob.com>
19061
19062 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 19063 * elf/dl-lookup.c: Likewise.
5908bf46 19064
f2c05b9e
JM
190652012-08-14 Joseph Myers <joseph@codesourcery.com>
19066
19067 * sysdeps/unix/sysv/linux/kernel-features.h
19068 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19069 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19070 unconditionally.
19071 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19072 unconditionally.
19073 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19074 condition on __ASSUME_CLONE_THREAD_FLAGS.
19075
e11f5155
AJ
190762012-08-14 Andreas Jaeger <aj@suse.de>
19077
19078 * sysdeps/i386/fpu/libm-test-ulps: Update.
19079
51a9ba86
MK
190802012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19081
2fdd4f78
AJ
19082 * include/atomic.h (atomic_exchange_and_add): Split into ...
19083 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19084 New atomic macros.
51a9ba86 19085
ba6cba9e
MT
190862012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19087
19088 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19089
42443a47
JL
190902012-08-13 Jeff Law <law@redhat.com>
19091
19092 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19093 null byte in the output string.
19094
121dce05
JM
190952012-08-10 Joseph Myers <joseph@codesourcery.com>
19096
19097 * sysdeps/unix/sysv/linux/kernel-features.h
19098 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19099 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19100 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19101 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19102 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19103 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19104 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19105
bf51f568
JL
191062012-08-09 Jeff Law <law@redhat.com>
19107
19108 [BZ #13939]
19109 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19110 When avoid_arena is set, don't retry in the that arena. Pick the
19111 next one, whatever it might be.
19112 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19113 (arena_lock): Pass in new parameter to arena_get2.
19114 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19115 arena_get2.
19116 (__libc_malloc): Unify retrying after main arena failure with
19117 __libc_memalign version.
19118 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19119
f85fa270
L
191202012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19121
19122 [BZ #14166]
19123 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19124 to __redirect_strstr.
19125 (__strstr_sse42): Use typeof __redirect_strstr.
19126 (__strstr_ia32): Likewise.
19127 (__libc_strstr): New prototype.
19128 (strstr): Renamed to ...
19129 (__libc_strstr): This.
19130 (strstr): New strong alias of __libc_strstr.
19131 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19132 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19133 __redirect_time.
19134 Include <time.h>.
19135 (__libc_time): New prototype.
19136 (time_ifunc): Replace time with __libc_time.
19137 (time): New strong alias and hidden definition of __libc_time.
19138 (__GI_time): Remove strong alias.
19139 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19140 Include <stddef.h>.
19141 (memmove): Redefined to __redirect_memmove.
19142 (__memmove_sse2): Use typeof __redirect_memmove.
19143 (__memmove_ssse3): Likewise.
19144 (__memmove_ssse3_back): Likewise.
19145 (__libc_memmove): New prototype.
19146 (memmove): Renamed to ...
19147 (__libc_memmove): This.
19148 (memmove): New strong alias of __libc_memmove.
19149
33b4a91e
MS
191502012-08-08 Mark Salter <msalter@redhat.com>
19151
19152 * elf/elf.h
19153 (R_MN10300_TLS_GD): Define.
19154 (R_MN10300_TLS_LD): Likewise.
19155 (R_MN10300_TLS_LDO): Likewise.
19156 (R_MN10300_TLS_GOTIE): Likewise.
19157 (R_MN10300_TLS_IE): Likewise.
19158 (R_MN10300_TLS_LE): Likewise.
19159 (R_MN10300_TLS_DTPMOD): Likewise.
19160 (R_MN10300_TLS_DTPOFF): Likewise.
19161 (R_MN10300_TLS_TPOFF): Likewise.
19162 (R_MN10300_SYM_DIFF): Likewise.
19163 (R_MN10300_ALIGN): Likewise.
19164 (R_MN10300_NUM): Update.
19165
b36137f1
JM
191662012-08-08 Joseph Myers <joseph@codesourcery.com>
19167
19168 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19169 Remove.
19170
cdd915fd
RM
191712012-08-08 Roland McGrath <roland@hack.frob.com>
19172
a2433aac
RM
19173 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19174
cdd915fd
RM
19175 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19176 sysdeps/unix -> sysdeps/posix move.
19177 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19178
bf9b740a
AM
191792012-08-07 Allan McRae <allan@archlinux.org>
19180
19181 [BZ #14303]
19182 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19183 (SUNOS_CPP): Likewise.
19184 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19185 not found.
19186 (open_input): Call CPP using execvp.
19187
93df14ee
JM
191882012-08-07 Joseph Myers <joseph@codesourcery.com>
19189
19190 * sysdeps/unix/sysv/linux/kernel-features.h
19191 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19192 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19193 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19194 (__ASSUME_WAITID_SYSCALL): Likewise.
19195 * sysdeps/unix/sysv/linux/dl-execstack.c
19196 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19197 code unconditional.
19198 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19199 conditional code.
19200 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19201 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19202 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19203 code.
19204 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19205 unconditional.
19206 [__ASSUME_WAITID_SYSCALL]: Likewise.
19207 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19208
d34689de
RM
192092012-08-07 Roland McGrath <roland@hack.frob.com>
19210
a281decc
RM
19211 * sysdeps/unix/closedir.c: Renamed to ...
19212 * sysdeps/posix/closedir.c: ... here.
19213 * sysdeps/unix/dirfd.c: Renamed to ...
19214 * sysdeps/posix/dirfd.c: ... here.
19215 * sysdeps/unix/dirstream.h: Renamed to ...
19216 * sysdeps/posix/dirstream.h: ... here.
19217 * sysdeps/unix/fdopendir.c: Renamed to ...
19218 * sysdeps/posix/fdopendir.c: ... here.
19219 * sysdeps/unix/opendir.c: Renamed to ...
19220 * sysdeps/posix/opendir.c: ... here.
19221 * sysdeps/unix/readdir.c: Renamed to ...
19222 * sysdeps/posix/readdir.c: ... here.
19223 * sysdeps/unix/readdir_r.c: Renamed to ...
19224 * sysdeps/posix/readdir_r.c: ... here.
19225 * sysdeps/unix/rewinddir.c: Renamed to ...
19226 * sysdeps/posix/rewinddir.c: ... here.
19227 * sysdeps/unix/seekdir.c: Renamed to ...
19228 * sysdeps/posix/seekdir.c: ... here.
19229 * sysdeps/unix/telldir.c: Renamed to ...
19230 * sysdeps/posix/telldir.c: ... here.
19231 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19232 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19233 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19234 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19235
22895b47
RM
19236 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19237 * bits/fcntl.h: ... here.
19238
707a53b6
RM
19239 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19240 not 0.
19241 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19242 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19243 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19244 (struct flock): Move l_start, l_len to the beginning.
19245 Use __pid_t for l_pid.
19246 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19247 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19248 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19249 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19250 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19251 [__USE_LARGEFILE64] (struct flock64): New type.
19252 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19253
f0bd3e25
RM
19254 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19255 * bits/dirent.h: ... here.
19256
d34689de
RM
19257 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19258 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19259
6dad2c06
JM
192602012-08-07 Joseph Myers <joseph@codesourcery.com>
19261
19262 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19263 Change from 2.6.0 to 2.6.16.
19264 * sysdeps/unix/sysv/linux/configure: Regenerated.
19265 * sysdeps/unix/sysv/linux/kernel-features.h
19266 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19267 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19268 version.
19269 (__ASSUME_UTIMES): Likewise.
19270 (__ASSUME_CLONE_STOPPED): Remove.
19271 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19272 architectures, not kernel version.
19273 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19274 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19275 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19276 (__ASSUME_WAITID_SYSCALL): Likewise.
19277 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19278 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19279 * README: State 2.6.16 as minimum Linux kernel version. Do not
19280 refer to older versions.
19281
03af9520
RM
192822012-08-06 Roland McGrath <roland@hack.frob.com>
19283
8e49df1d
RM
19284 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19285 Define alphasort64 as an alias.
19286 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19287 Define versionsort64 as an alias.
19288 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19289 Define scandir64 as an alias.
19290 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19291 Define scandirat64 as an alias.
19292 * dirent/alphasort64.c (alphasort64):
19293 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19294 * dirent/versionsort64.c: Likewise.
19295 * dirent/scandir64.c: Likewise.
19296 * dirent/scandirat64.c: Likewise.
19297 * sysdeps/wordsize-64/alphasort.c: File removed.
19298 * sysdeps/wordsize-64/alphasort64.c: File removed.
19299 * sysdeps/wordsize-64/scandir.c: File removed.
19300 * sysdeps/wordsize-64/scandir64.c: File removed.
19301 * sysdeps/wordsize-64/scandirat.c: File removed.
19302 * sysdeps/wordsize-64/scandirat64.c: File removed.
19303 * sysdeps/wordsize-64/versionsort.c: File removed.
19304 * sysdeps/wordsize-64/versionsort64.c: File removed.
19305 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19306 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19307 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19308 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19309 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19310 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19311 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19312 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19313
19314 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19315 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19316 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19317 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19318 [defined __arch64__ || defined __sparcv9]
19319 (__INO_T_MATCHES_INO64_T): New macro.
19320 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19321 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19322 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19323 * sysdeps/unix/sysv/linux/bits/dirent.h
19324 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19325 (_DIRENT_MATCHES_DIRENT64): New macro.
19326
03af9520
RM
19327 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19328 Define lockf64 as an alias.
19329 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19330 Define fseeko64 as an alias.
19331 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19332 Define ftello64 as an alias.
19333 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19334 Define _IO_fgetpos64 and fgetpos64 as aliases.
19335 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19336 Define _IO_fsetpos64 and fsetpos64 as aliases.
19337 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19338 Conditionalize body on this.
19339 * libio/fseeko64.c: Likewise.
19340 * libio/ftello64.c: Likewise.
19341 * libio/iofgetpos64.c: Likewise.
19342 * libio/iofsetpos64.c: Likewise.
19343 * sysdeps/wordsize-64/lockf.c: File removed.
19344 * sysdeps/wordsize-64/lockf64.c: File removed.
19345 * sysdeps/wordsize-64/fseeko.c: File removed.
19346 * sysdeps/wordsize-64/fseeko64.c: File removed.
19347 * sysdeps/wordsize-64/ftello.c: File removed.
19348 * sysdeps/wordsize-64/ftello64.c: File removed.
19349 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19350 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19351 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19352 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19353 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19354 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19355 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19356 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19357 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19358 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19359 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19360 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19361 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19362 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19363
19364 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19365 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19366 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19367 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19368 [defined __arch64__ || defined __sparcv9]
19369 (__OFF_T_MATCHES_OFF64_T): New macro.
19370 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19371 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19372 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19373 (__OFF_T_MATCHES_OFF64_T): New macro.
19374
c5757acd
L
193752012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19376
19377 * stdlib/secure-getenv.c (__secure_getenv): Replace
19378 GLIBC_2_16 with GLIBC_2_17.
19379
3a31811e
L
193802012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19381
19382 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19383 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19384
faa2bccb
DM
193852012-08-03 David S. Miller <davem@davemloft.net>
19386
19387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19388
85fe1997
JM
193892012-08-03 Joseph Myers <joseph@codesourcery.com>
19390
19391 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19392 Remove.
19393 (__ASSUME_CORRECT_SI_PID): Likewise.
19394 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19395 (__ASSUME_TMPFS_NAME): Likewise.
19396 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19397 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19398 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19399 (HAVE_AUX_SECURE): Make definition unconditional.
19400 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19401 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19402
4f75b7a0
RM
194032012-08-03 Roland McGrath <roland@hack.frob.com>
19404
19405 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19406 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19407 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19408 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19409 __eloop_threshold instead of SYMLOOP_MAX.
19410
19411 * sysdeps/generic/eloop-threshold.h: New file.
19412 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19413 of MAXSYMLINKS.
19414 * elf/chroot_canon.c (chroot_canon): Likewise.
19415
7aab07e4
JM
194162012-08-03 Joseph Myers <joseph@codesourcery.com>
19417
19418 [BZ #13717]
19419 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19420 Change to 2.6.0 everywhere.
19421 * sysdeps/unix/sysv/linux/configure: Regenerated.
19422 * sysdeps/unix/sysv/linux/kernel-features.h
19423 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19424 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19425 kernel versions.
19426 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19427 (__ASSUME_FUTEX_REQUEUE): Remove.
19428 (__ASSUME_STATFS64): Define unconditionally.
19429 (__ASSUME_AT_SECURE): Likewise.
19430 (__ASSUME_CORRECT_SI_PID): Likewise.
19431 (__ASSUME_TGKILL): Define without depending on kernel version for
19432 i386.
19433 (__ASSUME_UTIMES): Likewise.
19434 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19435 kernel version.
19436 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19437 (__ASSUME_TMPFS_NAME): Likewise.
19438 * README: Update reference to Linux kernel versions.
19439
b67e9372
MP
194402012-08-02 Marek Polacek <polacek@redhat.com>
19441
1f529f7d 19442 [BZ# 14150]
b67e9372
MP
19443 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19444 libc_cv_asm_type_prefix with %.
19445 * configure: Regenerated.
d2441631
RM
19446 * include/libc-symbols.h: Remove comment about
19447 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
19448 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19449 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19450 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19451 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19452 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19453 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19454 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19455 * elf/tst-unique2mod1.c: Likewise.
19456 * elf/tst-unique1mod2.c: Likewise.
19457 * elf/tst-unique1mod1.c: Likewise.
19458 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19459 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19460 Replace ASM_TYPE_DIRECTIVE with .type.
19461 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19462 * sysdeps/i386/sysdep.h: Likewise.
19463 * sysdeps/x86_64/sysdep.h: Likewise.
19464 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
19465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19466 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 19467 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
19468 * sysdeps/powerpc/powerpc32/sysdep.h:
19469 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
19470 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19471 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19472 * sysdeps/i386/fpu/e_powf.S: Likewise.
19473 * sysdeps/i386/fpu/e_expl.S: Likewise.
19474 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19475 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19476 * sysdeps/i386/fpu/e_pow.S: Likewise.
19477 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19478 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19479 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19480 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19481 * sysdeps/i386/fpu/e_log2.S: Likewise.
19482 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19483 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19484 * sysdeps/i386/fpu/e_powl.S: Likewise.
19485 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19486 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19487 * sysdeps/i386/fpu/e_logl.S: Likewise.
19488 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19489 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19490 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19491 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19492 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19493 * sysdeps/i386/fpu/e_log.S: Likewise.
19494 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19495 * sysdeps/i386/fpu/e_logf.S: Likewise.
19496 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19497 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19498 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19499 * sysdeps/i386/fpu/e_log10.S: Likewise.
19500 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19501 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19502 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19503 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19504 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19505 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19506 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19507 * sysdeps/i386/i686/strtok.S: Likewise.
19508 * sysdeps/i386/i386-mcount.S: Likewise.
19509 * sysdeps/i386/strtok.S: Likewise.
19510 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19511 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19512 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19513 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19514 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19515 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19516 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19517 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19518 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19519 * sysdeps/x86_64/_mcount.S: Likewise.
19520 * sysdeps/x86_64/strtok.S: Likewise.
19521 * sysdeps/sh/_mcount.S: Likewise.
19522
2747bf9a
RM
195232012-08-01 Roland McGrath <roland@hack.frob.com>
19524
19525 * libio/iofopen.c: Include <fcntl.h>.
19526 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19527 (_IO_fopen64, fopen64): Define as aliases.
19528 * libio/iofopen64.c: Include <fcntl.h>.
19529 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19530 Conditionalize body on this.
19531 * sysdeps/wordsize-64/iofopen.c: File removed.
19532 * sysdeps/wordsize-64/iofopen64.c: File removed.
19533
3fb791b8
MP
195342012-08-01 Marek Polacek <polacek@redhat.com>
19535
19536 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19537 Use dlfcn directly instead of a variable.
19538 (binfmt-subdir): Do not define.
19539 (dlfcn): Likewise.
19540
a9f1039f
JM
195412012-08-01 Joseph Myers <joseph@codesourcery.com>
19542
23bddc06
JM
19543 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19544 Remove all definitions.
19545 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19546 <kernel-features.h>.
19547 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19548 (miss_F_GETOWN_EX): Remove all definitions.
19549 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19550 macro definition.
19551 [!__ASSUME_FCNTL64]: Remove conditional code.
19552 [__ASSUME_FCNTL64]: Make code unconditional.
19553 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19554 <kernel-features.h>.
19555 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19556 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19557 (lockf64) [__NR_fcntl64]: Make code unconditional.
19558 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19559
a9f1039f
JM
19560 * sysdeps/unix/sysv/linux/kernel-features.h
19561 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19562 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19563 Make code unconditional.
19564 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19565 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19567 [__NR_vfork]: Make code unconditional.
19568 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19569 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19571 [__NR_vfork]: Make code unconditional.
19572 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19573 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19574
09c0ee5f
RM
195752012-08-01 Roland McGrath <roland@hack.frob.com>
19576
48aec5b9
RM
19577 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19578 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19579
cd97c966
RM
19580 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19581 Define mkstemp64 as an alias.
3f55550c
RM
19582 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19583 Define mkstemps64 as an alias.
cd97c966
RM
19584 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19585 Define mkostemp64 as an alias.
b8625cfc
RM
19586 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19587 Define mkostemps64 as an alias.
cd97c966
RM
19588 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19589 Conditionalize body on this.
19590 * misc/mkostemp64.c: Likewise.
b8625cfc 19591 * misc/mkostemps64.c: Likewise.
3f55550c 19592 * misc/mkstemps64.c: Likewise.
cd97c966
RM
19593 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19594 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19595 * sysdeps/wordsize-64/mkostemp.c: File removed.
19596 * sysdeps/wordsize-64/mkstemp.c: File removed.
19597 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19598 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19599 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19600 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19601
09c0ee5f
RM
19602 [BZ #14138]
19603 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19604 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19605 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19606 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19607
19608 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19609 compat_symbol macros from <shlib-compat.h> rather than the underlying
19610 default_symbol_version and symbol_version macros, so that DEFAULT
19611 lines in shlib-versions are respected.
19612 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19613
7e66ee51
FW
196142012-08-01 Florian Weimer <fweimer@redhat.com>
19615
19616 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19617 Declare with warn_unused_result.
19618 (setgid, setregid, setegid, setresgid): Likewise.
19619 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19620 Likewise.
19621 * WUR-REPORT: Remove set*id functions.
19622
d2a54255
PT
196232012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19624
19625 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19626
7ecdb005
RM
196272012-07-31 Roland McGrath <roland@hack.frob.com>
19628
b4180a5e 19629 [BZ #10191]
789bd351
RM
19630 * include/sys/socket.h (__libc_accept, __libc_accept4):
19631 Add attribute_hidden.
19632 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19633
40ce302d
RM
19634 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19635 use of PTR_MANGLE.
19636 * inet/getnetgrent_r.c (setup): Likewise.
19637
7ecdb005
RM
19638 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19639
e2eabb2c
DM
196402012-07-31 David S. Miller <davem@davemloft.net>
19641
19642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19643
d0419dbf
JM
196442012-07-31 Joseph Myers <joseph@codesourcery.com>
19645
19646 [BZ #13629]
19647 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19648 value between 1.0 and 2.0 and smaller part has absolute value less
19649 than 1.0.
19650 * math/s_clog10.c (__clog10): Likewise.
19651 * math/s_clog10f.c (__clog10f): Likewise.
19652 * math/s_clog10l.c (__clog10l): Likewise.
19653 * math/s_clogf.c (__clogf): Likewise.
19654 * math/s_clogl.c (__clogl): Likewise.
19655 * math/libm-test.inc (clog_test): Add more tests.
19656 (clog10_test): Likewise.
19657 * sysdeps/i386/fpu/libm-test-ulps: Update.
19658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19659
2bc13872
FW
196602012-07-31 Florian Weimer <fweimer@redhat.com>
19661
19662 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19663 Exit with zero in case no suitable GID is found, and write a
19664 message to standard error.
19665
bea9b193
RM
196662012-07-30 Roland McGrath <roland@hack.frob.com>
19667
19668 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19669 rather than to 1.
19670 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19671 (MAXPATHLEN): Removed.
19672 (NOGROUP, NODEV): New macros.
19673 (setbit, clrbit, isset, isclr): New macros.
19674 (howmany, roundup, powerof2): New macros.
19675 (DEV_BSIZE): New macro.
19676
19677 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19678 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19679
19680 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19681 definition on [!__NO_LONG_DOUBLE_MATH].
19682
19683 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19684 PTR_MANGLE and PTR_DEMANGLE.
19685
19686 * socket/accept4.c (accept4): Rename to __libc_accept4.
19687 Define accept4 as a weak alias.
19688
19689 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19690 on [_DIRENT_HAVE_D_TYPE].
19691 * io/ftw.c (ftw_dir): Likewise.
19692
19693 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19694
19695 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19696
19697 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19698 Use the BSD numbers rather than the arbitrary ones we had.
19699 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19700 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19701 (SIGXCPU, SIGXFSZ): New macros.
19702 (_NSIG): Now 32.
19703
19704 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19705 initializer on [_LIBC_REENTRANT].
19706
19707 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19708 definitions inside [_POSIX_MAPPED_FILES].
19709
19710 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19711
19712 * dirent/opendir.c: Include <fcntl.h>.
19713
19714 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19715 (__libc_getspecific): Likewise.
19716 (__libc_key_create): Likewise.
19717
19718 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19719 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19720 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19721 (tmpfile64): Define as alias.
19722 * sysdeps/wordsize-64/tmpfile.c: File removed.
19723 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19724 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19725 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19726
19727 * stdio-common/vfscanf.c: Include <stdbool.h>.
19728 * nss/makedb.c: Likewise.
19729 * stdio-common/_i18n_number.h: Likewise.
19730 * argp/argp-help.c: Likewise.
19731 * posix/wordexp.c: Likewise.
19732 * sysdeps/posix/spawni.c: Likewise.
19733 * nss/nss_files/files-initgroups.c: Likewise.
19734 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19735 * nss/nss_files/files-initgroups.c: Likewise.
19736 * nss/nss_db/db-netgrp.c: Likewise.
19737 * nss/nss_db/db-initgroups.c: Likewise.
19738 * io/fchmodat.c: Include <sys/stat.h>.
19739
19740 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19741 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19742
19743 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19744 [HAVE_MMAP].
19745
19746 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19747 Add multiple inclusion protection.
19748
e5abc686
DM
197492012-07-27 David S. Miller <davem@davemloft.net>
19750
19751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19752
815e6fa3
GB
197532012-07-27 Gary Benson <gbenson@redhat.com>
19754
19755 [BZ #14298]
19756 * elf/rtld.c: Include <stap-probe.h>.
19757 (dl_main): Added static probes "init_start" and "init_complete".
19758 * elf/dl-load.c: Include <stap-probe.h>.
19759 (lose): Take new parameter "nsid".
19760 Added static probe "map_failed".
19761 (_dl_map_object_from_fd): Pass namespace id to lose.
19762 Added static probe "map_start".
19763 (open_verify): Pass namespace id to lose.
19764 * elf/dl-open.c: Include <stap-probe.h>.
19765 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19766 and "reloc_complete".
19767 * elf/dl-close.c: Include <stap-probe.h>.
19768 (_dl_close_worker): Added static probes "unmap_start" and
19769 "unmap_complete".
19770 * elf/rtld-debugger-interface.txt: New file documenting the above.
19771
9f98c16c
RM
197722012-07-26 Roland McGrath <roland@hack.frob.com>
19773
19774 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19775 rather than a string variable.
19776 * sunrpc/rpc_main.c (h_output): Likewise.
19777 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19778
f3c22df3
PT
197792012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19780
19781 * inet/check_native.c: New file.
19782
3129cfc6
JM
197832012-07-26 Joseph Myers <joseph@codesourcery.com>
19784
da865e95
JM
19785 [BZ #13629]
19786 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19787 if larger part has absolute value 1.0.
19788 * math/s_clog10.c (__clog10): Likewise.
19789 * math/s_clog10f.c (__clog10f): Likewise.
19790 * math/s_clog10l.c (__clog10l): Likewise.
19791 * math/s_clogf.c (__clogf): Likewise.
19792 * math/s_clogl.c (__clogl): Likewise.
19793 * math/libm-test.inc (clog_test): Add more tests.
19794 (clog10_test): Likewise.
19795 * sysdeps/i386/fpu/libm-test-ulps: Update.
19796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19797
3129cfc6
JM
19798 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19799 (pltexit): Likewise.
19800 (La_regs): Likewise.
19801 (La_retval): Likewise.
19802 (int_retval): Likewise.
19803 Update #error for removed macros to refer only to definitions in
19804 tst-audit.h.
19805 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19806 macro.
19807 (pltexit): Likewise.
19808 (La_regs): Likewise.
19809 (La_retval): Likewise.
19810 (int_retval): Likewise.
19811 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19812 macro.
19813 (pltexit): Likewise.
19814 (La_regs): Likewise.
19815 (La_retval): Likewise.
19816 (int_retval): Likewise.
19817 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19818 macro.
19819 (pltexit): Likewise.
19820 (La_regs): Likewise.
19821 (La_retval): Likewise.
19822 (int_retval): Likewise.
19823 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19824 macro.
19825 (pltexit): Likewise.
19826 (La_regs): Likewise.
19827 (La_retval): Likewise.
19828 (int_retval): Likewise.
19829 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19830 macro.
19831 (pltexit): Likewise.
19832 (La_regs): Likewise.
19833 (La_retval): Likewise.
19834 (int_retval): Likewise.
19835 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19836 macro.
19837 (pltexit): Likewise.
19838 (La_regs): Likewise.
19839 (La_retval): Likewise.
19840 (int_retval): Likewise.
19841 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19842 macro definitions in tst-audit.h.
19843 * sysdeps/i386/tst-audit.h: New file.
19844 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19845 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19846 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19847 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19848 * sysdeps/sh/tst-audit.h: Likewise.
19849 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19850 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19851 * sysdeps/x86_64/tst-audit.h: Likewise.
19852
bfc07087
AJ
198532012-07-26 Andreas Jaeger <aj@suse.de>
19854
b1b2aaf8
AJ
19855 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19856 ptrace.
19857
19858 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19859 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19860 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19861 PTRACE_O_MASK.
19862 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19863 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19864 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19865
bfc07087
AJ
19866 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19867 value.
19868
19869 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19870 _sigsys.
19871 (si_call_addr, si_syscall, si_arch): Define new macro.
19872 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19873 _sigsys.
19874 (si_call_addr, si_syscall, si_arch): Define new marcro.
19875 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19876 _sigsys.
19877 (si_call_addr, si_syscall, si_arch): Define new macro.
19878 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19879 _sigsys.
19880 (si_call_addr, si_syscall, si_arch): Define new macro.
19881
89b4b02f
JM
198822012-07-25 Joseph Myers <joseph@codesourcery.com>
19883
19884 [BZ #13717]
19885 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19886 Change to 2.4.21 where previously 2.4.1.
19887 * sysdeps/unix/sysv/linux/configure: Regenerated.
19888 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19889 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19890 Linux kernel version.
19891 (__ASSUME_STD_AUXV): Remove.
19892 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19893 kernel version.
19894 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19895 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19896 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19897 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19898 (__ASSUME_NETLINK_SUPPORT): Likewise.
19899 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19900 (__no_netlink_support): Remove conditional definition.
19901 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19902 Remove.
19903 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19904 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19905 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19906 (if_nameindex_ioctl): Remove.
19907 (if_nameindex_netlink): Do not handle __no_netlink_support.
19908 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19909 code.
19910 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19911 Remove conditional code.
19912 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19913 code.
19914 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19915 unconditional.
19916 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19917 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19918 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19919 Remove.
19920 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19921 [!__ASSUME_STD_AUXV]: Remove conditional code.
19922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19923 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19924 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19926 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19927 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19928 code.
19929 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19931 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19932 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19933 conditional code.
19934 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19936 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19937 code.
19938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19939 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19940 conditional code.
19941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19942 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19943 code unconditional.
19944 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19945 conditional code.
19946 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19947 unconditional.
19948 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19949 conditional code.
19950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19951 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19952 unconditional.
19953 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19954 conditional code.
19955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19956 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19957 code unconditional.
19958 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19959 conditional code.
19960 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19961 unconditional.
19962 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19963 conditional code.
19964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19965 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19966 code unconditional.
19967 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19968 conditional code.
19969 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19970 unconditional.
19971 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19972 conditional code.
19973
842a39cd
AS
199742012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19975
19976 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19977 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19978 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19979 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19980 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19981 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19982 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19983 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19984 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19985 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19986 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19987 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19988 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19989 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19990 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19991 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19992 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19993 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19994 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19995 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19996 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19997 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19998 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19999
84b3fd84
FW
200002012-07-25 Florian Weimer <fweimer@redhat.com>
20001
20002 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
20003 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20004 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20005 Introduce __libc_secure_getenv.
0c7936d5
FW
20006 * stdlib/Versions (2.17): Add secure_getenv
20007 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20008 * stdlib/secure-getenv.c: Rename __secure_getenv to
20009 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20010 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
20011 * stdlib/tst-secure-getenv.c: New.
20012 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
20013 * manual/startup.texi (Environment Access): Document
20014 secure_getenv.
84b3fd84
FW
20015 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20016 __libc_secure_getenv.
20017 * inet/ruserpass.c (ruserpass): Likewise.
20018 * malloc/mtrace.c (mtrace): Likewise.
20019 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 20020 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
20021 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20022 * sysdeps/posix/tempname.c: Likewise. Evaluate
20023 HAVE_SECURE_GETENV.
20024 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 20025 __secure_getenv to __libc_secure_getenv.
84b3fd84 20026 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
20027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20028 Likewise.
20029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20030 Likewise.
20031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20033 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 20038
56e49b71
JM
200392012-07-25 Joseph Myers <joseph@codesourcery.com>
20040
20041 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20042 (struct La_i86_retval): Likewise.
20043 (struct La_x86_64_regs): Likewise.
20044 (struct La_x86_64_retval): Likewise.
20045 (struct La_x32_regs): Likewise.
20046 (struct La_x32_retval): Likewise.
20047 (struct La_ppc32_regs): Likewise.
20048 (struct La_ppc32_retval): Likewise.
20049 (struct La_ppc64_regs): Likewise.
20050 (struct La_ppc64_retval): Likewise.
20051 (struct La_sh_regs): Likewise.
20052 (struct La_sh_retval): Likewise.
20053 (struct La_s390_32_regs): Likewise.
20054 (struct La_s390_32_retval): Likewise.
20055 (struct La_s390_64_regs): Likewise.
20056 (struct La_s390_64_retval): Likewise.
20057 (struct La_sparc32_regs): Likewise.
20058 (struct La_sparc32_retval): Likewise.
20059 (struct La_sparc64_regs): Likewise.
20060 (struct La_sparc64_retval): Likewise.
20061 (struct audit_ifaces): Remove architecture-specific pltenter and
20062 pltexit members.
20063 * sysdeps/i386/ldsodefs.h: New file.
20064 * sysdeps/powerpc/ldsodefs.h: Likewise.
20065 * sysdeps/s390/ldsodefs.h: Likewise.
20066 * sysdeps/sh/ldsodefs.h: Likewise.
20067 * sysdeps/sparc/ldsodefs.h: Likewise.
20068 * sysdeps/x86_64/ldsodefs.h: Likewise.
20069
354691b7
MP
200702012-07-25 Marek Polacek <polacek@redhat.com>
20071
20072 [BZ #6808]
20073 * math/libm-test.inc (yn_test): Add another test.
20074 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20075 to ERANGE when the result is +-Inf.
20076 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20077 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20078 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20079 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20080
bf9e2071
JM
200812012-07-24 Joseph Myers <joseph@codesourcery.com>
20082
20083 * conform/data/time.h-data (NULL): Use macro-constant. Require
20084 equal to 0.
20085 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20086 clock_t.
20087 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20088
57633811
TS
200892012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20090
20091 * configure.in <sysdeps resolving>: Correct printing
20092 Implies_before.
20093 * configure: Regenerate.
20094
c23c33b0
TS
200952012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20096
20097 * math/w_ilogb.c: Include <limits.h>.
20098 * math/w_ilogbl.c: Likewise.
20099
b5982523
JM
201002012-07-20 Joseph Myers <joseph@codesourcery.com>
20101
20102 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20103 va_copy. Document allowing for unavailable va_copy only as
20104 pre-C99 compatibility.
20105 * manual/string.texi (Copying and Concatenation): Use va_copy
20106 instead of __va_copy in concat example.
20107
ac4ea442
PT
201082012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20109
20110 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20111 (__sendto): Use create_address_port. Initialize APORT and deallocate
20112 it if not null.
20113
f98eafbd
PT
20114 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20115 with O_NOLINK passed to __file_name_lookup.
20116
898c7aab
PT
20117 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20118 with O_NOLINK passed to __file_name_lookup.
20119
0ced335a
PT
20120 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20121 negative N or less than NGIDS.
20122
b3404dbd
PT
20123 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20124 type to string_t. Set ERANGE as errno and return it if NAME is not big
20125 enough. Use memcpy instead of strncpy.
20126
0f48659e
JM
201272012-07-20 Joseph Myers <joseph@codesourcery.com>
20128
20129 * elf/Makefile (check-data): Remove.
20130 (localplt.data): New vpath directive.
20131 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20132 instead of $(check-data).
20133 * scripts/data/localplt-generic.data: Move to ...
20134 * sysdeps/generic/localplt.data: ... here.
20135 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20136 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20137 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20139 ... here.
20140 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20142 ... here.
20143 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20145 ... here.
20146 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20148 ... here.
20149 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20151 ... here.
20152 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20154 ... here.
20155
d37cbdaa
AZ
201562012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20157
20158 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20159 PPC32 and PPC64 files.
20160 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20161 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20162
46f85fc2
AK
201632012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20164
20165 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20166 __makecontext_ret to ...
20167 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20168 ... here and call exit if uc_link is NULL. New file.
20169 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20170 __makecontext_ret.S.
20171 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20172 __makecontext_ret to ...
20173 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20174 ... here and call exit if uc_link is NULL. New file.
20175 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20176 __makecontext_ret.S.
20177
08f43f9b
AK
201782012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20179
20180 * elf/elf.h (R_390_IRELATIVE): New definition.
20181 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20182 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20183 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20184 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20185 (elf_machine_lazy_rel): Likewise.
20186 * sysdeps/s390/dl-irel.h: New file.
20187 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20188 * sysdeps/s390/s390-64/memset.S: New asm code.
20189 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20190 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20191 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20192 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20193 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20194 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20195 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20196 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20197 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20198 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20199 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20200 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20201 * sysdeps/s390/s390-32/memset.S: New asm code.
20202 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20203
3b05db33
MP
202042012-07-17 Marek Polacek <polacek@redhat.com>
20205
20206 [BZ #14349]
20207 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20208 * sysdeps/s390/s390-64/configure.in: Likewise.
20209 * sysdeps/sparc/configure.in: Likewise.
20210 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20211 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20212 * sysdeps/i386/configure.in: Likewise.
20213 * sysdeps/x86_64/configure.in: Likewise.
20214 * sysdeps/sh/configure.in: Likewise.
20215 * sysdeps/s390/s390-32/configure: Regenerated.
20216 * sysdeps/s390/s390-64/configure: Likewise.
20217 * sysdeps/x86_64/configure: Likewise.
20218 * sysdeps/sh/configure: Likewise.
20219 * sysdeps/powerpc/powerpc64/configure: Likewise.
20220 * sysdeps/powerpc/powerpc32/configure: Likewise.
20221 * sysdeps/sparc/configure: Likwise.
20222 * sysdeps/i386/configure: Likewise.
20223
a66877c6
MP
20224 * elf/dl-open.c: Comment fixes.
20225
cfc82fd8
JM
202262012-07-17 Joseph Myers <joseph@codesourcery.com>
20227
bd29910a
JM
20228 * Makefile [CXX] (check-data): Remove.
20229 [CXX] (c++-types.data): New vpath directive.
20230 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20231 vpath. Do not allow for C++ type data being missing.
20232 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20233 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20234 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20235 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20236 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20237 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20238 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20240 ... here.
20241 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20243 ... here.
20244 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20246 ... here.
20247 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20249 ... here.
20250 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20252 ... here.
20253 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20255 ... here.
20256 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20258 ... here.
20259 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20261
cfc82fd8
JM
20262 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20263 definitions to architecture-specific files.
20264 (TLS_IE): Likewise.
20265 (TLS_LD): Likewise.
20266 (TLS_GD): Likewise.
20267 * sysdeps/i386/tls-macros.h: New file.
20268 * sysdeps/powerpc/tls-macros.h: Likewise.
20269 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20270 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20271 * sysdeps/sh/tls-macros.h: Likewise.
20272 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20273 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20274 * sysdeps/x86_64/tls-macros.h: Likewise.
20275
f7db3170
TS
202762012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20277
07cbfc23
TS
20278 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20279 zero value for regular exit case.
20280
f7db3170
TS
20281 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20282 (__start_context): Preserve zero value for regular exit case.
20283
dc97c227
TS
202842012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20285 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20286
20287 * manual/setjmp.texi (setcontext): Clarify normal process
20288 termination when uc_link is the null pointer.
20289 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20290 exit call.
20291
d0cd7d02
AS
202922012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20293
20294 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20295 preprocessor. Test for each exception mask separately.
20296
dd318934
AJ
202972012-07-16 Andreas Jaeger <aj@suse.de>
20298
20299 * po/ru.po: Update from translation team.
20300
8048311a
JM
203012012-07-15 Joseph Myers <joseph@codesourcery.com>
20302
20303 * conform/data/string.h-data (NULL): Use macro-constant. Require
20304 equal to 0.
20305 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20306 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20307 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20308 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20309 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20310
b637d46e
AJ
203112012-07-13 Andreas Jaeger <aj@suse.de>
20312
20313 * po/fr.po: Update from translation team.
20314
541428fe
MP
203152012-07-12 Marek Polacek <polacek@redhat.com>
20316
20317 [BZ #14173]
20318 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20319 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20320 loop condition.
20321
ec332e94
JM
203222012-07-12 Joseph Myers <joseph@codesourcery.com>
20323
20324 [BZ #13717]
20325 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20326 Change to 2.4.1 where previously 2.4.0.
20327 * sysdeps/unix/sysv/linux/configure: Regenerated.
20328 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20329 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20330 version.
20331 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20332 (__ASSUME_AT_CLKTCK): Remove.
20333 (__ASSUME_AT_PAGESIZE): Likewise.
20334 (__ASSUME_AT_XID): Likewise.
20335 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20336 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20337 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20338 unconditionally.
20339 (HAVE_AUX_PAGESIZE): Likewise.
20340 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20341 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20342 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20343
7b6e99be
JB
203442012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20345
20346 [BZ #14307]
20347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20348 the temporary buffer used to invoke __gethostbyname2_r,
20349 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20350 host_data / struct gaih_addrtuple.
20351 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20352 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20353 header file nss/nsswitch.h.
20354 * nss/nsswitch.h (global scope): Add definition of implementation
20355 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20356 resolv/nss_dns/dns-host.c).
20357
608404eb
AJ
203582012-07-11 Andreas Jaeger <aj@suse.de>
20359
20360 * po/fr.po: Update from translation team.
20361
71220aca
AJ
20362 * po/sv.po: Update from translation team
20363 * po/fr.po: Another update from translation team.
20364
28cfe843
AZ
203652012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20366
20367 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20368 for subnormals or multiply small sinh result by itself.
20369 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20371
6b90f981
DM
203722012-07-11 David S. Miller <davem@davemloft.net>
20373
20374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20375
c6825772
AS
203762012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20377
20378 [BZ #14347]
20379 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20380 (INTERNAL_MARK): Shift it here.
20381
7b8e0d49
MP
203822012-07-10 Marek Polacek <polacek@redhat.com>
20383
20384 [BZ #14151]
20385 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20386 libc_cv_asm_global_directive with .globl.
20387 * configure: Regenerated.
20388 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20389 with .globl.
20390 * sysdeps/i386/configure: Regenerated.
20391 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20392 with .globl.
20393 * sysdeps/x86_64/configure: Regenerated.
20394 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20395 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20396 * elf/tst-unique2mod2.c: Likewise.
20397 * elf/tst-unique2mod1.c: Likewise.
20398 * elf/tst-unique1mod2.c: Likewise.
20399 * elf/tst-unique1mod1.c: Likewise.
20400 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20401 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20402 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20403 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20404 * sysdeps/mach/sysdep.h: Likewise.
20405 * sysdeps/i386/sysdep.h: Likewise.
20406 * sysdeps/i386/i386-mcount.S: Likewise.
20407 * sysdeps/x86_64/_mcount.S: Likewise.
20408 * sysdeps/x86_64/sysdep.h: Likewise.
20409 * sysdeps/sh/_mcount.S: Likewise.
20410 * sysdeps/sh/sysdep.h: Likewise.
20411 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20412 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20413 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20414 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20415 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20416 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20417 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20418 * locale/localeinfo.h: Likewise.
20419 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20420 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20421
6c55cda3
RM
204222012-07-09 Roland McGrath <roland@hack.frob.com>
20423
20424 [BZ #14336]
20425 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20426 system".
20427 * manual/message.texi (The Uniforum approach): Likewise.
20428 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20429 (glibc iconv Implementation): Likewise.
20430
638a572e
JM
204312012-07-09 Joseph Myers <joseph@codesourcery.com>
20432
20433 [BZ #14337]
20434 * math/s_clog.c (__clog): Avoid scaling a value down where that
20435 could result in underflow.
20436 * math/s_clog10.c (__clog10): Likewise.
20437 * math/s_clog10f.c (__clog10f): Likewise.
20438 * math/s_clog10l.c (__clog10l): Likewise.
20439 * math/s_clogf.c (__clogf): Likewise.
20440 * math/s_clogl.c (__clogl): Likewise.
20441 * math/libm-test.inc (clog_test): Add more tests.
20442 (clog10_test): Likewise.
20443 * sysdeps/i386/fpu/libm-test-ulps: Update.
20444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20445
261f4859
AS
204462012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20447
0abaf3e4
AS
20448 [BZ #14283]
20449 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20450 by 7 not 8 to examine high bit of fractional part.
20451
261f4859
AS
20452 [BZ #14042]
20453 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20454 for call to __mcount_internal.
20455 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20456 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20457 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20458
f17ac40d
JM
204592012-07-06 Joseph Myers <joseph@codesourcery.com>
20460
9ad63c23
JM
20461 [BZ #14154]
20462 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20463 approximation for values within 0x1p-13f of an odd multiple of
20464 pi/4.
20465 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20466 exception. Add more tests.
20467 * sysdeps/i386/fpu/libm-test-ulps: Update.
20468
f17ac40d
JM
20469 [BZ #6778]
20470 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20471 inputs and return -1 for them. Do not check for +Inf in case not
20472 reachable for +Inf.
20473 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20474 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20475 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20476 and return -1 for them. Do not check for +Inf in case not
20477 reachable for +Inf.
20478 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20479 define.
20480 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20481 and return -1 for them. Do not check for +Inf in case not
20482 reachable for +Inf.
20483 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20484 spurious underflow.
20485 * sysdeps/i386/fpu/libm-test-ulps: Update.
20486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20487
fb21f89b
MF
204882012-07-06 Mike Frysinger <vapier@gentoo.org>
20489
20490 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20491
cdfe2c5e
JM
204922012-07-05 Joseph Myers <joseph@codesourcery.com>
20493
20494 [BZ #14157]
20495 [BZ #14331]
20496 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20497 could result in spurious underflow. Scale down values above
20498 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20499 * math/s_csqrtf.c (__csqrtf): Likewise.
20500 * math/s_csqrtl.c (__csqrtl): Likewise.
20501 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20502 spurious underflow.
20503 * sysdeps/i386/fpu/libm-test-ulps: Update.
20504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20505
70d35b67
AS
205062012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20507
704bc459
AS
20508 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20509 xopen-msg.sed.
20510 * catgets/xopen-msg.awk: New file.
20511 * catgets/xopen-msg.sed: Removed.
20512
70d35b67
AS
20513 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20514 po2text.sed.
20515 * intl/po2test.awk: New file.
20516 * intl/po2test.sed: Removed.
20517
ca61cf32
JM
205182012-07-04 Joseph Myers <joseph@codesourcery.com>
20519
20520 [BZ #14328]
20521 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20522 or multiply small sinh result by itself.
20523 * math/s_ctanf.c (__ctanf): Likewise.
20524 * math/s_ctanh.c (__ctanh): Likewise.
20525 * math/s_ctanhf.c (__ctanhf): Likewise.
20526 * math/s_ctanhl.c (__ctanhl): Likewise.
20527 * math/s_ctanl.c (__ctanl): Likewise.
20528 * math/libm-test.inc (ctan_test_tonearest): New function.
20529 (ctan_test_towardzero): Likewise.
20530 (ctan_test_downward): Likewise.
20531 (ctan_test_upward): Likewise.
20532 (ctanh_test_tonearest): Likewise.
20533 (ctanh_test_towardzero): Likewise.
20534 (ctanh_test_downward): Likewise.
20535 (ctanh_test_upward): Likewise.
20536 (main): Call these new functions.
20537 * sysdeps/i386/fpu/libm-test-ulps: Update.
20538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20539
ca48a46a
MF
205402012-07-03 Mike Frysinger <vapier@gentoo.org>
20541
20542 * .gitignore: Delete /ports entry.
20543
9d63d37d
AJ
205442012-07-03 Andreas Jaeger <aj@suse.de>
20545
20546 * po/bg.po: Update from translation team.
20547 * po/cs.po: Likewise.
20548 * po/de.po: Likewise.
20549 * po/hr.po: Likewise.
20550 * po/nl.pl: Likewise.
20551 * po/pl.po: Likewise.
20552 * po/vi.po: Likewise.
20553
370ca3d2
JM
205542012-07-03 Joseph Myers <joseph@codesourcery.com>
20555
95f5a9a8
JM
20556 * Makeconfig [!+link] (+link-before-libc): New variable.
20557 [!+link] (+link-after-libc): Likewise.
20558 [!+link] (+link-tests): Likewise.
20559 [!+link] (+link): Define in terms of $(+link-before-libc) and
20560 $(+link-after-libc).
20561 [!+link-static] (+link-static-before-libc): New variable.
20562 [!+link-static] (+link-static-after-libc): Likewise.
20563 [!+link-static] (+link-static-tests): Likewise.
20564 [!+link-static] (+link-static): Define in terms of
20565 $(+link-static-before-libc) and $(+link-static-after-libc).
20566 [build-shared] (link-libc-before-gnulib): New variable.
20567 [build-shared] (link-libc-tests): Likewise.
20568 [build-shared] (link-libc): Define in terms of
20569 $(link-libc-before-gnulib).
20570 [!build-shared] (link-libc-tests): New variable.
20571 (link-libc-static-tests): New variable.
20572 [!gnulib] (gnulib-arch): New variable.
20573 [!gnulib] (gnulib-tests): Likewise.
20574 [!gnulib] (static-gnulib-arch): Likewise.
20575 [!gnulib] (static-gnulib-tests): Likewise.
20576 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20577 Define with "=" instead of ":=".
20578 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20579 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20580 * Rules (binaries-all-notests): New variable.
20581 (binaries-all-tests): Likewise.
20582 (binaries-static-notests): Likewise.
20583 (binaries-static-tests): Likewise.
20584 (binaries-all): Define using $(binaries-all-notests) and
20585 $(binaries-all-tests).
20586 (binaries-static): Define using $(binaries-static-notests) and
20587 $(binaries-static-tests).
20588 (binaries-shared-tests): New variable.
20589 (binaries-shared-notests): Likewise.
20590 (binaries-shared): Remove variable.
20591 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20592 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20593 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20594 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20595 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20596 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20597 * elf/Makefile (sln-modules): New variable.
20598 (extra-objs): Add $(sln-modules:=.o).
20599 (ldconfig-modules): Add static-stubs.
20600 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20601 * elf/static-stubs.c: New file.
20602
7a845b2c
JM
20603 [BZ #14283]
20604 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20605 by 7 not 8 to examine high bit of fractional part. Use volatile
20606 variables when splitting into final array of floats if
20607 __FLT_EVAL_METHOD__ != 0.
20608 * math/libm-test.inc (cos_test): Add another test.
20609 (sin_test): Likewise.
20610 * sysdeps/i386/fpu/libm-test-ulps: Update.
20611
e2283f38
JM
20612 [BZ #14273]
20613 * math/libm-test.inc (cosh_test): Add more tests.
20614
370ca3d2
JM
20615 * version.h (RELEASE): Set to "development".
20616 (VERSION): Set to "2.16.90".
20617
ee9247c3
CD
206182012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20619
20620 * NEWS: Update copyright. Remove last-updated date.
20621 Mention math library bug fixes and timezone data changes.
20622 * README: Mention GNU/Hurd, x32, and HPPA support status.
20623
4648c381
TS
206242012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20625
20626 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20627
aac78a43
AJ
206282012-06-27 Andreas Jaeger <aj@suse.de>
20629
20630 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20631
ed3dbfad
AJ
206322012-06-25 Andreas Jaeger <aj@suse.de>
20633
20634 * sysdeps/s390/fpu/libm-test-ulps: Update.
20635
4d0ee855
AS
206362012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20637 Thomas Schwinge <thomas@codesourcery.com>
20638
20639 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20640 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20641 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20642 fanotify_mark.
20643
af1bce34
TS
206442012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20645
a9fa33ba
TS
20646 * sysdeps/mach/start.c: Remove file.
20647 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20648 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20649 * sysdeps/sh/init-first.c: Likewise.
20650
58f902b8
TS
20651 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20652 registers for frame unwinding purposes, add CFI directives.
20653 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20654 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20655 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20656 Likewise.
20657
1518f58b
TS
20658 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20659 __fortify_fail returning.
20660 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20661
db9b5059
TS
20662 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20663 sysdeps/sh/____longjmp_chk.S.
20664 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20665 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20666 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20667 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20668
967705fe
TS
20669 * sysdeps/sh/abort-instr.h: New file.
20670 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20671 process in case exit returns.
20672
a9def8c4
TS
20673 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20674 initialize the GOT register before use.
20675
2a649725
TS
20676 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20677 calculation of ARGC > 4.
20678
af1bce34
TS
20679 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20680 meaningful names to some local labels.
20681
d230f50a
KK
206822012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20683 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20684
20685 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20686 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20687 (__arch_compare_and_exchange_val_16_acq): Likewise.
20688 (__arch_compare_and_exchange_val_32_acq): Likewise.
20689 (atomic_exchange_and_add): Fix gUSA sequence.
20690 (atomic_add): Likewise.
20691 (atomic_add_negative): Likewise.
20692 (atomic_add_zero): Likewise.
20693 (atomic_bit_test_set): Likewise.
20694
0479b305
AS
206952012-06-22 Andreas Schwab <schwab@redhat.com>
20696
20697 [BZ #13579]
20698 * include/link.h (struct link_map): Add l_free_initfini.
20699 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20700 l_initfini.
20701 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20702 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20703 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20704 set.
20705
0e3933b9
CD
207062012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20707
20708 * configure.in: Use AC_LANG_SOURCE.
20709 * configure: Regenerate.
20710
4248b1b1
RM
207112012-06-22 Roland McGrath <roland@hack.frob.com>
20712
20713 * configure.in (libc_cv_localstatedir): New substituted variable.
20714 * configure: Regenerated.
20715 * config.make.in (localstatedir): New variable, substituted from
20716 libc_cv_localstatedir.
20717 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20718 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20719 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20720 * sysdeps/gnu/configure: Regenerated.
20721
006dd861
JL
207222012-06-21 Jeff Law <law@redhat.com>
20723
20724 [BZ #14277]
20725 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20726 free. Simplify list management for _LIBC case.
20727
79662d42
JM
207282012-06-21 Joseph Myers <joseph@codesourcery.com>
20729
b7abb4bf
JM
20730 [BZ #14273]
20731 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20732 Clear sign bit of 64-bit integer value before comparing against
20733 overflow value.
20734
79662d42
JM
20735 * sysdeps/mach/configure: Regenerated.
20736
1f150908
L
207372012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20738
20739 [BZ #14278]
20740 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20741
28363bbf
JL
207422012-06-21 Jeff Law <law@redhat.com>
20743
20744 [BZ #13882]
20745 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20746 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 20747 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
20748 * elf/dl-open.c (dl_open_worker): Likewise.
20749
09615db4
CD
207502012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20751
20752 * scripts/list-sources.sh: Scan PORTS for translations.
20753 * po/libc.pot: Regenerated.
20754
2174c6dd
AJ
207552012-06-21 Andreas Jaeger <aj@suse.de>
20756
20757 [BZ #12194]
20758 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20759 warning.
20760 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20761 * bits/byteswap-16.h (__bswap_16): Likewise.
20762 * bits/byteswap.h (__bswap_constant_16): Likewise.
20763
3ee947b1
L
207642012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20765
20766 [BZ #14117]
a2f34833
L
20767 * sysdeps/i386/fpu_control.h: Removed.
20768 * sysdeps/x86_64/fpu_control.h: Moved to ...
20769 * sysdeps/x86/fpu_control.h: Here.
20770
3ee947b1
L
20771 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20772 (_FPU_SETCW): Likewise.
20773
ed1825f8
L
207742012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20775
25f1282a
L
20776 [BZ #14117]
20777 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20778 * sysdeps/x86/fpu/bits/mathinline.h: This.
20779 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20780
ed1825f8
L
20781 [BZ #14050]
20782 [BZ #14117]
20783 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20784 functions if __x86_64__ is defined.
20785
36d54b74
CLT
207862012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20787
20788 * string/endian.h: Add !__ASSEMBLER__ condition for including
20789 conversion interfaces.
20790
10285c21
JM
207912012-06-15 Joseph Myers <joseph@codesourcery.com>
20792
20793 [BZ #14241]
20794 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20795 of ABS(x) in calculating zero to negative powers other than odd
20796 integers.
20797 * math/libm-test.inc (pow_test): Add more tests.
20798
06c5abbd
AJ
207992012-06-15 Andreas Jaeger <aj@suse.de>
20800
20801 * manual/contrib.texi (Contributors): Update entry of Liubov
20802 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20803 Machado Filho.
20804
a3aeac40
CH
208052012-06-15 Cyril Hrubis <metan@ucw.cz>
20806
20807 * string/string.h: Add __wur to GNU version of strerror_r.
20808
49bdf4c1
L
208092012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20810
20811 [BZ #14229]
20812 * string/Makefile (tests): Add tst-strtok_r.
20813 * string/tst-strtok_r.c: New file.
20814 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20815 RAX_LP/RDX_LP on SAVE_PTR.
20816
834f9b8d
RM
208172012-06-14 Roland McGrath <roland@hack.frob.com>
20818
20819 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20820
75fa1921
JM
208212012-06-14 Joseph Myers <joseph@codesourcery.com>
20822
20823 * libm_test.inc (csqrt_test): Allow more spurious underflow
20824 exceptions.
20825 (j0_test): Likewise.
20826 (j1_test): Likewise.
20827 (y0_test): Likewise.
20828 (y1_test): Likewise.
20829
771766df
CD
208302012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20831
20832 * po/Makefile (libc.pot): Use UTF-8 charset.
20833
ceb9e56b
PP
208342012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20835
20836 [BZ #14210]
20837 Suppress sign-conversion warning from FD_SET.
20838 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20839 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20840 not unsigned long int.
20841 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20842
ddb28975
L
208432012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20844
20845 [BZ #14050]
20846 [BZ #14117]
20847 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20848 __extern_always_inline instead of __extern_inline.
20849 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20850 (__signbit): Likewise.
20851 (__signbitl): Support C++ namespace.
20852 (lrintf): New inline function.
20853 (lrint): Likewise.
20854 (llrintf): Likewise.
20855 (llrint): Likewise.
20856 (fmaxf): Likewise.
20857 (fmax): Likewise.
20858 (fminf): Likewise.
20859 (fmin): Likewise.
20860 (rint): Likewise.
20861 (rintf): Likewise.
20862 (ceil): Likewise.
20863 (ceilf): Likewise.
20864 (floor): Likewise.
20865 (floorf): Likewise.
20866 (nearbyint): Likewise.
20867 (nearbyintf): Likewise.
20868
d7b4fb26
TS
208692012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20870
20871 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20872 non-default versions.
20873
eb55f5c2
RM
208742012-06-11 Roland McGrath <roland@hack.frob.com>
20875
20876 [BZ #14218]
20877 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20878
366af02c
TS
208792012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20880
99ff6e5c
TS
20881 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20882 (FE_UPWARD, FE_DOWNWARD): Don't define.
20883 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20884 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20885
366af02c
TS
20886 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20887 reading it.
20888 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20889 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20890
793ea851
KK
208912012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20892
20893 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20894 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20895 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20896 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20897
a728a38f
L
208982012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20899
20900 [BZ #14117]
c08010c7
L
20901 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20902 * sysdeps/i386/fpu/Implies: New file.
20903 * sysdeps/x86_64/fpu/Implies: Likewise.
20904 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20905 * sysdeps/x86/fpu/bits/fenv.h: This.
20906
a728a38f
L
20907 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20908 __SSE_MATH__.
20909
6e230d11
SP
209102012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20911
20912 [BZ #14134]
20913 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20914 character 0xffff that matches the last element of the
20915 conversion table.
20916
1b671feb
AZ
209172012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20918
20919 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20920 fmodl commit.
20921
6043738b
AZ
209222012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20923
20924 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20925 values higher than 25.6283.
20926
34ae0b32
AZ
209272012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20928
20929 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20930 subnormal exponent extraction and add some __builtin_expect.
20931 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20932 Fix for subnormal mantissa calculation.
20933
1214ec8f
MF
209342012-06-04 Mike Frysinger <vapier@gentoo.org>
20935
20936 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20937 cpu2 is -1 and errno is not ENOSYS.
20938
f3d1f93c
L
209392012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20940
20941 [BZ #14117]
0e4a3cd7
L
20942 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20943 * sysdeps/x86/bits/string.h: This.
20944 * sysdeps/x86_64/bits/string.h: Removed.
20945
6704c645
L
20946 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20947 if not compiling for x86-64, but compiling for >= i486.
20948
48495318
L
20949 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20950 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20951
14adcbfc
L
20952 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20953 New macro from Linux kernel 3.4.0.
20954 (FP_XSTATE_MAGIC2): Likewise.
20955 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20956 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20957 (struct _fpx_sw_bytes): New struct.
20958 (struct _xsave_hdr): Likewise.
20959 (struct _ymmh_state): Likewise.
20960 (struct _xstate): Likewise.
20961
68e408ab
L
20962 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20963 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20964 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20965 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20966 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20967 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20968
f3d1f93c
L
20969 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20970 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20971 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20972 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20973 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20974 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20975
d9dc34cd
TMQMF
209762012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20977
20978 [BZ #13743]
20979 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20980 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20981 (sysdep_headers): Include sys/platform/ppc.h.
20982 * sysdeps/powerpc/test-gettimebase.c: Test for
20983 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20984 * manual/Makefile (appendices): Include platform.texi.
20985 * manual/contrib.texi (Contributors): Update @node pointers.
20986 * manual/maint.texi (Maintenance): Likewise.
20987 (Platform): New node.
20988 * manual/platform.texi: New file. Document the new features.
20989
4af3879c
SP
209902012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20991 Jakub Jelinek <jakub@redhat.com>
20992
20993 [BZ #14188]
20994 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20995 where __builtin_expect is unavailable.
20996
2fd6ff13
DM
209972012-06-03 David S. Miller <davem@davemloft.net>
20998
20999 * stdlib/longlong.h: Updated from GCC.
21000
173f7220
AS
210012012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21002
21003 [BZ #14042]
21004 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21005 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21006 __mcount_internal.
21007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21008 (GLIBC_2.16): Likewise.
21009
f34a1c6f
L
210102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21011
21012 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21013
88a4576f
JM
210142012-06-01 Joseph Myers <joseph@codesourcery.com>
21015
ea32bcdd
JM
21016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21017 (default-abi): New variable.
21018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21019 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21020 variable.
21021 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21022 Likewise.
21023 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21024 Likewise.
21025 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21026 Likewise.
21027
88a4576f
JM
21028 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21029 definition. Document in comment.
21030
402fe938
DM
210312012-06-01 David S. Miller <davem@davemloft.net>
21032
21033 * stdlib/longlong.h: Updated from GCC.
21034
3553723f
L
210352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21036
21037 [BZ #14117]
3bd872c4
L
21038 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21039 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21040 sys/debugreg.h sys/io.h here.
21041 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21042 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21043 sys/io.h.
21044 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21045 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21046 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21047 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21048 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21049 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21050
3553723f
L
21051 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21052 Define only if __x86_64__ is defined.
21053
4842e4fe
JM
210542012-06-01 Joseph Myers <joseph@codesourcery.com>
21055
c5bfe3d5
JM
21056 [BZ #14048]
21057 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21058 Use int64_t for variable i.
21059 * math/libm-test.inc (fmod_test): Add more tests.
21060
4842e4fe
JM
21061 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21062 z computation is not scheduled after fetestexcept.
21063 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21064 Use math_force_eval instead of asm to ensure calculation scheduled
21065 before exception test.
21066 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21067 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21068
efb73488
AJ
210692012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21070
21071 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21072 computation is not scheduled after fetestexcept.
21073
29bcce7c
L
210742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21075
21076 [BZ #14117]
21077 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21078 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21079
73a68f94
AZ
210802012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21081
21082 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21083 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21084
67b6df78
L
210852012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21086
edf2933a 21087 [BZ #14117]
ebc64a18
L
21088 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21089 <bits/wordsize.h>.
21090 (__WCHAR_MIN): Support __WORDSIZE == 64.
21091 (__WCHAR_MAX): Likewise.
21092
edf2933a
L
21093 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21094 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21095
57c6cf40
L
21096 [BZ #14183]
21097 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21098 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21099
67b6df78 21100 [BZ #14117]
8eb6281e
L
21101 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21102 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21103
aac639f4
L
21104 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21105 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21106
67b6df78
L
21107 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21108 Defined to 1 if __x86_64__ isn't defined.
21109 (_STAT_VER_LINUX_OLD): New.
21110 (st_atime): Remove duplicate.
21111 (st_mtime): Likewise.
21112 (st_ctime): Likewise.
21113
1c2cfe81
DM
211142012-05-31 David S. Miller <davem@davemloft.net>
21115
21116 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21117 entries.
21118
5be8418c
AS
211192012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21120
e7725326
AS
21121 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21122 gen-libm-test.pl.
21123
5be8418c
AS
21124 [BZ #14132]
21125 * elf/dl-reloc.c: Include <_itoa.h>.
21126 (_dl_reloc_bad_type): Remove use of INTUSE.
21127 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21128 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21129 * stdio-common/psiginfo.c (psiginfo): Likewise.
21130 * stdio-common/psignal.c (psignal): Likewise.
21131 * string/strsignal.c (strsignal): Likewise.
21132 * include/signal.h (_sys_siglist): Declare hidden proto.
21133 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21134 INTVARDEF with libc_hidden_data_def.
21135 * stdio-common/itoa-udigits.c: Likewise.
21136 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21137 (_itoa_lower_digits_internal): Remove declaration.
21138 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21139 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21140 (_sys_sigabbrev_internal): Remove aliases.
21141 (_sys_siglist): Define hidden alias.
21142
507352f1
MT
211432012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21144
21145 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21146 bits/sysctl.h.
21147
42bbb1c3
L
211482012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21149
21150 [BZ #14117]
6bd784b6
L
21151 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21152 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21153
8bca20f0
L
21154 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21155 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21156 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21157 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21158 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21159 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21160
f9e890a9
L
21161 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21162 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21163 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21164
471101a1
L
21165 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21166 with __addr.
21167 (insw): Likewise.
21168 (insl): Likewise.
21169 (outsb): Likewise.
21170 (outsw): Likewise.
21171 (outsl): Likewise.
21172
6451c862
L
21173 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21174 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21175 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21176
a254b8c9
L
21177 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21178 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21179 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21180 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21181 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21182 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21183
b8dfdd92
L
21184 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21185 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21186
578cd270
L
21187 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21188 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21189
de662f5f
L
21190 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21191 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21192 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21193
25653439
L
21194 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21195 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21196 to ...
21197 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21198
6bad24a0
L
21199 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21200 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21201 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21202
42bbb1c3
L
21203 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21204 for x86-64.
21205 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21206
2d10d547
JM
212072012-05-31 Joseph Myers <joseph@codesourcery.com>
21208
21209 * math/math.h (M_El): Use two more decimal places.
21210 (M_LOG2El): Likewise.
21211 (M_LOG10El): Likewise.
21212 (M_LN2l): Likewise.
21213 (M_LN10l): Likewise.
21214 (M_PIl): Likewise.
21215 (M_PI_2l): Likewise.
21216 (M_PI_4l): Likewise.
21217 (M_1_PIl): Likewise.
21218 (M_2_PIl): Likewise.
21219 (M_2_SQRTPIl): Likewise.
21220 (M_SQRT2l): Likewise.
21221 (M_SQRT1_2l): Likewise.
21222
f230c29b
DM
212232012-05-31 David S. Miller <davem@davemloft.net>
21224
21225 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21226 values between float registers.
21227 * sysdeps/sparc/sparc64/memset.S: Likewise.
21228 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21229
fed806c3
MF
212302012-05-31 Mike Frysinger <vapier@gentoo.org>
21231
21232 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21233 -D_FORTIFY_SOURCE=1.
21234 (CPPFLAGS-tst-longjmp_chk.c): Define.
21235 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21236 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21237 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21238 CFLAGS-tst-wchar-h.c.
21239
30917259
MP
212402012-05-31 Marek Polacek <polacek@redhat.com>
21241
21242 [BZ #14132]
21243 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21244 __endmntent_internal): Remove declaration.
21245 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21246 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21247 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21248
1c58d5dc
DM
212492012-05-30 David S. Miller <davem@davemloft.net>
21250
21251 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21252 (___Q_simulate_exceptions): Use real FP ops rather than writing
21253 into the %fsr.
21254 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21255 Likewise.
21256
7dc00e0d
L
212572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21258
21259 [BZ #14117]
0bd53985
L
21260 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21261 * sysdeps/x86/bits/xtitypes.h: This.
21262
3a257e66
L
21263 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21264 * sysdeps/x86/bits/wordsize.h: This.
21265
62f62904
L
21266 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21267 * sysdeps/x86/bits/huge_vall.h: This.
21268
404fe9d9
L
21269 * sysdeps/i386/bits/select.h: Removed.
21270 * sysdeps/x86_64/bits/select.h: Renamed to ...
21271 * sysdeps/x86/bits/select.h: This.
21272
d48d0446
L
21273 * sysdeps/i386/bits/setjmp.h: Removed.
21274 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21275 * sysdeps/x86/bits/setjmp.h: This.
21276
7dc00e0d
L
21277 * sysdeps/i386/bits/mathdef.h: Removed.
21278 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21279 * sysdeps/x86/bits/mathdef.h: This.
21280
03277f8f
AS
212812012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21282
21283 [BZ #14132]
21284 * include/sys/socket.h (__connect_internal)
21285 (__libc_sa_len_internal): Remove declaration.
21286 (__connect, __libc_sa_len): Declare hidden_proto.
21287 (SA_LEN): Remove use of INTUSE.
21288 * socket/connect.c: Add libc_hidden_def.
21289 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21290 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21291 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21292 alias.
21293 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21294 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21295 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21296 of adding _internal alias.
21297
13764867
L
212982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21299
21300 [BZ #14117]
6bd97696
L
21301 * sysdeps/i386/bits/link.h: Removed.
21302 * sysdeps/i386/bits/linkmap.h: Likewise.
21303 * sysdeps/x86_64/bits/link.h: Renamed to ...
21304 * sysdeps/x86/bits/link.h: This.
21305 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21306 * sysdeps/x86/bits/linkmap.h: This.
21307
f726f0bb
L
21308 * sysdeps/i386/bits/endian.h: Removed.
21309 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21310 * sysdeps/x86/bits/endian.h: This.
21311
13764867
L
21312 * sysdeps/i386/bits/byteswap.h: Removed.
21313 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21314 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21315 * sysdeps/x86/bits/byteswap.h: This.
21316 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21317 * sysdeps/x86/bits/byteswap-16.h: This.
21318 * sysdeps/i386/Implies: Add x86.
21319 * sysdeps/x86_64/Implies: Likewise.
21320
ae251b0b
DM
213212012-05-30 David S. Miller <davem@davemloft.net>
21322
21323 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21324 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21325 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21326 (FP_TRAPPING_EXCEPTIONS): Define.
21327 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21328 (FP_TRAPPING_EXCEPTIONS): Define.
21329 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21330 subnormals only when inexact has been signalled or underflow
21331 exceptions are enabled.
21332 (_FP_PACK_CANONICAL): Likewise.
21333
d5c90867
L
213342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21335
21336 [BZ #14183]
21337 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21338 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21339
63f1549e
RH
213402012-05-30 Richard Henderson <rth@twiddle.net>
21341
8d8f2279
RH
21342 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21343 with #ifndef NOT_IN_libc.
21344
63f1549e
RH
21345 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21346 marked to avoid plt entry.
21347
0ab0291b
L
213482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21349
21350 [BZ #14112]
21351 * Makeconfig (default-abi): New macro.
21352 (abi-includes): Likewise.
21353 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21354 $(abi-$(default-abi)-lib-soname) for soname if defined.
21355 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21356 abi-variants.
21357 * Makefile (installed-stubs): Likewise.
21358 * include/stubs-biarch.h: Removed.
21359 * scripts/lib-names.awk: Only handle one library at a time.
21360 * scripts/soversions.awk: Remove WORDSIZE support.
21361 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21362 entries.
21363 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21364 Removed.
21365 (syscall-list-default-condition): Likewise.
21366 (syscall-list-default-condition): Likewise.
21367 (syscall-list-includes): Likewise.
21368 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21369 syscall-list-* with abi-*. Handle undefined abi-variants.
21370 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21371 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21372 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21373 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21374 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21375 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21376 Removed.
21377 (syscall-list-32-options): Likewise.
21378 (syscall-list-32-condition): Likewise.
21379 (syscall-list-64-options): Likewise.
21380 (syscall-list-64-condition): Likewise.
21381 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21382 macro.
21383 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21384 Renamed to ...
21385 (abi-*): This.
21386 (abi-64-ld-soname): New macro.
21387 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21388 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21389 Renamed to ...
21390 (abi-*): This.
21391 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21392 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21393
4da0431d
JM
213942012-05-30 Joseph Myers <joseph@codesourcery.com>
21395
3a85279c
JM
21396 * sysdeps/unix/sysv/linux/kernel-features.h
21397 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21398 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21399 include <kernel-features.h>.
21400 [!__NR_ftruncate64]: Remove conditional code.
21401 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21402 [__NR_ftruncate64]: Make code unconditional.
21403 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21404 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21405 include <kernel-features.h>.
21406 [!__NR_ftruncate64]: Remove conditional code.
21407 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21408 [__NR_ftruncate64]: Make code unconditional.
21409 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21411 include <kernel-features.h>.
21412 [!__NR_ftruncate64]: Remove conditional code.
21413 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21414 [__NR_ftruncate64]: Make code unconditional.
21415 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21417 include <kernel-features.h>.
21418 [!__NR_ftruncate64]: Remove conditional code.
21419 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21420 [__NR_ftruncate64]: Make code unconditional.
21421 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21422
4da0431d
JM
21423 * configure.in (libc_cv_fpie): Weaken to a compile test using
21424 LIBC_TRY_CC_OPTION.
21425 * configure: Regenerated.
21426
11ef492c
AK
214272012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21428
21429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21433 Refreshed.
21434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21440 Refreshed.
21441
d66ef399
DM
214422012-05-27 David S. Miller <davem@davemloft.net>
21443
21444 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21445 (___Q_zero): New.
21446 (__Q_simulate_exceptions): Return void. Change to simulate
21447 exceptions by writing into the %fsr.
21448 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21449 (__Qp_handle_exceptions): Likewise.
21450 (numbers): Delete.
21451 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21452 __Qp_handle_exceptions.
21453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21454 __Qp_handle_exceptions.
21455 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21456 as unused and give dummy FP_RND_NEAREST initializer.
21457 (FP_INHIBIT_RESULTS): Define.
21458 (___Q_simulate_exceptions): Update declaration.
21459 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21460 formatting.
21461 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21462 as unused and give dummy FP_RND_NEAREST initializer.
21463 (__Qp_handle_exceptions): Update declaration.
21464 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21465 formatting.
21466
04fb54b5
TS
214672012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21468
21469 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21470 the temporary FPU control word.
21471 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21472 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21473 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21474 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21475 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21476 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21477 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21478 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21479 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21480 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21481 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21482
3f99608f
KK
214832012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21484
21485 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21486 fields.
21487
65a4de4e
CLT
214882012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21489
21490 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21491 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21492 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21493 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21494 Likewise.
21495 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21496 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21497 Likewise.
21498
15749d40
UD
214992012-05-27 Ulrich Drepper <drepper@gmail.com>
21500
21501 * po/h.po: Update from translation team.
21502
25dbcb27
AS
215032012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21504
3d3f8e55
AS
21505 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21506
25dbcb27
AS
21507 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21508 handling of denormals.
21509 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21510 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21511 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21512 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21513 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21514 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21515 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21516 Likewise.
21517
7ad47a80 215182012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
21519
21520 [BZ #14152]
21521 * math/libm-test.inc (fma_test): Don't always expect underflow
21522 exception.
21523
9c6ea9fa
SP
215242012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21525
21526 [BZ #12416]
21527 * elf/tst-execstack.c: Include stackinfo.h.
21528 (do_test): Adjust test case to ensure that pthread_getattr_np
21529 behaviour remains the same after marking stack executable.
21530
a8239222
JM
215312012-05-25 Joseph Myers <joseph@codesourcery.com>
21532
21533 * sysdeps/unix/sysv/linux/kernel-features.h
21534 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21535 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21536 kernel-features.h.
21537 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21538 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21539 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21540 kernel-features.h.
21541 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21542 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21543
918b5606
L
215442012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21545
21546 * configure.in: Define the default includes to being none.
21547 * configure: Regenerated.
21548
3a097cc7
RM
215492012-05-25 Roland McGrath <roland@hack.frob.com>
21550
8422c9a5
RM
21551 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21552 * sysdeps/x86_64/setjmp.S: Likewise.
21553 * sysdeps/i386/bsd-setjmp.S: Likewise.
21554 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21555 * sysdeps/i386/setjmp.S: Likewise.
21556 * sysdeps/i386/__longjmp.S: Likewise.
21557 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21558 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21559
3a097cc7
RM
21560 * include/stap-probe.h: New file.
21561 * configure.in: Handle --enable-systemtap.
21562 * configure: Regenerated.
21563 * config.h.in (USE_STAP_PROBE): New #undef.
21564 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21565 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21566 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21567
21708942
JM
215682012-05-25 Joseph Myers <joseph@codesourcery.com>
21569
21570 [BZ #13717]
21571 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21572 to 2.4.0 where earlier.
21573 * sysdeps/unix/sysv/linux/configure: Regenerated.
21574 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21575 <kernel-features.h>.
21576 [__ASSUME_32BITUIDS]: Make code unconditional.
21577 [!__ASSUME_32BITUIDS]: Remove conditional code.
21578 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21579 <kernel-features.h>.
21580 [__ASSUME_32BITUIDS]: Make code unconditional.
21581 [!__ASSUME_32BITUIDS]: Remove conditional code.
21582 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21583 [__ASSUME_32BITUIDS]: Make code unconditional.
21584 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21585 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
21590 <kernel-features.h>.
21591 [__ASSUME_32BITUIDS]: Make code unconditional.
21592 [!__ASSUME_32BITUIDS]: Remove conditional code.
21593 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21594 <kernel-features.h>.
21595 [__ASSUME_32BITUIDS]: Make code unconditional.
21596 [!__ASSUME_32BITUIDS]: Remove conditional code.
21597 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21598 <kernel-features.h>.
21599 [__ASSUME_32BITUIDS]: Make code unconditional.
21600 [!__ASSUME_32BITUIDS]: Remove conditional code.
21601 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21602 <kernel-features.h>.
21603 [__ASSUME_32BITUIDS]: Make code unconditional.
21604 [!__ASSUME_32BITUIDS]: Remove conditional code.
21605 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21606 <kernel-features.h>.
21607 [__ASSUME_32BITUIDS]: Make code unconditional.
21608 [!__ASSUME_32BITUIDS]: Remove conditional code.
21609 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21610 <kernel-features.h>.
21611 [__ASSUME_32BITUIDS]: Make code unconditional.
21612 [!__ASSUME_32BITUIDS]: Remove conditional code.
21613 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21614 <kernel-features.h>.
21615 [__ASSUME_32BITUIDS]: Make code unconditional.
21616 [!__ASSUME_32BITUIDS]: Remove conditional code.
21617 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21618 <kernel-features.h>.
21619 [__ASSUME_32BITUIDS]: Make code unconditional.
21620 [!__ASSUME_32BITUIDS]: Remove conditional code.
21621 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21622 <kernel-features.h>.
21623 [__ASSUME_32BITUIDS]: Make code unconditional.
21624 [!__ASSUME_32BITUIDS]: Remove conditional code.
21625 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21626 <kernel-features.h>.
21627 [__NR_setresgid] (__setresgid): Do not declare.
21628 [__ASSUME_32BITUIDS]: Make code unconditional.
21629 [!__ASSUME_32BITUIDS]: Remove conditional code.
21630 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21631 <kernel-features.h>.
21632 [__NR_setresuid] (__setresuid): Do not declare.
21633 [__ASSUME_32BITUIDS]: Make code unconditional.
21634 [!__ASSUME_32BITUIDS]: Remove conditional code.
21635 * sysdeps/unix/sysv/linux/i386/setfsgid.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/i386/setfsuid.c: Do not include
21640 <kernel-features.h>.
21641 [__ASSUME_32BITUIDS]: Make code unconditional.
21642 [!__ASSUME_32BITUIDS]: Remove conditional code.
21643 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21644 <kernel-features.h>.
21645 [__ASSUME_32BITUIDS]: Make code unconditional.
21646 [!__ASSUME_32BITUIDS]: Remove conditional code.
21647 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21648 <kernel-features.h>.
21649 [__ASSUME_32BITUIDS]: Make code unconditional.
21650 [!__ASSUME_32BITUIDS]: Remove conditional code.
21651 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21652 <kernel-features.h>.
21653 [__ASSUME_32BITUIDS]: Make code unconditional.
21654 [!__ASSUME_32BITUIDS]: Remove conditional code.
21655 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21656 <kernel-features.h>.
21657 [__ASSUME_32BITUIDS]: Make code unconditional.
21658 [!__ASSUME_32BITUIDS]: Remove conditional code.
21659 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21660 <kernel-features.h>.
21661 [__ASSUME_32BITUIDS]: Make code unconditional.
21662 [!__ASSUME_32BITUIDS]: Remove conditional code.
21663 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21664 <kernel-features.h>.
21665 [__ASSUME_32BITUIDS]: Make code unconditional.
21666 [!__ASSUME_32BITUIDS]: Remove conditional code.
21667 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21668 <kernel-features.h>.
21669 [__ASSUME_32BITUIDS]: Make code unconditional.
21670 [!__ASSUME_32BITUIDS]: Remove conditional code.
21671 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21672 <kernel-features.h>.
21673 [__ASSUME_32BITUIDS]: Make code unconditional.
21674 [!__ASSUME_32BITUIDS]: Remove conditional code.
21675 * sysdeps/unix/sysv/linux/kernel-features.h
21676 (__ASSUME_SETRESUID_SYSCALL): Remove.
21677 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21678 (__ASSUME_32BITUIDS): Likewise.
21679 (__ASSUME_LDT_WORKS): Likewise.
21680 (__ASSUME_O_DIRECTORY): Likewise.
21681 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21682 architecture but not kernel version.
21683 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21684 (__ASSUME_MMAP2_SYSCALL): Likewise.
21685 (__ASSUME_STAT64_SYSCALL): Likewise.
21686 (__ASSUME_IPC64): Likewise.
21687 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21688 <kernel-features.h>.
21689 [__ASSUME_32BITUIDS]: Make code unconditional.
21690 [!__ASSUME_32BITUIDS]: Remove conditional code.
21691 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21692 <kernel-features.h>.
21693 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21694 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21695 132096]: Remove conditional code.
21696 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21697 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21698 <kernel-features.h>.
21699 [__ASSUME_32BITUIDS]: Make code unconditional.
21700 [!__ASSUME_32BITUIDS]: Remove conditional code.
21701 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21702 <kernel-features.h>.
21703 [__ASSUME_32BITUIDS]: Make code unconditional.
21704 [!__ASSUME_32BITUIDS]: Remove conditional code.
21705 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21706 <kernel-features.h>.
21707 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21708 unconditional.
21709 (__setresgid): Do not declare.
21710 [__ASSUME_32BITUIDS]: Make code unconditional.
21711 [!__ASSUME_32BITUIDS]: Remove conditional code.
21712 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21713 <kernel-features.h>.
21714 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21715 unconditional.
21716 (__setresuid): Do not declare.
21717 [__ASSUME_32BITUIDS]: Make code unconditional.
21718 [!__ASSUME_32BITUIDS]: Remove conditional code.
21719 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21720 <kernel-features.h>.
21721 [__ASSUME_32BITUIDS]: Make code unconditional.
21722 [!__ASSUME_32BITUIDS]: Remove conditional code.
21723 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21724 <kernel-features.h>.
21725 [__ASSUME_32BITUIDS]: Make code unconditional.
21726 [!__ASSUME_32BITUIDS]: Remove conditional code.
21727
a386f1cc
RH
217282012-05-25 Richard Henderson <rth@twiddle.net>
21729
21730 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21731 dl_hwcap to ifunc resolver.
21732 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21733 elf_ifunc_invoke.
21734 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21735 dl_hwcap to ifunc resolver.
21736 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21737
b6550497
JM
217382012-05-24 Joseph Myers <joseph@codesourcery.com>
21739
21740 [BZ #14153]
21741 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21742 for |x| <= 2**-26, not 2**-57.
21743 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21744 exception.
21745
b0bc23a1
JL
217462012-05-24 Jeff Law <law@redhat.com>
21747
21748 * stdio-common/Makefile (tests): Add bug25.
21749 * stdio-common/bug25.c: New test.
21750
347c92e9
L
217512012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21752
21753 [BZ #13576]
21754 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21755 multiple of MALLOC_ALIGNMENT in size.
21756 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21757
6bcc8b3f
JM
217582012-05-24 Joseph Myers <joseph@codesourcery.com>
21759
21760 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21761 Require >= 256.
21762 (FILENAME_MAX): Use macro-int-constant.
21763 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21764 (_IOFBF): Use macro-int-constant.
21765 (_IOLBF): Likewise.
21766 (_IONBF): Likewise.
21767 (SEEK_CUR): Likewise.
21768 (SEEK_END): Likewise.
21769 (SEEK_SET): Likewise.
21770 (TMP_MAX): Likewise.
21771 (EOF): Use macro-int-constant. Require < 0.
21772 (NULL): Use macro-constant. Require == 0.
21773 (stdin): Require type to be FILE *.
21774 (stdout): Likewise.
21775 (stderr): Likewise.
21776 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21777 macro-int-constant.
21778 (EXIT_SUCCESS): Likewise.
21779 (NULL): Use macro-constant. Require == 0.
21780 (RAND_MAX): Use macro-int-constant.
21781 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21782 [C99-based standards] (strtof): Require function.
21783 [C99-based standards] (strtold): Likewise.
21784 [C99-based standards] (strtoll): Likewise.
21785 [C99-based standards] (strtoull): Likewise.
21786 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21787 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21788 [ISO || ISO99 || ISO11] (math.h): Likewise.
21789 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21790 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21791 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21792
d18ea0c5
AS
217932012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21794
21795 [BZ #14132]
56d25bb8
AS
21796 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21797 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21798 * intl/dgettext.c (DCGETTEXT): Likewise.
21799 * intl/gettext.c (DCGETTEXT): Likewise.
21800 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21801 * posix/regex_internal.h (gettext): Likewise.
21802 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21803 Remove declaration.
21804 * include/argz.h (__argz_count_internal)
21805 (__argz_stringify_internal): Remove declaration.
21806 (__argz_count, __argz_stringify): Declare hidden proto.
21807 * intl/dcgettext.c: Remove use of INTDEF.
21808 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21809 * string/argz-stringify.c: Likewise.
21810 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21811 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21812 Declare hidden proto.
d18ea0c5
AS
21813 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21814 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21815 Declare hidden proto.
21816 * include/stdio.h (__asprintf_internal): Don't declare.
21817 (__asprintf): Don't define as macro. Declare hidden proto.
21818 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21819 (__fsetlocking): Declare hidden proto.
21820 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21821 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21822 hidden proto.
21823 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21824 (_IO_setlinebuf): Remove use of INTUSE.
21825 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21826 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21827 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21828 Remove declaration.
21829 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21830 (_IO_do_flush): Remove use of INTUSE.
21831 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21832 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21833 (_IO_adjust_column, _IO_least_wmarker)
21834 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21835 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21836 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21837 (_IO_default_doallocate, _IO_wdefault_doallocate)
21838 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21839 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21840 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21841 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21842 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21843 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21844 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21845 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21846 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21847 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21848 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21849 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21850 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21851 proto.
21852 (_IO_flush_all_internal, _IO_adjust_column_internal)
21853 (_IO_default_uflow_internal, _IO_default_finish_internal)
21854 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21855 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21856 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21857 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21858 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21859 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21860 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21861 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21862 (_IO_file_close_internal, _IO_file_close_it_internal)
21863 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21864 (_IO_file_init_internal, _IO_file_attach_internal)
21865 (_IO_file_fopen_internal, _IO_file_read_internal)
21866 (_IO_file_sync_internal, _IO_file_seek_internal)
21867 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21868 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21869 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21870 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21871 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21872 (_IO_list_all_internal, _IO_link_in_internal)
21873 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21874 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21875 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21876 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21877 (_IO_do_write_internal, _IO_padn_internal)
21878 (_IO_getline_info_internal, _IO_getline_internal)
21879 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21880 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21881 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21882 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21883 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21884 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21885 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21886 with libc_hidden_ver, remove use of INTUSE.
21887 * libio/genops.c: Likewise.
21888 * libio/freopen.c: Likewise.
21889 * libio/freopen64.c: Likewise.
21890 * libio/iofclose.c: Likewise.
21891 * libio/iofdopen.c: Likewise.
21892 * libio/iofflush.c: Likewise.
21893 * libio/iofflush_u.c: Likewise.
21894 * libio/iofgets.c: Likewise.
21895 * libio/iofgets_u.c: Likewise.
21896 * libio/iofopen.c: Likewise.
21897 * libio/iofopncook.c: Likewise.
21898 * libio/iofread.c: Likewise.
21899 * libio/iofread_u.c: Likewise.
21900 * libio/ioftell.c: Likewise.
21901 * libio/iofwrite.c: Likewise.
21902 * libio/iogetline.c: Likewise.
21903 * libio/iogets.c: Likewise.
21904 * libio/iogetwline.c: Likewise.
21905 * libio/iopadn.c: Likewise.
21906 * libio/iopopen.c: Likewise.
21907 * libio/ioseekoff.c: Likewise.
21908 * libio/ioseekpos.c: Likewise.
21909 * libio/iosetbuffer.c: Likewise.
21910 * libio/iosetvbuf.c: Likewise.
21911 * libio/ioungetc.c: Likewise.
21912 * libio/ioungetwc.c: Likewise.
21913 * libio/iovdprintf.c: Likewise.
21914 * libio/iovsprintf.c: Likewise.
21915 * libio/iovsscanf.c: Likewise.
21916 * libio/memstream.c: Likewise.
21917 * libio/obprintf.c: Likewise.
21918 * libio/oldfileops.c: Likewise.
21919 * libio/oldiofclose.c: Likewise.
21920 * libio/oldiofdopen.c: Likewise.
21921 * libio/oldiofopen.c: Likewise.
21922 * libio/oldiopopen.c: Likewise.
21923 * libio/oldstdfiles.c: Likewise.
21924 * libio/putc.c: Likewise.
21925 * libio/setbuf.c: Likewise.
21926 * libio/setlinebuf.c: Likewise.
21927 * libio/stdfiles.c: Likewise.
21928 * libio/strops.c: Likewise.
21929 * libio/vasprintf.c: Likewise.
21930 * libio/vscanf.c: Likewise.
21931 * libio/vsnprintf.c: Likewise.
21932 * libio/vswprintf.c: Likewise.
21933 * libio/wfiledoalloc.c: Likewise.
21934 * libio/wfileops.c: Likewise.
21935 * libio/wgenops.c: Likewise.
21936 * libio/wmemstream.c: Likewise.
21937 * libio/wstrops.c: Likewise.
21938 * libio/__fpurge.c: Likewise.
21939 * libio/__fsetlocking.c: Likewise.
21940 * assert/assert.c: Likewise.
21941 * debug/fgets_chk.c: Likewise.
21942 * debug/fgets_u_chk.c: Likewise.
21943 * debug/fread_chk.c: Likewise.
21944 * debug/fread_u_chk.c: Likewise.
21945 * debug/gets_chk.c: Likewise.
21946 * debug/obprintf_chk.c: Likewise.
21947 * debug/vasprintf_chk.c: Likewise.
21948 * debug/vdprintf_chk.c: Likewise.
21949 * debug/vsnprintf_chk.c: Likewise.
21950 * debug/vsprintf_chk.c: Likewise.
21951 * malloc/mtrace.c: Likewise.
21952 * misc/error.c: Likewise.
21953 * misc/syslog.c: Likewise.
21954 * stdio-common/asprintf.c: Likewise.
21955 * stdio-common/fxprintf.c: Likewise.
21956 * stdio-common/getw.c: Likewise.
21957 * stdio-common/isoc99_fscanf.c: Likewise.
21958 * stdio-common/isoc99_scanf.c: Likewise.
21959 * stdio-common/isoc99_vfscanf.c: Likewise.
21960 * stdio-common/isoc99_vscanf.c: Likewise.
21961 * stdio-common/isoc99_vsscanf.c: Likewise.
21962 * stdio-common/printf-prs.c: Likewise.
21963 * stdio-common/printf_fp.c: Likewise.
21964 * stdio-common/printf_fphex.c: Likewise.
21965 * stdio-common/printf_size.c: Likewise.
21966 * stdio-common/putw.c: Likewise.
21967 * stdio-common/scanf.c: Likewise.
21968 * stdio-common/sprintf.c: Likewise.
21969 * stdio-common/tmpfile.c: Likewise.
21970 * stdio-common/vfprintf.c: Likewise.
21971 * stdio-common/vfscanf.c: Likewise.
21972 * stdlib/strfmon_l.c: Likewise.
21973 * sunrpc/openchild.c: Likewise.
21974 * sunrpc/xdr_stdio.c: Likewise.
21975 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21976 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21977
d6c33fda
RM
219782012-05-24 Roland McGrath <roland@hack.frob.com>
21979
c1487492
RM
21980 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21981
21982 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21983 in the third column, to generate for the shared library an IFUNC
21984 that uses _dl_vdso_vsym.
21985 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21986 * Makeconfig (object-suffixes-noshared): New variable.
21987
21988 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21989 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21990 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21991 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21992
d6c33fda
RM
21993 [BZ #14132]
21994 * include/sys/time.h (__gettimeofday): Remove macro.
21995 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21996 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21997 Remove INTDEF.
21998 (__gettimeofday): Add libc_hidden_def.
21999 (gettimeofday): Add libc_hidden_weak.
22000 * sysdeps/mach/gettimeofday.c: Likewise.
22001 * sysdeps/posix/gettimeofday.c: Likewise.
22002 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22003 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22004 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22005 (__gettimeofday_internal): Remove strong_alias.
22006 (__gettimeofday): Add libc_hidden_def.
22007 (gettimeofday): Add libc_hidden_weak.
22008 * sysdeps/unix/syscalls.list (gettimeofday):
22009 Remove __gettimeofday_internal alias.
22010
b5a2bbe6
L
220112012-05-24 Daniel Jacobowitz <drow@false.org>
22012 H.J. Lu <hongjiu.lu@intel.com>
22013
22014 [BZ #12495]
22015 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22016 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22017 (largebin_index_32_big): New.
22018 (largebin_index): Use it for 16-byte alignment.
22019 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22020 correction with front_misalign.
22021
cfba4fda
L
220222012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22023
7f907421
L
22024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22026 Likewise.
22027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22028 Likewise.
22029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22030 Likewise.
22031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22032 Likewise.
22033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22034 Likewise.
22035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22036 Likewise.
22037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22038 Likewise.
22039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22040 Likewise.
22041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22042 Likewise.
22043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22044 Likewise.
22045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22046 Likewise.
22047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22048 Likewise.
22049
cfba4fda
L
22050 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22051 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22052
80bad0cc
JM
220532012-05-24 Joseph Myers <joseph@codesourcery.com>
22054
7a25eb06
JM
22055 [BZ #10846]
22056 [BZ #14036]
22057 * math/libm-test.inc (exp_test): Add test from bug 14036.
22058 (pow_test): Add test from bug 10846.
22059
795405f9
JM
22060 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22061 and other flags.
22062 (special_function): Do not include flags in test name.
22063 (parse_args): Likewise.
22064 * sysdeps/i386/fpu/libm-test-ulps: Update.
22065 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22066 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22067 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22069
80bad0cc
JM
22070 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22071 exceptions.
22072 * math/libm-test.inc ("Philosophy"): Update comment about
22073 exception testing.
22074 (UNDERFLOW_EXCEPTION): New macro.
22075 (UNDERFLOW_EXCEPTION_OK): Likewise.
22076 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22077 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22078 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22079 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22080 (INVALID_EXCEPTION_OK): Update value.
22081 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22082 (OVERFLOW_EXCEPTION_OK): Likewise.
22083 (IGNORE_ZERO_INF_SIGN): Likewise.
22084 (test_exceptions): Handle underflow exceptions.
22085 (acos_test): Update for underflow exception expectations.
22086 (cexp_test): Likewise.
22087 (clog_test): Likewise.
22088 (clog10_test): Likewise.
22089 (csqrt_test): Likewise.
22090 (ctan_test): Likewise.
22091 (ctanh_test): Likewise.
22092 (exp_test): Likewise.
22093 (exp10_test): Likewise.
22094 (exp2_test): Likewise.
22095 (expm1_test): Likewise.
22096 (fma_test): Likewise.
22097 (j0_test): Likewise.
22098 (jn_test): Likewise.
22099 (nexttoward_test): Likewise.
22100 (pow_test): Likewise.
22101 (scalbn_test): Likewise.
22102 (scalbln_test): Likewise.
22103 (tan_test): Likewise.
22104 (y1_test): Likewise.
22105 * sysdeps/i386/fpu/libm-test-ulps: Update.
22106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22107
9e0e3d0b
DM
221082012-05-23 David S. Miller <davem@davemloft.net>
22109
22110 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22111 (__libc_sigaction): Remove unused local variables.
22112
ccd0a08f
L
221132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22114
22115 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22116
62bdf9a6
PE
221172012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22118
f8591f80
PE
22119 mktime: avoid signed integer overflow
22120 * time/mktime.c (__mktime_internal): Do not mishandle the case
22121 where diff == INT_MIN.
22122
94c7d826
PE
22123 mktime: simplify computation of average
22124 * time/mktime.c (ranged_convert): Use new time_t_avg function
22125 instead of rolling our own (probably-slower) code.
22126
ce73d683
PE
22127 mktime: do not assume signed right shift propagates sign bit
22128 * time/mktime.c (isdst_differ): New static function.
22129 (__mktime_internal): No need to normalize tm_isdst now.
22130 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22131 tm_isdst values.
22132
72a22e59
PE
22133 mktime: merge another wrapv change from gnulib
22134 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22135 from some compilers.
22136
68605433
PE
22137 mktime: remove incorrect attempt at unusual arithmetics
22138 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22139 The code didn't really work on such machines anyway.
22140 (TYPE_MINIMUM): Assume two's complement.
22141 (twos_complement_arithmetic): Verify that long_int and time_t
22142 are two's complement (or unsigned, in the latter case).
22143
03cf7fe3
PE
22144 mktime: check signed shifts on long_int and time_t, too
22145 * time/mktime.c (SHR): Check that shifts work as desired
22146 on the types long_int and time_t too, as SHR is used on
22147 such types.
22148
f04dfbc2
PE
22149 mktime: do not assume 'long' is wide enough
22150 * time/mktime.c (verify): Move decl up.
22151 (long_int): New type.
22152 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22153 to remove assumption in the code that 'long' is wide enough to
22154 store year values. This assumption is not true on x32 and on
22155 some non-glibc platforms.
22156
62bdf9a6
PE
22157 mktime: merge wrapv change from gnulib
22158 * time/mktime.c (WRAPV): New macro.
22159 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22160 (guess_time_tm, __mktime_internal): Do not assume that signed
22161 integer overflow wraps around; modern compilers generate code
22162 where this assumption is no longer valid.
22163
5e292e4f
L
221642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22165
22166 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22167 Replace "jmp L(pseudo_end)" with "ret".
22168 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22169 Likewise.
22170
8caf8c87
AJ
221712012-05-23 Andreas Jaeger <aj@suse.de>
22172
22173 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22174 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22175
1a09dc56
AJ
221762012-05-23 Andreas Jaeger <aj@suse.de>
22177 Maximilian Attems <max@stro.at>
22178
22179 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22180 New macros.
22181
1c87aba0
L
221822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22183
22184 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22185 code so that pseudo_end is just ret and the stack pointer is
22186 correct also for static library in error case.
22187
40e45bd5
JM
221882012-05-23 Joseph Myers <joseph@codesourcery.com>
22189
c2670533
JM
22190 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22191 move to syscalls.list.
22192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22196
40e45bd5
JM
22197 * manual/install.texi (Running make install): Do not mention Linux
22198 kernel version for which pt_chown is not needed.
22199 (Linux): Do not mention problems with nscd with 2.0 kernels.
22200 * INSTALL: Regenerated.
22201
be08eda5
AJ
222022012-05-23 Andreas Jaeger <aj@suse.de>
22203
22204 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22205 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22206 macro.
22207 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22208 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22209 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22210 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22211 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22212 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22213 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22214 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22215 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22216 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22217 * sysdeps/unix/sysv/linux/bits/in.h
22218 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22219
a6a056bb
RM
222202012-05-22 Roland McGrath <roland@hack.frob.com>
22221
22222 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22223 (PREPARE_VERSION): Just use assert instead, it will be elided
22224 under [NDEBUG] anyway.
22225
c9009328
L
222262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22227
22228 * sysdeps/unix/sysv/linux/Makefile: Include
22229 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 22230 (sysdep_routines): Remove sysctl.
c9009328
L
22231 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22232 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22233 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22234 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22235 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22236
73338355
AJ
222372012-05-22 Andreas Jaeger <aj@suse.de>
22238
22239 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22240 that pseudo_end is just ret and the stack pointer is correct also
22241 for static library in error case.
22242
d44638b0
PP
222432012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22244
22245 [BZ #14122]
22246 * nss/nsswitch.c (defconfig_entries): New variable.
22247 (__nss_database_lookup): Don't leak defconfig entries.
22248 (nss_parse_service_list): Don't leak on error paths.
22249 (free_database_entries): New function.
22250 (free_defconfig): New function.
22251 (free_mem): Move common code to free_database_entries.
22252
31a39bd8
L
222532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22254
da0331a8
L
22255 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22256 Add arch_prctl.
22257 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22258
31a39bd8
L
22259 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22260 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22261 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22262 New macro.
22263 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22264 (INTERNAL_SYSCALL_TYPES): Likewise.
22265 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22266 (LOAD_REGS_TYPES_[1-6]): Likewise.
22267 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22268 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22269
45470df3
AZ
222702012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22271
22272 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22273 copysignl for GLIBC_2_0.
22274 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22275 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22276 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22277 logbl for GLIBC_2_0.
22278 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22279 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22280
98a61bcb
L
222812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22282
a4f6e481
L
22283 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22284 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22285
f63d5db6
L
22286 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22287 Use "neg %eax".
22288
98a61bcb
L
22289 * time/mktime.c: Update copyright years.
22290
95770f14
PE
222912012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22292
6226efbd
PE
22293 mktime: merge comment-quoting-style change from gnulib
22294 * time/mktime.c: Quote 'like this' in comments.
22295 The GNU coding standards suggest that we no longer quote `like this',
22296 as "`" and "'" are typically rendered asymmetrically nowadays.
22297 The typical gnulib style is to quote 'like this' when quoting
22298 code, and "like this" when quoting English.
22299
b99e4f78
PE
22300 * time/mktime.c (compile-command): Add "-I.".
22301
643e01e6
PE
22302 mktime: merge mktime-internal.h change from gnulib
22303 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22304
2554247d
PE
22305 mktime: merge time_r change from gnulib
22306 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22307
826dd0ab
PE
22308 mktime: merge DEBUG change from gnulib
22309 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22310 case system <time.h> has a #define.
22311
bd83aabe
PE
22312 mktime: merge <sys/types.h> change from gnulib
22313 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22314 since <time.t> is now guaranteed to define time_t.
22315
95770f14
PE
22316 mktime: merge HAVE_CONFIG_H change from gnulib
22317 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22318
5e1a27a9
L
223192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22320
0e44a77e
L
22321 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22322 Use "neg %eax".
22323
5e1a27a9
L
22324 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22325 __rlim_t cast.
22326 (struct rusage): Use anonymous union to pad each field to
22327 __syscall_slong_t.
22328
46259bec
DM
223292012-05-21 David S. Miller <davem@davemloft.net>
22330
22331 * Makefules (o-iterator): Remove .s cases.
22332 (compile-command.s): Delete.
22333 (COMPILE.s): Delete.
22334 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22335
59f0c22e
JM
223362012-05-21 Joseph Myers <joseph@codesourcery.com>
22337
22338 * configure.in (libc_cv_predef_stack_protector): Only consider
22339 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22340 * configure: Regenerated.
22341
20c07380
L
223422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22343
bbb3154b
L
22344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22345 New macro. Use R*LP on int and pointer.
22346 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
22347 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22348 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
22349 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22350
20c07380
L
22351 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22352 [__WORDSIZE_TIME64_COMPAT32] instead of
22353 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22354 (struct utmp): Likewise.
22355 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22356 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22357 Renamed to ...
22358 (__WORDSIZE_TIME64_COMPAT32): This.
22359 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22360 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22361 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22362 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22363 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22364 (__WORDSIZE_TIME64_COMPAT32): New macro.
22365
d8d1017e
AJ
223662012-05-21 Andreas Jaeger <aj@suse.de>
22367
22368 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22369 only if [SHARED]. Add prototype for __wcschr_ia32.
22370
6c7fb145
RM
223712012-05-21 Roland McGrath <roland@hack.frob.com>
22372
22373 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22374 of %rbp unmolested in the jmp_buf while mangling the low bits.
22375 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22376 unmolested high bits of %rbp while demangling the low bits.
22377 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22378
66274218
AJ
223792012-05-21 Andreas Jaeger <aj@suse.de>
22380
07c58f8f
AJ
22381 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22382 * sunrpc/svc_simple.c: Use it for registerrpc.
22383 * sunrpc/xcrypt.c: Use it for passwd2des.
22384
66274218
AJ
22385 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22386
61f65140
L
223872012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22388
22389 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22390 Don't define if [__SYSCALL_WORDSIZE != 32].
22391 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22392 New macro.
22393
5fefb436
AJ
223942012-05-21 Bruno Haible <bruno@clisp.org>
22395 Andreas Jaeger <aj@suse.de>
22396
22397 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22398 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22399 inptr and inend for must_buffer_ch.
22400 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22401 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22402 * stdio-common/Makefile (tests): Remove bug15.
22403 (bug15-ENV): Remove macro.
22404 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22405 anymore.
22406
d8e272ab
AJ
224072012-05-19 Andreas Jaeger <aj@suse.de>
22408 Roland McGrath <roland@hack.frob.com>
22409
22410 * manual/contrib.texi: Completely rewritten. It contains now an
22411 alphabetical list of contributors and their contributions.
22412
4a56a162
RH
224132012-05-21 Richard Henderson <rth@twiddle.net>
22414
22415 * misc/getauxval.c (__getauxval): Use unsigned long int.
22416 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22417 (getauxval): Use unsigned long int.
22418
d024d23c
L
224192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22420
22421 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22422
cbc00a03
RM
224232012-05-21 Roland McGrath <roland@hack.frob.com>
22424
22425 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22426 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22427 __alignof__ (long double).
22428
478143fa
AZ
224292012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22430
22431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22432
c7683a6d
RH
224332012-05-20 Richard Henderson <rth@twiddle.net>
22434
22435 * misc/getauxval.c: New file.
22436 * misc/sys/auxv.h: New file.
22437 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22438 (routines): Add getauxval.
22439 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22440 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22441 * elf/dl-sysdep.c (_dl_auxv): Remove.
22442 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22443 * elf/dl-support.c (_dl_auxv): New variable.
22444 (_dl_aux_init): Initialize it.
22445 * manual/startup.texi (Auxiliary Vector): New node.
22446 * sysdeps/generic/bits/hwcap.h: New file.
22447 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22448 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22449 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22450 * sysdeps/sparc/sysdep.h: ... here. Include it.
22451 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22452 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
22453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22454 Update.
c7683a6d
RH
22455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22458 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22463
a6f1845d
AZ
224642012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22465
22466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22467
cbcbe830
DM
224682012-05-19 David S. Miller <davem@davemloft.net>
22469
22470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22471
e0b16cc2
JM
224722012-05-19 Joseph Myers <joseph@codesourcery.com>
22473
22474 [BZ #14123]
22475 * math/s_ccosh.c: Include <float.h>
22476 (__ccosh): Avoid internal overflow calculating sinh and cosh
22477 values before multiplying by sin and cos values.
22478 * math/s_ccoshf.c: Likewise.
22479 * math/s_ccoshl.c: Likewise.
22480 * math/s_csin.c: Likewise.
22481 * math/s_csinf.c: Likewise.
22482 * math/s_csinl.c: Likewise.
22483 * math/s_csinh.c: Likewise.
22484 * math/s_csinhf.c: Likewise.
22485 * math/s_csinhl.c: Likewise.
22486 * math/libm-test.inc (ccos_test): Add more tests.
22487 (ccosh_test): Likewise.
22488 (csin_test): Likewise.
22489 (csinh_test): Likewise.
22490 * sysdeps/i386/fpu/libm-test-ulps: Update.
22491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22492
6ad13e08
L
224932012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22494
f66f0ce8
L
22495 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22496 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22497
6ad13e08
L
22498 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22499
b1d072a7
JM
225002012-05-19 Joseph Myers <joseph@codesourcery.com>
22501
22502 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22503 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22504 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22505 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22506 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22507 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22508 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22509 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22510 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22511 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22512 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22513 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22514 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22515 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22516 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22517 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22518 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22519 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22520 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22521 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22522 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22523 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22524 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22525 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22526 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22527 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22528 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22529 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22530 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22531 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22532 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22533
9eae47cb
AJ
225342012-05-18 Andreas Jaeger <aj@suse.de>
22535
22536 * csu/.gitignore: Delete.
22537
bb07f69f
L
225382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22539
22540 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22541 (timex): Use __syscall_slong_t.
22542
e6bdb741
AJ
225432012-05-18 Andreas Jaeger <aj@suse.de>
22544 Carlos O'Donell <carlos_odonell@mentor.com>
22545
22546 * manual/install.texi (Configuring and compiling): Update
22547 description about files modified in the source directory.
d6c33fda 22548 * INSTALL: Regenerated.
e6bdb741 22549
1b74487e
L
225502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22551
22552 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22553 value. Use "or" to set return value to -1.
22554 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22555 negate return value.
22556
a88b64b9
TMQMF
225572012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22558
22559 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22560 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22561 failure if the compiler has Graphite support disabled.
22562 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22563 Likewise.
22564 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22565 CFLAGS-memmove.c): Likewise.
22566 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22567 Likewise.
22568
3707636e
L
225692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22570
610b8622
L
22571 * sysdeps/x86_64/x32/_itoa.h: New file.
22572
7cd195df
L
22573 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22574 getdents system call only if kernel and user dirents have the
22575 same d_ino and d_off.
22576
94b07d20
L
22577 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22578 LLONG_MAX != LONG_MAX.
22579 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22580 (_fitoa_word): Likewise.
22581
18298070
L
22582 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22583 years.
22584 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22585 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22586 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22587
553c7ea4
L
22588 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22589 include <bits/wordsize.h>. Check __x86_64__ instead of
22590 __WORDSIZE.
22591 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22592 if __x86_64__ is defined. Use anonymous union on fpstate.
22593
3707636e
L
22594 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22595 anonymous union.
22596
b53ef01a
AS
225972012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22598
37fb1dc0
AS
22599 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22600 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22601 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22602 Refer to _rtld_local_ro instead of _rtld_global_ro.
22603 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22604 Likewise.
22605 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22606 Likewise.
22607 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22608 Likewise.
22609 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22610 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22611 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22612
b53ef01a
AS
22613 * sysdeps/powerpc/powerpc32/dl-machine.c
22614 (__elf_machine_runtime_setup) [PROF]: Don't reference
22615 _dl_prof_resolve.
22616
7a185db2
AJ
226172012-05-18 Andreas Jaeger <aj@suse.de>
22618
22619 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22620 function only available for GCCs before 3.4 since GCC 3.4
22621 introduced a builtin.
22622 (lrint): Likewise.
22623 (llrintf): Likewise.
22624 (llrint): Likewise.
22625 (fmaxf): Likewise.
22626 (fmax): Likewise.
22627 (fminf): Likewise.
22628 (fmin): Likewise.
22629 (rint): Likewise.
22630 (rintf): Likewise.
22631 (nearbyint): Likewise.
22632 (nearbyintf): Likewise.
22633 (ceil): Likewise.
22634 (ceilf): Likewise.
22635 (floor): Likewise.
22636 (floorf): Likewise.
22637
3e5aef87
L
226382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22639
428bd707
L
22640 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22641 on both fields and cast pointer to __syscall_ulong_t.
22642
3e5aef87
L
22643 * bits/types.h (__fsword_t): New type.
22644 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22645 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22646 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22647 (__FSWORD_T_TYPE): Likewise.
22648 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22649 (__FSWORD_T_TYPE): Likewise.
22650 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22651 (__FSWORD_T_TYPE): Likewise.
22652 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22653 (__FSWORD_T_TYPE): Likewise.
22654 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22655 __SWORD_TYPE with __fsword_t.
22656 (statfs64): Likewise.
22657
1ba7c3dc
DM
226582012-05-17 David S. Miller <davem@davemloft.net>
22659
22660 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22661
59910343
AJ
226622012-05-17 Andreas Jaeger <aj@suse.de>
22663
22664 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22665 warning.
22666
2e4c1e9e
L
226672012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22668
22669 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22670
de7f5ce7
AJ
226712012-05-17 Andreas Jaeger <aj@suse.de>
22672
22673 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22674 when it is used.
22675
286abc3d
CM
226762012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22677
22678 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22679
477cc68e
L
226802012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22681
22682 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22683 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22684
1a0994f5
CD
226852012-05-17 Andreas Jaeger <aj@suse.de>
22686 Carlos O'Donell <carlos_odonell@mentor.com>
22687
22688 [BZ #14059]
22689 * sysdeps/x86_64/multiarch/init-arch.h
22690 (bit_YMM_Usable): Rename to...
22691 (bit_AVX_Usable): ... this.
22692 (bit_FMA4_Usable): New macro.
22693 (bit_XMM_state): New macro.
22694 (bit_YMM_state): New macro.
22695 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22696 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22697 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22698 (CPUID_OSXSAVE): New macro.
22699 (CPUID_AVX): New macro.
22700 (CPUID_FMA4): New macro.
22701 (index_YMM_Usable): Rename to...
22702 (index_AVX_Usable): ... this.
22703 (HAS_AVX): Use HAS_ARCH_FEATURE.
22704 (HAS_FMA4): Likewise.
22705 (HAS_YMM_USABLE): Remove.
22706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22707 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22708 are present.
22709 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22710 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22711 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22712 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22713 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22714
0af797de
CM
227152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22716
22717 * math/libm-test.c: Support platforms without multiple rounding modes.
22718 * math/bug-nextafter.c: Support platforms without FP exceptions.
22719 * math/bug-nexttoward.c: Likewise.
22720 * math/test-fenv.c: Likewise.
22721 * math/test-misc.c: Likewise.
22722 * stdlib/bug-getcontext.c: Likewise.
22723
e39745ff
AJ
227242012-05-17 Andreas Jaeger <aj@suse.de>
22725
22726 * manual/examples/search.c (critter_cmp): Change signature to
22727 avoid warnings.
22728 * manual/string.texi (Collation Functions): Likewise.
22729
48970aba
L
227302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22731
22732 * bits/types.h: Fold copyright years.
22733 * bits/typesizes.h: Likewise.
22734 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22735 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22736 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22737 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22738 * time/time.h: Likewise.
22739
bedee953
PP
227402012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22741
22742 [BZ #208]
22743 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22744 in instead of returning them. Return void.
22745 (__libc_mallinfo): Accumulate over all arenas.
22746 (__malloc_stats): Adjust for change in int_mallinfo interface.
22747
61653dfb
RM
227482012-05-16 Roland McGrath <roland@hack.frob.com>
22749
30b99d79
RM
22750 [BZ #10375]
22751 * configure.in (NM): Add AC_CHECK_TOOL for it.
22752 (libc_extra_cflags): New substituted variable.
22753 Check for -fstack-protector being used implicitly.
22754 * configure: Regenerated.
22755 * config.make.in (config-extra-cflags): New variable,
22756 gets @libc_extra_cflags@.
22757 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22758
61653dfb
RM
22759 [BZ #10375]
22760 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22761 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22762 * configure: Regenerated.
22763 * config.make.in (CPPUNDEFS): New substituted variable.
22764 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22765 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22766 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22767
661768bb
L
227682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22769
22770 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22771 (mq_attr): Use __syscall_slong_t.
22772
d4261567
L
227732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22774
22775 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22776 Check __x86_64__ instead of __WORDSIZE.
22777 (_STAT_VER_LINUX): Likewise.
22778 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22779 __syscall_ulong_t and __syscall_slong_t.
22780 (stat64): Likewise.
22781
cf3ff365
L
227822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22783
22784 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22785
76cf3e4d
L
227862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22787
22788 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22789
a637753a
L
227902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22791
22792 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22793 __syscall_ulong_t.
22794
d5e05119
L
22795 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22796 include <bits/wordsize.h>. Check __x86_64__ instead of
22797 __WORDSIZE.
22798 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22799 defined.
22800 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22801
f62ee380
L
22802 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22803 include <bits/wordsize.h>. Check __x86_64__ instead of
22804 __WORDSIZE.
22805 (user_regs_struct): Use "__extension__ unsigned long long"
22806 instead of "unsigned long" if __x86_64__ is defined.
22807 (user): Likewise. Pad after pointer field if __ILP32__ is
22808 defined.
22809
4e124ced
JM
228102012-05-16 Joseph Myers <joseph@codesourcery.com>
22811
6a3951a0
JM
22812 * configure.in (makeinfo): Require version 4.5 or later. Allow
22813 versions 5 to 9.
22814 * configure: Regenerated.
22815 * manual/install.texi (texinfo): Increase version requirement to
22816 4.5 or later.
22817 * INSTALL: Regenerated.
22818
4e124ced
JM
22819 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22820
953ca31a
L
228212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22822
22823 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22824
617aca05
L
22825 * sysdeps/x86_64/x32/ffs.c: New file.
22826
5762f7ae
L
22827 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22828 __syscall_ulong_t.
22829 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22830 defined. Use __syscall_ulong_t.
22831 (shminfo): Use __syscall_ulong_t.
22832 (shm_info): Likewise.
22833
a26b6856
L
22834 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22835 __syscall_ulong_t.
22836
cb2b9ef7
L
22837 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22838 <bits/wordsize.h>.
22839 (msgqnum_t): Use __syscall_ulong_t.
22840 (msglen_t): Likewise.
22841 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22842 __syscall_ulong_t.
22843
34683bb0
L
22844 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22845 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22846
84a68786
L
22847 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22848
48baa5f1
L
22849 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22850 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22851
180be88b
L
22852 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22853 __syscall_slong_t.
22854
5e90c8ad
L
22855 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22856 include <bits/wordsize.h>. Check __x86_64__ instead of
22857 __WORDSIZE.
22858
23dfb58b
L
22859 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22860 "unsigned long long int" if __x86_64__ is defined.
22861 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22862
ce5d54b0
L
22863 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22864 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22865 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22866
13dc9eac
L
22867 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22868 <stdint.h>.
22869 (GET_PC): Cast to uintptr_t first.
22870 (GET_FRAME): Likewise.
22871 (GET_STACK): Likewise.
22872
a7895d15
L
22873 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22874 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22875 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22876 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22877 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22878 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22879 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22880 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22881 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22882 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22883 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22884 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22885 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22886 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22887 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22888 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22889 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22890 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22891 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22892 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22893 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22894 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22895 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22896 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22897 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22898 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22899 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22900 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22901 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22902
656416c9
AS
229032012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22904
5bd66283
AS
22905 * Makerules (+depfiles): Also collect depfiles from .oS in
22906 $(extra-objs).
22907 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22908 .oS, $(libnldbl-routines)).
22909
656416c9
AS
22910 * Makerules (native-compile-mkdep-flags): Define.
22911 * sunrpc/Makefile (extra-objs): Add $(addprefix
22912 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22913 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22914 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22915 calling $(make-target-directory).
22916
a46f2169
L
229172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22918
22919 * bits/types.h (__snseconds_t): Removed.
22920 * time/time.h (struct timespec): Replace __snseconds_t with
22921 __syscall_slong_t.
22922 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22923 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22924 Likewise.
22925 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22926 (__SNSECONDS_T_TYPE): Likewise.
22927 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22928 (__SNSECONDS_T_TYPE): Likewise.
22929 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22930 (__SNSECONDS_T_TYPE): Likewise.
22931
6af6528b
L
229322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22933
22934 * sysdeps/mach/hurd/bits/typesizes.h
22935 (__SYSCALL_SLONG_TYPE): New macro.
22936 (__SYSCALL_ULONG_TYPE): Likewise.
22937
de986b56
L
229382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22939
22940 * bits/types.h (__syscall_slong_t): New type.
22941 (__syscall_ulong_t): Likewise.
22942
22943 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22944 (__SYSCALL_ULONG_TYPE): Likewise.
22945 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22946 (__SYSCALL_SLONG_TYPE): Likewise.
22947 (__SYSCALL_ULONG_TYPE): Likewise.
22948 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22949 (__SYSCALL_SLONG_TYPE): Likewise.
22950 (__SYSCALL_ULONG_TYPE): Likewise.
22951 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22952 (__SYSCALL_SLONG_TYPE): Likewise.
22953 (__SYSCALL_ULONG_TYPE): Likewise.
22954
85736dc7
L
229552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22956
22957 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22958 Add sigaltstack-offsets.sym.
22959 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22960 <sigaltstack-offsets.h>.
22961 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22962 longjmp_msg pointer.
22963 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22964 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22965 signal stack.
22966 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22967
cc03b296
JM
229682012-05-15 Joseph Myers <joseph@codesourcery.com>
22969
a9538892
JM
22970 * elf/stackguard-macros.h: Remove file.
22971 * sysdeps/generic/stackguard-macros.h: New file.
22972 * sysdeps/i386/stackguard-macros.h: Likewise.
22973 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22974 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22975 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22976 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22977 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22978 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22979 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22980 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22981 <elf/stackguard-macros.h>.
22982
cc03b296
JM
22983 [BZ #14109]
22984 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22985 __aligned__ in attribute.
22986 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22987 (gregset_t): Likewise.
22988
93171016
L
229892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22990
22991 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22992 * sysdeps/x86_64/64/Implies-after: Here. New file.
22993 * sysdeps/x86_64/x32/Implies-after: New file.
22994
d86813a0
L
229952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22996
22997 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22998 and access return value for _dl_profile_fixup. Use R10_LP to
22999 load frame size.
23000
2953ec75
L
230012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23002
23003 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23004
3b550e9e
L
230052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23006
23007 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23008 * sysdeps/x86_64/x32/sysdep.h: New file.
23009
eda41706
L
230102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23011
23012 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23013 * sysdeps/x86_64/setjmp.S: Likewise.
23014
9ea01d93
AZ
230152012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23016
23017 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23018 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23019 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23020 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23021 remove unused global constant.
23022
02a91938
CM
230232012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23024
23025 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23026 include of <not-cancel.h>.
23027
6540185f
RM
230282012-05-15 Roland McGrath <roland@hack.frob.com>
23029
23030 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23031
509072a0
AJ
230322012-05-15 Jeff Law <law@redhat.com>
23033 Andreas Jaeger <aj@suse.de>
23034
23035 [BZ #13594]
23036 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23037 out from...
23038 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23039 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23040 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23041 code changing __hst_map_handle.map.
23042
ba75122d
RM
230432012-05-15 Roland McGrath <roland@hack.frob.com>
23044
23045 * configure.in (sysnames): Look for Implies-before and Implies-after
23046 files.
23047 * configure: Regenerated.
23048
890d8bd8
L
230492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23050
23051 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23052 8-byte data alignment with LP_SIZE alignment.
23053
f6ee6623
L
230542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23055
23056 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23057 into R10_LP.
23058
ea2626f6
L
230592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23060
23061 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23062
085f715e
L
230632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23064
23065 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23066 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23067 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23068 Likewise.
23069 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23070
be8498fc
L
230712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23072
23073 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23074 (stackinfo_sub_sp): Likewise.
23075
70bc83b9
L
230762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23077
23078 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23079 RAX_LP.
23080
9bc0b730
L
230812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23082
23083 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23084 into R*_LP.
23085
6d2850e7
L
230862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23087
23088 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23089 sizes into R*_LP.
23090
3cb84561
L
230912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23092
23093 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23094
54e2ed81
L
230952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23096
23097 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23098 into R11_LP and load __x86_64_shared_cache_size_half into
23099 R8_LP.
23100
8a17f349
L
231012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23102
23103 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23104 R8_LP.
23105
777b1eea
AZ
231062012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23107
23108 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23109 logb for POWER7.
23110 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23111 logbf for POWER7.
23112 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23113 logbl for POWER7.
23114 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23115 powerpc32/power7/fpu/s_logb.c via #include.
23116 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23117 powerpc32/power7/fpu/s_logbf.c via #include.
23118 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23119 powerpc32/power7/fpu/s_logbl.c via #include.
23120
d20d4ac2
JM
231212012-05-15 Joseph Myers <joseph@codesourcery.com>
23122
23123 * README.libm: Remove file.
23124
6cdef1ab
L
231252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23126
23127 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23128 count for x32. Use R*_LP and omit operand-size suffix.
23129
0b254d8f
L
231302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23131
23132 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23133 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23134 * sysdeps/x86_64/x32/shlib-versions: New file.
23135
ceb809dc
RM
231362012-05-14 Roland McGrath <roland@hack.frob.com>
23137
23138 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23139 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23140 Use _dl_fatal_printf instead.
23141
37f1abd4
JM
231422012-05-14 Joseph Myers <joseph@codesourcery.com>
23143
23144 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23145 set if not set by the user. Do not allow for being unset.
23146 * sysdeps/unix/sysv/linux/configure: Regenerated.
23147
11de3a33
L
231482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23149
23150 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23151 the `q' suffix from lea and replace .quad with ASM_ADDR.
23152
e02f153a
L
231532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23154
23155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23156 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23157 instead of $17.
23158 (PTR_DEMANGLE): Likewise.
23159
520ae0fd
L
231602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23161
23162 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23163 (LP_OP): Likewise.
23164 (ASM_ADDR): Likewise.
23165 (RAX_LP): Likewise.
23166 (RBP_LP): Likewise.
23167 (RBX_LP): Likewise.
23168 (RCX_LP): Likewise.
23169 (RDI_LP): Likewise.
23170 (RSI_LP): Likewise.
23171 (RSP_LP): Likewise.
23172 (R8_LP): Likewise.
23173 (R9_LP): Likewise.
23174 (R10_LP): Likewise.
23175 (R10_LP): Likewise.
23176 (R11_LP): Likewise.
23177 (R12_LP): Likewise.
23178 (R13_LP): Likewise.
23179 (R14_LP): Likewise.
23180 (R15_LP): Likewise.
23181
b985be81
L
231822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23183
23184 * sysdeps/x86_64/x32/dl-machine.h: New file.
23185
6a4888ff
AJ
231862012-05-14 Andreas Jaeger <aj@suse.de>
23187
23188 * manual/Makefile (subdir): Remove export of subdir.
23189 (all): Remove target.
23190 (.PHONY): Remove all from list.
23191 (mkinstalldirs): Remove.
23192 (.PHONY): Remove installdirs from list.
23193 ($(inst_infodir)/libc.info): Use make-target-directory.
23194 (installdirs): Remove.
23195 (subdir_%): Remove.
23196 (glibc-targets): Remove.
23197 (lib): Remove.
23198 (stubs): Remove.
23199 ($(objpfx)stubs ../po/manual.pot): Remove.
23200 ($(objpfx)stamp%): Remove.
23201 (make-target-directory): Remove.
23202 (subdir_install): Remove.
23203 (routines): Remove.
23204 (aux): Remove.
23205 (sources): Remove.
23206 (objects): Remove.
23207 (headers): Remove.
23208
23209 [BZ #13750]
23210 * manual/.gitignore: Remove, it's not needed anymore.
23211 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23212 all files in it.
23213 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23214 directory.
23215 (texis): Renamed to $(objpfx)texis.
23216 (texis-path): New, contains path to generated files.
23217 (chapters.%): Use texis-path for complete path, add extra argument
23218 libc-texinfo.sh.
23219 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23220 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23221 (summary,texi, stamp-summary): Use complete path of
23222 files. Generate files in build dir.
23223 (dir-add.texi): Build in build dir.
23224 (libm-err.texi,stamp-libm-err): Likewise.
23225 (version.texi, stamp-version): Likewise.
23226 (.%c.texi): Likewise.
23227 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23228 (mostlyclean): Remove target.
23229 (realclean): Remove target.
23230 (generated): Add new variable with contents from mostlyclean and
23231 realclean, remove entries duplicated in common-mostlyclean, add
23232 stamp-libm-err and stamp-version.
23233 (generated-dirs): Add libc directory.
23234 ($(inst_infodir)/libc.info): Install files from build dir.
23235
23236 * manual/install.texi (Configuring and compiling): Adjust since
23237 the info files are not part of the tar ball anymore.
23238
7ac77294
AJ
232392012-05-14 Andreas Jaeger <aj@suse.de>
23240
23241 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23242 variable.
23243
ffb7875d
JM
232442012-05-14 Joseph Myers <joseph@codesourcery.com>
23245
23246 [BZ #13717]
23247 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23248 to 2.2.0 where earlier.
23249 * sysdeps/unix/sysv/linux/configure: Regenerated.
23250 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23251 Remove conditional code.
23252 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23253 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23254 Remove conditional code.
23255 [!__NR_lchown]: Likewise.
23256 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23257 [__NR_lchown]: Likewise.
23258 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23259 comment referencing __ASSUME_LCHOWN_SYSCALL.
23260 * sysdeps/unix/sysv/linux/i386/sigaction.c
23261 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23262 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23263 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23264 Remove conditional code.
23265 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23266 (__protocol_available): Remove #if 0 code.
23267 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23268 conditional code.
23269 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23270 * sysdeps/unix/sysv/linux/kernel-features.h
23271 (__ASSUME_GETCWD_SYSCALL): Don't define.
23272 (__ASSUME_REALTIME_SIGNALS): Likewise.
23273 (__ASSUME_PREAD_SYSCALL): Likewise.
23274 (__ASSUME_PWRITE_SYSCALL): Likewise.
23275 (__ASSUME_POLL_SYSCALL): Likewise.
23276 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23277 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23278 non-SPARC.
23279 (__ASSUME_SIOCGIFNAME): Don't define.
23280 (__ASSUME_MSG_NOSIGNAL): Likewise.
23281 (__ASSUME_SENDFILE): Define unconditionally.
23282 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23283 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23284 conditional code.
23285 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23286 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23287 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23288 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23289 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23290 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23291 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23293 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23294 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23296 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23297 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23299 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23300 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23302 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23305 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23306 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23308 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23309 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23311 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23312 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23314 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23315 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23316 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23317 Remove conditional code.
23318 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23319 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23320 Remove conditional code.
23321 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23322 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23323 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23324 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23325 Remove conditional code.
23326 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23327 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23328 Remove conditional code.
23329 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23330 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23331 Remove conditional code.
23332 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23333 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23334 Remove conditional code.
23335 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23336 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23337 Remove conditional code.
23338 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23339 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23340 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23341 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23342 * sysdeps/unix/sysv/linux/sigaction.c
23343 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23344 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23345 * sysdeps/unix/sysv/linux/sigpending.c
23346 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23347 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23348 * sysdeps/unix/sysv/linux/sigprocmask.c
23349 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23350 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23351 * sysdeps/unix/sysv/linux/sigsuspend.c
23352 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23353 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23354 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23355 (__libc_missing_rt_sigs): Remove.
23356 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23357 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23358 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23359 Remove conditional code.
23360 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23361 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23362 return 1.
23363 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23364 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23365 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23366 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23367
1bfb7291
AJ
233682012-05-14 Andreas Jaeger <aj@suse.de>
23369
caae5a81
AJ
23370 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23371 it's not used in glibc.
23372 (__coshm1): Likewise.
23373 (__acosh1p): Likewise.
23374 (__sgn): Likewise.
23375
1bfb7291
AJ
23376 * manual/string.texi (Copying and Concatenation): Add missing
23377 variable in concat example.
23378 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23379
c044d724
L
233802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23381
144c5467 23382 [BZ #14103]
c044d724
L
23383 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23384 __builtin_clzl with __builtin_clzll.
23385
2523c62b
L
233862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23387
23388 [BZ #14104]
23389 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23390 libc_freeres_ptr.
23391
d7bb4c42
LD
233922012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23393
23394 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23395 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23396 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23397 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23398
9dc4e1fb
MF
233992012-05-14 Mike Frysinger <vapier@gentoo.org>
23400
23401 * NEWS: Update ia64 info.
23402
c7df0112
AS
234032012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23404
23405 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23406 used as bcopy.
23407
dc70356c
TS
234082012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23409
23410 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23411 * sysdeps/unix/syscalls.list (dup3): Likewise.
23412 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23413 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23414
9fb1a21f
L
234152012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23416
23417 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23418 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23419
4822a2a5
L
234202012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23421
23422 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23423 thread pointer.
23424 (TLS_IE): Use mov/add instead of movq/addq to load thread
23425 pointer.
23426 (TLS_GD_PREFIX): New.
23427 (TLS_GD): Use it.
23428
842b81d6
DM
234292012-05-11 David S. Miller <davem@davemloft.net>
23430
23431 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23432 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23433 (_FPU_SETCW): Likewise.
23434
1cf463cd
L
234352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23436
23437 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23438 is 32-byte aligned.
23439
60cc4a18
AS
234402012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23441
23442 [BZ #11837]
23443 * iconvdata/gb18030.c: Update tables.
23444 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23445 characters specially.
23446 (BODY for TO_LOOP): Add encoding of missing ranges.
23447
febb44a4
TS
234482012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23449
23450 [BZ #13673]
23451 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23452 * sysdeps/mach/hurd/dup3.c: Likewise.
23453 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23454 * sysdeps/powerpc/memmove.c:: Likewise.
23455
0a10fb9e
L
234562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23457
23458 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23459 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23460
df8a552f
L
234612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23462
23463 * elf/elf.h (R_X86_64_RELATIVE64): New.
23464 (R_X86_64_NUM): Updated.
23465 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23466 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23467 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23468 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23469 tst-quad1pie tst-quad2pie
23470 (modules-names): Add tst-quadmod1 tst-quadmod2.
23471 ($(objpfx)tst-quad1): New dependency.
23472 ($(objpfx)tst-quad2): Likewise.
23473 ($(objpfx)tst-quad1pie): Likewise.
23474 ($(objpfx)tst-quad2pie): Likewise.
23475 * sysdeps/x86_64/tst-quad1.c: New file.
23476 * sysdeps/x86_64/tst-quad1pie.c: New file.
23477 * sysdeps/x86_64/tst-quad2.c: Likewise.
23478 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23479 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23480 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23481 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23482 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23483
f34d6f84
ST
234842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23485
f42d41d1
ST
23486 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23487 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23488 * streams/stropts.h (t_scalar_t): Define type.
23489
3c3571fc
ST
23490 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23491 (_PATH_PRESERVE): Set to "/var/lib".
23492 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23493
61f06bd3
ST
23494 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23495 instead of int.
23496
918d4d71
ST
23497 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23498 if __dir_mkfile succeeded.
23499
f34d6f84
ST
23500 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23501 checking for _hurd_dtablesize. Unlock it right after having
23502 finished _hurd_dtable allocation.
23503
10589b4a
TS
235042012-05-10 Thomas Schwinge <thomas@schwinge.name>
23505
674cdbc7
TS
23506 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23507 * sysdeps/mach/hurd/configure: Regenerated.
23508 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23509 special-casing to...
23510 * sysdeps/gnu/configure.in: ... this new file.
23511 * sysdeps/unix/sysv/linux/configure: Regenerated.
23512 * sysdeps/gnu/configure: New generated file.
23513
8e41b99f
TS
23514 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23515 for Linux: use nsec instead of usec, as well as:
23516 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23517 members of type struct timespec.
23518 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23519 New macros.
23520 (struct stat64): Likewise.
23521 (_STATBUF_ST_NSEC): New macro.
23522 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23523
10589b4a
TS
23524 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23525 __strtoul_internal rather than strtoul.
23526
63643c85
PT
235272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23528
23529 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23530 and reject them.
23531
3faebe6a
ST
235322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23533
23534 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23535 which preserves existing values.
23536 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23537
c6474b07
PT
235382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23539
23540 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23541 TIMEOUT values. Return EINVAL for NFDS values either negative or
23542 greater than FD_SETSIZE.
23543
1043890b
ST
235442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23545
23546 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23547 allocated, call __vm_protect to finish enabling the existing space, and
23548 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23549 allocate the remainder.
23550
37ed8b9b
PT
235512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23552
23553 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23554 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23555
db653660
ST
235562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23557
37ed8b9b
PT
23558 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23559 sysdeps/mach/hurd/readlink.c.
b29d4053 23560
db653660
ST
23561 * posix/tst-sysconf.c (posix_options): Only use
23562 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23563 _POSIX_SYNCHRONIZED_IO when they are defined
23564 * sysdeps/mach/hurd/bits/posix_opt.h:
23565 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23566 (_XOPEN_REALTIME): Undefine macro.
23567 (_XOPEN_REALTIME_THREADS): Undefine macro.
23568 (_XOPEN_SHM): Undefine macro.
23569 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23570 macro to -1.
23571 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23572 macro to -1.
23573 (_POSIX_ASYNC_IO): Undefine macro.
23574 (_POSIX_PRIORITIZED_IO): Undefine macro.
23575 (_POSIX_SPIN_LOCKS): Define macro to -1.
23576
ee16e894
ST
23577 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23578 SA_NODEFER, SA_RESETHAND.
23579 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23580 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23581 F_DUPFD_CLOEXEC.
23582
6103ae3b
TS
235832012-05-10 Thomas Schwinge <thomas@schwinge.name>
23584
23585 * elf/Makefile (pldd-modules): Define unconditionally.
23586
80b4e5f3
TS
235872012-05-10 Thomas Schwinge <thomas@schwinge.name>
23588
23589 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23590
edadcbd6
ST
235912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23592
23593 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23594 Return ENOENT when name is empty.
23595 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23596
80694780
TS
235972012-05-10 Thomas Schwinge <thomas@schwinge.name>
23598
1792c087
TS
23599 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23600
80694780
TS
23601 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23602
6b645f0d
ST
236032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23604
80694780
TS
23605 Fix mlock in all cases except non-readable pages.
23606 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23607 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 23608
6b645f0d
ST
23609 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23610 (__mkdir): When path is `/', just fail with EEXIST.
23611 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23612
e468f8a3
TS
236132012-05-10 Thomas Schwinge <thomas@schwinge.name>
23614
23615 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23616 <sys/uio.h> (for writev).
23617 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23618 and <sys/param.h> (for MIN).
23619
a4186cff
PT
236202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23621
23622 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23623 REQUESTED_TIME. Properly set the remaining time and return EINTR
23624 if interrupted.
23625
510bbf14
TS
236262012-05-10 Thomas Schwinge <thomas@schwinge.name>
23627
23628 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23629 Depend on against $(link-rpcuserlibs).
23630
5d5722e8
ST
236312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23632
a4186cff
PT
23633 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23634 (__libc_stack_end): Do not use attribute_relro.
23635 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23636 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 23637 to libthread-provided value.
a4186cff
PT
23638 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23639 attribute_relro.
5d5722e8 23640
37233df9
TS
236412012-05-10 Thomas Schwinge <thomas@schwinge.name>
23642
be971a2b
TS
23643 [BZ #3748]
23644 * bits/libc-lock.h (__libc_once_get): New macro.
23645 * sysdeps/mach/bits/libc-lock.h: Likewise.
23646 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23647 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23648 instead of using implementation details.
23649
37233df9
TS
23650 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23651 * libio/freopen.c: Likewise.
23652 * libio/freopen64.c: Likewise.
23653 * misc/syslog.c: Likewise.
23654 * nscd/connections.c: Likewise.
23655 * nscd/netgroupcache.c: Likewise.
23656 * sysdeps/posix/getcwd.c: Likewise.
23657
38de94a5
RM
236582012-05-10 Roland McGrath <roland@hack.frob.com>
23659
23660 * math/w_ilogbf.c: Add #include <limits.h>.
23661
67530489
ST
236622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23663
a4186cff 23664 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
23665 path instead of returning without unlocking.
23666
67530489
ST
23667 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23668 immediate-write ioctls.
23669 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23670
5aa3a74a
TS
236712012-05-10 Thomas Schwinge <thomas@schwinge.name>
23672
18bad2ae
TS
23673 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23674 __builtin_frame_address instead of making assumptions about the
23675 location of the return address relative to DATA. Force early load of
23676 the return address.
23677 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23678 __builtin_frame_address.
23679
5aa3a74a
TS
23680 dup3 for GNU Hurd.
23681 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23682 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23683 implement dup3 and do some further code clean-ups.
23684 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23685 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23686
ecd0de9a
ST
236872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23688
cd9fa985
ST
23689 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23690
a4186cff
PT
23691 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23692 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23693 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23694 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23695 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23696 d->port.lock.
802ca5a5 23697
a4186cff
PT
23698 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23699 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23700 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 23701
bcf55240
TS
237022012-05-10 Thomas Schwinge <thomas@schwinge.name>
23703
6960eb42
TS
23704 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23705 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23706 definitions.
23707
eb43375f
TS
23708 accept4 for GNU Hurd.
23709 * include/sys/socket.h (__libc_accept4): New prototype.
23710 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23711 to implement __libc_accept4.
23712 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23713 __libc_accept4.
23714 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23715
bcf55240
TS
23716 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23717 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23718 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23719 signal-defines.sym.
23720
6178c55b
ST
237212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23722
a4186cff 23723 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 23724
6f080c2f
TS
237252012-05-10 Thomas Schwinge <thomas@schwinge.name>
23726
23727 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23728 assertion on O_CLOEXEC flag.
23729 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23730 * hurd/intern-fd.c: Likewise.
23731 * hurd/port2fd.c: Likewise.
23732
bcfe3a54
ST
237332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23734
23735 [BZ #3906]
23736 * bits/in.h (IPV6_PKTINFO): Define new macro.
23737 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23738
89c9aa49
AZ
237392012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23740
23741 [BZ #13954]
23742 [BZ #13955]
23743 [BZ #13956]
23744 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23745 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23746 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23747 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23748 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23749 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23750 * math/libm-test.inc (logb_test) : Additional logb tests.
23751
021db4be
AJ
237522012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23753 Andreas Jaeger <aj@suse.de>
23754
23755 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23756 * configure: Regenerated.
23757 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23758 * config.make.in (link-obsolete-rpc): New substituted variable.
23759 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23760 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23761 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23762 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23763 so that libc.a contains the symbols.
23764 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23765 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23766 * sunrpc/auth_none.c: Likewise.
23767 * sunrpc/auth_unix.c: Likewise.
23768 * sunrpc/authdes_prot.c: Likewise.
23769 * sunrpc/authuxprot.c: Likewise.
23770 * sunrpc/clnt_gen.c: Likewise.
23771 * sunrpc/clnt_perr.c: Likewise.
23772 * sunrpc/clnt_raw.c: Likewise.
23773 * sunrpc/clnt_simp.c: Likewise.
23774 * sunrpc/clnt_tcp.c: Likewise.
23775 * sunrpc/clnt_udp.c: Likewise.
23776 * sunrpc/clnt_unix.c: Likewise.
23777 * sunrpc/des_crypt.c: Likewise.
23778 * sunrpc/des_soft.c: Likewise.
23779 * sunrpc/get_myaddr.c: Likewise.
23780 * sunrpc/key_call.c: Likewise.
23781 * sunrpc/key_prot.c: Likewise.
23782 * sunrpc/netname.c: Likewise.
23783 * sunrpc/pm_getmaps.c: Likewise.
23784 * sunrpc/pm_getport.c: Likewise.
23785 * sunrpc/pmap_clnt.c: Likewise.
23786 * sunrpc/pmap_prot.c: Likewise.
23787 * sunrpc/pmap_prot2.c: Likewise.
23788 * sunrpc/pmap_rmt.c: Likewise.
23789 * sunrpc/publickey.c: Likewise.
23790 * sunrpc/rpc_cmsg.c: Likewise.
23791 * sunrpc/rpc_common.c: Likewise.
23792 * sunrpc/rpc_dtable.c: Likewise.
23793 * sunrpc/rpc_prot.c: Likewise.
23794 * sunrpc/rpc_thread.c: Likewise.
23795 * sunrpc/rtime.c: Likewise.
23796 * sunrpc/svc.c: Likewise.
23797 * sunrpc/svc_auth.c: Likewise.
23798 * sunrpc/svc_raw.c: Likewise.
23799 * sunrpc/svc_run.c: Likewise.
23800 * sunrpc/svc_tcp.c: Likewise.
23801 * sunrpc/svc_udp.c: Likewise.
23802 * sunrpc/svc_unix.c: Likewise.
23803 * sunrpc/svcauth_des.c: Likewise.
23804 * sunrpc/xcrypt.c: Likewise.
23805 * sunrpc/xdr.c: Likewise.
23806 * sunrpc/xdr_array.c: Likewise.
23807 * sunrpc/xdr_float.c: Likewise.
23808 * sunrpc/xdr_intXX_t.c: Likewise.
23809 * sunrpc/xdr_mem.c: Likewise.
23810 * sunrpc/xdr_rec.c: Likewise.
23811 * sunrpc/xdr_ref.c: Likewise.
23812 * sunrpc/xdr_sizeof.c: Likewise.
23813 * sunrpc/xdr_stdio.c: Likewise.
23814
b5c086a2
RM
238152012-05-10 Roland McGrath <roland@hack.frob.com>
23816
23817 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23818 change. Update copyright years.
23819
6d74dd09
JM
238202012-05-10 Joseph Myers <joseph@codesourcery.com>
23821
23822 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23823
28e72501
MK
238242012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23825 Joseph Myers <joseph@codesourcery.com>
23826 Paul Pluzhnikov <ppluzhnikov@google.com>
23827
23828 [BZ #14012]
23829 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23830 requiring rpcgen.
23831 [cross-compiling] (extra-libs): Likewise.
23832 [cross-compiling] (extra-libs-others): Likewise.
23833 [cross-compiling] (librpcsvc-routines): Likewise.
23834 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23835 [cross-compiling] (omit-deps): Likewise.
23836 (sunrpc-CPPFLAGS): New variable.
23837 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23838 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23839 (cross-rpcgen-objs): New variable.
23840 (extra-objs): Append $(cross-rpcgen-objs).
23841 ($(cross-rpcgen-objs)): New rule.
23842 ($(objpfx)cross-rpcgen): Likewise.
23843 (rpcgen-cmd): Define to use $(built-program-file). Expand
23844 comment.
23845 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23846 ($(objpfx)x%.stmp): Likewise.
23847 * sunrpc/proto.h [IS_IN_build] (_): Define.
23848 [IS_IN_build] (_libc_intl_domainname): Likewise.
23849
c8c59454
L
238502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23851
23852 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23853 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23854 and R_X86_64_TPOFF64.
23855
6f27cd16
JM
238562012-05-10 Joseph Myers <joseph@codesourcery.com>
23857
23858 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23859 sysdeps/unix/sysv/syscalls.list.
23860 (stime): Likewise.
23861 (utime): Likewise.
23862 * sysdeps/unix/sysv/syscalls.list: Remove file.
23863
02467e1c
PE
238642012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23865
23866 [BZ #3440]
23867 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23868 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23869 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23870 (__LC_IDENTIFICATION): Make these macros useful in #if
23871 expressions, as required by C99.
23872
da392631
AS
238732012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23874
23875 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23876 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23877 after this.
23878
8115f29b
L
238792012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23880
23881 * stdlib/longlong.h: Updated from GCC.
23882
bdd74070
AJ
238832012-05-09 Andreas Jaeger <aj@suse.de>
23884
edfe0dbe
AJ
23885 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23886 default is first entry.
23887 (run_mode): Set type.
23888 (main): Remove informal message about syslog.
23889 (options): Fix typo.
23890
bcfe3a54
ST
23891 [BZ #14053]
23892 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 23893 to asm.
bcfe3a54
ST
23894 (lrint): Likewise.
23895 (llrintf): Likewise.
23896 (llrint): Likewise.
23897 (rint): Likewise.
23898 (rintf): Likewise.
23899 (nearbyint): Likewise.
23900 (nearbyintf): Likewise.
bdd74070 23901
91d8d69e
AJ
239022012-05-09 Andreas Jaeger <aj@suse.de>
23903 Pedro Alves <palves@redhat.com>
23904
23905 * nscd/nscd.c (run_mode): Use enum.
23906 (main): Cleanup coding style issue.
23907
bb90b80b
AJ
239082012-05-09 Alexandre Oliva <aoliva@redhat.com>
23909 Andreas Jaeger <aj@suse.de>
23910
bcfe3a54
ST
23911 * nscd/nscd.c (go_background): Replaced with...
23912 (run_mode): ... this.
bb90b80b 23913 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
23914 (options): Add -F --foreground.
23915 (main): Implement it.
23916 (parse_opt): Parse it.
bb90b80b 23917
1a4b75a1
AJ
239182012-05-09 Andreas Jaeger <aj@suse.de>
23919
23920 [BZ #14083]
23921 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23922 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23923 -Wconversion warning.
23924 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23925 Likewise.
23926
b1cc2472
JM
239272012-05-09 Joseph Myers <joseph@codesourcery.com>
23928
23929 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23930 == 0.
23931 (LC_ALL): Use macro-int-constant.
23932 (LC_COLLATE): Likewise.
23933 (LC_CTYPE): Likewise.
23934 (LC_MESSAGES): Likewise.
23935 (LC_MONETARY): Likewise.
23936 (LC_NUMERIC): Likewise.
23937 (LC_TIME): Likewise.
23938 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23939 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23940 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23941 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23942 Specify type.
23943 [C99-based standards] (float_t): Expect type.
23944 [C99-based standards] (double_t): Expect type.
23945 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23946 type.
23947 [C99-based standards] (HUGE_VALL): Likewise.
23948 [C99-based standards] (INFINITY): Likewise.
23949 [C99-based standards] (NAN): Likewise.
23950 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23951 [C99-based standards] (FP_NAN): Likewise.
23952 [C99-based standards] (FP_NORMAL): Likewise.
23953 [C99-based standards] (FP_SUBNORMAL): Likewise.
23954 [C99-based standards] (FP_ZERO): Likewise.
23955 [C99-based standards] (FP_FAST_FMA): Use
23956 optional-macro-int-constant. Specify type. Require == 1.
23957 [C99-based standards] (FP_FAST_FMAF): Likewise.
23958 [C99-based standards] (FP_FAST_FMAL): Likewise.
23959 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23960 [C99-based standards] (FP_ILOGBNAN): Likewise.
23961 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23962 Specify type.
23963 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23964 [C99-based standards] (math_errhandling): Specify type.
23965 [ISO99 || ISO11] (signgam): Do not allow.
23966 [non-C99-based standards] (copysignf): Do not allow.
23967 [non-C99-based standards] (exp2f): Likewise.
23968 [non-C99-based standards] (log2f): Likewise.
23969 [non-C99-based standards] (modff): Allow.
23970 [non-C99-based standards] (erff): Do not allow.
23971 [non-C99-based standards] (erfcf): Likewise.
23972 [non-C99-based standards] (gammaf): Likewise.
23973 [non-C99-based standards] (hypotf): Likewise.
23974 [non-C99-based standards] (j0f): Likewise.
23975 [non-C99-based standards] (j1f): Likewise.
23976 [non-C99-based standards] (jnf): Likewise.
23977 [non-C99-based standards] (lgammaf): Likewise.
23978 [non-C99-based standards] (tgammaf): Likewise.
23979 [non-C99-based standards] (y0f): Likewise.
23980 [non-C99-based standards] (y1f): Likewise.
23981 [non-C99-based standards] (ynf): Likewise.
23982 [non-C99-based standards] (isnanf): Likewise.
23983 [non-C99-based standards] (acoshf): Likewise.
23984 [non-C99-based standards] (asinhf): Likewise.
23985 [non-C99-based standards] (atanhf): Likewise.
23986 [non-C99-based standards] (cbrtf): Likewise.
23987 [non-C99-based standards] (expm1f): Likewise.
23988 [non-C99-based standards] (ilogbf): Likewise.
23989 [non-C99-based standards] (log1pf): Likewise.
23990 [non-C99-based standards] (logbf): Likewise.
23991 [non-C99-based standards] (nextafterf): Likewise.
23992 [non-C99-based standards] (remainderf): Likewise.
23993 [non-C99-based standards] (rintf): Likewise.
23994 [non-C99-based standards] (scalbf): Likewise.
23995 [non-C99-based standards] (copysignl): Likewise.
23996 [non-C99-based standards] (exp2l): Likewise.
23997 [non-C99-based standards] (log2l): Likewise.
23998 [non-C99-based standards] (modfl): Allow.
23999 [non-C99-based standards] (erfl): Do not allow.
24000 [non-C99-based standards] (erfcl): Likewise.
24001 [non-C99-based standards] (gammal): Likewise.
24002 [non-C99-based standards] (hypotl): Likewise.
24003 [non-C99-based standards] (j0l): Likewise.
24004 [non-C99-based standards] (j1l): Likewise.
24005 [non-C99-based standards] (jnl): Likewise.
24006 [non-C99-based standards] (lgammal): Likewise.
24007 [non-C99-based standards] (tgammal): Likewise.
24008 [non-C99-based standards] (y0l): Likewise.
24009 [non-C99-based standards] (y1l): Likewise.
24010 [non-C99-based standards] (ynl): Likewise.
24011 [non-C99-based standards] (isnanl): Likewise.
24012 [non-C99-based standards] (acoshl): Likewise.
24013 [non-C99-based standards] (asinhl): Likewise.
24014 [non-C99-based standards] (atanhl): Likewise.
24015 [non-C99-based standards] (cbrtl): Likewise.
24016 [non-C99-based standards] (expm1l): Likewise.
24017 [non-C99-based standards] (ilogbl): Likewise.
24018 [non-C99-based standards] (log1pl): Likewise.
24019 [non-C99-based standards] (logbl): Likewise.
24020 [non-C99-based standards] (nextafterl): Likewise.
24021 [non-C99-based standards] (remainderl): Likewise.
24022 [non-C99-based standards] (rintl): Likewise.
24023 [non-C99-based standards] (scalbl): Likewise.
24024 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24025 [non-C99-based standards] (FP_*): Do not allow.
24026 [C99-based standards] (FP_*): Change to
24027 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24028 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24029 allow.
24030 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24031 (SIG_ERR): Likewise.
24032 [X/Open-based standards] (SIG_HOLD): Likewise.
24033 (SIG_IGN): Likewise.
24034 (SIGABRT): Use macro-int-constant. Specify type. Require
24035 positive value.
24036 (SIGFPE): Likewise.
24037 (SIGILL): Likewise.
24038 (SIGINT): Likewise.
24039 (SIGSEGV): Likewise.
24040 (SIGTER): Likewise.
24041 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24042 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24043 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24044 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24045 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24046 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24047 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24048 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24049 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24050 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24051 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24052 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24053 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24054 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24055 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24056 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24057 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24058 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24059 [X/Open-based standards] (SIGTRAP): Likewise.
24060 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24061 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24062 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24063 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24064 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24065 allow.
24066
b9f1922d
IW
240672012-05-08 Ian Wienand <ianw@vmware.com>
24068
24069 [BZ #14080]
24070 * time/tzset.c (__tzset_parse_tz): Update default rules for
24071 daylight time changes in the Energy Policy Act of 2005.
24072
1db86e88
AJ
240732012-05-09 Andreas Jaeger <aj@suse.de>
24074
24075 [BZ #13983]
24076 * elf/ldconfig.c (parse_conf): Change string to make clear that
24077 ldconfig only issued a warning if ld.so.conf does not exist.
24078
dee4a4e3
DM
240792012-05-08 David S. Miller <davem@davemloft.net>
24080
ee0db190
DM
24081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24082 movxtod instead of popping the value on the stack.
24083
dee4a4e3
DM
24084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24085
6a43ec98
CD
240862012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24087
24088 * config.h.in: Add HAVE_ARM_PCS_VFP.
24089
05c2c961
RMG
240902012-05-08 Roland Mc Grath <roland@hack.frob.com>
24091
bcfe3a54
ST
24092 [BZ #13979]
24093 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24094 checking but the checks are disabled for any reason.
05c2c961 24095
4b30f61a
L
240962012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24097
24098 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24099 and ELF64_R_TYPE with ELFW(R_TYPE).
24100
eee2bc67
JM
241012012-05-08 Joseph Myers <joseph@codesourcery.com>
24102
7ea5391a
JM
24103 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24104 (ulimit): Likewise.
24105
eee2bc67
JM
24106 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24107 (settimeofday): Likewise.
24108
abb66a67
MF
241092012-05-08 Mike Frysinger <vapier@gentoo.org>
24110
24111 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24112 a struct th_u2 inside the union, and move tu_block/tu_code into
24113 a new th_u3 union of tu_block/tu_code inside of that. Move
24114 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24115 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24116 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24117 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24118 (th_stuff): Change to th_u1.tu_stuff.
24119 (th_data): Define.
24120 (th_msg): Change to th_u1.th_u2.tu_data.
24121
7f18b530
DM
241222012-05-07 David S. Miller <davem@davemloft.net>
24123
05760585
DM
24124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24125
7f18b530
DM
24126 [BZ #14074]
24127 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24128 (SETUP_PIC_REG): Use it.
24129 (SETUP_PIC_REG_LEAF): Use it.
24130
495fd99f
JM
241312012-05-07 Joseph Myers <joseph@codesourcery.com>
24132
24133 [BZ #13885]
24134 [BZ #13923]
24135 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24136 USE_AS_EXPM1L.
24137 (EXPL_FINITE): Likewise.
24138 (FLDLOG): Likewise.
24139 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24140 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24141 e_expl.S.
24142 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24143 USE_AS_EXPM1L.
24144 (EXPL_FINITE): Likewise.
24145 (FLDLOG): Likewise.
24146 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24147 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24148 e_expl.S.
24149 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24150 test of -max_value argument for long double.
24151 * sysdeps/i386/fpu/libm-test-ulps: Update.
24152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24153
6693d694
DM
241542012-05-06 David S. Miller <davem@davemloft.net>
24155
24156 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24157 quad soft-float symbols whose references which are compiler
24158 generated.
24159 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24160
6c23e11c
JM
241612012-05-06 Joseph Myers <joseph@codesourcery.com>
24162
d8b82cad
JM
24163 [BZ #13884]
24164 [BZ #13914]
24165 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24166 USE_AS_EXP10L.
24167 (EXPL_FINITE): Likewise.
24168 (FLDLOG): Likewise.
24169 (c0): Likewise.
24170 (c1): Likewise.
24171 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24172 Adjust comments for base varying.
24173 (__expl_finite): Change alias to EXPL_FINITE.
24174 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24175 e_expl.S.
24176 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24177 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24178 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24179 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24180 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24181 USE_AS_EXP10L.
24182 (EXPL_FINITE): Likewise.
24183 (FLDLOG): Likewise.
24184 (c0): Likewise.
24185 (c1): Likewise.
24186 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24187 Adjust comments for base varying.
24188 (__expl_finite): Change alias to EXPL_FINITE.
24189 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24190 tests for bugs.
24191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24192
6c23e11c
JM
24193 [BZ #14064]
24194 * math/libm-test.inc (check_float_internal): Correct ulp
24195 calculation for subnormal expected results.
24196
29ba805c
AJ
241972012-05-06 Andreas Jaeger <aj@suse.de>
24198
24199 * Makeconfig (+math-flags): New, set to -frounding-math.
24200 (+cflags): Add +math-flags so that all of glibc gets compiled with
24201 it.
24202
24203 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24204
7b17aeda
JM
242052012-05-05 Joseph Myers <joseph@codesourcery.com>
24206
5779f134
JM
24207 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24208 Disable one test.
24209
41498f4d
JM
24210 [BZ #13787]
24211 [BZ #13922]
24212 [BZ #14036]
24213 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24214 (__ieee754_expl): Allow for and saturate large arguments.
24215 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24216 (u_threshold): Likewise.
24217 (__exp): Call __ieee754_exp before checking for overflow and
24218 underflow.
24219 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24220 (u_threshold): Likewise.
24221 (__expf): Call __ieee754_expf before checking for overflow and
24222 underflow.
24223 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24224 (u_threshold): Likewise.
24225 (__expl): Call __ieee754_expl before checking for overflow and
24226 underflow.
24227 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24228 (__ieee754_expl): Allow for and saturate large arguments.
24229 * math/libm-test.inc (exp_test): Add another test. Do not allow
24230 missing overflow exception on overflow.
24231 (expm1_test): Do not allow missing overflow exception on overflow.
24232
6698b8bf
JM
24233 * sysdeps/i386/fpu/e_expl.c: Move to ...
24234 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24235 rather than using inline asm.
24236 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24237 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24238 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24239
7b17aeda
JM
24240 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24241 (nice): Likewise.
24242 (poll): Likewise.
24243 (signal): Likewise.
24244 (time): Likewise.
24245 (times): Likewise.
24246
f7c85819
JM
242472012-05-04 Joseph Myers <joseph@codesourcery.com>
24248
24249 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24250 sysdeps/unix/common/syscalls.list.
24251 (fchmod): Likewise.
24252 (fchown): Likewise.
24253 (ftruncate): Likewise.
24254 (getrusage): Likewise.
24255 (gettimeofday): Likewise.
24256 (setpgid): Likewise.
24257 (setregid): Likewise.
24258 (setreuid): Likewise.
24259 (sigaction): Likewise.
24260 (truncate): Likewise.
24261 (vhangup): Likewise.
24262 * sysdeps/unix/common/syscalls.list: Remove file.
24263 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24264 * sysdeps/unix/sysv/linux/Implies: Likewise.
24265
336270d0
L
242662012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24267
24268 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24270 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24271 Moved to ...
24272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24273 Here.
24274 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24275 to ...
24276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24277 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24278 to ...
24279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24280 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24281 to ...
24282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24283 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24284 to ...
24285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24286 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24287 to ...
24288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24289 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24290 to ...
24291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24292 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24293 to ...
24294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24295 Here.
24296 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24297 to ...
24298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24299 Here.
24300 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24301 to ...
24302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24303 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24304 Moved to ...
24305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24306 Here.
24307 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24308 to ...
24309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24310
d128e450
JM
243112012-05-04 Joseph Myers <joseph@codesourcery.com>
24312
fa8ee516
JM
24313 * sysdeps/unix/common/bits/dirent.h: Remove file.
24314 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24315
d128e450
JM
24316 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24317 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24318 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24319 * sysdeps/unix/bsd/isatty.c: Likewise.
24320 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24321 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24322 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24323
ff8faaf0 243242012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 24325
62881be4 24326 [BZ #13563]
31dc8730
AZ
24327 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24328 long double comparison inaccuracies.
24329 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24331
6fef930c
AS
243322012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24333
24334 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24335 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24336
8f203e6c
JM
243372012-05-04 Joseph Myers <joseph@codesourcery.com>
24338
24339 [BZ #14049]
24340 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24341 nonzero digits before rounding a hex value.
24342 * stdlib/tst-strtod.c (tests): Add another test.
24343
5197d9c2
AK
243442012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24345
24346 * sysdeps/s390/fpu/libm-test-ulps: Update.
24347
f0c1dedf
AJ
243482012-05-03 Andreas Jaeger <aj@suse.de>
24349
24350 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24351 does not get optimized out.
24352 (malloc_opt_barrier): New.
24353
a65ef2ae 243542012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 24355 Roland McGrath <roland@hack.frob.com>
a65ef2ae 24356
2b942cb7 24357 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 24358 intermediate file deletion.
2b942cb7 24359 (generated): Add .symlist files.
a65ef2ae 24360
54b71e02
JM
243612012-05-03 Joseph Myers <joseph@codesourcery.com>
24362
24363 [BZ #13775]
24364 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24365 Redirect under this condition.
24366 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24367 [__USE_GNU] (__dprintf_chk): Not under this condition.
24368 [__USE_GNU] (__vdprintf_chk): Likewise.
24369 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24370 under this condition.
24371 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24372 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24373 [__USE_XOPEN2K8] (vdprintf): Likewise.
24374 [__USE_GNU] (__dprintf_chk): Not under this condition.
24375 [__USE_GNU] (__vdprintf_chk): Likewise.
24376 [__USE_GNU] (dprintf): Likewise.
24377 [__USE_GNU] (vdprintf): Likewise.
24378
d3dfcc41
RM
243792012-05-03 Roland McGrath <roland@hack.frob.com>
24380
24381 * elf/Makefile (common-generated): Set this instead of generated for
24382 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24383 $(all-built-dso)-derived lists.
24384
7ac30cc5
AJ
243852012-05-03 Andreas Jaeger <aj@suse.de>
24386
0c51e550
AJ
24387 * sysdeps/i386/fpu/libm-test-ulps: Update.
24388
7ac30cc5
AJ
24389 * FAQ: Removed.
24390 * FAQ.in: Likewise.
24391 * scripts/gen-FAQ.pl: Likewise.
24392 * manual/install.texi (Installation): Point to online location of
24393 FAQ.
24394 * Makefile (files-for-dist): Remove FAQ.
24395 (FAQ): Remove.
24396
d4c2917f
AM
243972012-05-02 Allan McRae <allan@archlinux.org>
24398
24399 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24400 (LDFLAGS-reldepmod5.so): Likewise.
24401 (LDFLAGS-reldep6mod1.so): Likewise.
24402 (LDFLAGS-reldep6mod4.so): Likewise.
24403 (LDFLAGS-reldep8mod3.so): Likewise.
24404 (LDFLAGS-unload4mod1.so): Likewise.
24405 (LDFLAGS-unload4mod2.so): Likewise.
24406 (LDFLAGS-tst-initorder): Likewise.
24407 (LDFLAGS-tst-initordera2.so): Likewise.
24408 (LDFLAGS-tst-initordera3.so): Likewise.
24409 (LDFLAGS-tst-initordera4.so): Likewise.
24410 (LDFLAGS-tst-initorderb2.so): Likewise.
24411 (LDFLAGS-noload): Likewise.
24412 (LDFLAGS-next): Likewise.
24413 (LDFLAGS-order2mod1.so): Likewise.
24414 (LDFLAGS-order2mod2.so): Likewise.
24415 (LDFLAGS-tst-initorder2): Likewise.
24416 (LDFLAGS-tst-initorder2a.so): Likewise.
24417 (LDFLAGS-tst-initorder2b.so): Likewise.
24418 (LDFLAGS-tst-initorder2c.so): Likewise.
24419 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24420
d77f993f
DM
244212012-05-02 David S. Miller <davem@davemloft.net>
24422
24423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24424
171a70b4
PP
244252012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24426
24427 [BZ #14055]
24428 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24429
0be196ad
AJ
244302012-05-02 Andreas Jaeger <aj@suse.de>
24431
24432 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24433 since we manipulate rounding mode.
24434 (CPPFLAGS-test-idouble.c): Likewise.
24435 (CPPFLAGS-test-ifloat.c): Likewise.
24436 (CFLAGS-test-ldouble.c): Likewise.
24437 (CFLAGS-test-double.c): Likewise.
24438 (CFLAGS-test-float.c): Likewise.
24439 (CFLAGS-test-misc.c): Likewise.
24440 (CFLAGS-test-test-fenv.c): Likewise.
24441
4f9d04aa
AZ
244422012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24443
2b942cb7
RM
24444 [BZ #2550]
24445 [BZ #2570]
24446 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24447 comparisons to determine direction to adjust input.
4f9d04aa 24448
82a79e7d
RM
244492012-05-01 Roland McGrath <roland@hack.frob.com>
24450
f5a01ca9
RM
24451 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24452 output to the target.
24453
90fe4186
RM
24454 * scripts/localplt.awk: New file.
24455 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24456 (check-localplt-CFLAGS): Variable removed.
24457 ($(all-built-dso:=.jmprel)): New static pattern rule.
24458 (generated): Add those targets.
24459 (localplt-built-dso): New variable.
24460 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24461
24462 * elf/check-localplt.c: File removed.
24463
82397ed6
RM
24464 * scripts/check-execstack.awk: New file.
24465 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24466 (check-execstack-CFLAGS): Variable removed.
24467 ($(objpfx)check-execstack.h): Target removed.
24468 ($(objpfx)execstack-default): New target.
24469 (generated): Add that instead of check-execstack.h.
24470 ($(all-built-dso:=.phdr)): New static pattern rule.
24471 (generated): Add those targets.
24472 * elf/check-execstack.c: File removed.
24473
82a79e7d
RM
24474 * scripts/check-textrel.awk: New file.
24475 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24476 (check-textrel-CFLAGS): Variable removed.
24477 (all-built-dso): Use := to define.o
24478 ($(all-built-dso:=.dyn)): New static pattern rule.
24479 (generated): Add those targets.
24480 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24481 * config.make.in (READELF): New substituted variable.
24482 * elf/check-textrel.c: File removed.
24483
62fde54f 244842012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 24485
615605c9
JM
24486 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24487 allow.
24488 * conform/data/ctype.h-data [C99-based standards] (isblank):
24489 Expect function.
24490 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24491 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24492 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24493 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24494 Specify type. Require positive value.
24495 (EILSEQ): Likewise.
24496 (ERANGE): Likewise.
24497 [ISO || POSIX] (EILSEQ): Do not expect.
24498 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24499 Specify type. Require positive value.
24500 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24501 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24502 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24503 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24504 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24505 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24506 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24507 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24508 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24509 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24510 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24511 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24512 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24513 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24514 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24515 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24516 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24517 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24518 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24519 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24520 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24521 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24522 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24523 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24524 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24525 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24526 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24527 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24528 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24529 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24530 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24531 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24532 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24533 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24534 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24535 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24536 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24537 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24538 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24539 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24540 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24541 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24542 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24543 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24544 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24545 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24546 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24547 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24548 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24549 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24550 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24551 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24552 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24553 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24554 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24555 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24556 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24557 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24558 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24559 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24560 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24561 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24562 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24563 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24564 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24565 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24566 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24567 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24568 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24569 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24570 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24571 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24572 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24573 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24574 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24575 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24576 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24577 Require >= 2.
24578 (FLT_ROUNDS): Expect as macro, not constant.
24579 (FLT_MANT_DIG): Use macro-int-constant.
24580 (DBL_MANT_DIG): Likewise.
24581 (LDBL_MANT_DIG): Likewise.
24582 (FLT_DIG): Likewise.
24583 (DBL_DIG): Likewise.
24584 (LDBL_DIG): Likewise.
24585 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24586 (DBL_MIN_EXP): Likewise.
24587 (LDBL_MIN_EXP): Likewise.
24588 (FLT_MAX_EXP): Use macro-int-constant.
24589 (DBL_MAX_EXP): Likewise.
24590 (LDBL_MAX_EXP): Likewise.
24591 (FLT_MAX_10_EXP): Likewise.
24592 (DBL_MAX_10_EXP): Likewise.
24593 (LDBL_MAX_10_EXP): Likewise.
24594 (FLT_MAX): Use macro-constant.
24595 (DBL_MAX): Likewise.
24596 (LDBL_MAX): Likewise.
24597 (FLT_EPSILON): Use macro-constant. Give upper bound.
24598 (DBL_EPSILON): Likewise.
24599 (LDBL_EPSILON): Likewise.
24600 (FLT_MIN): Likewise.
24601 (DBL_MIN): Likewise.
24602 (LDBL_MIN): Likewise.
24603 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24604 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24605 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24606 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24607 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24608 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24609 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24610 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24611 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24612 [ISO11] (FLT_TRUE_MIN): Likewise.
24613 [ISO11] (LDBL_TRUE_MIN): Likewise.
24614 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24615 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24616 (SCHAR_MIN): Use macro-int-constant. Specify type.
24617 (SCHAR_MAX): Likewise.
24618 (UCHAR_MAX): Likewise.
24619 (CHAR_MIN): Likewise.
24620 (CHAR_MAX): Likewise.
24621 (MB_LEN_MAX): Use macro-int-constant.
24622 (SHRT_MIN): Use macro-int-constant. Specify type.
24623 (SHRT_MAX): Likewise.
24624 (USHRT_MAX): Likewise.
24625 (INT_MAX): Likewise.
24626 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24627 bound negative.
24628 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24629 bound with "U".
24630 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24631 bound with "L".
24632 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24633 bound negative. Suffix upper bound with "L".
24634 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24635 bound with "UL".
24636 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24637 Specify type.
24638 [C99-based standards] (LLONG_MAX): Likewise.
24639 [C99-based standards] (ULLONG_MAX): Likewise.
24640 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24641 == 0.
24642 [ISO11] (max_align_t): Require type.
24643 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24644
c9140a62
JM
24645 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24646 from $CFLAGS, without defining away __attribute__ calls.
24647 (checknamespace): Use $CFLAGS_namespace.
24648
9af0bf29
JM
24649 * conform/conformtest.pl (@keywords): Only include C99 keywords
24650 for standards based on C99 or C11.
24651
343222a2
JM
24652 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24653 Disable tests.
24654 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24655 UNIX98]: Likewise.
24656
661f8cf0
JM
24657 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24658 usability of symbols in #if.
24659
ee74b9cb
JM
24660 * conform/conformtest.pl: If macro or constant types start
24661 "promoted:", expect the symbol to be of the following type
24662 promoted by the integer promotions.
62fde54f 24663
aafc49b3
JM
24664 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24665 in one place. Also handle "macro-constant".
24666
fefdf574
JM
24667 * conform/conformtest.pl: Only accept expected macro values with
24668 "==". Parse all "macro" lines in one place.
24669 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24670
f2d922fe
JM
24671 * conform/conformtest.pl: Handle braced types on "constant" lines
24672 instead of handling "typed-constant".
24673 * conform/data/signal.h-data: Use "constant" instead of
24674 "typed-constant".
24675
d22956c9
JM
24676 * conform/conformtest.pl: Handle "optional-" at start of lines in
24677 one place rather than duplicating several cases. Handle each
24678 format of "macro" line with initial "optional-".
24679
028e2e38
JM
24680 * conform/conformtest.pl: Only accept expected constant or
24681 optional-constant values with "==". Parse all "constant" lines in
24682 one place. Parse all "optional-constant" lines in one place.
24683 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24684 * conform/data/fmtmsg.h-data: Likewise.
24685 * conform/data/netinet/in.h-data: Likewise.
24686 * conform/data/tar.h-data: Likewise.
24687 * conform/data/limits.h-data: Use "==" form on "constant" and
24688 "optional-constant" lines.
24689
1b8f2850
JM
24690 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24691 Use -std=c99 for XOPEN2K.
24692 (@knownproblems): Remove.
24693 (newtoken): Don't check %isknown.
24694
a05a144b
JM
24695 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24696 Do not expect macro.
24697 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24698 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24699 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24700 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24701 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24702 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24703 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24704 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24705 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24706 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24707 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24708 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24709 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24710 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24711 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24712 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24713 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24714 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24715 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24716 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24717 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24718 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24719 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24720 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24721 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24722 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24723 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24724 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24725 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24726 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24727 [XPG3] (acosh): Likewise.
24728 [XPG3] (asinh): Likewise.
24729 [XPG3] (atanh): Likewise.
24730 [XPG3] (cbrt): Likewise.
24731 [XPG3] (expm1): Likewise.
24732 [XPG3] (ilogb): Likewise.
24733 [XPG3] (log1p): Likewise.
24734 [XPG3] (logb): Likewise.
24735 [XPG3] (nextafter): Likewise.
24736 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24737 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24738 [XPG3] (remainder): Likewise.
24739 [XPG3] (rint): Likewise.
24740 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24741 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24742 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24743 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24744 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24745 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24746 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24747 [UNIX98 || XOPEN2K] (scalb): Expect.
24748 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24749 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24750 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24751 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24752 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24753 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24754 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24755 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24756 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24757 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24758 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24759 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24760 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24761 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24762 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24763 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24764 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24765 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24766 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24767 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24768 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24769 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24770 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24771 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24772 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24773 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24774 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24775 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24776 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24777 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24778 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24779 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24780 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24781 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24782 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24783 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24784 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24785 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24786 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24787 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24788 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24789 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24790 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24791 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24792 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24793 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24794 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24795 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24796 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24797 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24798 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24799 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24800 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24801 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24802 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24803 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24804 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24805 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24806 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24807 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24808 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24809 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24810 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24811 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24812 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24813 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24814 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24815 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24816 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24817 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24818 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24819 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24820 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24821 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24822 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24823 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24824 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24825 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24826 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24827 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24828 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24829 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24830 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24831 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24832 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24833 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24834 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24835 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24836 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24837 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24838 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24839 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24840 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24841 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24842 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24843 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24844 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24845 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24846 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24847 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24848 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24849 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24850 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24851 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24852 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24853 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24854 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24855 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24856 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24857 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24858 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24859 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24860 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24861 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24862 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24863 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24864 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24865 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24866 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24867 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24868 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24869 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24870 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24871 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24872 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24873 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24874 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24875 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24876 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24877 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24878 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24879 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24880 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24881 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24882 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24883 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24884 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24885
73c5ebe3
JM
24886 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24887 _XOPEN_SOURCE_EXTENDED for XPG4.
24888
39c33b6c
JM
24889 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24890
62fde54f
JM
24891 * Makeconfig (localtime): Remove variable.
24892 (inst_localtime-file): Likewise.
24893
0741d64c
AS
248942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24895
24896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24897 Update.
24898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24899 Update.
24900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24901 Update.
24902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24903 Update.
24904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24905 Update.
24906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24907 Update.
24908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24909 Update.
24910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24911 Update.
24912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24913 Update.
24914
7cb029ee
JM
249152012-05-01 Joseph Myers <joseph@codesourcery.com>
24916
24917 [BZ #2550]
24918 [BZ #2570]
24919 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24920 comparisons to determine direction to adjust input.
24921 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24922 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24923 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24924 Likewise.
24925 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24926 Likewise.
24927 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24928 Likewise.
24929 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24930 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24931 Likewise.
24932 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24933 Likewise.
24934 * math/libm-test.inc (nexttoward_test): Add more tests.
24935
412bd966
AS
249362012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24937
24938 [BZ #14040]
24939 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24940 in version GLIBC_2.1, not GLIBC_2.0.
24941 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24942 Likewise.
24943
9568c0c2
JM
249442012-04-30 Joseph Myers <joseph@codesourcery.com>
24945
adfbc8ac
JM
24946 [BZ #13942]
24947 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24948 (1 - x) * (1 + x).
24949 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24950 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24951 * math/libm-test.inc (acos_test): Add more tests.
24952 (asin_test): Likewise.
24953 * sysdeps/i386/fpu/libm-test-ulps: Update.
24954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24955
5ba3cc69
JM
24956 [BZ #14034]
24957 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24958 of square root.
24959 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24960 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24961 * math/libm-test.inc (acos_test_tonearest): New function.
24962 (acos_test_towardzero): Likewise.
24963 (acos_test_downward): Likewise.
24964 (acos_test_upward): Likewise.
24965 (asin_test_tonearest): Likewise.
24966 (asin_test_towardzero): Likewise.
24967 (asin_test_downward): Likewise.
24968 (asin_test_upward): Likewise.
24969 (main): Call the new functions.
24970 * sysdeps/i386/fpu/libm-test-ulps: Update.
24971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24972
9568c0c2
JM
24973 [BZ #13884]
24974 [BZ #13924]
24975 * math/e_exp10.c: Include <float.h>.
24976 (__ieee754_exp10): Handle underflow here rather than multiplying
24977 large negative argument by M_LN10.
24978 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24979 of __ieee754_expf.
24980 * math/e_exp10l.c: Include <float.h>.
24981 (__ieee754_exp10l): Handle underflow here rather than multiplying
24982 large negative argument by M_LN10l.
24983 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24984 spurious overflow exception on underflow.
24985
5ac3ea17
MP
249862012-04-29 Marek Polacek <polacek@redhat.com>
24987
24988 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24989 (__fortify_function): New macro.
24990 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24991 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24992 __extern_always_inline.
24993 * libio/bits/stdio2.h: Likewise.
24994 * libio/bits/stdio.h: Likewise.
24995 * string/string.h: Likewise.
24996 * string/bits/string3.h: Likewise.
24997 * include/stdio.h: Likewise.
24998 * stdlib/bits/stdlib.h: Likewise.
24999 * stdlib/stdlib.h: Likewise.
25000 * rt/bits/mqueue2.h: Likewise.
25001 * rt/mqueue.h: Likewise.
25002 * posix/bits/unistd.h: Likewise.
25003 * posix/unistd.h: Likewise.
25004 * io/bits/poll2.h: Likewise.
25005 * io/bits/fcntl2.h: Likewise.
25006 * io/fcntl.h: Likewise.
25007 * io/sys/poll.h: Likewise.
25008 * misc/bits/syslog.h: Likewise.
25009 * misc/bits/syslog-ldbl.h: Likewise.
25010 * misc/sys/syslog.h: Likewise.
25011 * socket/bits/socket2.h: Likewise.
25012 * socket/sys/socket.h: Likewise.
25013 * debug/tst-chk1.c: Likewise.
25014 * wcsmbs/bits/wchar2.h: Likewise.
25015 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25016 * wcsmbs/wchar.h: Likewise.
25017
ecf0ebfb
AJ
250182012-04-29 Andreas Jaeger <aj@suse.de>
25019
25020 * Makerules (tests): Remove enable-check-abi protection.
25021 (check-abi-warn): Remove.
25022 (check-abi-%): Remove check-abi-warn usage.
25023
25024 * configure.in: Remove check-abi configure option.
25025 * configure: Regenerated.
25026 * config.make.in (enable-check-abi): Remove.
25027
6d5c57fa
AS
250282012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25029
24c5d07e 25030 [BZ #14033]
ded5180a
AS
25031 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25032 double functions to double *_finite functions.
25033
7e0d315d
AS
25034 [BZ #13941]
25035 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25036 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25037 LDBL_MIN_EXP.
25038 * stdio-common/Makefile (tests): Add tst-sprintf3.
25039 * stdio-common/tst-sprintf3.c: New file.
25040
6d5c57fa
AS
25041 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25042 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25043
0749ff8b
JM
250442012-04-28 Joseph Myers <joseph@codesourcery.com>
25045
25046 * conform/conformtest.pl: Remove duplicate typed-constant
25047 handling.
25048
8dbd5d7b
DM
250492012-04-28 David S. Miller <davem@davemloft.net>
25050
25051 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25052 (check-abi-%): Remove AWK script prerequisite and explicit
25053 abilist directory.
25054 (check-abi): Rewrite to just diff the symlist with the abilist.
25055 (config-tls, config-abi-config): Delete, no longer used.
25056 (update-abi-%): Remove AWK script and explicit abilist directory.
25057 (update-abi): Rewrite to simply compare and conditionally copy the
25058 symlist and the sysdep abilist file. Remove update-abi-config
25059 checks.
25060 * abilist/ld.abilist: Remove.
25061 * abilist/libBrokenLocale.abilist: Remove.
25062 * abilist/libanl.abilist: Remove.
25063 * abilist/libcrypt.abilist: Remove.
25064 * abilist/libdl.abilist: Remove.
25065 * abilist/librt.abilist: Remove.
25066 * abilist/libthread_db.abilist: Remove.
25067 * abilist/libutil.abilist: Remove.
25068 * scripts/extract-abilist.awk: Remove.
25069 * scripts/merge-abilist.awk: Remove.
25070 * sysdeps/generic/libcidn.abilist: New file.
25071 * sysdeps/generic/libnss_compat.abilist: New file.
25072 * sysdeps/generic/libnss_db.abilist: New file.
25073 * sysdeps/generic/libnss_dns.abilist: New file.
25074 * sysdeps/generic/libnss_files.abilist: New file.
25075 * sysdeps/generic/libnss_hesiod.abilist: New file.
25076 * sysdeps/generic/libnss_nis.abilist: New file.
25077 * sysdeps/generic/libnss_nisplus.abilist: New file.
25078 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25079 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25080 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25081 file.
25082 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25083 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25084 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25085 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25086 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25087 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25088 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25089 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25090 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25091 file.
25092 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25093 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25094 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25095 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25096 file.
25097 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25098 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25099 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25100 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25101 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25102 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25103 file.
25104 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25105 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25106 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25107 file.
25108 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25110 New file.
25111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25112 New file.
25113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25114 New file.
25115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25116 New file.
25117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25118 New file.
25119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25120 New file.
25121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25122 New file.
25123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25124 New file.
25125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25126 New file.
25127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25128 New file.
25129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25130 New file.
25131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25132 New file.
25133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25134 New file.
25135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25136 file.
25137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25138 New file.
25139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25140 New file.
25141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25142 file.
25143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25144 New file.
25145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25146 New file.
25147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25148 file.
25149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25150 New file.
25151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25152 New file.
25153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25154 New file.
25155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25156 New file.
25157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25158 New file.
25159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25160 New file.
25161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25163 file.
25164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25165 New file.
25166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25167 file.
25168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25169 file.
25170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25171 file.
25172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25173 file.
25174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25175 file.
25176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25177 New file.
25178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25179 file.
25180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25181 file.
25182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25183 New file.
25184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25185 file.
25186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25188 file.
25189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25190 New file.
25191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25192 file.
25193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25194 file.
25195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25196 file.
25197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25198 file.
25199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25200 file.
25201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25202 New file.
25203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25204 file.
25205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25206 file.
25207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25208 New file.
25209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25210 file.
25211 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25212 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25213 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25214 file.
25215 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25216 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25217 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25218 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25219 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25220 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25221 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25222 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25223 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25224 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25227 file.
25228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25229 New file.
25230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25231 file.
25232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25233 file.
25234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25235 file.
25236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25237 file.
25238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25239 file.
25240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25241 New file.
25242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25243 New file.
25244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25245 file.
25246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25247 New file.
25248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25249 file.
25250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25252 file.
25253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25254 New file.
25255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25256 file.
25257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25258 file.
25259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25260 file.
25261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25262 file.
25263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25264 file.
25265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25266 New file.
25267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25268 New file.
25269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25270 file.
25271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25272 New file.
25273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25274 file.
25275
41d73a1b
JM
252762012-04-28 Joseph Myers <joseph@codesourcery.com>
25277
25278 * conform/conformtest.pl: Fix typo in handling typed-constant from
25279 allow-header.
25280
28aeeda4
JM
252812012-04-27 Joseph Myers <joseph@codesourcery.com>
25282
adae8f5e
JM
25283 * README: Cut down references to pre-2.6 Linux kernels and
25284 Linuxthreads. Update lists of configurations in libc and ports
25285 and sort alphabetically. Say "or newer" with Linux kernel version
25286 requirements.
25287
28aeeda4
JM
25288 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25289
a462cb63
RA
252902012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25291
25292 [BZ #887]
25293 * math/libm-test.inc (logb_test_downward): New test to expose
25294 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25295 rounding mode.
25296
6ad3493e
JM
252972012-04-27 Joseph Myers <joseph@codesourcery.com>
25298
25299 [BZ #14027]
25300 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25301 to be done.
25302 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25303 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25304
2ce4f015
JM
253052012-04-26 Joseph Myers <joseph@codesourcery.com>
25306
5aeb141a
JM
25307 * sysdeps/unix/i386/brk.S: Remove file.
25308 * sysdeps/unix/i386/dl-brk.S: Likewise.
25309 * sysdeps/unix/i386/pipe.S: Likewise.
25310 * sysdeps/unix/i386/sigreturn.S: Likewise.
25311 * sysdeps/unix/i386/syscall.S: Likewise.
25312 * sysdeps/unix/i386/vfork.S: Likewise.
25313 * sysdeps/unix/i386/wait.S: Likewise.
25314
7143acae
JM
25315 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25316 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25317
2ce4f015
JM
25318 * configure.in (arm*-none*): Do not allow without
25319 --enable-hacker-mode.
25320 (netbsd*): Remove case setting base_os.
25321 (386bsd*): Likewise.
25322 (freebsd*): Likewise.
25323 (bsdi*): Likewise.
25324 (osf*): Likewise.
25325 (sunos*): Likewise.
25326 (ultrix*): Likewise.
25327 (newsos*): Likewise.
25328 (dynix*): Likewise.
25329 (*bsd*): Likewise.
25330 (sysv*): Likewise.
25331 (isc*): Likewise.
25332 (esix*): Likewise.
25333 (sco*): Likewise.
25334 (minix*): Likewise.
25335 (irix4*): Likewise.
25336 (irix6*): Likewise.
25337 (solaris[2-9]*): Likewise.
25338 (none): Likewise.
25339 * configure: Regenerated.
25340
0ac229c8
AZ
253412012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25342
25343 [BZ #11521]
25344 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25345 overflow or cancellation in calculating denominator.
25346 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25347 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25348 down expression to avoid unexpected rounding in newer GCCs.
25349 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25350
33f244f4
DM
253512012-04-26 David S. Miller <davem@davemloft.net>
25352
25353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25354 long-double compat symbols.
25355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25368
cfa1f3e8
DM
253692012-04-25 David S. Miller <davem@davemloft.net>
25370
25371 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25372 HWCAP_* values only after the memory barriers have been defined.
25373 (atomic_full_barrier): Define.
25374 (atomic_read_barrier): Define.
25375 (atomic_write_barrier): Define.
25376
6e236b92
SP
253772012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25378
25379 * shlib-versions: Add libgcc_s version information.
25380 * sysdeps/generic/libgcc_s.h: Remove.
25381 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25382 libgcc_s.h.
25383 * sysdeps/gnu/unwind-resume.c: Likewise.
25384 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25385
aab39a09
DM
253862012-04-25 David S. Miller <davem@davemloft.net>
25387
25388 * sysdeps/unix/sparc/brk.S: Delete.
25389 * sysdeps/unix/sparc/dl-brk.S: Delete.
25390 * sysdeps/unix/sparc/pipe.S: Delete.
25391 * sysdeps/unix/sparc/sysdep.S: Delete.
25392 * sysdeps/unix/sparc/sysdep.h: Delete.
25393 * sysdeps/unix/sparc/vfork.S: Delete.
25394 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25395 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25396 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25397 ret_ERRVAL, r0, r1, MOVE): Define.
25398 (JUMPTARGET): Remove.
25399 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25400 sysdeps/unix/sparc/sysdep.h
25401 (ENTRY, END): Remove.
25402 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25403
a3cc4f48
JM
254042012-04-25 Joseph Myers <joseph@codesourcery.com>
25405
2ed8cda2
JM
25406 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25407 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25408 -DIS_IN_build.
25409
35d76d59
JM
25410 * timezone/README: Update upstream location and email address for
25411 tzcode and tzdata.
25412 * timezone/zdump.c: Update from tzcode 2012b.
25413 * timezone/zic.c: Likewise.
25414
a3cc4f48
JM
25415 * configure.in (libc_cv_as_needed): Remove test.
25416 * configure: Regenerated.
25417 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25418 conditional definition.
25419 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25420 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25421 * config.make.in (have-as-needed): Remove variable.
25422
ceab42c3
SP
254232012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25424 Paul Pluzhnikov <ppluzhnikov@google.com>
25425
25426 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25427 strings correctly.
25428
3ce2865f
CLT
254292012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25430
25431 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25432 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25433 * sysdeps/sh/strlen.S: Likewise.
25434
f37e0d68
JM
254352012-04-24 Joseph Myers <joseph@codesourcery.com>
25436
ae186e9a
JM
25437 * sysdeps/unix/fork.S: Remove file.
25438 * sysdeps/unix/i386/fork.S: Likewise.
25439 * sysdeps/unix/sparc/fork.S: Likewise.
25440
b96914af
JM
25441 * sysdeps/unix/system.c: Remove file.
25442 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25443
f37e0d68
JM
25444 * sysdeps/unix/getegid.S: Remove file.
25445 * sysdeps/unix/geteuid.S: Likewise.
25446
87ef29ca
RM
254472012-04-24 Roland McGrath <roland@hack.frob.com>
25448
83bcd236
RM
25449 * scripts/check-localplt.awk: New file.
25450 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25451 of diff.
25452 * scripts/data/localplt-generic.data: Add a comment.
25453
87ef29ca
RM
25454 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25455 NODE when __dir_mkfile failed.
25456 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25457 Reported by Ludovic Courtès <ludo@gnu.org>.
25458
e5a6e567
AJ
254592012-04-24 Andreas Jaeger <aj@suse.de>
25460
25461 * Makerules (common-clean): Also remove gen-as-const-headers
25462 files.
25463
c1820385
JM
254642012-04-24 Joseph Myers <joseph@codesourcery.com>
25465
25466 * Makerules (native-compile): Do not change working directory for
25467 build. Use $(OUTPUT_OPTION) in command.
25468 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25469
94e02fc4
AZ
254702012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25471
25472 [BZ #13886]
25473 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25474 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25475 * math/libm-test.inc (floor_test): Add more tests.
25476 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25477
3a533ca3
JM
254782012-04-24 Joseph Myers <joseph@codesourcery.com>
25479
940ab4b3
JM
25480 * sysdeps/unix/getdents.c: Remove file.
25481 * sysdeps/unix/sysv/getdents.c: Likewise.
25482 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25483
90e037bd
JM
25484 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25485 sysdeps/unix/mman/syscalls.list.
25486 (mmap): Likewise.
25487 (mprotect): Likewise.
25488 (msync): Likewise.
25489 (munmap): Likewise.
25490 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25491 * sysdeps/unix/mman/syscalls.list: Remove.
25492 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25493
3a533ca3
JM
25494 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25495 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25496 * configure: Regenerated.
25497 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25498 $(libgcc_s_suffix).
25499 * config.make.in (libgcc_s_suffix): Remove variable.
25500
1ad743de
JM
255012012-04-23 Joseph Myers <joseph@codesourcery.com>
25502
4ad451e2
JM
25503 * sysdeps/unix/sysv/gethostname.c: Move to ...
25504 * sysdeps/posix/gethostname.c: ... here.
25505
5e37ce39
JM
25506 * sysdeps/unix/execve.S: Remove file.
25507
1ad743de
JM
25508 * sysdeps/unix/_exit.S: Remove file.
25509
4e681b5b
AJ
255102012-04-23 Andreas Jaeger <aj@suse.de>
25511
25512 [BZ #13739]
25513 * manual/Makefile: Remove make dist support, there's no
25514 need for a stand-alone documentation tar ball.
25515 (TEXI2DVI): Define always, it's not in Makeconfig.
25516 (dist): Removed.
25517 (tar-it): Removed.
25518 (edition): Removed.
25519 (glibc-doc-$(edition).tar): Removed
25520 (%.Z): Removed.
25521 (%.gz): Removed.
25522 (%.uu): Removed.
25523 (ETAGS): Remove, it's in Makeconfig.
25524 (move-if-change): Remove, it's in Makeconfig.
25525
38686a03 255262012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
25527
25528 [BZ #13970]
25529 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25530 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25531 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25532 (strtod_l, strtof_l, strtold_l): Remove __wur.
25533 It is not necessarily an error to ignore strtol's return value.
25534 One can reliably look at the stored endptr to decide whether
25535 the number had valid syntax.
25536
7c0616fa
AJ
255372012-04-21 Andreas Jaeger <aj@suse.de>
25538
803cb6b7 25539 [BZ #13739]
7c0616fa
AJ
25540 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25541
b0fe253f
JM
255422012-04-21 Joseph Myers <joseph@codesourcery.com>
25543
25544 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25545 * sysdeps/unix/sysv/Versions: Remove file.
25546
8280f22d
MT
255472012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25548
25549 [BZ #13927]
25550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25551
75ce411f 255522012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
25553
25554 [BZ #7064]
25555 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25556 version from __vm86.
25557
097d59fa
JM
255582012-04-20 Joseph Myers <joseph@codesourcery.com>
25559
a90f3bcb
JM
25560 * sysdeps/unix/common/lxstat.c: Remove file.
25561 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25562
edc7ea78
JM
25563 * sysdeps/unix/sysv/Makefile: Remove file.
25564
cb78c221
JM
25565 * sysdeps/unix/sysv/direct.h: Remove file.
25566
efa6a45f
JM
25567 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25568 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25569 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25570 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25571 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25572 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25573 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25574
9c9f2d0c
JM
25575 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25576
4541c83b
JM
25577 * sysdeps/unix/xmknod.c: Remove file.
25578 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25579
f5d153a0
JM
25580 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25581
aa746595
JM
25582 * sysdeps/unix/sysv/i386/time.S: Remove file.
25583
cce5905e
JM
25584 * sysdeps/unix/fxstat.c: Remove file.
25585 * sysdeps/unix/xstat.c: Likewise.
25586 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25587
37fa3841
JM
25588 * sysdeps/unix/sysv/sigaction.c: Remove file.
25589
ff1962a3
JM
25590 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25591 (sysdep_headers): Remove variable.
25592 [termio.h not in sysdep_headers] (generated): Likewise.
25593 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25594 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25595 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25596 * sysdeps/unix/sysv/tcflow.c: Likewise.
25597 * sysdeps/unix/sysv/tcflush.c: Likewise.
25598 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25599 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25600 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25601 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25602 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25603
e7740d31
JM
25604 * sysdeps/unix/siglist.c: Remove file.
25605
ee06f18b
JM
25606 * sysdeps/unix/getppid.S: Remove file.
25607
097d59fa
JM
25608 * sysdeps/unix/mkdir.c: Remove file.
25609 * sysdeps/unix/rmdir.c: Likewise.
25610
ff3d51ec
AS
256112012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25612
25613 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25614 ERR_MAX value.
25615 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25616 errlist-compat value.
25617
50f81fd7
DM
256182012-04-18 David S. Miller <davem@davemloft.net>
25619
25620 * sysdeps/generic/memcopy.h (reg_char): Delete.
25621 * debug/strcat_chk.c: Use char, not reg_char.
25622 * debug/strcpy_chk.c: Likewise.
25623 * debug/strncat_chk.c: Likewise.
25624 * debug/strncpy_chk.c: Likewise.
25625 * string/memchr.c: Likewise.
25626 * string/memrchr.c: Likewise.
25627 * string/rawmemchr.c: Likewise.
25628 * string/strcat.c: Likewise.
25629 * string/strchr.c: Likewise.
25630 * string/strchrnul.c: Likewise.
25631 * string/strcmp.c: Likewise.
25632 * string/strcpy.c: Likewise.
25633 * string/strncat.c: Likewise.
25634 * string/strncmp.c: Likewise.
25635 * string/strncpy.c: Likewise.
25636
8ff41c46
WS
256372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25638
25639 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25640 __builtin_memcopy is called when src and dest ranges are known to not
25641 overlap.
25642
6b652f46
WS
256432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25644
25645 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25646 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25647 fwd_align_merge macro call.
25648 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25649 bwd_align_merge macro call.
25650 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25651
b282631e
WS
256522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25653
25654 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25655 bwd_align_merge macros.
25656 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25657 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25658 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25659
95aa737c
DM
256602012-04-18 David S. Miller <davem@davemloft.net>
25661
25662 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25663
7a99a614
AJ
256642012-04-18 Andreas Jaeger <aj@suse.de>
25665
25666 [BZ# 6794]
25667 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25668 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25669 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25670
25671 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25672 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25673 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25674
25675 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25676 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25677 Adjust for changed ldbl-128 files.
25678
25679 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25680 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25681 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25682
e5270c23
DM
256832012-04-17 David S. Miller <davem@davemloft.net>
25684
25685 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25686
fb5e92c9
AS
256872012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25688
25689 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25690 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25691 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25692 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25693 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25694 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25695
76da7265
AZ
256962012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25697
25698 [BZ #6794]
25699 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25700 * math/libm-test.inc: Add ilogb errno and exception tests.
25701 * math/w_ilogb.c: New file: ilogb wrapper.
25702 * math/w_ilogbf.c: New file: ilogbf wrapper.
25703 * math/w_ilogbl.c: New file: ilogbl wrapper.
25704 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25705 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25706 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25707 exception being thrown with 0.0 as argument.
25708 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25709 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25710 exception being thrown with 0.0 as argument.
25711 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25712 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25713 exception being thrown with 0.0 as argument.
25714 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25715 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25716 exception being thrown with 0.0 as argument.
25717 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25718 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 25719 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
25720 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25721 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25722 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25723 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25724 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25725 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25726
0396e69d
PB
257272012-04-17 Petr Baudis <pasky@ucw.cz>
25728
25729 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25730 with altivec.
25731
750b5926
MP
257322012-04-16 Marek Polacek <polacek@redhat.com>
25733
25734 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25735
751728a1
MP
257362012-04-16 Marek Polacek <polacek@redhat.com>
25737
25738 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25739 operands of fdivp instruction.
25740
34a27407
L
257412012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25742
25743 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25744 * elf/tst-auditmod3b.c: Likewise.
25745 * elf/tst-auditmod4b.c: Likewise.
25746 * elf/tst-auditmod5b.c: Likewise.
25747 * elf/tst-auditmod6b.c: Likewise.
25748 * elf/tst-auditmod6c.c: Likewise.
25749 * elf/tst-auditmod7b.c: Likewise.
25750 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25751 * sysdeps/x86_64/preconfigure.in: Likewise.
25752 * sysdeps/x86_64/preconfigure: Regenerated.
25753
7e73e17d
L
257542012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25755
25756 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25757 __ILP32__.
25758
c7a6ab72
AB
257592012-04-13 Antoine Balestrat <merkil33@gmail.com>
25760
25761 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25762 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25763
a9e8e0e0
CL
257642012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25765
25766 [BZ #13973]
25767 * locale/iso-639.def: Fix gl language name. Spotted by
25768 Yaron Shahrabani.
25769
ec98af7d
RM
257702012-04-12 Roland McGrath <roland@hack.frob.com>
25771
25772 [BZ #2074]
25773 * libio/libio.h (__io_write_fn): Update comment.
25774
247c3ede
PB
257752012-04-12 Petr Baudis <pasky@ucw.cz>
25776
25777 [BZ #2074]
25778 * stdio.texi (Hook Functions): The user provided writer function
25779 is not allowed to return -1.
25780
55939d6d
DM
257812012-04-11 David S. Miller <davem@davemloft.net>
25782
25783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25784
90020f5a
MF
257852012-04-11 Mike Frysinger <vapier@gentoo.org>
25786
25787 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25788 Add a leading slash to rtkaio.
25789
288f9098
JM
257902012-04-11 Jim Meyering <meyering@redhat.com>
25791
90020f5a
MF
25792 [BZ #11959]
25793 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25794 It is not necessarily an error to ignore fwrite's return
25795 value. One can reliably use ferror to test for errors after
25796 the fact.
288f9098 25797
4be2b570
L
257982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25799
25800 * bits/types.h (__snseconds_t): New type.
25801 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25802
25803 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25804 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25805 (__SNSECONDS_T_TYPE): Likewise.
25806 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25807 (__SNSECONDS_T_TYPE): Likewise.
25808 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25809 (__SNSECONDS_T_TYPE): Likewise.
25810
288f9098 258112012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
25812
25813 [BZ #2636]
25814 * manual/time.texi (Processor Time): Return type of times is
25815 elapsed real time since an arbitrary point in the past.
25816 (CPU Time): Move CLK_TCK from here...
25817 (Processor Time): ...to here. Correct description.
25818 * manual/conf.texi (Constants for Sysconf): Correct description of
25819 _SC_CLK_TCK.
25820
d7dd4413
DM
258212012-04-10 David S. Miller <davem@davemloft.net>
25822
25823 [BZ #13967]
25824 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25825 where the is a gap between DT_REL(A) and DT_JMPREL.
25826
b46068fc
L
258272012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25828
25829 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25830 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25831 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25832
73d65cc3
SP
258332012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25834
25835 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25836 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25837 (dl_main): Handle --inhibit-cache.
25838 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25839 _dl_inhibit_cache.
25840 * elf/dl-load.c (_dl_map_object): Use it.
25841 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25842
bcc8d661
JM
258432012-04-09 Joseph Myers <joseph@codesourcery.com>
25844
8f9a2fae
JM
25845 [BZ #13872]
25846 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25847 (__ieee754_powl): Saturate large exponents rather than testing for
25848 overflow of y*log2(x).
25849 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25850 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25851 exceptions.
25852
bcc8d661
JM
25853 [BZ #11521]
25854 * math/s_ctan.c: Include <float.h>.
25855 (__ctan): Avoid internal overflow or cancellation in calculating
25856 denominator.
25857 * math/s_ctanf.c: Likewise.
25858 * math/s_ctanl.c: Likewise.
25859 * math/s_ctanh.c: Likewise.
25860 * math/s_ctanhf.c: Likewise.
25861 * math/s_ctanhl.c: Likewise.
25862 * math/libm-test.inc (ctan_test): Add more tests.
25863 (ctanh_test): Likewise.
25864 * sysdeps/i386/fpu/libm-test-ulps: Update.
25865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25866
823fbbb4
AJ
258672012-04-09 Andreas Jaeger <aj@suse.de>
25868
03879793
AJ
25869 [BZ #6894]
25870 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25871 is an optional BSD extension.
25872
823fbbb4
AJ
25873 [BZ #10254]
25874 * manual/stdio.texi (Opening Streams): Document additional fopen
25875 parameters.
25876
8de131cb
RM
258772012-04-09 Roland McGrath <roland@hack.frob.com>
25878
25879 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25880 %eax without telling the compiler.
25881
c0ed9d7d
CD
258822012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25883
25884 [BZ # 13963]
25885 * manual/install.texi: Use sourceware.org.
25886
c483f6b4
JM
258872012-04-09 Joseph Myers <joseph@codesourcery.com>
25888
d7dd9453
JM
25889 [BZ #13873]
25890 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25891 (__ieee754_pow): Generate overflow and underflow using huge*huge
25892 and tiny*tiny rather than just returning constant infinity or zero
25893 for large exponents.
25894 * math/libm-test.inc (pow_test): Require overflow exceptions for
25895 applicable cases of large exponents.
25896
c483f6b4
JM
25897 [BZ #706]
25898 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25899 (__ieee754_pow): Use iterative multiplication algorithm only for
25900 integer exponents with absolute value below 1024. Check for odd
25901 integer exponents when using algorithm for real exponents.
25902 * math/libm-test.inc (pow_test): Add more tests.
25903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25904
d2de7579
JM
259052012-04-08 Joseph Myers <joseph@codesourcery.com>
25906
25907 [BZ #13705]
25908 * math/libm-test.inc (exp_test): Do not allow overflow exception
25909 on underflow test.
25910
f77f1232
AJ
259112012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25912
25913 [BZ #13705]
25914 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25915 instead of __kernel_standard_f.
25916
3884932b
MF
259172012-04-08 Mike Frysinger <vapier@gentoo.org>
25918
25919 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25920 * sysdeps/x86_64/memset_chk.S: Likewise.
25921
54472e9c
AJ
259222012-04-08 Andreas Jaeger <aj@suse.de>
25923
6ab0fbfc
AJ
25924 [BZ #10153]
25925 * manual/startup.texi (Environment Access): Describe return value
25926 for putenv and setenv.
25927
61efba8c
AJ
25928 [BZ #6895]
25929 * manual/filesys.texi (Directory Entries): Add description for
25930 DT_LNK.
25931
95c3f29a
AJ
25932 [BZ #6890]
25933 * manual/filesys.texi (Directory Entries): Clarify that it's file
25934 system not operating system in the description of DT_UNKNOWN.
25935
54472e9c
AJ
25936 [BZ #6578]
25937 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25938
624254b1
SC
259392012-04-08 Stephen Compall <s11@member.fsf.org>
25940
25941 [BZ #6649]
25942 * manual/llio.texi (Opening and Closing Files): Add cross
25943 reference to explain mode argument.
25944
1e4920e0
MF
259452012-04-07 Mike Frysinger <vapier@gentoo.org>
25946
25947 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25948 * sysdeps/x86_64/memset_chk.S: Likewise.
25949
5ed848f3
DM
259502012-04-07 David S. Miller <davem@davemloft.net>
25951
25952 * elf/elf.h (R_SPARC_WDISP10): Define.
25953 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25954 R_SPARC_SIZE32.
25955 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25956 R_SPARC_SIZE64 and R_SPARC_H34.
25957
96154cd8
CD
259582012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25959
25960 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25961 conditions and remove no longer applicable assertion.
25962
9904dc47
L
259632012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25964
25965 * bits/byteswap.h: Include <features.h>.
25966 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25967 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25968
f8887d0a
L
259692012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25970
25971 * bits/byteswap.h (__bswap_16): Removed.
25972 Include <bits/byteswap-16.h> to get __bswap_16.
25973 * sysdeps/i386/bits/byteswap.h: Likewise.
25974 * sysdeps/s390/bits/byteswap.h: Likewise.
25975 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25976 * bits/byteswap-16.h: New file.
25977 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25978 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25979 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25980 * string/Makefile (headers): Add bits/byteswap-16.h.
25981
62470f60
PP
259822012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25983
25984 [BZ #13895]
25985 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25986 extra indirection.
25987 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25988 * nss/tst-nss-static.c: New.
25989
4dad7bab
RM
259902012-04-06 Robert Millan <rmh@gnu.org>
25991
25992 [BZ #6486]
25993 * manual/llio.texi (File Position Primitive): lseek
25994 refers to WHENCE when it really means OFFSET.
25995
e9142a17
AJ
259962012-04-06 Andreas Jaeger <aj@suse.de>
25997
2c040eff
AJ
25998 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25999 strncmp declarations.
26000
e9142a17
AJ
26001 * abilist/libc.abilist: Add __poll and __ppoll.
26002
ff9f1c5f
DM
260032012-04-05 David S. Miller <davem@davemloft.net>
26004
dcd2ae90
DM
26005 * scripts/check-local-headers.sh: Accept a host triplet in the
26006 path matched by the exclude regexp.
26007
993eb054
DM
26008 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26009 definition.
26010 * sysdeps/powerpc/powerpc32/dl-machine.h
26011 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26012 * sysdeps/s390/s390-32/dl-machine.h
26013 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26014 * sysdeps/sparc/sparc32/dl-machine.h
26015 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26016 * sysdeps/sparc/sparc64/dl-machine.h
26017 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26018
ff9f1c5f
DM
26019 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26020 lazy binding.
48e2e132 26021 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
26022 undefined symbol errors.
26023
48e2e132 26024 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
26025 DT_NEEDED entries.
26026
e80d6f94
MM
260272012-04-05 Michael Matz <matz@suse.de>
26028
26029 [BZ #13592]
26030 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26031
349fa79f
AJ
260322012-04-05 Andreas Jaeger <aj@suse.de>
26033
26034 [BZ #13908]
26035 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26036 comment.
26037
f402708f
KK
260382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26039
26040 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26041 which ROUND is no valid rounding mode.
26042
2ecccfc9
KK
260432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26044
26045 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26046 read again.
26047 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26048
8a53f50f
KK
260492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26050
26051 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26052 an exception using FPU order intentionally.
26053
260542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26055
26056 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26057 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26058 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26059 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26060
d653abb7
SJ
260612012-04-05 Simon Josefsson <simon@josefsson.org>
26062
26063 [BZ #12340]
26064 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26065 EINVAL when BUFLEN is too smal.
26066
c3b1bf7d
TS
260672012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26068
26069 [BZ #13553]
26070 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26071 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26072
b1aa60f3
AJ
260732012-04-03 Andreas Jaeger <aj@suse.de>
26074
c3b1bf7d 26075 [BZ #13938]
67f60a26
AJ
26076 * manual/setjmp.texi (System V contexts): Fix sentence.
26077
b1aa60f3
AJ
26078 [BZ #13926]
26079 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26080 New macro for this case.
26081 [!__GNUC__] (__bswap_64): New inline function for this case.
26082 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26083 * bits/byteswap.h: Likewise.
26084 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26085 ull, guard with __GLIBC_HAVE_LONG_LONG.
26086
26087 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26088 __GLIBC_HAVE_LONG_LONG.
26089
26090 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26091 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26092
39c59c35
TMQMF
260932012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26094
26095 [BZ #13691]
26096 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26097 inptr and inend, rather than using last_ch.
26098
135ffda8
DM
260992012-04-02 David S. Miller <davem@davemloft.net>
26100
26101 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26102 * stdio-common/printf-parse.h (read_int): Change return type to
26103 'int', return -1 on INT_MAX overflow.
26104 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26105 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26106 overflows INT_MAX. Check for overflow of in-format-string precision
26107 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26108 SIZE_MAX not INT_MAX for integer overflow test.
26109 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26110 skip the construct in the format string but do not record anything.
26111 * stdio-common/bug22.c: Adjust to test both width/prevision
26112 INT_MAX overflow as well as total length INT_MAX overflow. Check
26113 explicitly for proper errno values.
26114
228c019e
TS
261152012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26116
302cadd3
TS
26117 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26118 CHAR_MAX.
26119 * string/test-strcmp.c [! WIDE]: Likewise.
26120 * time/tst-mktime2.c: Likewise for INT_MAX.
26121 * string/test-string.h: #include <sys/param.h> for MIN.
26122
228c019e
TS
26123 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26124 * sysdeps/i386/init-first.c (init): Likewise.
26125 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26126 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26127 * sysdeps/sh/init-first.c (init): Likewise.
26128
cfa633f5
UD
261292012-04-01 Ulrich Drepper <drepper@gmail.com>
26130
26131 * po/ru.po: Update from translation team.
d1635ef8 26132 * po/vi.po: Likewise.
cfa633f5 26133
6cd0a5ea
SP
261342012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26135
26136 * resolv/nss_dns/dns-host.c: Merge copyright years.
26137
4b43400f
LD
261382012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26139
26140 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26141 Optimize memcpy with prefetch if
26142 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26143 src, dst pointers have unequal 16 byte alignments.
26144
48c41d04
SP
261452012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26146
26147 [BZ #13928]
26148 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26149 from a CNAME entry and return the minimum ttl for the query.
26150 (gaih_getanswer_slice): Likewise.
26151
b8dc394d
JL
261522012-03-30 Jeff Law <law@redhat.com>
26153
26154 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26155 due to long keys.
26156 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26157 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26158
2f5a5ed0
JL
26159 * resolv/nss_dns/dns-host.c: Update copyright year.
26160
1d39e359
UD
261612012-03-30 Ulrich Drepper <drepper@gmail.com>
26162
c030f70c 26163 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 26164 requests to save a system call. Fix check that all bytes are sent.
c030f70c 26165
1d39e359
UD
26166 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26167 comments for sendmmsg.
26168
261692012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
26170
26171 [BZ #13691]
26172 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26173 with only 1 character between 0x0041 and 0x01b0.
26174 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26175 * wcsmbs/tst-mbsnrtowcs.c: New file.
26176
20fde227
DM
261772012-03-29 David S. Miller <davem@davemloft.net>
26178
26179 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26180 small copies by hand.
26181
984a4237
JL
261822012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26183
26184 [BZ #13761]
26185 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26186 _nss_compat_initgroups_dyn): Fall back to malloc/free
26187 for large group memberships.
26188
18c9d62b
DM
261892012-03-28 David S. Miller <davem@davemloft.net>
26190
88d85d4f
DM
26191 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26192 that branches into memcpy.
26193 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26194 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26195 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26196 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26197 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26198 bits.
26199 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26200 implementation too.
26201 * sysdeps/sparc/mempcpy.S: New file.
26202
e5aa83e1
DM
26203 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26204 the IFUNC routine in the libc case.
26205 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26206
88570753
DM
26207 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26208 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26209 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26210 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26211 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26212 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26213 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26214 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26215
249d7567
DM
26216 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26217 loop to 256 bytes instead of 64 bytes and fix test signedness.
26218
18c9d62b
DM
26219 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26220 * sysdeps/sparc/sparc32/Makefile: rather than here...
26221 * sysdeps/sparc/sparc64/Makefile: and here.
26222
05f3d1f6
UD
262232012-03-28 Ulrich Drepper <drepper@gmail.com>
26224
26225 * malloc/mallocbug.c: Avoid warnings about unused variables.
26226
86ae07a8
JL
262272012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26228
26229 [BZ #13760]
26230 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26231 in the right place. Discard and retry query if response is
26232 larger than input buffer size.
26233
41bf21a1
JM
262342012-03-28 Joseph Myers <joseph@codesourcery.com>
26235
d6270972
JM
26236 [BZ #369]
26237 [BZ #2678]
26238 [BZ #3866]
26239 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26240 x for large integer exponent.
26241 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26242 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26243 sign of result as needed afterwards.
26244 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26245 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26246 result for underflowing pow the same as for overflow.
26247 (__kernel_standard_l): Handle powl overflow and underflow here
26248 rather than calling __kernel_standard.
26249 * math/libm-test.inc (pow_test): Add more tests.
26250
414fca03 26251 [BZ #3868]
41bf21a1
JM
26252 [BZ #13879]
26253 [BZ #13910]
26254 [BZ #13911]
26255 [BZ #13912]
26256 [BZ #13913]
26257 [BZ #13915]
26258 [BZ #13916]
26259 [BZ #13917]
26260 [BZ #13918]
26261 [BZ #13919]
26262 [BZ #13920]
26263 [BZ #13921]
26264 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26265 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26266 (__kernel_standard_l): New function.
26267 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26268 __kernel_standard.
26269 * math/w_acosl.c (__acosl): Likewise.
26270 * math/w_asinl.c (__asinl): Likewise.
26271 * math/w_atan2l.c (__atan2l): Likewise.
26272 * math/w_atanhl.c (__atanhl): Likewise.
26273 * math/w_coshl.c (__coshl): Likewise.
26274 * math/w_exp10l.c (__exp10l): Likewise.
26275 * math/w_exp2l.c (__exp2l): Likewise.
26276 * math/w_fmodl.c (__fmodl): Likewise.
26277 * math/w_hypotl.c (__hypotl): Likewise.
26278 * math/w_j0l.c (__j0l, __y0l): Likewise.
26279 * math/w_j1l.c (__j1l, __y1l): Likewise.
26280 * math/w_jnl.c (__jnl, __ynl): Likewise.
26281 * math/w_lgammal.c (__lgammal): Likewise.
26282 * math/w_log10l.c (__log10l): Likewise.
26283 * math/w_log2l.c (__log2l): Likewise.
26284 * math/w_logl.c (__logl): Likewise.
26285 * math/w_powl.c (__powl): Likewise.
26286 * math/w_remainderl.c (__remainderl): Likewise.
26287 * math/w_scalbl.c (sysv_scalbl): Likewise.
26288 * math/w_sinhl.c (__sinhl): Likewise.
26289 * math/w_sqrtl.c (__sqrtl): Likewise.
26290 * math/w_tgammal.c (__tgammal): Likewise.
26291 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26292 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26293 * math/libm-test.inc (acos_test): Add more tests.
26294 (acosh_test): Likewise.
26295 (asin_test): Likewise.
26296 (atanh_test): Likewise.
26297 (exp_test): Likewise.
26298 (exp10_test): Likewise.
26299 (exp2_test): Likewise.
26300 (expm1_test): Likewise.
26301 (lgamma_test): Likewise.
26302 (log_test): Likewise.
26303 (log10_test): Likewise.
26304 (log1p_test): Likewise.
26305 (log2_test): Likewise.
26306 (pow_test): Do not allow some spurious overflow exceptions.
26307 (sqrt_test): Add more tests.
26308 (tgamma_test): Likewise.
26309 (y0_test): Likewise.
26310 (y1_test): Likewise.
26311 (yn_test): Likewise.
26312
dd62fda6
AB
263132012-03-27 Anton Blanchard <anton@samba.org>
26314
26315 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26316 MAP_HUGETLB.
26317 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26318 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26319 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26320
1e3cdfda
AJ
263212012-03-27 David S. Miller <davem@davemloft.net>
26322
b855ab85
DM
26323 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26324
1e3cdfda
AJ
26325 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26326 have-as-vis3 check.
26327
263282012-03-27 Andreas Jaeger <aj@suse.de>
26329
26330 * sysdeps/x86_64/elf/configure.in: Moved to ...
26331 * sysdeps/x86_64/configure.in: ... here.
26332 * sysdeps/x86_64/elf/start.S: Moved to ...
26333 * sysdeps/x86_64/start.S: ... here.
26334 * sysdeps/x86_64/elf/configure: Delete.
26335
26336 * sysdeps/x86_64/configure.in: Merge contents from
26337 sysdeps/i386/configure.in (without i686 check).
26338
26339 * sysdeps/i386/elf/Versions: Merge into ...
26340 * sysdeps/i386/Versions: ... this.
26341 * sysdeps/i386/elf/Versions: Delete file.
26342 * sysdeps/i386/elf/start.S: Moved to ...
26343 * sysdeps/i386/start.S: ...here.
26344 * sysdeps/i386/elf/configure.in: Merge into...
26345 * sysdeps/i386/configure.in: ...here.
26346 * sysdeps/i386/elf/configure.in: Delete file.
26347 * sysdeps/i386/elf/configure: Delete file.
26348
26349 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26350 * debug/backtracesyms.c: ... here.
26351 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26352 * debug/backtracesymsfd.c: ... here.
26353 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26354 * sysdeps/generic/ifunc-sel.h: ... here.
26355
26356 * sysdeps/unix/i386/start.c: Delete file.
26357 * sysdeps/unix/sparc/start.c: Delete file.
26358 * sysdeps/unix/start.c: Delete file.
26359
26360 * sysdeps/sh/elf/configure.in: Moved to ...
26361 * sysdeps/sh/configure.in: ... here.
26362 * sysdeps/sh/elf/start.S: Moved to ...
26363 * sysdeps/sh/start.S: ... here.
26364 * sysdeps/sh/elf/configure: Delete file.
26365
26366 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26367 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26368 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26369 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26370 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26371 * sysdeps/powerpc/powerpc64/start.S: here.
26372 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26373 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26374 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26375 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26376 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26377
26378 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26379 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26380 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26381 * sysdeps/powerpc/powerpc32/start.S: ... here.
26382 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26383 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26384 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26385
26386 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26387 * sysdeps/powerpc/ifunc-sel.h: ... here.
26388 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26389 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26390
26391 * sysdeps/sparc/elf/configure.in: Moved to ...
26392 * sysdeps/sparc/configure.in: ... here.
26393 * sysdeps/sparc/elf/configure: Delete file.
26394 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26395 * sysdeps/sparc/sparc32/start.S: ... here.
26396 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26397 * sysdeps/sparc/sparc64/start.S: ... here.
26398 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26399 * sysdeps/sparc/sparc32/Makefile: ... this.
26400 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26401 * sysdeps/sparc/sparc64/Makefile: ... this.
26402
26403 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26404 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26405 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26406 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26407 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26408 * sysdeps/s390/s390-32/setjmp.S: ... here.
26409 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26410 * sysdeps/s390/s390-32/configure.in: ... here.
26411 * sysdeps/s390/s390-32/elf/configure: Delete file.
26412 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26413 * sysdeps/s390/s390-32/start.S: ... here.
26414
26415 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26416 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26417 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26418 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26419 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26420 * sysdeps/s390/s390-64/setjmp.S: ... here.
26421 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26422 * sysdeps/s390/s390-64/configure.in: ... here
26423 * sysdeps/s390/s390-64/elf/configure: Delete file.
26424 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26425 * sysdeps/s390/s390-64/start.S: ... here.
26426 * sysdeps/s390/s390-64/elf/configure: Delete.
26427
26428 * configure.in: Remove support for elf directories in sysdeps.
26429
26430 * configure: Regenerated.
26431 * sysdeps/i386/configure: Regenerated.
26432 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26433 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26434 * sysdeps/s390/s390-32/configure: Regenerated.
26435 * sysdeps/s390/s390-64/configure: Regenerated.
26436 * sysdeps/sh/configure: Regenerated.
26437 * sysdeps/sparc/configure: Regenerated.
26438 * sysdeps/x86_64/configure: Regenerated.
26439
a3f61311
AS
264402012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26441
c876e002
AS
26442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26443
a3f61311
AS
26444 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26445 denormal result into account.
26446
ac4c54f0
RM
264472012-03-25 Roland McGrath <roland@hack.frob.com>
26448
26449 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26450 Reported by Allan McRae <allan@archlinux.org>.
26451
6a9b9c02
JL
264522012-03-23 Jeff Law <law@redhat.com>
26453
26454 * nss/getnssent.c (__nss_getent): Fix typo.
26455
4c42a0c1
DM
264562012-03-23 David S. Miller <davem@davemloft.net>
26457
26458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26459
1532c7ac
L
264602012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26461
26462 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26463 to pad to uint64_t for each field.
26464 (dl_tls_index): Replace unsigned long with uint64_t.
26465
3ff42526
PP
264662012-03-23 Daniel Jacobowitz <dmj@google.com>
26467 Paul Pluzhnikov <ppluzhnikov@google.com>
26468
26469 [BZ #6528]
26470 * grp/Makefile (otherlibs): Don't set it.
26471 * inet/Makefile (otherlibs): Likewise.
26472 * login/Makefile (otherlibs): Likewise.
26473 * nscd/Makefile (otherlibs): Likewise.
26474 * posix/Makefile (otherlibs): Likewise.
26475 * pwd/Makefile (otherlibs): Likewise.
26476 * rt/Makefile (otherlibs): Likewise.
26477 * sunrpc/Makefile (otherlibs): Likewise.
26478 * nss/Makefile (otherlibs): Likewise.
26479 Add libnss_files to routines and static-only-routines.
26480 ($(objpfx)getent): Remove rule.
26481 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26482 static-only-routines.
26483
7c69cd14
JM
264842012-03-22 Joseph Myers <joseph@codesourcery.com>
26485
26486 [BZ #13892]
26487 * math/s_cexp.c: Include <float.h>.
26488 (__cexp): Handle exp result overflowing not necessarily
26489 overflowing both real and imaginary parts of result.
26490 * math/s_cexpf.c: Likewise.
26491 * math/s_cexpl.c: Likewise.
26492 * math/libm-test.inc (cexp_test): Add more tests.
26493 * sysdeps/i386/fpu/libm-test-ulps: Update.
26494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26495
81b035fe
L
264962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26497
26498 * include/link.h (ELFW): New macro.
26499 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26500 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26501
1da7940c
L
265022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26503
26504 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26505 with uint64_t.
26506
b749dbb9
L
265072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26508
26509 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26510 declaration.
26511 (struct La_x32_retval): Likewise.
26512
2ff87f3f
L
265132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26514
26515 * sysdeps/x86_64/preconfigure.in: New file.
26516 * sysdeps/x86_64/preconfigure: New generated file.
26517
c0df8e69
JM
265182012-03-22 Joseph Myers <joseph@codesourcery.com>
26519
48e44791
JM
26520 [BZ #13824]
26521 * math/e_exp2l.c: Include <float.h>.
26522 (__ieee754_exp2l): Handle overflow and underflow cases
26523 separately. Only pass fractional part of argument to
26524 __ieee754_expl.
26525 * math/libm-test.inc (exp2_test): Add more tests.
26526
c0df8e69
JM
26527 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26528 negating x to take absolute value.
26529 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26530 Likewise.
26531 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26532 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26533 Likewise.
26534 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26535 computing low part if x was negated.
26536 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26537
c8e43ba7
L
265382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26539
26540 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26541 la_x32_gnu_pltexit.
26542 (pltexit): Cast int_retval to ptrdiff_t.
26543 * elf/tst-auditmod3b.c: Likewise.
26544 * elf/tst-auditmod4b.c: Likewise.
26545 * elf/tst-auditmod5b.c: Likewise.
26546 * elf/tst-auditmod6b.c: Likewise.
26547 * elf/tst-auditmod6c.c: Likewise.
26548 * elf/tst-auditmod7b.c: Likewise.
26549
26550 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26551 and x32_gnu_pltexit.
26552
26553 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26554 __ELF_NATIVE_CLASS.
26555 (La_x32_regs): New macro.
26556 (La_x32_retval): Likewise.
26557 (la_x32_gnu_pltenter): New function prototype.
26558 (la_x32_gnu_pltexit): Likewise.
26559
7998fa78
AS
265602012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26561
dcb33988
AS
26562 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26563 exponent.
26564
233fc563
AS
26565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26566
7998fa78
AS
26567 * configure.in (libc_cv_cc_nofma): Check for option to disable
26568 generation of FMA instructions.
26569 * configure: Regenerate.
26570 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26571 * sysdeps/ieee754/dbl-64/Makefile: New file.
26572 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26573 Remove brandred-fma4.
26574 (CFLAGS-brandred-fma4.c): Remove.
26575 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26576 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26577 define.
26578 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26579 define.
26580
8e95c99a
L
265812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26582
26583 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26584 LLONG_MAX != LONG_MAX.
26585 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26586 (_fitoa_word): Likewise.
26587 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26588 LLONG_MAX != LONG_MAX.
26589 * stdio-common/_itowa.h: Include <_itoa.h>.
26590 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26591 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26592 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26593 only if not defined.
26594 (_ITOA_WORD_TYPE): Likewise.
26595 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26596 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26597
6f4db457
DM
265982012-03-21 David S. Miller <davem@davemloft.net>
26599
26600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26601
7785fe5a
L
266022012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26603
26604 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26605 of x86_64 when setting libc_cv_slibdir, libdir and
26606 libc_cv_localedir.
26607 * sysdeps/unix/sysv/linux/configure: Regenerated.
26608
4535cd55
JM
266092012-03-21 Joseph Myers <joseph@codesourcery.com>
26610
26611 * manual/lang.texi (Old Varargs): Remove section.
26612 (How Variadic): Update menu.
26613 (va_start): Do not mention varargs.h.
26614
17228132
TS
266152012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26616 Joseph Myers <joseph@codesourcery.com>
26617
26618 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26619 link test.
26620 * configure: Regenerated.
26621
8149f976
TS
266222012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26623
05f3d1f6
UD
26624 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26625 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26626 conformtest.pl
8149f976 26627
1a4ac776
JM
266282012-03-21 Joseph Myers <joseph@codesourcery.com>
26629
be22ce65
JM
26630 * NOTES: Remove.
26631 * Makefile (files-for-dist): Remove NOTES.
26632 (NOTES): Remove rule.
26633 * README: Don't refer to NOTES.
26634 * manual/creature.texi: Don't include macros.texi.
26635 * manual/intro.texi (creature.texi): Remove comment referring to
26636 NOTES.
26637
40b601fb
JM
26638 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26639 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26640 * configure: Regenerated.
26641 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26642 LIBC_TRY_CC_OPTION.
26643 (libc_cv_as_i686): Likewise.
26644 (libc_cv_cc_avx): Likewise.
26645 (libc_cv_cc_sse2avx): Likewise.
26646 (libc_cv_cc_fma4): Likewise.
26647 (libc_cv_cc_novzeroupper): Likewise.
26648 * sysdeps/i386/configure: Regenerated.
26649
1a4ac776
JM
26650 [BZ #13883]
26651 * sysdeps/i386/fpu/s_cexp.S: Remove.
26652 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26653 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26654 * math/libm-test.inc (cexp_test): Add more tests.
26655 * sysdeps/i386/fpu/libm-test-ulps: Update.
26656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26657
a458e7fe
AM
266582012-03-21 Allan McRae <allan@archlinux.org>
26659
26660 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26661
0cb7efc5
JM
266622012-03-21 Joseph Myers <joseph@codesourcery.com>
26663
26664 [BZ #13871]
26665 * math/w_exp2.c: Do not include <float.h>.
26666 (o_threshold, u_threshold): Remove.
26667 (__exp2): Calculate result before checking finiteness and calling
26668 __kernel_standard.
26669 * math/w_exp2f.c: Likewise.
26670 * math/w_exp2l.c: Likewise.
26671 * math/libm-test.inc (exp2_test): Require overflow exception for
26672 1e6 input.
2460d3aa
JM
26673
26674 [BZ #3866]
26675 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26676 range of signed 64-bit integers before using fistpll. Remove
26677 checks for whether integers fit in mantissa bits.
26678 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26679 the range of signed 32-bit integers before using fistpl. Remove
26680 checks for whether integers fit in mantissa bits.
26681 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26682 (__ieee754_powl): Test for y outside the range of signed 64-bit
26683 integers before using fistpll. Reduce 64-bit values to 63-bit
26684 ones as needed.
26685 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26686 divide-by-zero is raised for zero to large negative powers.
26687 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26688 (__ieee754_powl): Test for y outside the range of signed 64-bit
26689 integers before using fistpll. Reduce 64-bit values to 63-bit
26690 ones as needed.
26691 * math/libm-test.inc (pow_test): Add more tests.
26692
eb96ffb0
L
266932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26694
26695 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26696 <stdio-common/_itoa.h>.
26697 * debug/segfault.c: Likewise.
26698 * elf/dl-cache.c: Likewise.
26699 * elf/dl-minimal.c: Likewise.
26700 * elf/dl-misc.c: Likewise.
26701 * elf/dl-sysdep.c: Likewise.
26702 * elf/dl-version.c: Likewise.
26703 * elf/rtld.c: Likewise.
26704 * hurd/hurdsock.c: Likewise.
26705 * hurd/lookup-retry.c: Likewise.
26706 * malloc/malloc.c: Likewise.
26707 * malloc/mtrace.c: Likewise.
26708 * nscd/nscd_getgr_r.c: Likewise.
26709 * nscd/nscd_getpw_r.c: Likewise.
26710 * nscd/nscd_getserv_r.c: Likewise.
26711 * posix/getopt_init.c: Likewise.
26712 * posix/wordexp.c: Likewise.
26713 * stdio-common/_itoa.c: Likewise.
26714 * stdio-common/printf_fphex.c: Likewise.
26715 * stdio-common/vfprintf.c: Likewise.
26716 * string/_strerror.c: Likewise.
26717 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26718 * sysdeps/i386/i686/hp-timing.h: Likewise.
26719 * sysdeps/mach/_strerror.c: Likewise.
26720 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26721 * sysdeps/mach/hurd/sethostid.c: Likewise.
26722 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26723 * sysdeps/mach/xpg-strerror.c: Likewise.
26724 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26725 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26726 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26727 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26728 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26729 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26730 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26731 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26732 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26733 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26734 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26735 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26736 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26737 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26738 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26739 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26740 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26741 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26742 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26743 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26744 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26745
26746 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26747
26748 * stdio-common/_itoa.h: Moved to ...
26749 * sysdeps/generic/_itoa.h: Here.
26750
26751 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26752
26753 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26754 instead of "_itoa.h" and "_itowa.h".
26755 * stdio-common/vfprintf.: Likewise.
26756
d1af992d
L
267572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26758
26759 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26760 <bits/wordsize.h>.
26761 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26762 (__signbit): Likwise.
26763 (llrintf): Likwise.
26764 (llrint): Likwise.
26765
114883e0
L
267662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26767
26768 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26769 __WORDSIZE != 64.
26770
c135cc1b
JM
267712012-03-20 Joseph Myers <joseph@codesourcery.com>
26772
26773 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26774 OVERFLOW_EXCEPTION_OK.
26775 * math/libm-test.inc ("Philosophy"): Update comment about
26776 exception testing.
26777 (OVERFLOW_EXCEPTION): Define.
26778 (OVERFLOW_EXCEPTION_OK): Likewise.
26779 (INVALID_EXCEPTION_OK): Renumber.
26780 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26781 (IGNORE_ZERO_INF_SIGN): Likewise.
26782 (test_exceptions): Handle FE_OVERFLOW.
26783 (exp10_test): Expect overflow exceptions.
26784 (exp2_test): Likewise.
26785 (expm1_test): Likewise.
26786 (nextafter_test): Likewise.
26787 (pow_test): Likewise.
26788 (scalbn_test): Likewise.
26789 (scalbln_test): Likewise.
26790
95443d88
L
267912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26792
26793 * sysdeps/x86_64/bits/atomic.h
26794 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26795 64bit integer.
26796 (atomic_exchange_acq): Likewise.
26797 (__arch_exchange_and_add_body): Likewise.
26798 (__arch_add_body): Likewise.
26799 (atomic_add_negative): Likewise.
26800 (atomic_add_zero): Likewise.
26801
490df6c4
L
268022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26803
c2722551 26804 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
26805 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26806
5e52b189
L
268072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26808
26809 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26810 Check __x86_64__ instead of __WORDSIZE.
26811
a9879d4c
L
268122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26813
26814 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26815
5df98260
DM
268162012-03-19 David S. Miller <davem@davemloft.net>
26817
e1497744
DM
26818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26819
5df98260
DM
26820 * sysdeps/sparc/fpu/fenv_private.h: New file.
26821 * sysdeps/sparc/fpu/math_private.h: Use it.
26822 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26823 Remove.
26824 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26825 (libc_feholdexcept_setroundl): Remove.
26826 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26827 Remove.
26828 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26829 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26830
b4c35121
L
268312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26832
26833 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26834 int64_t instead of long int.
26835 (INSERT_WORDS64): Likwise.
26836
56965fd7
L
268372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26838
26839 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26840 _Unwind_GetCFA return to _Unwind_Ptr first.
26841
83d1aec8
JM
268422012-03-19 Joseph Myers <joseph@codesourcery.com>
26843
1897ad44
JM
26844 [BZ #13629]
26845 * math/s_clog.c: Include <float.h>.
26846 (__clog): Scale large or subnormal inputs.
26847 * math/s_clogf.c: Likewise.
26848 * math/s_clogl.c: Likewise.
26849 * math/s_clog10.c: Include <float.h>.
26850 (M_LOG10_2): Define.
26851 (__clog10): Scale large or subnormal inputs.
26852 * math/s_clog10f.c: Likewise.
26853 * math/s_clog10l.c: Likewise.
26854 * math/libm-test.inc (clog_test): Add more tests.
26855 (clog10_test): Likewise.
26856 * sysdeps/i386/fpu/libm-test-ulps: Update.
26857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26858
7726d6a9
JM
26859 [BZ #11451]
26860 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26861 x and y.
26862 * math/libm-test.inc (atan2_test): Add another test.
26863
83d1aec8
JM
26864 * Makerules (common-objdir-compile): Remove.
26865 * sysdeps/unix/Makefile (config-generated): Do not add
26866 $(unix-generated) to variable.
26867 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26868 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26869 Remove rule.
26870 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26871 Likewise.
26872 [generic bits/local_lim.h] (before-compile): Do not append to
26873 variable.
26874 [generic bits/local_lim.h] (common-generated): Likewise.
26875 [generic sys/param.h] (before-compile): Do not append to variable.
26876 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26877 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26878 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26879 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26880 include.
26881 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26882 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26883 [generic sys/param.h] ($(addprefix
26884 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26885 [generic sys/param.h] (common-generated): Do not append to
26886 variable.
26887 [generic sys/param.h] (sysdep_headers): Likewise.
26888 [generic bits/errno.h] (before-compile): Do not append to
26889 variable.
26890 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26891 rule.
26892 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26893 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26894 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26895 [generic bits/errno.h] (common-generated): Do not append to
26896 variable.
26897 [generic bits/ioctls.h] (before-compile): Do not append to
26898 variable.
26899 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26900 rule.
26901 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26902 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26903 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26904 rule.
26905 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26906 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26907 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26908 [generic bits/ioctls.h] (common-generated): Do not append to
26909 variable.
26910 [generic sys/syscall.h] (syscall.h): Remove variable.
26911 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26912 rule.
26913 [generic sys/syscall.h] (before-compile): Do not append to
26914 variable.
26915 [generic sys/syscall.h] (common-generated): Likewise.
26916 * sysdeps/unix/errnos-tmpl.c: Remove file.
26917 * sysdeps/unix/errnos.awk: Likewise.
26918 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26919 * sysdeps/unix/ioctls.awk: Likewise.
26920 * sysdeps/unix/mk-local_lim.c: Likewise.
26921 * sysdeps/unix/snarf-ioctls: Likewise.
26922
4851a949
RH
269232012-03-19 Richard Henderson <rth@twiddle.net>
26924
bd37f2ee
RH
26925 * sysdeps/i386/fpu/fenv_private.h: New file.
26926 * sysdeps/i386/fpu/math_private.h: Use it.
26927 (math_opt_barrier, math_force_eval): Remove.
26928 (libc_feholdexcept_setround_53bit): Remove.
26929 (libc_feupdateenv_53bit): Remove.
26930 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26931 (math_opt_barrier, math_force_eval): Remove.
26932 (libc_feholdexcept): Remove.
26933 (libc_feholdexcept_setround): Remove.
26934 (libc_fetestexcept, libc_fesetenv): Remove.
26935 (libc_feupdateenv_test): Remove.
26936 (libc_feupdateenv, libc_feholdsetround): Remove.
26937 (libc_feresetround): Remove.
26938
d0adc922
RH
26939 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26940 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26941
0fe0f1f8
RH
26942 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26943 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26944 (libc_feupdateenv_testl): New.
26945 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26946 (libc_feupdateenv_testf): New.
26947 (libc_feupdateenv): Use libc_feupdateenv_test.
26948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26949 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26950
eb92c487
RH
26951 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26952 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26953 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26954 (libc_feresetround_noex): New.
26955 (libc_feresetround_noexf): New.
26956 (libc_feresetround_noexl): New.
26957 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26958 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26959 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26960 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26961 SET_RESTORE_ROUND.
26962 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26963 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26964 (__cos): Likewise.
26965 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26966 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26967 SET_RESTORE_ROUND_NOEX.
26968 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26969 SET_RESTORE_ROUND_NOEXF.
26970 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26971 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26972 (libc_feholdsetroundf): New.
26973 (libc_feresetround, libc_feresetroundf): New.
26974
7d2e8012
RH
26975 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26976 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26977 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26978
b4dabbb4
RH
26979 * sysdeps/generic/math_private.h: Include <fenv.h>.
26980 (default_libc_feholdexcept): New.
26981 (default_libc_feholdexcept_setround): New.
26982 (default_libc_fesetenv, default_libc_feupdateenv): New.
26983 (libc_feholdexcept): Only define if undefined.
26984 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26985 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26986 (libc_feholdexcept_setroundl): Likewise.
26987 (libc_feholdexcept_setround_53bit): Likewise.
26988 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26989 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26990 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26991 (libc_feupdateenv_53bit): Likewise.
26992 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26993 (libc_feholdexcept): Convert from macro to inline function.
26994 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26995 (libc_fesetenv, libc_feupdateenv): Likewise.
26996
4851a949
RH
26997 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26998 not previously defined.
26999 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27000 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27001 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27002 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27003 * sysdeps/ieee754/flt-32/math_private.h: New file.
27004 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27005 math_private.h below SET_FLOAT_WORD.
27006 (__isnan, __isinf_ns, __finite): Remove.
27007 (__isnanf, __isinf_nsf, __finitef): Remove.
27008
e79d442e
AS
270092012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27010
27011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27012
90b80344
DM
270132012-03-17 David S. Miller <davem@davemloft.net>
27014
27015 [BZ #6471]
27016 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27017 for 2.16.
27018
edc21804
DM
270192012-03-16 David S. Miller <davem@davemloft.net>
27020
77e927af
DM
27021 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27022 warnings.
27023
374976dd
DM
27024 [BZ #6471]
27025 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27026 properly.
27027 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27028 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27029 sysdep_routines when subdir is sysvipc.
27030 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27031 __getshmlba helper.
27032
edc21804
DM
27033 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27034
473c3ef3
L
270352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27036
27037 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27038 [__LP64__].
27039
eb0f39b6
L
270402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27041
27042 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27043 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27044 (__lround): Renamed to ...
27045 (__llround): This. Replace long int with long long int.
27046 Define lround functions as aliases of llround functions.
27047 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27048
6b6cd74b
L
270492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27050
27051 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27052 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27053 adresses to uintptr_t. Replace "long int" and "unsigned long
27054 int" with "greg_t" on va_arg.
27055
f1a77b01
L
270562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27057
27058 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27059 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27060
27061 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27062 Move e_machine check before EI_CLASS check. Handle x32
27063 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27064 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27065 SKIP_EM_IA_64 and include
27066 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27067
27068 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27069 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27070 (add_system_dir): New macro.
27071
27072 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27073 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27074
11b90b9f
JM
270752012-03-16 Joseph Myers <joseph@codesourcery.com>
27076
c36e1d23
JM
27077 [BZ #2551]
27078 [BZ #2552]
27079 [BZ #2553]
27080 [BZ #2554]
27081 [BZ #2562]
27082 [BZ #2563]
27083 [BZ #2565]
27084 [BZ #2566]
27085 [BZ #2576]
27086 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27087 (y0): Likewise.
27088 * math/w_j0f.c (j0f): Likewise.
27089 (y0f): Likewise.
27090 * math/w_j0l.c (__j0l): Likewise.
27091 (__y0l): Likewise.
27092 * math/w_j1.c (j1): Likewise.
27093 (y1): Likewise.
27094 * math/w_j1f.c (j1f): Likewise.
27095 (y1f): Likewise.
27096 * math/w_j1l.c (__j1l): Likewise.
27097 (__y1l): Likewise.
27098 * math/w_jn.c (jn): Likewise.
27099 (yn): Likewise.
27100 * math/w_jnf.c (jnf): Likewise.
27101 (ynf): Likewise.
27102 * math/w_jnl.c (__jnl): Likewise.
27103 (__ynl): Likewise.
27104 * math/libm-test.inc (j0_test): Add more tests.
27105 (j1_test): Likewise.
27106 (jn_test): Likewise. Add trailing semicolon to existing test.
27107 (y0_test): Likewise.
27108 (y1_test): Likewise.
27109 * sysdeps/i386/fpu/libm-test-ulps: Update.
27110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27111
11b90b9f
JM
27112 [BZ #13851]
27113 [BZ #13854]
27114 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27115 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27116 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27117 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27118 (__tanl): Set errno for infinite argument.
27119 * sysdeps/i386/fpu/mptan.c: Remove.
27120 * sysdeps/i386/fpu/s_tan.S: Likewise.
27121 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27122 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27123 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27124 * math/libm-test.inc (tan_test): Add more tests and enable more
27125 tests for double and long double.
27126 * sysdeps/i386/fpu/libm-test-ulps: Update.
27127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27128
6a1bd2a1
JK
271292012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27130
27131 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27132 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27133
10a803e0
RM
271342012-03-16 Roland McGrath <roland@hack.frob.com>
27135
27136 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27137 * configure.in: Use it for both main tree and add-ons.
27138 * configure: Regenerated.
27139
f196c7f7
L
271402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27141
27142 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27143
8848d99d
JM
271442012-03-16 Joseph Myers <joseph@codesourcery.com>
27145
96cbe7f4
JM
27146 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27147 in comment.
27148
8848d99d
JM
27149 [BZ #13851]
27150 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27151 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27152 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27153 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27154 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27155 infinite argument.
27156 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27157 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27158 != 0 for prec == 2.
27159 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27160 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27161 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27162 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27163 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27164 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27165 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27166 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27167 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27168 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27169 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27170 * math/libm-test.inc (cos_test): Add more tests and enable more
27171 tests for long double.
27172 (sin_test): Likewise.
27173 (sincos_test): Likewise.
27174 * sysdeps/i386/fpu/libm-test-ulps: Update.
27175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27176
dd7f4703
DM
271772012-03-16 David S. Miller <davem@davemloft.net>
27178
27179 * sysdeps/sparc/fpu/math_private.h: New file.
27180
006f1daa
DM
271812012-03-15 David S. Miller <davem@davemloft.net>
27182
c0c83bc8
DM
27183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27184 file.
e6a62e18 27185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
27186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27187 file.
e6a62e18
DM
27188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27193 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27194 sysdep routines.
27195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27196
88cb87d9
DM
27197 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27198 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27199
006f1daa 27200 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
27201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27202 sparc-ifunc.h
006f1daa 27203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
27204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27205 Likewise.
27206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27207 Likewise.
006f1daa
DM
27208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
27211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27212 Likewise.
006f1daa
DM
27213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
27217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27218 Likewise.
27219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27220 Likewise.
006f1daa
DM
27221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27227 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27228 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27230 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27235 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27239 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27240 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27241 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27242 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27243 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27244 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27245
11e0098e
AS
272462012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27247
27248 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27249 scaling.
27250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27251
e85b09d0
AJ
272522012-03-15 Andreas Jaeger <aj@suse.de>
27253
27254 [BZ #13852]
27255 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27256 ieee754/flt-32 implementation for sin, cos and sincos.
27257 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27258 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27259 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27260 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27261 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27262 ieee754/flt-32 implementation for tan.
27263
27264 * math/libm-test.inc (cos_test): Enable some large input tests for
27265 float as well
27266 (sin_test): Likewise.
27267 (sincos_test): Likewise.
27268 (tan_test): Add tests for large input.
27269
27270 * sysdeps/i386/fpu/libm-test-ulps: Update.
27271
81c64153
AJ
272722012-03-15 Andreas Jaeger <aj@suse.de>
27273
27274 [BZ #13658]
27275 * math/libm-test.inc (cos_test): Add more test cases.
27276 (sin_test): Likewise.
27277 (sincos_test): Likewise.
27278
7bbfa5c6
AJ
272792012-03-15 Andreas Jaeger <aj@suse.de>
27280
27281 [BZ #13837]
27282 * math/libm-test.inc (cos_test): Add a test case for large input
27283 value.
27284 (sin_test): Likewise.
27285 (sincos_test): Likewise.
27286
272872012-03-15 Andreas Jaeger <aj@suse.de>,
27288 Joseph Myers <joseph@codesourcery.com>
27289
27290 [BZ #13658]
0671f479 27291 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
27292 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27293 * sysdeps/i386/fpu/branred.c: Likewise.
27294 * sysdeps/i386/fpu/dosincos.c: Likewise.
27295 * sysdeps/i386/fpu/mpa.c: Likewise.
27296 * sysdeps/i386/fpu/s_cos.S: Likewise.
27297 * sysdeps/i386/fpu/s_sin.S: Likewise.
27298 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27299 * sysdeps/i386/fpu/sincos32.c: Likewise.
27300
27301 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27302 Define.
27303 (libc_feupdateenv_53bit): Define.
27304 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27305 Define.
27306 (libc_feupdateenv_53bit): Define.
27307
27308 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27309 53 bit (without extend i386 double precision).
27310
27311 * math/libm-test.inc (sincos_test): Add tests for large input.
27312 (sin): Likewise.
27313 (cos): Likewise.
27314
27315 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27316
9cad04ea
AS
273172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27318
27319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27320
f7062b9a
DM
273212012-03-15 David S. Miller <davem@davemloft.net>
27322
27323 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27324 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27325 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27326 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
27338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27339 file.
f7062b9a 27340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
27341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27342 file.
f7062b9a 27343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
27344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27345 file.
f7062b9a 27346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
27347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27348 file.
f7062b9a
DM
27349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27350 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27351 fmin/fmax sysdep routines.
27352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27353
7bd951ff
DM
273542012-03-14 David S. Miller <davem@davemloft.net>
27355
559398ab
DM
27356 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27357 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27358 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27360 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27361 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27362 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27363 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27364 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27366 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27367 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27376 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27377 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27378 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27379 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27380 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27381 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27382 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27383 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27384 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27385 routines.
27386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27387 file.
559398ab 27388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
27389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27390 file.
559398ab 27391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
27392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27393 file.
559398ab 27394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
27395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27396 file.
559398ab 27397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
27398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27399 file.
559398ab 27400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
27401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27402 file.
27403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27404 file.
27405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27406 file.
27407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27408 file.
27409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27410 New file.
27411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27412 file.
27413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27414 file.
559398ab 27415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
27416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27417 file.
559398ab 27418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27420 file.
559398ab 27421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
27422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27423 file.
559398ab 27424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
27425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27426 VIS3 routines.
559398ab
DM
27427
27428 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27429 New file.
27430
5a1c1e32
DM
27431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27432
eae47a36
DM
27433 * sysdeps/sparc/configure.in: New file.
27434 * sysdeps/sparc/configure: Generate.
27435 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27436 * configure: Regenerate.
27437 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27438 * config.make.in (have-as-vis3): New.
27439 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27440 available use -Av9d instead of -Av9a.
27441 * sysdeps/sparc/sparc64/Makefile: Likewise.
27442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
27443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27444 New file.
27445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27446 file.
27447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27448 New file.
27449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27450 file.
eae47a36
DM
27451 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27452 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27453 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27454 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27455 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27456
c0c83bc8
DM
27457 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27458 fzeros/fnegs to load 0x80000000 into a float register instead of
27459 using the stack.
7bd951ff
DM
27460 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27461
bd951ccb
JM
274622012-03-14 Joseph Myers <joseph@codesourcery.com>
27463
27464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27465 bits/syscall.h.
27466 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27467 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27468 ($(inst_includedir)/bits/syscall.h): Remove rule.
27469 ($(objpfx)bits/syscall.d): Include instead of
27470 $(objpfx)syscall-list.d.
27471 (generated): Change syscall-list.h and syscall-list.d to
27472 bits/syscall.h and bits/syscall.d.
27473
bb4e6db2
RM
274742012-03-14 Roland McGrath <roland@hack.frob.com>
27475
27476 [BZ #13846]
27477 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27478
aa4a2ae1
JM
274792012-03-14 Joseph Myers <joseph@codesourcery.com>
27480
e456826d
JM
27481 [BZ #13841]
27482 * math/s_csqrt.c: Include <float.h>.
27483 (__csqrt): Scale large or subnormal inputs.
27484 * math/s_csqrtf.c: Likewise.
27485 * math/s_csqrtl.c: Likewise.
27486 * math/libm-test.inc (csqrt_test): Add more tests.
27487 * sysdeps/i386/fpu/libm-test-ulps: Update.
27488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27489
aa4a2ae1
JM
27490 [BZ #13840]
27491 * math/libm-test.inc (hypot_test): Add more tests.
27492
7c10fd35
DM
274932012-03-13 David S. Miller <davem@davemloft.net>
27494
27495 [BZ #13840]
27496 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27497 double-precision for the calculation instead of scaling.
27498
f453b98b
JM
274992012-03-13 Joseph Myers <joseph@codesourcery.com>
27500
27501 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27502 manipulate bits before adding and subtracting TWO52[sx].
27503 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27504 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27505 Likewise.
27506 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27507
09a3453f
DM
275082012-03-13 David S. Miller <davem@davemloft.net>
27509
8e59da90
DM
27510 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27511 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27512 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27513 rtld-global-offsets.h
27514 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27515
2a8ab7f2
DM
27516 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27517 large parameters.
27518
10f62770
DM
27519 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27520
5f0bdb18
DM
27521 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27522 'err' in the ifdef scope in which it is actually used.
27523
09a3453f
DM
27524 * nss/nss_db/db-init.c: Include string.h
27525
b4b2eb5e
DM
275262012-03-12 David S. Miller <davem@davemloft.net>
27527
98bb2f1c
DM
27528 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27529 masking out of the most significant byte of random value used.
27530 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27531 Fix coding style in previous change.
27532
b4b2eb5e
DM
27533 * sysdeps/unix/sysv/linux/kernel-features.h
27534 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27535 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27536 expression.
27537 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27538 later.
27539
6e226b09
DM
275402012-03-11 David S. Miller <davem@davemloft.net>
27541
a1bcbd40
DM
27542 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27543 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27544 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27545 for 'resultvar' otherwise things get truncated on 64-bit.
27546
cb9d6174
DM
27547 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27548 Fix masking out of the most significant byte of random value used.
27549
6e226b09
DM
27550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27551
058c132d
AS
275522012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27553
27554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27555
2d2cd515
DM
275562012-03-09 David S. Miller <davem@davemloft.net>
27557
27558 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27559 variables with appropriate CPP guards.
27560 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27561 frame pointer, not the stack pointer. Correct layout comments. Fix test
27562 on resulting framesize and the management of the outregs buffer for pltexit.
27563 Preserve floating point return values across _dl_call_pltexit call.
27564 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27565 framesize and the management of the outregs buffer for pltexit.
27566 Preserve floating point return values across _dl_call_pltexit
27567 call.
27568 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27569 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27570 (print_exit): Fix format string for return register value.
27571
9a07f9d0
JM
275722012-03-10 Joseph Myers <joseph@codesourcery.com>
27573
27574 * sunrpc/Makefile (others): Add rpcgen.
27575 ($(objpfx)rpcgen): Remove special build rule and dependency on
27576 libc.
27577 * sunrpc/rpcgen.c: New file.
27578
547b5e30
PE
275792012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27580
c524201a
PE
27581 [BZ #13673]
27582 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27583 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27584 * sysdeps/i386/crti.S: Likewise.
27585 * sysdeps/i386/crtn.S: Likewise.
27586 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27587 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27588 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27589 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27590 * sysdeps/sh/crti.S: Likewise.
27591 * sysdeps/sh/crtn.S: Likewise.
27592 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27593
7b6235f2
PE
27594 [BZ #13673]
27595 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27596 with URL.
27597 * locale/programs/locfile-kw.gperf: Likewise.
27598 * locale/programs/charmap-kw.h: Regenerated.
27599 * locale/programs/locfile-kw.h: Likewise.
27600
547b5e30
PE
27601 [BZ #13673]
27602 * intl/plural.y: Replace FSF snail mail address with URL.
27603 * intl/plural.c: Regenerated.
27604
5f0a5dae
RH
276052012-03-09 Richard Henderson <rth@twiddle.net>
27606
27607 * include/math_private.h: Remove file.
27608 * math/math_private.h: Move file ...
27609 * sysdeps/generic/math_private.h: ... here.
27610
b8c03620
RH
27611 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27612 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27613 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27614
4e234f5d 27615 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
27616 and <math_private.h>.
27617 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27618 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27619 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27620 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27621 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27622 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27623 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27624 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27625 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27626 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27627 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27628 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27629 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27630 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27631 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27632 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27633 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27634 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27635 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27636 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27637 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27638 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27639 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27640 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27641 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27642 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27643 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27644 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27645 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27646 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27647 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27648 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27649 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27650 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27651 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27652 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27653 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27654 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27655 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27656 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27657 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27658 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27659 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27660 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27661 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27662 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27663 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27664 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27665 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27666 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27667 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27668 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27669 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27670 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27671 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27672 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27673 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27674 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27675 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27676 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27677 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27678 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27679 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27680 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27681 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27682 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27683 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27684 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27685 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27686 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27687 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27688 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27689 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27690 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27691 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27692 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27693 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27694 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27695 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27696 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27697 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27698 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27699 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27700 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27701 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27702 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27703 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27704 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27705 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27706 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27707 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27708 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27709 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27710 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27711 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27712 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27713 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27714 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27715 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27716 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27717 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27718 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27719 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27720 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27721 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27722 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27723 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27724 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27725 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27726 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27727 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27728 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27729 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27730 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27731 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27732 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27733 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27734 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27735 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27736 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27737 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27738 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27739 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27740 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27741 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27742 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27743 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27744 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27745 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27746 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27747 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27748 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27749 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27750 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27751 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27752 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27753 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27754 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27755 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27756 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27757 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27758 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27759 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27760 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27761 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27762 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27763 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27764 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27765 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27766 * sysdeps/ieee754/k_standard.c: Likewise.
27767 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27768 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27769 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27770 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27771 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27772 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27773 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27774 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27775 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27776 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27777 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27778 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27779 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27780 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27781 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27782 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27783 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27784 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27785 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27786 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27787 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27788 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27789 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27790 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27791 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27792 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27793 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27794 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27795 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27796 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27797 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27798 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27799 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27800 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27801 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27802 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27803 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27804 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27805 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27806 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27807 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27808 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27809 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27810 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27811 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27812 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27813 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27814 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27815 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27816 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27817 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27818 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27819 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27820 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27821 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27822 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27823 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27824 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27825 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27826 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27827 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27828 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27829 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27830 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27831 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27832 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27833 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27834 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27835 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27836 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27837 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27838 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27839 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27840 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27841 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27842 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27843 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27844 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27845 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27846 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27847 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27848 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27849 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27850 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27851 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27852 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27853 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27854 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27855 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27856 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27857 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27858 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27859 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27860 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27861 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27862 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27863 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27864 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27865 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27866 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27867 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27868 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27869 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27870 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27871 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27872 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27873 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27874 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27875 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27876 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27877 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27878 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27879 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27880 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27881 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27882 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27883 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27884 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27885 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27886 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27887 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27888 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27889 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27890 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27891 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27892 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27893 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27894 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27895 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27896 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27897 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27898 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27899 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27900 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27901 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27902 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27903 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27904 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27905 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27906 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27907 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27908 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27909 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27910 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27911 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27912 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27913 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27914 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27915 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27916 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27917 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27918 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27919 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27920 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27921 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27922 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27923 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27924 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27925 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27926 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27927 * sysdeps/ieee754/s_lib_version.c: Likewise.
27928 * sysdeps/ieee754/s_matherr.c: Likewise.
27929 * sysdeps/ieee754/s_signgam.c: Likewise.
27930 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27931 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27932 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27933 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27934 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27935 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27936 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27937 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27938 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27939 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27940 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27941 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27942 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27943 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27944 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27945 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27946 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27947 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27948 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27949 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27950 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 27951
1991fa03
JM
279522012-03-09 Joseph Myers <joseph@codesourcery.com>
27953
27954 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27955 * sunrpc/rpc_main.c: Likewise.
27956 * sunrpc/rpc_svcout.c: Likewise.
27957
60d6f5a6
DM
279582012-03-09 David S. Miller <davem@davemloft.net>
27959
27960 * include/math_private.h: New file.
27961
4962050e
JM
279622012-03-09 Joseph Myers <joseph@codesourcery.com>
27963
02a6f887
JM
27964 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27965 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27966 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27967 from <bits/socket_type.h>.
27968 (enum __socket_type): Don't define here.
27969 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27971 bits/socket_type.h.
27972
c6e013c1
JM
27973 [BZ #13566]
27974 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27975 checking __USE_GNU.
27976
4962050e
JM
27977 * Makerules ($(inst_includedir)/%.h): New rule.
27978 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27979 (install-others): Remove variable setting.
27980 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27981
38842f45
RH
279822012-03-08 Richard Henderson <rth@twiddle.net>
27983
67bb6da6
RH
27984 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27985 from macro to inline function; merge with the
27986 !__LIBC_INTERNAL_MATH_INLINES version.
27987 (__ieee754_sqrtf): Likewise.
27988
15194b4b
RH
27989 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27990 to inline function.
27991 (__rintf, __floor, __floorf): Likewise.
27992
64e21ede
RH
27993 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27994 macro to inline function.
27995 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27996
38842f45
RH
27997 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27998 not <math/math_private.h>.
27999
c64bf5fe
DM
280002012-03-08 David S. Miller <davem@davemloft.net>
28001
28002 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28003 copyright year.
28004 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28005
82d86f28
TS
280062012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28007
28008 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28009 normalization.
28010 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28011 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28012
aea5d727
UD
280132012-03-08 Ulrich Drepper <drepper@gmail.com>
28014
28015 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28016 be defined individually, they must be defined as a block. Define
28017 S for printing a string instead of hidint the different by using a
28018 macro for adding the 'l'.
28019 * stdio-common/tst-fphex-wide.c: Adjust.
28020
70bca0a3
MP
280212012-03-07 Marek Polacek <polacek@redhat.com>
28022
28023 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28024
65b81130
MP
280252012-03-08 Marek Polacek <polacek@redhat.com>
28026
28027 [BZ #13806]
28028 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28029 * stdio-common/tst-fphex.c: Define a few macros to make the
28030 test reusable. Use them.
28031 * stdio-common/tst-fphex-wide.c: New file.
28032
07037eeb
JM
280332012-03-08 Joseph Myers <joseph@codesourcery.com>
28034
a7a93d50
JM
28035 [BZ #6911]
28036 * manual/macros.texi (gnusystems): New macro.
28037 (nongnusystems): Likewise.
28038 (gnulinuxhurdsystems): Likewise.
28039 (gnuhurdsystems): Likewise..
28040 (gnulinuxsystems): Likewise.
28041 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28042 variants of the GNU system, not "GNU system".
28043 * manual/conf.texi: Likewise.
28044 * manual/errno.texi: Likewise. Update example of errno macro
28045 expansion.
28046 * manual/filesys.texi: Likewise.
28047 (getumask): Document as specific to GNU/Hurd.
28048 * manual/install.texi: Likewise. Reword some references to
28049 GNU/Linux.
28050 * manual/intro.texi: Likewise.
28051 * manual/io.texi: Likewise.
28052 (File Name Portability): Detail which constraints are inapplicable
28053 to all GNU systems and which are only inapplicable to GNU/Hurd.
28054 * manual/job.texi: Likewise.
28055 * manual/llio.texi: Likewise.
28056 (O_NOCTTY): Document as present on GNU/Linux.
28057 * manual/maint.texi: Likewise.
28058 * manual/memory.texi: Likewise.
28059 * manual/pattern.texi: Likewise.
28060 * manual/pipe.texi: Likewise.
28061 * manual/process.texi: Likewise.
28062 * manual/resource.texi: Likewise.
28063 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28064 child on GNU/Hurd.
28065 * manual/setjmp.texi: Likewise.
28066 * manual/signal.texi: Likewise.
28067 * manual/startup.texi: Likewise.
28068 * manual/stdio.texi: Likewise.
28069 * manual/terminal.texi: Likewise.
28070 (ONLCR): Document as POSIX.
28071 (OXTABS): Document availability on GNU/Linux as XTABS.
28072 (ONOEOT): Document availability separately from other bits.
28073 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28074 * manual/time.texi: Likewise.
28075 * manual/users.texi: Likewise.
28076 * INSTALL: Regenerated.
28077 * sysdeps/gnu/errlist.c: Regenerated.
28078
07037eeb
JM
28079 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28080 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28081 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28082 puts.
28083 * configure: Regenerated.
28084
d1d3431a
JM
280852012-03-07 Joseph Myers <joseph@codesourcery.com>
28086
af6a1e37
JM
28087 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28088 default includes instead of AC_HEADER_CHECK.
28089 * sysdeps/i386/configure: Regenerated.
28090
d1d3431a
JM
28091 [BZ #10716]
28092 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28093 * math/s_cacoshf.c (__cacoshf): Likewise.
28094 * math/s_cacoshl.c (__cacoshl): Likewise.
28095 * math/s_casinh.c (__casinh): Set signs of result from argument.
28096 * math/s_casinhf.c (__casinhf): Likewise.
28097 * math/s_casinhl.c (__casinhl): Likewise.
28098 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28099 (casinh_test): Add more tests.
28100 * sysdeps/i386/fpu/libm-test-ulps: Update.
28101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28102
482ff4da
UD
281032012-03-07 Ulrich Drepper <drepper@gmail.com>
28104
872fda05
UD
28105 * po/zh_TW.po: Update from translation team.
28106
a4300c7a
UD
28107 * login/Makefile (distribute): Remove variable.
28108 * catgets/Makefile: Likewise.
28109 * mach/Makefile: Likewise.
28110 * malloc/Makefile: Likewise.
28111 * misc/Makefile: Likewise.
28112 * iconv/Makefile: Likewise.
28113 * nscd/Makefile: Likewise.
28114 * hurd/Makefile: Likewise.
28115 * manual/Makefile: Likewise.
28116 * locale/Makefile: Likewise.
28117 * intl/Makefile: Likewise.
28118 * conform/Makefile: Likewise.
28119 * nss/Makefile: Likewise.
28120 * time/Makefile: Likewise.
28121 * soft-fp/Makefile: Likewise.
28122 * dirent/Makefile: Likewise.
28123 * gmon/Makefile: Likewise.
28124 * po/Makefile: Likewise.
28125 * rt/Makefile: Likewise.
28126 * socket/Makefile: Likewise.
28127 * math/Makefile: Likewise.
28128 * signal/Makefile: Likewise.
28129 * debug/Makefile: Likewise.
28130 * elf/Makefile: Likewise.
28131 * timezone/Makefile: Likewise.
28132 * stdlib/Makefile: Likewise.
28133 * iconvdata/Makefile: Likewise.
28134 * sunrpc/Makefile: Likewise.
28135 * io/Makefile: Likewise.
28136 * argp/Makefile: Likewise.
28137 * inet/Makefile: Likewise.
28138 * hesiod/Makefile: Likewise.
28139 * grp/Makefile: Likewise.
28140 * csu/Makefile: Likewise.
28141 * wctype/Makefile: Likewise.
28142 * crypt/Makefile: Likewise.
28143 * libio/Makefile: Likewise.
28144 * string/Makefile: Likewise.
28145 * nis/Makefile: Likewise.
28146 * resolv/Makefile: Likewise.
28147 * stdio-common/Makefile: Likewise.
28148 * wcsmbs/Makefile: Likewise.
28149 * dlfcn/Makefile: Likewise.
28150 * posix/Makefile: Likewise.
28151
3b7c4e74 28152 [BZ #6959]
482ff4da
UD
28153 * timezone/Makefile: Don't install timezone files, just the programs
28154 and scripts.
28155
f72ed77d
UD
281562012-03-06 Ulrich Drepper <drepper@gmail.com>
28157
a000466f
UD
28158 * nss/databases.def: Add missing gshadow entry.
28159
f72ed77d
UD
28160 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28161
a53b7a4e
MP
281622012-03-06 Marek Polacek <polacek@redhat.com>
28163
28164 [BZ #13726]
28165 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28166 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28167 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28168 * stdio-common/tst-long-dbl-fphex.c: New file.
28169
e9258400
DM
281702012-03-06 David S. Miller <davem@davemloft.net>
28171
28172 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28173 (set_obp_int): New function.
28174 (get_obp_int): New function.
28175 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
28176 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28177 Avoid unused variable warnings on 'val' and use builtin_expect.
28178 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28179 __builtin_expect.
e9258400
DM
28180 (INLINE_CLONE_SYSCALL): Likewise.
28181
3bd2c723
DM
281822012-03-05 David S. Miller <davem@davemloft.net>
28183
28184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28185
bbb78d03
AS
281862012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28187
884c5db4
AS
28188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28189
bbb78d03
AS
28190 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28191 only for |x| >= 40.
28192 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28193
1c9f702a 281942012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
28195
28196 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28197 Replace gettimeofday with __vdso_gettimeofday.
28198
7be16f82
RM
28199 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28200 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28201 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
28202
28203 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28204 time with __vdso_time.
28205
ed58a00f
JM
282062012-03-05 Joseph Myers <joseph@codesourcery.com>
28207
28208 * manual/lang.texi (size_t): Note types to which size_t may be
28209 equivalent with the GNU C Library, but do not describe when
28210 differences between them are significant.
28211
30ee4ced
AJ
282122012-03-05 Andreas Jaeger <aj@suse.de>
28213
28214 * sysdeps/i386/fpu/libm-test-ulps: Update.
28215
b7cd39e8
JM
282162012-03-05 Joseph Myers <joseph@codesourcery.com>
28217
28218 [BZ #3976]
28219 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28220 (__ieee754_pow): Save and restore rounding mode and use
28221 round-to-nearest for main computations.
28222 * math/libm-test.inc (pow_test_tonearest): New function.
28223 (pow_test_towardzero): Likewise.
28224 (pow_test_downward): Likewise.
28225 (pow_test_upward): Likewise.
28226 (main): Call the new functions.
28227 * sysdeps/i386/fpu/libm-test-ulps: Update.
28228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
28229
28230 [BZ #3976]
28231 * math/libm-test.inc (cosh_test_tonearest): New function.
28232 (cosh_test_towardzero): Likewise.
28233 (cosh_test_downward): Likewise.
28234 (cosh_test_upward): Likewise.
28235 (sinh_test_tonearest): Likewise.
28236 (sinh_test_towardzero): Likewise.
28237 (sinh_test_downward): Likewise.
28238 (sinh_test_upward): Likewise.
28239 (main): Call the new functions.
28240 * sysdeps/i386/fpu/libm-test-ulps: Update.
28241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28242
6c6a98c9
TV
282432012-03-05 Tom de Vries <tom@codesourcery.com>
28244
28245 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28246 default stack guard is set in last bytes.
28247 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28248
21bb2d2e 282492012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 28250
21bb2d2e 28251 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 28252
21bb2d2e
AJ
28253 [BZ #13656]
28254 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28255 possibly allocate from heap instead of stack.
28256 * stdio-common/bug-vfprintf-nargs.c: New file.
28257 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 28258
c6922934
AS
282592012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28260
28261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28262
bc957d53
MP
282632012-03-03 Marek Polacek <polacek@redhat.com>
28264
28265 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28266 * math/math_private.h: Likewise.
28267 * stdlib/tst-strtod.c: Likewise.
28268 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28269 * sysdeps/x86_64/bits/atomic.h: Likewise.
28270
6358490d
DM
282712012-03-02 David S. Miller <davem@davemloft.net>
28272
28273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28277 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28278 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28279 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28280 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28281
01ae168d
RM
282822012-03-02 Roland McGrath <roland@hack.frob.com>
28283
d9a17c07
RM
28284 [BZ #13792]
28285 * manual/examples/README: New file, says the example source files
28286 can be used under GPL>=2.
28287 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28288 line containing just "*/".
28289 * manual/examples/add.c: Add copyright header (GPL>=2).
28290 * manual/examples/argp-ex1.c: Likewise.
28291 * manual/examples/argp-ex2.c: Likewise.
28292 * manual/examples/argp-ex3.c: Likewise.
28293 * manual/examples/argp-ex4.c: Likewise.
28294 * manual/examples/atexit.c: Likewise.
28295 * manual/examples/db.c: Likewise.
28296 * manual/examples/dir.c: Likewise.
28297 * manual/examples/dir2.c: Likewise.
28298 * manual/examples/execinfo.c: Likewise.
28299 * manual/examples/filecli.c: Likewise.
28300 * manual/examples/filesrv.c: Likewise.
28301 * manual/examples/fmtmsgexpl.c: Likewise.
28302 * manual/examples/genpass.c: Likewise.
28303 * manual/examples/inetcli.c: Likewise.
28304 * manual/examples/inetsrv.c: Likewise.
28305 * manual/examples/isockad.c: Likewise.
28306 * manual/examples/longopt.c: Likewise.
28307 * manual/examples/memopen.c: Likewise.
28308 * manual/examples/memstrm.c: Likewise.
28309 * manual/examples/mkfsock.c: Likewise.
28310 * manual/examples/mkisock.c: Likewise.
28311 * manual/examples/mygetpass.c: Likewise.
28312 * manual/examples/pipe.c: Likewise.
28313 * manual/examples/popen.c: Likewise.
28314 * manual/examples/rprintf.c: Likewise.
28315 * manual/examples/search.c: Likewise.
28316 * manual/examples/select.c: Likewise.
28317 * manual/examples/setjmp.c: Likewise.
28318 * manual/examples/sigh1.c: Likewise.
28319 * manual/examples/sigusr.c: Likewise.
28320 * manual/examples/stpcpy.c: Likewise.
28321 * manual/examples/strdupa.c: Likewise.
28322 * manual/examples/strftim.c: Likewise.
28323 * manual/examples/strncat.c: Likewise.
28324 * manual/examples/subopt.c: Likewise.
28325 * manual/examples/swapcontext.c: Likewise.
28326 * manual/examples/termios.c: Likewise.
28327 * manual/examples/testopt.c: Likewise.
28328 * manual/examples/testpass.c: Likewise.
28329 * manual/examples/timeval_subtract.c: Likewise.
28330
01ae168d
RM
28331 [BZ #13792]
28332 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28333 function to ...
28334 * manual/timeval_subtract.c.texi: ... here, new file.
28335
49efa33d
DM
283362012-03-02 David S. Miller <davem@davemloft.net>
28337
28338 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28339
28afd92d
JM
283402012-03-02 Joseph Myers <joseph@codesourcery.com>
28341
804360ed
JM
28342 [BZ #3976]
28343 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28344 (__sin): Save and restore rounding mode and use round-to-nearest
28345 for all computations.
28346 (__cos): Save and restore rounding mode and use round-to-nearest
28347 for all computations.
28348 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28349 <fenv.h>.
28350 (tan): Save and restore rounding mode and use round-to-nearest for
28351 all computations.
28352 * math/libm-test.inc (cos_test_tonearest): New function.
28353 (cos_test_towardzero): Likewise.
28354 (cos_test_downward): Likewise.
28355 (cos_test_upward): Likewise.
28356 (sin_test_tonearest): Likewise.
28357 (sin_test_towardzero): Likewise.
28358 (sin_test_downward): Likewise.
28359 (sin_test_upward): Likewise.
28360 (tan_test_tonearest): Likewise.
28361 (tan_test_towardzero): Likewise.
28362 (tan_test_downward): Likewise.
28363 (tan_test_upward): Likewise.
28364 (main): Call the new functions.
28365 * sysdeps/i386/fpu/libm-test-ulps: Update.
28366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28367
a6d06d7b
JM
28368 [BZ #10135]
28369 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28370 small n, then large n, before computing and testing k+n.
28371 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28372 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28373 Likewise.
28374 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28375 Likewise.
28376 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28377 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28378 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28379 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28380 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28381 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28382 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28383 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28384 * math/libm-test.inc (scalbn_test): Add more tests.
28385 (scalbln_test): Likewise.
28386
07e12bb3
JM
28387 * manual/filesys.texi (mode_t): Describe constraints on size and
28388 signedness, not exact equivalence to a particular type.
28389 (ino_t): Likewise.
28390 (ino64_t): Likewise.
28391 (dev_t): Likewise.
28392 (nlink_t): Likewise.
28393 (blkcnt_t): Likewise.
28394 (blkcnt64_t): Likewise.
28395 * manual/llio.texi (off_t): Likewise.
28396
28afd92d
JM
28397 [BZ #3976]
28398 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28399 (__ieee754_exp): Save and restore rounding mode and use
28400 round-to-nearest for all computations.
28401 * math/libm-test.inc (exp_test_tonearest): New function.
28402 (exp_test_towardzero): Likewise.
28403 (exp_test_downward): Likewise.
28404 (exp_test_upward): Likewise.
28405 (main): Call the new functions.
28406 * sysdeps/i386/fpu/libm-test-ulps: Update.
28407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28408
b1eeb65d
CD
284092012-03-01 Chris Demetriou <cgd@google.com>
28410
28411 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28412 have predictable order.
28413
53362a4b
DM
284142012-03-01 David S. Miller <davem@davemloft.net>
28415
3c969083
DM
28416 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28417
759707de
DM
28418 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28419 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28420 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28421 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28422
dfdb8ff2
DM
28423 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28424 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28425 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28427 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28428 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28429 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28430 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28431 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28432
ead89f96
DM
28433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28434
7f66bd07
DM
28435 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28436 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28437 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28438
53362a4b
DM
28439 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28440 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28441 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28442 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28443 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28444 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28445 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28446 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28447 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28448 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28449 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28450 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28451 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28452 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28453 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28454 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28455 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28456 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28457 * sysdeps/sparc/elf/configure: Regenerated.
28458
7b1902cb
JM
284592012-03-01 Joseph Myers <joseph@codesourcery.com>
28460
bec039bc
JM
28461 * configure.in (AS, LD): Require binutils 2.20 or later.
28462 * configure: Regenerated.
28463 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28464 as required minimum version.
28465 * INSTALL: Regenerated.
28466
7b1902cb
JM
28467 [BZ #2541]
28468 [BZ #4108]
28469 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28470 before squaring exponent.
28471 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28472 bottom long double and 27 bits of top long double before squaring
28473 exponent.
28474 * math/libm-test.inc (erfc_test): Add more tests.
28475 * sysdeps/i386/fpu/libm-test-ulps: Update.
28476 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28478
f775c276
KT
284792012-03-01 Kai Tietz <ktietz@redhat.com>
28480
28481 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28482 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28483 containing bit-fields.
28484 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28485 * soft-fp/single.h (_FP_UNION_S): Likewise.
28486 * soft-fp/double.h (_FP_UNION_D): Likewise.
28487
5b8a4d4a
JM
284882012-02-29 Joseph Myers <joseph@codesourcery.com>
28489
0bab47b6
JM
28490 [BZ #13786]
28491 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28492 not include ../strcmp.S.
28493 [USE_AS_STRNCASECMP_L]: Likewise.
28494 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28495 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28496 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28497 (__strncasecmp_l_ia32): Define as alias to
28498 __strncasecmp_l_nonascii.
28499
0fcad3e2
JM
28500 [BZ #5794]
28501 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28502 * sysdeps/i386/fpu/libm-test-ulps: Update.
28503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28504
5b8a4d4a
JM
28505 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28507
8fdceb2e
JL
285082012-02-29 Jeff Law <law@redhat.com>
28509
28510 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28511 out of bounds read.
28512
1f393a11
MP
285132012-02-29 Marek Polacek <polacek@redhat.com>
28514
28515 [BZ #13706]
28516 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28517 * elf/Makefile: Add rules to run tst-unused-dep.out.
28518
8847f037
DM
285192012-02-28 David S. Miller <davem@davemloft.net>
28520
28521 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28522 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28523 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28524 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28525 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28526 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28527
169d7f11
JM
285282012-02-29 Joseph Myers <joseph@codesourcery.com>
28529
28530 * math/libm-test.inc (llround_test): Move one test from
28531 lround_test. Use TEST_f_L in moved test.
28532 (lround_test): Move misplaced test to llround_test. Add testcase
28533 from bug 2561.
28534
39adf059
UD
285352012-02-28 Ulrich Drepper <drepper@gmail.com>
28536
28537 * sysdeps/x86_64/fpu/e_expf.S: New file.
28538 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28539
71b5d1c5
SB
285402012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28541
28542 [BZ #13637]
28543 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28544 of remain_len that may cause incomplete multi-byte character and
28545 false match.
28546 * posix/bug-regex33.c: New file.
28547 * posix/Makefile (tests): Add bug-regex33.
28548
1f77f049
JM
285492012-02-28 Joseph Myers <joseph@codesourcery.com>
28550
28551 * manual/macros.texi: New file.
28552 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28553 * manual/libc.texinfo: Include macros.texi.
28554 * manual/creatute.texi: Likewise.
28555 * manual/install.texi: Likewise.
28556 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28557 @glibcadj{} in references to the GNU C Library.
28558 * manual/charset.texi: Likewise.
28559 * manual/conf.texi: Likewise.
28560 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28561 when not using those macros.
28562 * manual/creature.texi: Likewise.
28563 * manual/crypt.texi: Likewise.
28564 * manual/errno.texi: Likewise.
28565 * manual/filesys.texi: Likewise.
28566 * manual/header.texi: Likewise.
28567 * manual/install.texi: Likewise.
28568 * manual/intro.texi: Likewise.
28569 * manual/io.texi: Likewise.
28570 * manual/job.texi: Likewise.
28571 * manual/lang.texi: Likewise.
28572 * manual/libc.texiinfo: Likewise.
28573 * manual/llio.texi: Likewise.
28574 * manual/locale.texi: Likewise.
28575 * manual/maint.texi: Likewise.
28576 * manual/math.texi: Likewise.
28577 * manual/memory.texi: Likewise.
28578 * manual/message.texi: Likewise.
28579 * manual/nss.texi: Likewise.
28580 * manual/pattern.texi: Likewise.
28581 * manual/process.texi: Likewise.
28582 * manual/resource.texi: Likewise.
28583 * manual/search.texi: Likewise.
28584 * manual/setjmp.texi: Likewise.
28585 * manual/signal.texi: Likewise.
28586 * manual/socket.texi: Likewise.
28587 * manual/startup.texi: Likewise.
28588 * manual/stdio.texi: Likewise.
28589 * manual/string.texi: Likewise.
28590 * manual/sysinfo.texi: Likewise.
28591 * manual/syslog.texi: Likewise.
28592 * manual/terminal.texi: Likewise.
28593 * manual/time.texi: Likewise.
28594 * manual/users.texi: Likewise.
28595 * INSTALL: Regenerated.
28596 * NOTES: Regenerated.
d40c5d54 28597 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 28598
450bf206
AS
285992012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28600
28601 * include/dirent.h: Include <dirstream.h> before
28602 <dirent/dirent.h>.
28603
741a235b
DM
286042012-02-28 David S. Miller <davem@davemloft.net>
28605
28606 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28607 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28608 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28609 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28610
d6b5aa58
DM
286112012-02-27 David S. Miller <davem@davemloft.net>
28612
1aff59a3
DM
28613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28615 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28616 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28617
d6b5aa58
DM
28618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28619 frame pointer instead of stack pointer relative arg slot.
28620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28621 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28622 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28623
433f48bf
CD
286242012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28625
28626 [BZ #3992]
28627 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28628
d674b76d
DM
286292012-02-27 David S. Miller <davem@davemloft.net>
28630
28631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28635 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28636 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28637 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28638 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28639
0e7727f7
JM
286402012-02-27 Joseph Myers <joseph@codesourcery.com>
28641
28642 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28643 later. Allow versions 5-9.
43be4ca2 28644 * configure: Regenerated.
0e7727f7
JM
28645 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28646 required minimum version and 4.6 as recommended version. Do not
28647 mention bugs in GCC 2.7 and 2.8.
43be4ca2 28648 * INSTALL: Regenerated.
0e7727f7 28649
a78bc654
DM
286502012-02-27 David S. Miller <davem@davemloft.net>
28651
428d5830
DM
28652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28656 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28657 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28658 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28659 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28660
a78bc654
DM
28661 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28662 manipulate bits before adding and subtracting TWO112[sx].
28663 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28664
4579f81c
RM
286652012-02-27 Roland McGrath <roland@hack.frob.com>
28666
36c8acb4
RM
28667 [BZ #13775]
28668 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28669 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28670 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28671 being in POSIX, because they are in 1003.1-2008.
28672
84ad622b
RM
28673 * rt/tst-aio.c: Include <fcntl.h>.
28674 * rt/tst-aio7.c: Likewise.
28675 * rt/tst-aio64.c: Likewise.
28676
4579f81c
RM
28677 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28678
abd923db
JM
286792012-02-27 Joseph Myers <joseph@codesourcery.com>
28680
28681 * manual/install.texi (--with-headers): Describe headers as
28682 interface headers, not private headers.
28683 (Specific advice for GNU/Linux systems): Describe use of headers
28684 from "make headers_install", not private headers from older
28685 kernels.
43be4ca2 28686 * INSTALL: Regenerated.
abd923db
JM
28687 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28688 Change to 2.6.19.
28689 * sysdeps/unix/sysv/linux/configure: Regenerated.
28690
6664049b
JM
28691 * manual/llio.texi (fclean): Remove documentation.
28692
bb8b6697
JM
28693 * manual/Makefile (libc-texi-generated): New variable. Include
28694 version.texi.
28695 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28696 $(libc-texi-generated), not duplicated list of files.
28697 (version.texi, stamp-version): New rules.
28698 (realclean): Remove $(libc-texi-generated), not individual files
28699 from that list. Do not remove dir-add.texinfo.
28700 * manual/libc.texinfo: Comment out uses of edition numbers and
28701 references to printed manual. Remove last-updated dates.
28702 (EDITION): Comment out.
28703 (ISBN): Likewise.
28704 (VERSION, UPDATED): Remove.
28705 (version.texi): Include.
28706
12e5c3b9
AS
287072012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28708
28709 * sysdeps/posix/spawni.c: Include <signal.h>.
28710 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28711 * sysdeps/pthread/aio_fsync.c: Likewise.
28712
4efeffc1 287132012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 28714
ba63ba08
UD
28715 * conform/Makefile (tests): Run only when not cross-compiling and
28716 when fast-check is not defined.
28717
d94a4670
UD
28718 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28719 * conform/data/limits.h-data: Fixes for POSIX2008.
28720 * conform/run-conformtest.sh: Run all tests.
28721 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28722 headers.
28723 * include/bits/dlfcn.h: Likewise.
28724 * include/langinfo.h: Likewise.
28725 * include/monetary.h: Likewise.
28726 * include/sys/poll.h: Likewise.
28727
28728 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28729 for __USE_GNU.
28730 * posix/spawn.h: Define __need_sigset_t.
28731 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28732 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28733 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28734 to get sigevent_t only.
28735 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28736 only for __USE_GNU.
28737 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28738 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28739 process_vm_writev only for __USE_GNU.
28740 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
28741
28742 * conform/Makefile: For now ignore errors from run-conformtest.
28743 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28744 POSIX to avoid namespace pollution. Don't prepend headers.
28745 * conform/data/aio.h-data: Fixes for POSIX testing.
28746 * conform/data/fcntl.h-data: Likewise.
28747 * conform/data/glob.h-data: Likewise.
28748 * conform/data/grp.h-data: Likewise.
28749 * conform/data/pthread.h-data: Likewise.
28750 * conform/data/pwd.h-data: Likewise.
28751 * conform/data/signal.h-data: Likewise.
28752 * conform/data/spawn.h-data: Likewise.
28753 * conform/data/stdio.h-data: Likewise.
28754 * conform/data/stdlib.h-data: Likewise.
28755 * conform/data/stropts.h-data: Likewise.
28756 * conform/data/sys/mman.h-data: Likewise.
28757 * conform/data/sys/stat.h-data: Likewise.
28758 * conform/data/sys/types.h-data: Likewise.
28759 * conform/data/sys/wait.h-data: Likewise.
28760 * conform/data/time.h-data: Likewise.
28761 * conform/data/unistd.h-data: Likewise.
28762 * conform/data/utime.h-data: Likewise.
28763
28764 * io/sys/stat.h: fchmod was always in POSIX.
28765 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28766 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28767 * rt/aio.h: Define __need_timespec before including <time.h>.
28768 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28769 struct. Add forward declaration of pthread_attr_t and use it in
28770 sigevent.
28771 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28772 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28773 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28774 always remove CLK_TCK definition.
28775
c20105c3
AS
287762012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28777
28778 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28779
7a270350
UD
287802012-02-25 Ulrich Drepper <drepper@gmail.com>
28781
31341567
UD
28782 * conform/run-conformtest.sh: New file.
28783 * conform/Makefile: Run run-conformtest for tests.
28784 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28785 support.
28786
28787 * conform/data/uchar.h-data: New file.
28788 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28789 * conform/data/arpa/inet.h-data: Likewise.
28790 * conform/data/assert.h-data: Likewise.
28791 * conform/data/complex.h-data: Likewise.
28792 * conform/data/cpio.h-data: Likewise.
28793 * conform/data/ctype.h-data: Likewise.
28794 * conform/data/dirent.h-data: Likewise.
28795 * conform/data/dlfcn.h-data: Likewise.
28796 * conform/data/errno.h-data: Likewise.
28797 * conform/data/fcntl.h-data: Likewise.
28798 * conform/data/float.h-data: Likewise.
28799 * conform/data/fmtmsg.h-data: Likewise.
28800 * conform/data/fnmatch.h-data: Likewise.
28801 * conform/data/ftw.h-data: Likewise.
28802 * conform/data/glob.h-data: Likewise.
28803 * conform/data/grp.h-data: Likewise.
28804 * conform/data/iconv.h-data: Likewise.
28805 * conform/data/inttypes.h-data: Likewise.
28806 * conform/data/langinfo.h-data: Likewise.
28807 * conform/data/libgen.h-data: Likewise.
28808 * conform/data/limits.h-data: Likewise.
28809 * conform/data/locale.h-data: Likewise.
28810 * conform/data/math.h-data: Likewise.
28811 * conform/data/monetary.h-data: Likewise.
28812 * conform/data/mqueue.h-data: Likewise.
28813 * conform/data/ndbm.h-data: Likewise.
28814 * conform/data/net/if.h-data: Likewise.
28815 * conform/data/netdb.h-data: Likewise.
28816 * conform/data/netinet/in.h-data: Likewise.
28817 * conform/data/nl_types.h-data: Likewise.
28818 * conform/data/poll.h-data: Likewise.
28819 * conform/data/pthread.h-data: Likewise.
28820 * conform/data/pwd.h-data: Likewise.
28821 * conform/data/regex.h-data: Likewise.
28822 * conform/data/sched.h-data: Likewise.
28823 * conform/data/search.h-data: Likewise.
28824 * conform/data/semaphore.h-data: Likewise.
28825 * conform/data/setjmp.h-data: Likewise.
28826 * conform/data/signal.h-data: Likewise.
28827 * conform/data/spawn.h-data: Likewise.
28828 * conform/data/stdarg.h-data: Likewise.
28829 * conform/data/stdio.h-data: Likewise.
28830 * conform/data/stdlib.h-data: Likewise.
28831 * conform/data/string.h-data: Likewise.
28832 * conform/data/strings.h-data: Likewise.
28833 * conform/data/stropts.h-data: Likewise.
28834 * conform/data/sys/ipc.h-data: Likewise.
28835 * conform/data/sys/mman.h-data: Likewise.
28836 * conform/data/sys/msg.h-data: Likewise.
28837 * conform/data/sys/resource.h-data: Likewise.
28838 * conform/data/sys/select.h-data: Likewise.
28839 * conform/data/sys/sem.h-data: Likewise.
28840 * conform/data/sys/shm.h-data: Likewise.
28841 * conform/data/sys/socket.h-data: Likewise.
28842 * conform/data/sys/stat.h-data: Likewise.
28843 * conform/data/sys/statvfs.h-data: Likewise.
28844 * conform/data/sys/time.h-data: Likewise.
28845 * conform/data/sys/timeb.h-data: Likewise.
28846 * conform/data/sys/times.h-data: Likewise.
28847 * conform/data/sys/types.h-data: Likewise.
28848 * conform/data/sys/uio.h-data: Likewise.
28849 * conform/data/sys/un.h-data: Likewise.
28850 * conform/data/sys/utsname.h-data: Likewise.
28851 * conform/data/sys/wait.h-data: Likewise.
28852 * conform/data/syslog.h-data: Likewise.
28853 * conform/data/tar.h-data: Likewise.
28854 * conform/data/termios.h-data: Likewise.
28855 * conform/data/utime.h-data: Likewise.
28856 * conform/data/utmpx.h-data: Likewise.
28857 * conform/data/varargs.h-data: Likewise.
28858 * conform/data/wchar.h-data: Likewise.
28859 * conform/data/wctype.h-data: Likewise.
28860 * conform/data/wordexp.h-data: Likewise.
28861
28862 * include/stropts.h: New file.
28863 * include/uchar.h: New file.
28864 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28865 * include/assert.h: Likewise.
28866 * include/ctype.h: Likewise.
28867 * include/dirent.h: Likewise.
28868 * include/dlfcn.h: Likewise.
28869 * include/fcntl.h: Likewise.
28870 * include/fnmatch.h: Likewise.
28871 * include/glob.h: Likewise.
28872 * include/grp.h: Likewise.
28873 * include/libio.h: Likewise.
28874 * include/locale.h: Likewise.
28875 * include/math.h: Likewise.
28876 * include/net/if.h: Likewise.
28877 * include/netdb.h: Likewise.
28878 * include/netinet/in.h: Likewise.
28879 * include/pthread.h: Likewise.
28880 * include/pwd.h: Likewise.
28881 * include/regex.h: Likewise.
28882 * include/sched.h: Likewise.
28883 * include/search.h: Likewise.
28884 * include/setjmp.h: Likewise.
28885 * include/signal.h: Likewise.
28886 * include/stdio.h: Likewise.
28887 * include/stdlib.h: Likewise.
28888 * include/string.h: Likewise.
28889 * include/sys/cdefs.h: Likewise.
28890 * include/sys/mman.h: Likewise.
28891 * include/sys/msg.h: Likewise.
28892 * include/sys/resource.h: Likewise.
28893 * include/sys/select.h: Likewise.
28894 * include/sys/socket.h: Likewise.
28895 * include/sys/stat.h: Likewise.
28896 * include/sys/statvfs.h: Likewise.
28897 * include/sys/time.h: Likewise.
28898 * include/sys/times.h: Likewise.
28899 * include/sys/uio.h: Likewise.
28900 * include/sys/utsname.h: Likewise.
28901 * include/sys/wait.h: Likewise.
28902 * include/termios.h: Likewise.
28903 * include/time.h: Likewise.
28904 * include/ulimit.h: Likewise.
28905 * include/unistd.h: Likewise.
28906 * include/utime.h: Likewise.
28907 * include/wchar.h: Likewise.
28908 * include/wctype.h: Likewise.
28909 * include/wordexp.h: Likewise.
28910
28911 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28912
7a270350
UD
28913 * time/time.h: TIME_UTC must be a macro.
28914 Make timespec_get available for ISO C11 only as well.
28915
7724defc
UD
289162012-02-24 Ulrich Drepper <drepper@gmail.com>
28917
28918 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28919 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28920
6b1d1d46
JM
289212012-02-24 Joseph Myers <joseph@codesourcery.com>
28922
28923 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 28924
0f8bbd69
JM
289252012-02-24 Joseph Myers <joseph@codesourcery.com>
28926
28927 * manual/texinfo.tex: Update to version 2012-01-19.16.
28928
66ab80bc
JM
289292012-02-24 Joseph Myers <joseph@codesourcery.com>
28930
28931 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28932
74981cc5
RM
289332012-02-24 Roland McGrath <roland@hack.frob.com>
28934
ee968201
RM
28935 [BZ #13738]
28936 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28937 * manual/fdl-1.3.texi: New file.
28938 * manual/fdl-1.1.texi: File removed.
28939
74981cc5
RM
28940 [BZ #13738]
28941 * manual/libc.texinfo (FDL_VERSION): New @set.
28942 Use it for mention of FDL in cover text.
28943 (Documentation License): Use it in @include file name.
28944
7bb764bc
JM
289452012-02-22 Joseph Myers <joseph@codesourcery.com>
28946 Roland McGrath <roland@hack.frob.com>
28947
28948 [BZ #5461]
28949 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28950 not LONG_LONG_MAX and LONG_LONG_MIN.
28951 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28952 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28953 name.
28954 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28955
6cbeae47
JM
289562012-02-22 Joseph Myers <joseph@codesourcery.com>
28957
28958 [BZ #2547]
28959 [BZ #11365]
28960 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28961 manipulate bits before adding and subtracting TWO23[sx].
28962 * math/libm-test.inc (nearbyint_test): Add more tests.
28963
fe45ce09
JM
289642012-02-22 Joseph Myers <joseph@codesourcery.com>
28965
28966 [BZ #2548]
28967 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28968 bits before adding and subtracting TWO23[sx].
28969 * math/libm-test.inc (rint_test): Add more tests.
28970 (rint_test_tonearest): Likewise.
28971 (rint_test_towardzero): Likewise.
28972 (rint_test_downward): Likewise.
28973 (rint_test_upward: Likewise.
28974
ff3b3d82
JM
289752012-02-22 Joseph Myers <joseph@codesourcery.com>
28976
28977 [BZ #10110]
28978 * include/stdc-predef.h: New file. Extracted from features.h.
28979 * include/features.h: Include stdc-predef.h.
28980 * Makefile (headers): Add stdc-predef.h.
28981 * CONFORMANCE (Compiler limitations): Update.
28982
ef0aab35
JM
289832012-02-22 Joseph Myers <joseph@codesourcery.com>
28984
28985 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28986
58639409
DM
289872012-02-21 David S. Miller <davem@davemloft.net>
28988
28989 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28990 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28991
c0e70b25
DM
289922012-02-20 David S. Miller <davem@davemloft.net>
28993
28994 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28995 using a normal save/restore sequence, rather than allocating a
28996 dummy stack frame just to store a frame pointer and restore.
28997 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28998
fb06851d
JM
289992012-02-21 Joseph Myers <joseph@codesourcery.com>
29000
29001 * manual/install.texi: Fix stray word in line-wrapped comment.
29002
7a8b71c3
DM
290032012-02-20 David S. Miller <davem@davemloft.net>
29004
d510c123
DM
29005 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29006 both binutils and gcc support GOTDATA.
29007
0722d7c2
DM
29008 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29009 "rd %pc" in the PIC register setup sequences.
29010
3d2b3019
DM
29011 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29012 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29013 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29014 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29015 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29016 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29017 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29018 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29019 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29020 (SYSCALL_ERROR_HANDLER): Likewise.
29021 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29022 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29023 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29024 (SYSCALL_ERROR_HANDLER): Likewise.
29025
c80098a9
DM
29026 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29027 (HAVE_GCC_GOTDATA): New.
29028 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29029 relocation support in both binutils and gcc.
29030 * sysdeps/sparc/elf/configure: Regenerate.
29031
3a2545a0
DM
29032 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29033 * sysdeps/sparc/sparc32/elf/configure: Delete.
29034 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29035 * sysdeps/sparc/sparc64/elf/configure: Delete.
29036 * sysdeps/sparc/elf/configure.in: New file.
29037 * sysdeps/sparc/elf/configure: Generate.
29038
7a8b71c3
DM
29039 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29040 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29041 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29042 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29043 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29044
f1e86fca
JM
290452012-02-21 Joseph Myers <joseph@codesourcery.com>
29046
29047 * manual/install.texi: Do not mention specific glibc version
29048 numbers.
29049 * manual/libc.texinfo (VERSION, UPDATED): Update.
29050 (@copying): Use @copyright{} and range of years.
29051
0e7dfaef
JM
290522012-02-21 Joseph Myers <joseph@codesourcery.com>
29053
29054 [BZ #13695]
29055 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29056 [crti.S not in sysdirs] (generated): Do not append.
29057 [crti.S not in sysdirs] (omit-deps): Likewise.
29058 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29059 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29060 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29061 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29062 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29063 Likewise.
29064 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29065 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29066 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29067 * csu/defs.awk: Remove file.
29068 * sysdeps/generic/initfini.c: Likewise.
29069 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29070 variable.
29071 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29072 Likewise.
29073
599af3ca
JM
290742012-02-20 Joseph Myers <joseph@codesourcery.com>
29075
29076 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29077 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29078 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29079 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29080 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29081 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29082 <bits/epoll.h>.
29083 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29084 (__EPOLL_PACKED): Define to empty if not defined by
29085 <bits/epoll.h>.
29086 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29088 bits/epoll.h.
29089
0e499750
JM
290902012-02-20 Joseph Myers <joseph@codesourcery.com>
29091
29092 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29093 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29094 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29095 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29096 <bits/timerfd.h>.
29097 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29099 bits/timerfd.h.
29100
5ad91f6e
JM
291012012-02-20 Joseph Myers <joseph@codesourcery.com>
29102
29103 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29104 in C locale.
29105 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29106 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29107 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29109
06b99b02
AJ
291102012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29111
29112 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29113 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29114
7638c0fd
AS
291152012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29116
29117 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29118 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29119 defined.
29120 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29121 Likewise.
29122 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29123 entry for 2.16.
29124
92221550
AJ
291252012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29126
29127 * math/w_acos.c: Use non-signaling floating-point comparisons.
29128 * math/w_acosf.c: Likewise.
29129 * math/w_acosh.c: Likewise.
29130 * math/w_acoshf.c: Likewise.
29131 * math/w_acoshl.c: Likewise.
29132 * math/w_acosl.c: Likewise.
29133 * math/w_asin.c: Likewise.
29134 * math/w_asinf.c: Likewise.
29135 * math/w_asinl.c: Likewise.
29136 * math/w_atanh.c: Likewise.
29137 * math/w_atanhf.c: Likewise.
29138 * math/w_atanhl.c: Likewise.
29139 * math/w_exp2.c: Likewise.
29140 * math/w_exp2f.c: Likewise.
29141 * math/w_exp2l.c: Likewise.
29142 * math/w_j0.c: Likewise.
29143 * math/w_j0f.c: Likewise.
29144 * math/w_j0l.c: Likewise.
29145 * math/w_j1.c: Likewise.
29146 * math/w_j1f.c: Likewise.
29147 * math/w_j1l.c: Likewise.
29148 * math/w_jn.c: Likewise.
29149 * math/w_jnf.c: Likewise.
29150 * math/w_log.c: Likewise.
29151 * math/w_log10.c: Likewise.
29152 * math/w_log10f.c: Likewise.
29153 * math/w_log10l.c: Likewise.
29154 * math/w_log2.c: Likewise.
29155 * math/w_log2f.c: Likewise.
29156 * math/w_log2l.c: Likewise.
29157 * math/w_logf.c: Likewise.
29158 * math/w_logl.c: Likewise.
29159 * math/w_sqrt.c: Likewise.
29160 * math/w_sqrtf.c: Likewise.
29161 * math/w_sqrtl.c: Likewise.
29162 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29163 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29164 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29165 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29166 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29167
ebaf36eb
JM
291682012-02-19 Joseph Myers <joseph@codesourcery.com>
29169
29170 [BZ #9739]
29171 * manual/string.texi (strnlen): Use correct parameter name in
29172 equivalent expression.
29173
71c254a6
JM
291742012-02-19 Joseph Myers <joseph@codesourcery.com>
29175
29176 [BZ #11174]
29177 * manual/users.texi (seteuid): Consistently use neweuid for
29178 argument name.
29179
16d2c631
JM
291802012-02-19 Joseph Myers <joseph@codesourcery.com>
29181
29182 [BZ #13704]
29183 * manual/nss.texi (Services in the NSS configuration): Correct
29184 list of services in example configuration file.
29185
cd837b09
NB
291862012-02-19 Nick Bowler <nbowler@draconx.ca>
29187
29188 [BZ #11322]
29189 * manual/arith.texi: Remove statements about negative zero
29190 behaving identically to zero.
29191
02c4bbad
JM
291922012-02-18 Joseph Myers <joseph@codesourcery.com>
29193
29194 [BZ #5993]
29195 * manual/install.texi: Do not document upgrading from libc5.
29196
366842e7
JM
291972012-02-18 Joseph Myers <joseph@codesourcery.com>
29198
29199 [BZ #4596]
29200 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29201
dd54084d
DM
292022012-02-18 David S. Miller <davem@davemloft.net>
29203
29204 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29205 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29206 %o7 across the call.
29207 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29208 instead.
29209 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29210 SETUP_PIC_REG_LEAF.
29211 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29212 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29213 * sysdeps/sparc/crtn.S: Likewise.
29214
2bcc53a3
UD
292152012-02-17 Ulrich Drepper <drepper@gmail.com>
29216
29217 * aout/Makefile: Remove.
29218
09c093b5
RK
292192012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29220
29221 [BZ #13058]
29222 * manual/examples/argp-ex1.c (main): Format definition in GNU
29223 style.
29224 * manual/examples/argp-ex2.c (main): Likewise.
29225 * manual/examples/argp-ex3.c (main): Likewise.
29226 * manual/examples/argp-ex4.c (main): Likewise.
29227 * manual/examples/longopt.c (main): Use new-style prototype
29228 definition.
29229 * manual/examples/strncat.c (main): Specify return type and use
29230 (void) for arguments.
29231 * manual/examples/subopt.c (main): Use char **argv argument.
29232
2ee633a2
JM
292332012-02-17 Joseph Myers <joseph@codesourcery.com>
29234
29235 [BZ #5077]
29236 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29237 rounding modes.
29238
0520adde
FB
292392012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29240
29241 [BZ #6907]
29242 * manual/string.texi (strchr): Change when strchrnul is
29243 recommended.
29244
3f4081cd
DGM
292452012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29246
29247 [BZ #174]
29248 * manual/locale.texi (setlocale): Document LOCPATH.
29249
d1b10e78
JM
292502012-02-17 Joseph Myers <joseph@codesourcery.com>
29251
29252 [BZ #10210]
29253 * manual/process.texi (execle): Move @dots{} before last argument.
29254
79c6869c
PB
292552012-02-17 Paul Bolle <pebolle@tiscali.nl>
29256
29257 [BZ #12047]
29258 * manual/charset.texi (Generic Charset Conversion): Fix typo
29259 (LC_TYPE -> LC_CTYPE).
29260
cc6e48bc
NB
292612012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29262
29263 [BZ #5805]
29264 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29265 (scalbnf): Likewise.
29266 (scalbnl): Likewise.
29267 (scalbln): Likewise.
29268 (scalblnf): Likewise.
29269 (scalblnl): Likewise.
29270 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29271 (vwarnx): Likewise.
29272 (verr): Likewise.
29273 (verrx): Likewise.
29274 * manual/filesys.texi (telldir): Use braces around return type.
29275 * manual/llio.texi (mmap): Add space after comma.
29276 (mmap64): Likewise.
29277 * manual/math.texi (jn): Use @var{} on parameter names.
29278 (jnf): Likewise.
29279 (jnl): Likewise.
29280 (yn): Likewise.
29281 (ynf): Likewise.
29282 (ynl): Likewise.
29283 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29284 line.
29285 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29286 "...".
29287 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29288 (sched_get_priority_max): Likewise.
29289 * manual/signal.texi (sigvec): Add space after comma.
29290 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29291 names.
29292 (if_indextoname): Likewise.
29293 (if_freenameindex): Likewise.
29294 (sendto): Use ',' instead of '.' in prototype.
29295 * manual/startup.texi (syscall): Use @dots{} instead of literal
29296 "...".
29297 * manual/stdio.texi (__fpending): Separate initial words of
29298 paragraph from @deftypefun line.
29299 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29300 "...".
29301 (vsyslog): Use @var{} on parameter names.
29302 * manual/terminal.texi (stty): Use @var{} on parameter names.
29303 * manual/users.texi (getutmp): Use @var{} on parameter names.
29304 (getutmpx): Likewise.
29305
5b23062f
JM
293062012-02-17 Joseph Myers <joseph@codesourcery.com>
29307
29308 [BZ #6884]
29309 * manual/stdio.texi (fopen): Fix typos in description of
29310 ",ccs=STRING".
29311
8dee4833
AJ
293122012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29313
29314 [BZ #4026]
29315 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29316 get clock_id definition.
29317
9078ce93
TS
293182012-02-17 Thomas Schwinge <thomas@schwinge.name>
29319
29320 [BZ #4822]
29321 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29322 (madvise): Cast every argument to void on its own.
29323
3835c55f
JM
293242012-02-17 Joseph Myers <joseph@codesourcery.com>
29325
29326 [BZ #9902]
29327 * manual/startup.texi (Exit Status): Fix typo.
29328
35c47e37
JM
293292012-02-17 Joseph Myers <joseph@codesourcery.com>
29330
29331 [BZ #10140]
29332 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29333 * manual/examples/argp-ex2.c: Likewise.
29334 * manual/examples/argp-ex3.c: Likewise.
29335
e3b69ca7
RH
293362012-02-16 Richard Henderson <rth@redhat.com>
29337
29338 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29339 * sysdeps/s390/s390-32/initfini.c: Remove.
29340 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29341 * sysdeps/s390/s390-64/initfini.c: Remove.
29342
df83af67
KK
293432012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29344
29345 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29346 compiler output for sysdeps/generic/initfini.c.
29347 * sysdeps/sh/elf/initfini.c: Remove file.
29348
f63f3380
DM
293492012-02-16 David S. Miller <davem@davemloft.net>
29350
fb59b3a4
DM
29351 [BZ #11494]
29352 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29353
f63f3380
DM
29354 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29355 * sysdeps/sparc/crti.S: New file.
29356 * sysdeps/sparc/crtn.S: New file.
29357 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29358 * sysdeps/sparc/sparc64/Makefile: Likewise.
29359
df6a4a4a
MF
293602012-02-15 Mike Frysinger <vapier@gentoo.org>
29361
6dd8f3dc 29362 [BZ #3335]
df6a4a4a
MF
29363 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29364
1cac7236
RM
293652012-02-15 Roland McGrath <roland@hack.frob.com>
29366
d2c736f8
RM
29367 [BZ #4822]
29368 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29369
1cac7236
RM
29370 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29371 (write, read, close): Likewise.
29372 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29373
8e475601
JM
293742012-02-15 Joseph Myers <joseph@codesourcery.com>
29375
29376 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29377 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29378 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29379 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29380 <bits/signalfd.h>.
29381 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29382 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29383 bits/signalfd.h.
29384
ed656b40
MP
293852012-02-14 Marek Polacek <polacek@redhat.com>
29386
29387 * sysdeps/x86_64/crti.S: New file.
29388 * sysdeps/x86_64/crtn.S: New file.
29389 * sysdeps/x86_64/elf/initfini.c: Remove file.
29390
2a979d3a
JM
293912012-02-13 Joseph Myers <joseph@codesourcery.com>
29392
29393 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29394 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29395 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29396 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29397 <bits/inotify.h>.
29398 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29400 bits/inotify.h.
29401
2a418ac3
JM
294022012-02-13 Joseph Myers <joseph@codesourcery.com>
29403
29404 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29405 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29406 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29407 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29408 <bits/eventfd.h>.
29409 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29411 bits/eventfd.h.
29412
fb779be7
TS
294132012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29414
e19e83c5
RM
29415 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29416 __feraiseexcept instead of feraiseexcept.
7c35ffed 29417
fb779be7
TS
29418 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29419 nanosleep invocations.
29420 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29421 strings, and add error checking for a nanosleep invocations.
29422
59ba27a6
PE
294232012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29424
29425 Replace FSF snail mail address with URLs, as per GNU coding standards.
29426 Most of the snail mail addresses were wrong anyway, and omitting
29427 them makes the source code easier to maintain. Almost all of the
29428 changes are to license notices and to locale LC_IDENTIFICATION
29429 addresses, except for this one:
29430 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29431 not its snail mail address.
29432
57b957eb
RH
294332012-02-09 Richard Henderson <rth@twiddle.net>
29434
af850b1c
RH
29435 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29436 of kernel-features.h.
29437
57b957eb
RH
29438 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29439
6b73181a
MP
294402012-02-08 Marek Polacek <polacek@redhat.com>
29441
29442 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29443 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29444 * sysdeps/gnu/_G_config.h: Likewise.
29445 * sysdeps/generic/_G_config.h: Likewise.
29446
26ecc33a
AS
294472012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29448
6c6dbc63
AS
29449 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29450 tests.
29451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29452
e216c012
AS
29453 * sysdeps/powerpc/powerpc32/crti.S: New file.
29454 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29455 * sysdeps/powerpc/powerpc64/crti.S: New file.
29456 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29457
26ecc33a
AS
29458 * Makeconfig (have-initfini): Don't set.
29459 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29460 * configure.in (nopic_initfini): Don't substitute.
29461 * config.h.in (HAVE_INITFINI): Don't #undef.
29462 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29463 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29464
3add8e13
JM
294652012-02-08 Joseph Myers <joseph@codesourcery.com>
29466
29467 Support crti.S and crtn.S provided directly by architectures.
29468 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29469 [crti.S in sysdirs] (omit-deps): Likewise.
29470 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29471 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29472 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29473 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29474 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29475 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29476 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29477 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29478 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29479 compiler output for sysdeps/generic/initfini.c.
29480 * sysdeps/i386/elf/Makefile: Remove file.
29481 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29482
a22f12b4
MP
294832012-02-07 Marek Polacek <polacek@redhat.com>
29484
29485 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29486 * sysdeps/gnu/_G_config.h: Likewise.
29487 * sysdeps/mach/hurd/_G_config.h: Likewise.
29488
148cf100
MP
294892012-02-07 Marek Polacek <polacek@redhat.com>
29490
29491 * math/Makefile (tests): Add tst-CMPLX2.
29492 * math/tst-CMPLX2.c: New file.
29493
cfdc0dd7
AS
294942012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29495
84ba42c4
AS
29496 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29497
cfdc0dd7
AS
29498 * math/libm-test.inc (jn_test): Add missing L suffix.
29499
622c86f4
MP
295002012-02-06 Marek Polacek <polacek@redhat.com>
29501
29502 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29503 * sysdeps/i386/fpu/e_powf.S: Likewise.
29504 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29505 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29506 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29507 * sysdeps/i386/fpu/e_pow.S: Likewise.
29508 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29509 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29510 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29511 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29512 * sysdeps/i386/fpu/e_log2.S: Likewise.
29513 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29514 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29515 * sysdeps/i386/fpu/e_powl.S: Likewise.
29516 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29517 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29518 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29519 * sysdeps/i386/fpu/e_logl.S: Likewise.
29520 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29521 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29522 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29523 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29524 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29525 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29526 * sysdeps/i386/fpu/e_log.S: Likewise.
29527 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29528 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29529 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29530 * sysdeps/i386/fpu/e_logf.S: Likewise.
29531 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29532 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29533 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29534 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29535 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29536 * sysdeps/i386/fpu/e_log10.S: Likewise.
29537 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29538 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29539 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29540 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29541 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29542 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29543 * sysdeps/i386/asm-syntax.h: Likewise.
29544 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29545 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29546 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29547 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29548 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29549 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29550 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29551 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29552 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29553 * sysdeps/powerpc/sysdep.h: Likewise.
29554 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29555 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29556
d4a54ac6
JM
295572012-02-06 Joseph Myers <joseph@codesourcery.com>
29558
29559 [BZ #411]
29560 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29561
314054ea
JM
295622012-02-06 Joseph Myers <joseph@codesourcery.com>
29563
29564 * sysdeps/i386/sysdep.h: Include <features.h>.
29565 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29566 version.
29567
d8e0ca50
JM
295682012-02-05 Joseph Myers <joseph@codesourcery.com>
29569
29570 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29571 Define.
29572 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29573 LOAD_PIC_REG_STR.
29574
b1da7dd9
JM
295752012-02-03 Joseph Myers <joseph@codesourcery.com>
29576
29577 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29578 (SETUP_PIC_REG): Use GET_PC_THUNK.
29579 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29580 macro.
29581
9a1d9254
JM
295822012-02-03 Joseph Myers <joseph@codesourcery.com>
29583
29584 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29585 for non-PIC compilation.
29586 (SETUP_PIC_REG): Add .p2align directive.
29587 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29588 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29589 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29590 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29591 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29592 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29593 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29594 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29595 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29596 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29597 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29598 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29599 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29600 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29601 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29602 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29603 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29604 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29605 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29606 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29607 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29608 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29609 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29610 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29611 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29612 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29613 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29614 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29615 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29616 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29617 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29618 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29619 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29620 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29621 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29622 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29623 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29624 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29625 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29626 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29627 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29628
65dc3b75
JM
296292012-02-03 Joseph Myers <joseph@codesourcery.com>
29630
29631 * math/tst-CMPLX.c: Include <stdio.h>.
29632
d55bf177
JM
296332012-01-31 Joseph Myers <joseph@codesourcery.com>
29634
29635 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29636 float.
29637 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29638 * sysdeps/sparc/bits/mathdef.h: Likewise.
29639
69db4f8f
MP
296402012-01-31 Marek Polacek <polacek@redhat.com>
29641
29642 * libio/libio.h: Don't define _PARAMS.
29643 * locale/programs/config.h: Don't define PARAMS.
29644 * stdlib/strtol_l.c: Likewise.
29645 (__strtol_l): Remove PARAMS from the prototype.
29646
41b81892
UD
296472012-01-31 Ulrich Drepper <drepper@gmail.com>
29648
3b49edc0
UD
29649 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29650 names. Just use the correct names. Remove unnecessary wrapper
29651 functions.
29652 * malloc/arena.c: Likewise.
29653 * malloc/hooks.c: Likewise.
29654
41b81892
UD
29655 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29656 ARENA_TEST says not to. Simplify test for creation of a new arena.
29657 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29658
27a25b6e
UD
296592012-01-30 Ulrich Drepper <drepper@gmail.com>
29660
29661 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29662 into tail calls.
29663 (update_get_addr): New function.
29664 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29665 GET_ADDR_MODULE parameter.
29666
c8a89e7d
JM
296672012-01-30 Joseph Myers <joseph@codesourcery.com>
29668
29669 * crypt/cert.c: Remove __STDC__ conditionals.
29670 * crypt/crypt-entry.c: Likewise.
29671 * crypt/crypt_util.c: Likewise.
29672 * libio/filedoalloc.c: Likewise.
29673 * libio/fileops.c: Likewise.
29674 * libio/genops.c: Likewise.
29675 * libio/iofclose.c: Likewise.
29676 * libio/iofdopen.c: Likewise.
29677 * libio/iofopen.c: Likewise.
29678 * libio/iofopen64.c: Likewise.
29679 * libio/iogetdelim.c: Likewise.
29680 * libio/iopopen.c: Likewise.
29681 * libio/obprintf.c: Likewise.
29682 * libio/oldfileops.c: Likewise.
29683 * libio/oldiofclose.c: Likewise.
29684 * libio/oldiofdopen.c: Likewise.
29685 * libio/oldiofopen.c: Likewise.
29686 * libio/oldiopopen.c: Likewise.
29687 * libio/wfiledoalloc.c: Likewise.
29688 * libio/wgenops.c: Likewise.
29689 * locale/programs/xmalloc.c: Likewise.
29690 * misc/syslog.c: Likewise.
29691 * stdio-common/xbug.c: Likewise.
29692 * string/memchr.c: Likewise.
29693 * string/memcmp.c: Likewise.
29694 * string/memrchr.c: Likewise.
29695 * string/rawmemchr.c: Likewise.
29696 * sysdeps/posix/getcwd.c: Likewise.
29697 * time/strftime_l.c: Likewise.
29698
3b100462
JM
296992012-01-30 Joseph Myers <joseph@codesourcery.com>
29700
29701 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
29702 * config.make.in (config-cflags-sse2avx): Define.
29703 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29704 Fix typo.
29705
607998af
CM
297062012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29707
29708 * scripts/config.guess: Update from upstream config git repository.
29709 * scripts/config.sub: Likewise.
29710
3601428f
CM
297112012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29712
3ac8b282
CM
29713 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29714 (EM_NUM): Update.
29715 (R_TILEPRO_*, R_TILEGX_*): New macros.
29716
e034841e
CM
29717 * scripts/firstversions.awk: Fix bug in version range handling.
29718
540d7568
CM
29719 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29720
3601428f
CM
29721 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29722
463de862
CM
29723 * include/sys/epoll.h: New file.
29724 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29725 libc_hidden_def.
29726
73139a76
UD
297272012-01-28 Ulrich Drepper <drepper@gmail.com>
29728
96bc5b45
UD
29729 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29730 Avoid unnecessary __WORDSIZE == 64 test.
29731 (fmaxf): Use VEX format if possible.
29732 (fmax): Likewise.
29733 (fminf): Likewise.
29734 (fmin): Likewise.
29735
56f6f6a2
UD
29736 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29737 * math/math_private.h: Remove libc_fegetround* and
29738 libc_fesetround*.
29739 * sysdeps/i386/configure.in: Check for -msse2avx.
29740 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29741 also if SSE2AVX is defined.
29742 Remove libc_fegetround* and libc_fesetround*.
29743 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29744 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29745 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29746 of HAS_YMM_USABLE.
29747 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29748 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29749 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29750 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29751 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29752
73139a76
UD
29753 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29754
d73f93a4
AZ
297552012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29756
29757 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29758 size is not set.
29759 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29760
6ee65ed6
UD
297612012-01-27 Ulrich Drepper <drepper@gmail.com>
29762
29763 [BZ #13618]
29764 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29765 relocation.
29766 * Makeconfig (libm): Define.
29767 * elf/Makefile: Add rules to build and run tst-relsort1.
29768 * elf/tst-relsort1.c: New file.
29769 * elf/tst-relsort1mod1.c: New file.
29770 * elf/tst-relsort1mod2.c: New file.
29771
8db21882
JM
297722012-01-27 Joseph Myers <joseph@codesourcery.com>
29773
29774 * math/s_ldexp.c: Remove __STDC__ conditionals.
29775 * math/s_ldexpf.c: Likewise.
29776 * math/s_ldexpl.c: Likewise.
29777 * math/s_nextafter.c: Likewise.
29778 * math/s_nexttowardf.c: Likewise.
29779 * math/s_significand.c: Likewise.
29780 * math/s_significandf.c: Likewise.
29781 * math/s_significandl.c: Likewise.
29782 * math/w_jnl.c: Likewise.
29783 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29784 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29785 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29786 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29787 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29788 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29789 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29790 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29791 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29792 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29793 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29794 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29795 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29796 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29797 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29798 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29799 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29800 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29801 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29802 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29803 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29804 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29805 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29806 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29807 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29808 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29809 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29810 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29811 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29812 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29813 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29814 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29815 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29816 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29817 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29818 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29819 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29820 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29821 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29822 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29823 * sysdeps/ieee754/k_standard.c: Likewise.
29824 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29825 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29826 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29827 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29828 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29829 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29830 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29831 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29832 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29833 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29834 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29835 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29836 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29837 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29838 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29839 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29840 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29841 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29842 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29843 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29844 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29845 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29846 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29847 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29848 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29849 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29850 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29851 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29852 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29853 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29854 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29855 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29856 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29857 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29858 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29859 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29860 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29861 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29862 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29863 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29864 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29865 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29866 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29867 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29868 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29869 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29870 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29871 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29872 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29873 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29874 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29875 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29876 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29877 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29878 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29879 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29880 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29881 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29882 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29883 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29884 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29885 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29886 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29887 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29888 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29889 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29890 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29891 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29892 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29893 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29894 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29895 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29896 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29897 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29898 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29899 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29900 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29901 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29902 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29903 * sysdeps/ieee754/s_matherr.c: Likewise.
29904 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29905 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29906 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29907 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29908
965a54a4
JM
299092012-01-26 Joseph Myers <joseph@codesourcery.com>
29910
29911 * crypt/md5.h: Remove __STDC__ conditionals.
29912 * libio/libioP.h: Likewise.
29913 * locale/programs/config.h: Likewise.
29914 * sysdeps/generic/sysdep.h: Likewise.
29915 * sysdeps/i386/asm-syntax.h: Likewise.
29916 * sysdeps/s390/asm-syntax.h: Likewise.
29917 * sysdeps/unix/sysdep.h: Likewise.
29918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29920
7071ad79
JM
299212012-01-26 Joseph Myers <joseph@codesourcery.com>
29922
29923 * libio/libio.h: Remove __STDC__ conditionals.
29924 * malloc/obstack.h: Likewise.
29925 * math/complex.h: Likewise.
29926 * math/math.h: Likewise.
29927 * sysdeps/generic/_G_config.h: Likewise.
29928 * sysdeps/gnu/_G_config.h: Likewise.
29929 * sysdeps/mach/hurd/_G_config.h: Likewise.
29930 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29931 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29932 * sysdeps/sparc/bits/mathdef.h: Likewise.
29933
afc5ed09
UD
299342012-01-26 Ulrich Drepper <drepper@gmail.com>
29935
29936 [BZ #13583]
29937 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 29938 Clean up HAS_* macros.
afc5ed09 29939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
29940 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29941 possible.
29942 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29943 HAS_AVX.
29944 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29945 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29946 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29947 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29948 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 29949
bdb6de1d
JM
299502012-01-25 Joseph Myers <joseph@codesourcery.com>
29951
29952 * elf/tst-unique3.cc (gets): Remove declaration.
29953 * elf/tst-unique3lib.cc (gets): Likewise.
29954 * elf/tst-unique3lib2.cc (gets): Likewise.
29955 * elf/tst-unique4.cc (gets): Likewise.
29956
b15549e6
UD
299572012-01-24 Ulrich Drepper <drepper@gmail.com>
29958
29959 * include/stdio.h: Add C++ protection. Add gets declarations and
29960 definitions.
29961 * debug/tst-chk1.c: Don't declare gets here.
29962 * stdio-common/tst-gets.c: Likewise.
29963
a037381f
JM
299642012-01-24 Joseph Myers <joseph@codesourcery.com>
29965
29966 * posix/glob: Remove directory.
29967
f1d4aa75
JM
299682012-01-24 Joseph Myers <joseph@codesourcery.com>
29969
29970 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29971
81c0c964
PT
299722012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29973
29974 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29975 of the non-standard EPFNOSUPPORT.
29976
0ea698ae
ST
299772011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29978
29979 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29980 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29981 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29982
d220b117
UD
299832012-01-21 Ulrich Drepper <drepper@gmail.com>
29984
29985 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29986
3e1aa84e
UD
299872012-01-20 Ulrich Drepper <drepper@gmail.com>
29988
29989 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29990 transient errors.
29991 * nscd/grpcache.c (cache_addgr): Likewise.
29992 * nscd/hstcache.c (cache_addhst): Likewise.
29993 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29994 * nscd/pwdcache.c (cache_addpw): Likewise.
29995 * nscd/servicescache.c (cache_addserv): Likewise.
29996
400aa020
UD
299972012-01-16 Ulrich Drepper <drepper@gmail.com>
29998
d77e7869
UD
29999 * malloc/malloc.c: Various cleanups.
30000 * malloc/hooks.c: Likewise.
30001
400aa020
UD
30002 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30003 * stdlib/bug-fmtmsg1.c: New file.
30004
30005 * stdlib/fmtmsg.c (init): Add missing unlock.
30006 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30007
e0a309cf
MP
300082012-01-12 Marek Polacek <polacek@redhat.com>
30009
30010 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30011 and _GNU_SOURCE.
30012
929d11c7
WS
300132012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30014
30015 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30016 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30017 macro to ensure uniqueness of label name.
30018 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30019 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30020
41d0e869
UD
300212012-01-11 Ulrich Drepper <drepper@gmail.com>
30022
0cc5ed3b
UD
30023 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30024
41d0e869
UD
30025 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30026 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30027 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30028 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30029
a47a831a
UD
300302012-01-10 Ulrich Drepper <drepper@gmail.com>
30031
daa891c0
UD
30032 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30033
30034 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30035 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30036 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30037
e58ef0f2
UD
30038 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30039
a47a831a 30040 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
30041 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30042 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 30043 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
30044
30045 * math/bits/math-finite.h: Add ldexp support.
30046
a0bfc9c7
MP
300472012-01-10 Marek Polacek <polacek@redhat.com>
30048
30049 * locale/programs/localedef.h (show_archive_content): Add noreturn
30050 attribute.
30051
d6e97a1d
UD
300522012-01-09 Ulrich Drepper <drepper@gmail.com>
30053
30054 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30055
d5835c26
UD
300562012-01-08 Ulrich Drepper <drepper@gmail.com>
30057
e5f484c6
UD
30058 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30059
d5835c26
UD
30060 * io/Makefile (headers): Add bits/poll2.h.
30061
d1f741e9
WS
300622011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30063
30064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30065 typo #include statement.
30066
ec09c1c4
UD
300672012-01-08 Ulrich Drepper <drepper@gmail.com>
30068
30069 * include/sys/cdefs.h: Define __attribute_alloc_size.
30070 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30071 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30072 * elf/pldd.c: Likewise.
30073 * iconv/iconv_charmap.c: Likewise.
30074 * iconv/iconvconfig.c: Likewise.
30075 * iconv/strtab.c: Likewise.
30076 * locale/programs/locale.c: Likewise.
30077 * locale/programs/localedef.h: Likewise.
30078 * locale/programs/simple-hash.c: Likewise.
30079 * nscd/nscd.h: Likewise.
30080 * nss/makedb.c: Likewise.
30081 * sysdeps/generic/ldconfig.h: Likewise.
30082 * locale/programs/localedef.c: Remove xmalloc prototype.
30083 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30084
20b38e03
PP
300852012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30086
30087 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30088 appropriate.
30089
a0da5fe1
UD
300902012-01-08 Ulrich Drepper <drepper@gmail.com>
30091
1d5a644a 30092 * math/Makefile (tests): Add tst-CMPLX.
669704fd 30093 * math/tst-CMPLX.c: New file.
1d5a644a 30094
8784a6db
UD
30095 * math/complex.h (CMPLXL): Fix typo.
30096
d9a216c0
UD
30097 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30098 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30099 GLIBC_2.16.
30100 * debug/tst-chk1.c: Add poll and ppoll tests.
30101 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30102 * include/sys/poll.h: Add hidden proto for ppoll.
30103 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30104 * sysdeps/mach/hurd/ppoll.c: Likewise.
30105 * io/ppoll.c: Likewise.
30106 * debug/poll_chk.c: New file.
30107 * debug/ppoll_chk.c: New file.
30108 * include/bits/poll2.h: New file.
30109 * io/bits/poll2.h: New file.
30110
ac097f5c
UD
30111 [BZ #1350]
30112 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30113
2119dcfa
UD
30114 * configure.in: static is always set to yes. Remove.
30115 * config.make.in: Don't set build-static.
30116 * Makeconfig: Remove use of build-static.
30117 * dlfcn/Makefile: Likewise.
30118 * elf/Makefile: Likewise.
30119 * math/Makefile: Likewise.
30120 * misc/Makefile: Likewise.
30121 * nptl/Makefile: Likewise.
30122 * sysdeps/mach/hurd/Makefile: Likewise.
30123
121766a9
UD
30124 * configure.in: PWD_P is not used anymore.
30125 * config.make.in: Remove PWD_P entry.
30126
51a1d39c 30127 * configure.in: Remove last remnants of RANLIB.
8720d066 30128 No need to check for signed size_t anymore.
215f4bdc
UD
30129 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30130 and IA-64.
3857022a 30131 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
30132 * aclocal.m4: Likewise.
30133
d3ed7225
UD
30134 * wcsmbs/mbrtoc16.c: Implement using towc function.
30135 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30136 * wcsmbs/wcsmbsload.c: Likewise.
30137 * iconv/gconv_simple.c: Likewise.
30138 * iconv/gconv_int.h: Likewise.
30139 * iconv/gconv_builtin.h: Likewise.
30140 * iconv/iconv_prog.c: Remove CHAR16 handling.
30141
30142 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30143
30144 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30145
a0da5fe1
UD
30146 * configure.in: Remove --with-elf and --enable-bounded options.
30147 Dont set base_machine for ia64. More non-ELF conditions removed.
30148 Remove testing and setting of leading underscore information.
30149 * config.make.in (build-bounded): Set to no.
30150 * config.h.in: Remove NO_UNDERSCORES entry.
30151 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30152 them.
30153 * csu/start.c: Remove !NO_UNDERSCORE code.
30154 * locale/localeinfo.h: Likewise.
30155 * sysdeps/generic/machine-gmon.h: Likewise.
30156 * sysdeps/generic/sysdep.h: Likewise.
30157 * sysdeps/i386/sysdep.h: Likewise.
30158 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30159 * sysdeps/mach/sysdep.h: Likewise.
30160 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30161 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30162 * sysdeps/sh/sysdep.h: Likewise.
30163 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30164 * sysdeps/unix/i386/sysdep.S: Likewise.
30165 * sysdeps/unix/sparc/start.c: Likewise.
30166 * sysdeps/unix/sparc/sysdep.S: Likewise.
30167 * sysdeps/unix/sparc/sysdep.h: Likewise.
30168 * sysdeps/unix/start.c: Likewise.
30169 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30170 * sysdeps/x86_64/sysdep.h: Likewise.
30171
df78418a
UD
301722012-01-07 Ulrich Drepper <drepper@gmail.com>
30173
a784e502
UD
30174 [BZ #13553]
30175 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30176 for non-gcc.
30177 * argp/argp-fmtstream.h: Use const instead __const.
30178 * argp/argp.h: Likewise.
30179 * assert/assert.h: Likewise.
30180 * bits/fenv.h: Likewise.
30181 * bits/sched.h: Likewise.
30182 * bits/sigset.h: Likewise.
30183 * bits/sigthread.h: Likewise.
30184 * catgets/nl_types.h: Likewise.
30185 * conform/data/pthread.h-data: Likewise.
30186 * crypt/crypt-private.h: Likewise.
30187 * crypt/crypt.h: Likewise.
30188 * crypt/crypt_util.c: Likewise.
30189 * ctype/ctype.h: Likewise.
30190 * debug/execinfo.h: Likewise.
30191 * debug/mbsnrtowcs_chk.c: Likewise.
30192 * debug/mbsrtowcs_chk.c: Likewise.
30193 * debug/wcsnrtombs_chk.c: Likewise.
30194 * debug/wcsrtombs_chk.c: Likewise.
30195 * debug/wcstombs_chk.c: Likewise.
30196 * dirent/dirent.h: Likewise.
30197 * dlfcn/dlfcn.h: Likewise.
30198 * elf/neededtest4.c: Likewise.
30199 * grp/grp.h: Likewise.
30200 * gshadow/gshadow.h: Likewise.
30201 * iconv/gconv.h: Likewise.
30202 * iconv/gconv_int.h: Likewise.
30203 * iconv/gconv_simple.c: Likewise.
30204 * iconv/iconv.h: Likewise.
30205 * iconv/loop.c: Likewise.
30206 * iconv/skeleton.c: Likewise.
30207 * include/aio.h: Likewise.
30208 * include/aliases.h: Likewise.
30209 * include/argz.h: Likewise.
30210 * include/arpa/inet.h: Likewise.
30211 * include/assert.h: Likewise.
30212 * include/dirent.h: Likewise.
30213 * include/dlfcn.h: Likewise.
30214 * include/execinfo.h: Likewise.
30215 * include/fcntl.h: Likewise.
30216 * include/fenv.h: Likewise.
30217 * include/glob.h: Likewise.
30218 * include/grp.h: Likewise.
30219 * include/libintl.h: Likewise.
30220 * include/mntent.h: Likewise.
30221 * include/netdb.h: Likewise.
30222 * include/pwd.h: Likewise.
30223 * include/rpc/netdb.h: Likewise.
30224 * include/sched.h: Likewise.
30225 * include/search.h: Likewise.
30226 * include/shadow.h: Likewise.
30227 * include/signal.h: Likewise.
30228 * include/stdio.h: Likewise.
30229 * include/stdlib.h: Likewise.
30230 * include/string.h: Likewise.
30231 * include/sys/socket.h: Likewise.
30232 * include/sys/stat.h: Likewise.
30233 * include/sys/statfs.h: Likewise.
30234 * include/sys/statvfs.h: Likewise.
30235 * include/sys/syslog.h: Likewise.
30236 * include/sys/time.h: Likewise.
30237 * include/sys/uio.h: Likewise.
30238 * include/time.h: Likewise.
30239 * include/unistd.h: Likewise.
30240 * include/utmp.h: Likewise.
30241 * include/wchar.h: Likewise.
30242 * include/wctype.h: Likewise.
30243 * inet/aliases.h: Likewise.
30244 * inet/arpa/inet.h: Likewise.
30245 * inet/netinet/ether.h: Likewise.
30246 * inet/netinet/in.h: Likewise.
30247 * intl/libintl.h: Likewise.
30248 * io/bits/fcntl2.h: Likewise.
30249 * io/fcntl.h: Likewise.
30250 * io/ftw.h: Likewise.
30251 * io/sys/poll.h: Likewise.
30252 * io/sys/stat.h: Likewise.
30253 * io/sys/statfs.h: Likewise.
30254 * io/sys/statvfs.h: Likewise.
30255 * io/utime.h: Likewise.
30256 * libio/bits/stdio.h: Likewise.
30257 * libio/bits/stdio2.h: Likewise.
30258 * libio/libio.h: Likewise.
30259 * libio/libioP.h: Likewise.
30260 * libio/stdio.h: Likewise.
30261 * locale/lc-ctype.c: Likewise.
30262 * locale/locale.h: Likewise.
30263 * login/utmp.h: Likewise.
30264 * malloc/arena.c: Likewise.
30265 * malloc/malloc.c: Likewise.
30266 * malloc/malloc.h: Likewise.
30267 * malloc/mcheck.c: Likewise.
30268 * malloc/mtrace.c: Likewise.
30269 * math/bits/mathcalls.h: Likewise.
30270 * math/fenv.h: Likewise.
30271 * math/math_private.h: Likewise.
30272 * misc/bits/error.h: Likewise.
30273 * misc/bits/syslog.h: Likewise.
30274 * misc/err.h: Likewise.
30275 * misc/error.h: Likewise.
30276 * misc/fstab.h: Likewise.
30277 * misc/mntent.h: Likewise.
30278 * misc/regexp.h: Likewise.
30279 * misc/search.h: Likewise.
30280 * misc/sgtty.h: Likewise.
30281 * misc/sys/mman.h: Likewise.
30282 * misc/sys/syslog.h: Likewise.
30283 * misc/sys/uio.h: Likewise.
30284 * misc/sys/xattr.h: Likewise.
30285 * misc/ttyent.h: Likewise.
30286 * nis/rpcsvc/ypclnt.h: Likewise.
30287 * nss/nss.h: Likewise.
30288 * posix/bits/unistd.h: Likewise.
30289 * posix/fnmatch.h: Likewise.
30290 * posix/glob.h: Likewise.
30291 * posix/sched.h: Likewise.
30292 * posix/spawn.h: Likewise.
30293 * posix/sys/wait.h: Likewise.
30294 * posix/unistd.h: Likewise.
30295 * posix/wordexp.h: Likewise.
30296 * pwd/pwd.h: Likewise.
30297 * resolv/netdb.h: Likewise.
30298 * resource/sys/resource.h: Likewise.
30299 * rt/aio.h: Likewise.
30300 * rt/bits/mqueue2.h: Likewise.
30301 * rt/mqueue.h: Likewise.
30302 * shadow/shadow.h: Likewise.
30303 * signal/signal.h: Likewise.
30304 * socket/send.c: Likewise.
30305 * socket/sendto.c: Likewise.
30306 * socket/sys/socket.h: Likewise.
30307 * stdio-common/printf.h: Likewise.
30308 * stdlib/bits/stdlib.h: Likewise.
30309 * stdlib/fmtmsg.h: Likewise.
30310 * stdlib/monetary.h: Likewise.
30311 * stdlib/stdlib.h: Likewise.
30312 * stdlib/ucontext.h: Likewise.
30313 * streams/stropts.h: Likewise.
30314 * string/argz.h: Likewise.
30315 * string/bits/string2.h: Likewise.
30316 * string/string.h: Likewise.
30317 * string/strings.h: Likewise.
30318 * sunrpc/rpc/auth.h: Likewise.
30319 * sunrpc/rpc/auth_des.h: Likewise.
30320 * sunrpc/rpc/clnt.h: Likewise.
30321 * sunrpc/rpc/netdb.h: Likewise.
30322 * sunrpc/rpc/pmap_clnt.h: Likewise.
30323 * sunrpc/rpc/xdr.h: Likewise.
30324 * sysdeps/generic/inttypes.h: Likewise.
30325 * sysdeps/generic/net/if.h: Likewise.
30326 * sysdeps/generic/sys/swap.h: Likewise.
30327 * sysdeps/gnu/net/if.h: Likewise.
30328 * sysdeps/gnu/utmpx.h: Likewise.
30329 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30330 * sysdeps/i386/i486/bits/string.h: Likewise.
30331 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30332 * sysdeps/s390/bits/string.h: Likewise.
30333 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30334 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30335 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30336 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30337 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30338 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30339 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30340 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30341 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30342 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30343 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30344 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30345 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30346 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30347 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30348 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30349 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30350 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30351 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30352 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30353 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30354 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30355 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30356 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30357 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30358 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30359 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30360 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30361 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30362 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30363 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30364 * sysvipc/sys/ipc.h: Likewise.
30365 * sysvipc/sys/msg.h: Likewise.
30366 * sysvipc/sys/sem.h: Likewise.
30367 * sysvipc/sys/shm.h: Likewise.
30368 * termios/termios.h: Likewise.
30369 * time/sys/time.h: Likewise.
30370 * time/time.h: Likewise.
30371 * wcsmbs/bits/wchar2.h: Likewise.
30372 * wcsmbs/uchar.h: Likewise.
30373 * wcsmbs/wchar.h: Likewise.
30374 * wctype/wctype.h: Likewise.
30375
0269750c
UD
30376 [BZ #13551]
30377 * Makeconfig: Remove all but ELF support including AIX support.
30378 * Makerules: Likewise.
30379 * config.h.in: Likewise.
30380 * config.make.in: Likewise.
30381 * configure: Likewise.
30382 * configure.in: Likewise.
30383 * csu/Makefile: Likewise.
30384 * csu/version.c: Likewise.
30385 * debug/Makefile: Likewise.
30386 * dlfcn/Makefile: Likewise.
30387 * elf/Makefile: Likewise.
30388 * extra-lib.mk: Likewise.
30389 * iconv/Makefile: Likewise.
30390 * include/libc-symbols.h: Likewise.
30391 * include/shlib-compat.h: Likewise.
30392 * resolv/Makefile: Likewise.
30393 * resolv/res_libc.c: Likewise.
30394 * rt/Makefile: Likewise.
30395 * sysdeps/i386/asm-syntax.h: Likewise.
30396 * sysdeps/i386/sysdep.h: Likewise.
30397 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30398 * sysdeps/mach/sysdep.h: Likewise.
30399 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30400 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30401 * sysdeps/s390/asm-syntax.h: Likewise.
30402 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30403 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30404 * sysdeps/sh/sysdep.h: Likewise.
30405 * sysdeps/unix/sparc/sysdep.h: Likewise.
30406 * sysdeps/wordsize-32/divdi3.c: Likewise.
30407 * sysdeps/x86_64/sysdep.h: Likewise.
30408
00bbd29b
UD
30409 * argp/Versions: Remove _argp_unlock_xxx.
30410
30411 [BZ #13559]
30412 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30413 * abilist/libBrokenLocale.abilist: Likewise.
30414 * abilist/libanl.abilist: Likewise.
30415 * abilist/libc.abilist: Likewise.
30416 * abilist/libcrypt.abilist: Likewise.
30417 * abilist/libdl.abilist: Likewise.
30418 * abilist/libm.abilist: Likewise.
30419 * abilist/libnsl.abilist: Likewise.
30420 * abilist/libpthread.abilist: Likewise.
30421 * abilist/libresolv.abilist: Likewise.
30422 * abilist/librt.abilist: Likewise.
30423 * abilist/libthread_db.abilist: Likewise.
30424 * abilist/libutil.abilist: Likewise.
30425 * abilist/libnss_db.abilist: New file.
30426
30427 * scripts/abilist.awk: Add support for indirect functions.
30428
a2693a0e
UD
30429 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30430
3f05895f
UD
30431 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30432
ecb6fb48
UD
30433 * shlib-versions: Remove entries for ports architectures.
30434
664f8cb9
UD
30435 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30436 files in ports.
30437 * elf/stackguard-macros.h: Remove support for IA-64.
30438 * elf/tst-auditmod1.c: Likewise.
30439 * sysdeps/generic/ldsodefs.h: Likewise.
30440
7ae81d88
UD
30441 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30442 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30443 configure files.
30444
bdeba135
UD
30445 [BZ #13552]
30446 * configure.in: Remove --enable-omitfp support.
30447 * FAQ.in: Adjust.
30448 * config.make.in: Likewise.
30449 * Makeconfig: Likewise.
30450 * manual/install.texi: Likewise.
30451
d75a0a62
UD
30452 In case anyone cares, the IA-64 architecture could move to ports.
30453 * sysdeps/ia64/*: Removed.
30454 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 30455 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 30456
dcc9756b
UD
30457 [BZ #13555]
30458 * configure.in: Remove entries for unsupported architectures.
30459
d3761ebc 30460 [BZ #13533]
9954432e
UD
30461 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30462 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30463 routines.
30464 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30465 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30466 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30467 fall back to using wcrtomb.
30468 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30469 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30470 renaming.
30471 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30472 * wcsmbs/tst-c16c32-1.c: New file.
30473
30474 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30475 local variable.
30476
c3a87236
UD
30477 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30478
28926a1b
UD
30479 * elf/tst-unique3.cc: Add explicit declaration of gets.
30480 * elf/tst-unique3lib.cc: Likewise.
30481 * elf/tst-unique3lib2.cc: Likewise.
30482 * elf/tst-unique4.cc: Likewise.
30483
df78418a
UD
30484 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30485
8ecd6b2a
JM
304862012-01-06 Joseph Myers <joseph@codesourcery.com>
30487
30488 [BZ #13566]
30489 * assert/assert.h (static_assert): Don't define for C++.
30490 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30491 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30492
9f115170
UD
304932012-01-03 Ulrich Drepper <drepper@gmail.com>
30494
5e0d0300
UD
30495 * iconv/loop.c (single loop): Fix assertion in storing of
30496 remaining bytes.
30497
9f115170
UD
30498 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30499
81fb02b0
UD
305002012-01-01 Ulrich Drepper <drepper@gmail.com>
30501
30502 * posix/getconf.c: Update copyright year.
30503 * nss/getent.c: Likewise.
a316c1f6 30504 * nss/makedb.c: Likewise.
81fb02b0
UD
30505 * iconv/iconvconfig.c: Likewise.
30506 * iconv/iconv_prog.c: Likewise.
30507 * elf/ldconfig.c: Likewise.
a316c1f6
UD
30508 * elf/pldd.c: Likewise.
30509 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
30510 * catgets/gencat.c: Likewise.
30511 * csu/version.c: Likewise.
30512 * elf/ldd.bash.in: Likewise.
30513 * elf/sprof.c (print_version): Likewise.
30514 * locale/programs/locale.c: Likewise.
30515 * locale/programs/localedef.c: Likewise.
a316c1f6 30516 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
30517 * nscd/nscd.c (print_version): Likewise.
30518 * debug/xtrace.sh: Likewise.
30519 * malloc/memusage.sh: Likewise.
30520 * malloc/mtrace.pl: Likewise.
30521 * debug/catchsegv.sh: Likewise.
30522
2ba92745
JJ
305232011-12-30 Jakub Jelinek <jakub@redhat.com>
30524
30525 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30526 pure attribute.
30527
dadebdae
UD
305282011-12-24 Ulrich Drepper <drepper@gmail.com>
30529
d3761ebc 30530 [BZ #13533]
db6af3eb
UD
30531 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30532 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30533 transformations.
30534 * iconv/gconv_int.h: Likewise.
30535 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30536 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30537 from libc for GLIBC_2.16.
30538 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30539 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30540 * wcsmbs/uchar.h: Really define mbstate_t.
30541 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30542 * wcsmbs/c16rtomb.c: New file.
30543 * wcsmbs/mbrtoc16.c: New file.
30544 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30545 for C/POSIX locale.
30546 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30547 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30548
dadebdae
UD
30549 * wcsmbs/wchar.h: Add missing __restrict.
30550
67371b56
UD
305512011-12-23 Ulrich Drepper <drepper@gmail.com>
30552
74033a25
UD
30553 [BZ #13532]
30554 * time/Makefile (routines): Add timespec_get.
30555 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30556 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30557 timespec for ISO C11.
30558 * time/timespec_get.c: New file.
30559 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30560 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30561
380d7e87
UD
30562 [BZ #13531]
30563 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30564 * stdlib/stdlib.h: Declare aligned_alloc.
30565 * Versions.def: Add GLIBC_2.16 for libc.
30566 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30567
4e9e7a35
UD
30568 [BZ 13527]
30569 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30570 ISO C11.
30571
380d7e87 30572 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
30573 code.
30574
03a71829
UD
30575 [BZ #13528]
30576 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30577
839e283e
UD
30578 [BZ #13529]
30579 * assert/assert.h (static_assert): Define.
30580
ce5294e2 30581 * version.h: Update for 2.16 development version.
90fa7312 30582
8d44e150 30583 [BZ #13526]
d7809905
UD
30584 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30585 _ISOC11_SOURCE.
30586
c0da14cd
UD
30587 * version.h (RELEASE): Bump for 2.15 release.
30588 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30589
530a3249
MP
30590 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30591 Patch by Marek Polacek <mpolacek@redhat.com>.
30592
67371b56
UD
30593 * bits/byteswap.h: Protect long long constants with __extension__.
30594 * sysdeps/i386/bits/byteswap.h: Likewise.
30595 * sysdeps/ia64/bits/byteswap.h: Likewise.
30596 * sysdeps/s390/bits/byteswap.h: Likewise.
30597 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30598
15db4de1
LD
305992011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30600
30601 [BZ #13540]
bbe315ea
LD
30602 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30603 destination buffer.
15db4de1
LD
30604 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30605
2b2596b1
MP
306062011-12-23 Marek Polacek <polacek@redhat.com>
30607
30608 * elf/dl-addr.c (determine_info): Add inline keyword.
30609 * elf/tst-auditmod4b.c (check_avx): Likewise.
30610 * elf/tst-auditmod6b.c (check_avx): Likewise.
30611 * elf/tst-auditmod6c.c (check_avx): Likewise.
30612 * elf/tst-auditmod7b.c (check_avx): Likewise.
30613
70c6c246
UD
306142011-12-23 Ulrich Drepper <drepper@gmail.com>
30615
30616 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30617 !__SSE_MATH__.
30618
c044cf14
LD
306192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30620
15db4de1 30621 [BZ #13540]
c044cf14
LD
30622 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30623 processing for last bytes.
30624
6b13d9d9
BH
306252011-08-06 Bruno Haible <bruno@clisp.org>
30626
d455f537
BH
30627 [BZ #13061]
30628 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30629 U+0385, not to U+1FEE.
30630
6b13d9d9
BH
30631 [BZ #13062]
30632 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30633 entry for U+00A5 U+0301.
30634
db910efd
UD
306352011-12-22 Ulrich Drepper <drepper@gmail.com>
30636
27deeafc
UD
30637 [BZ #13166]
30638 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30639 buffer for the output is too small.
30640
aed9d171
UD
30641 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30642 optimization.
30643
db910efd
UD
30644 [BZ #13185]
30645 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30646 SSE flags if possible.
30647
2bd779ae
LD
306482011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30649
e7f9dac3 30650 [BZ #13540]
2bd779ae
LD
30651 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30652 processing for last bytes.
30653
154bfc16
JM
306542011-12-22 Joseph Myers <joseph@codesourcery.com>
30655
30656 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30657 (syscall-list-default-options, syscall-list-default-condition)
30658 (syscall-list-includes): Define.
30659 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30660 list of ABIs and options and #if conditions for each ABI. Do not
30661 handle common syscalls between ABIs specially.
30662 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30663 Remove.
30664 (syscall-list-variants, syscall-list-32bit-options)
30665 (syscall-list-32bit-condition, syscall-list-64bit-options)
30666 (syscall-list-64bit-condition): Define.
30667 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30668 (syscall-list-variants, syscall-list-32bit-options)
30669 (syscall-list-32bit-condition, syscall-list-64bit-options)
30670 (syscall-list-64bit-condition): Define.
30671 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30672 Remove.
30673 (syscall-list-variants, syscall-list-32bit-options)
30674 (syscall-list-32bit-condition, syscall-list-64bit-options)
30675 (syscall-list-64bit-condition): Define.
30676 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30677 Remove.
30678 (syscall-list-variants, syscall-list-32bit-options)
30679 (syscall-list-32bit-condition, syscall-list-64bit-options)
30680 (syscall-list-64bit-condition): Define.
30681
21eaf3a5
UD
306822011-12-22 Ulrich Drepper <drepper@gmail.com>
30683
16c6f992
UD
30684 * locale/iso-639.def: Add brx entry.
30685
41043168
UD
30686 [BZ #13328]
30687 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30688 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30689
21eaf3a5
UD
30690 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30691 __feraiseexcept_renamed.
30692
e3a851a2
UD
306932011-12-21 Ulrich Drepper <drepper@gmail.com>
30694
4920765e
UD
30695 [BZ #13538]
30696 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30697 EPOLLET with unsigned values.
30698 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30699 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30700
e3a851a2
UD
30701 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30702 to large cancellation.
30703 * math/s_cacoshf.c: Likewise.
30704 * math/s_cacoshl.c: Likewise.
30705
b27e24b8
RK
307062011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30707
30708 [BZ #13305]
aebefeee 30709 [BZ #12786]
b27e24b8
RK
30710 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30711 * math/s_cacoshf.c: Likewise.
30712 * math/s_cacoshl.c: Likewise.
30713
ee190f67
UD
307142011-12-21 Ulrich Drepper <drepper@gmail.com>
30715
30716 [BZ #13439]
30717 * iconv/gconv.h: Define __GCONV_SWAP.
30718 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30719 * iconvdata/utf-16.c: Likewise.
30720 * iconvdata/utf-32.c: Likewise.
30721
707f25df
AS
307222011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30723
30724 [BZ #13524]
30725 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30726 numerator after shifting it by one limb.
30727
d2daaa1e
RÁE
307282011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30729
30730 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30731 under [__USE_EXTERN_INLINES].
30732
a4647e72
UD
307332011-12-17 Ulrich Drepper <drepper@gmail.com>
30734
30735 [BZ #13446]
30736 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30737
f0b264f1
AZ
307382011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30739
30740 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30741 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30742 optimized code.
30743 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30744 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30745 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30746 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30747 for strncasecmp/strncasecmp_l compilation.
30748 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30749 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30750
8ef4f244
MP
307512011-12-08 Marek Polacek <mpolacek@redhat.com>
30752
30753 [BZ #13484]
30754 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30755 of __asm__.
30756
97ac2654
UD
307572011-12-17 Ulrich Drepper <drepper@gmail.com>
30758
30759 [BZ #13506]
30760 * time/tzfile.c (__tzfile_read): Check values from file header.
30761
91d2a845
WS
307622011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30763
30764 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30765 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30766 * powerpc/powerpc32/dl-start.S: Likewise.
30767 * powerpc/powerpc32/elf/start.S: Likewise.
30768 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30769 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30770 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30771 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30772 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30773 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30774 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30775 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30776 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30777 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30778 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30779 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30780 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30781 * powerpc/powerpc32/memset.S: Likewise.
30782 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30783 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30784 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30785 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30786 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30787 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30788 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30789 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30790 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30791 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30792 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30793 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30794 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30795
a1267ba1
AZ
307962011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30797
30798 * math/libm-test.inc: Added more nearbyint tests.
30799 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30800 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30801 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30802 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30803
ad8ac1bd
RL
308042011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30805
30806 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30807 FD_CLOEXEC.
30808
1d3e4b61
UD
308092011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30810
30811 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30812 Add wcscpy-ssse3 wcscpy-c.
30813 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30814 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30815 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30816 * sysdeps/x86_64/wcschr.S: New file.
30817 * sysdeps/x86_64/wcsrchr.S: New file.
30818 * string/test-strcmp.c: Remove checking of wcscmp function for
30819 wrong alignments.
30820 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30821 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30822 wcsrchr-sse2 wcsrchr-c.
30823 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30824 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30825 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30826 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30827 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30828 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30829 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30830 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30831 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30832 * wcsmbc/wcschr.c (WCSCHR): New macro.
30833
5b330a2d
UD
308342011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30835
30836 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30837 * wcsmbs/test-wcsrchr.c: New file.
30838 * string/test-strrchr.c: Add wcsrchr support.
30839 (WIDE): New macro.
30840 * wcsmbs/test-wcscpy.c: New file.
30841 * string/test-strcpy.c: Add wcscpy support.
30842 (WIDE): New macro.
26428b7c 30843
f039c043
UD
308442011-12-10 Ulrich Drepper <drepper@gmail.com>
30845
30846 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30847 the inner loop.
30848
850fb039
AS
308492011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30850
30851 [BZ #13472]
30852 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30853
4efbd5cb
UD
308542011-12-04 Ulrich Drepper <drepper@gmail.com>
30855
52ff5dd0 30856 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 30857 Minor optimizations.
52ff5dd0 30858
4efbd5cb
UD
30859 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30860 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30861 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30862
8a426e12
UD
308632011-12-03 Ulrich Drepper <drepper@gmail.com>
30864
aff2453d
UD
30865 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30866 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30867 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30868 for gcc to avoid warnings.
30869 * inet/Makefile (tests): Add tst-checks.
30870 * inet/tst-checks.c: New file.
30871
30872 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30873 warning.
30874
30875 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30876 __wmemcmp_sse2.
30877
30878 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30879 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30880
8a426e12
UD
30881 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30882
9bea3473
UD
308832011-12-02 Ulrich Drepper <drepper@gmail.com>
30884
3a965496
UD
30885 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30886 problem.
30887
9bea3473
UD
30888 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30889
f101631b
UD
308902011-11-29 Joseph Myers <joseph@codesourcery.com>
30891
30892 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30893 conditional on GCC version.
30894 (__arch_compare_and_exchange_val_8_acq)
30895 (__arch_compare_and_exchange_val_16_acq)
30896 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30897 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30898 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30899
a98275aa
UD
309002011-12-02 Joseph Myers <joseph@codesourcery.com>
30901
30902 * sysdeps/sh/backtrace.c: New file.
30903
d4cc29a2
AS
309042011-12-02 Andreas Schwab <schwab@redhat.com>
30905
30906 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30907 parenthesis.
30908
6257af2d
AS
309092011-12-01 Andreas Schwab <schwab@redhat.com>
30910
30911 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30912 falling back to utime.
30913
b5f44c1a
AS
309142011-11-30 Andreas Schwab <schwab@redhat.com>
30915
30916 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30917 expectations for float.
30918
f3a6cc0a
AS
309192011-11-29 Andreas Schwab <schwab@redhat.com>
30920
30921 * locale/weight.h (findidx): Add parameter len.
30922 * locale/weightwc.h (findidx): Likewise.
30923 * posix/fnmatch_loop.c (FCT): Adjust caller.
30924 * posix/regcomp.c (build_equiv_class): Likewise.
30925 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30926 * posix/regexec.c (check_node_accept_bytes): Likewise.
30927 * string/strcoll_l.c (STRCOLL): Likewise.
30928 * string/strxfrm_l.c (STRXFRM): Likewise.
30929
9d65ea3a
UD
309302011-11-17 Ulrich Drepper <drepper@gmail.com>
30931
30932 * Makefile.in: Remove CVSOPT handling.
30933 * configure.in: Remove use of AC_REVISION.
30934 * iconvdata/Makefile (distribute): No need to filter out CVS.
30935 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30936 handling.
30937
5583a086
AS
309382011-11-16 Andreas Schwab <schwab@redhat.com>
30939
30940 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30941 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30942 [USE_AS_STRNCASECMP_L]: Likewise.
30943 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30944 NO_TLS_DIRECT_SEG_REFS.
30945 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30946 Fix argument offsets for non-PIC.
30947 [USE_AS_STRNCASECMP_L]: Likewise.
30948 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30949 NO_TLS_DIRECT_SEG_REFS.
30950
d62a8200
UD
309512011-11-15 Ulrich Drepper <drepper@gmail.com>
30952
9d65ea3a 30953 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
30954 O_CLOEXEC.
30955 * locale/loadlocale.c (_nl_load_locale): Likewise.
30956
09f93bd3
AS
309572011-11-15 Andreas Schwab <schwab@redhat.com>
30958
446514f9
AS
30959 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30960 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30961 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30962 (SYSCALL_GETTIME): Set errno on error.
30963
09f93bd3
AS
30964 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30965 count references to noai6ai_cached.
30966
312be3f9
UD
309672011-11-15 Ulrich Drepper <drepper@gmail.com>
30968
30969 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30970
30971 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30972 FD_CLOEXEC for /proc/self/maps.
30973
30974 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30975 FD_CLOEXEC for /proc/meminfo.
30976
30977 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30978 gai.conf.
30979
30980 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30981 FD_CLOEXEC for given file.
30982
30983 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30984
30985 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30986 FD_CLOEXEC for /etc/hosts.
30987 (_gethtent): Likewise.
30988
30989 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30990
30991 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30992 cancellation and set FD_CLOEXEC for /etc/netgroup.
30993
30994 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30995 reading /etc/publickey.
30996
30997 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30998 allow cancellation when reading /etc/group.
30999
31000 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31001 cancellation.
31002 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31003
31004 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31005 when using data file.
31006
31007 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31008
31009 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31010 (write_nis_obj): Use "c" and "e" in fopen.
31011
31012 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31013
31014 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31015
31016 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31017
31018 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31019
31020 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31021 locale.alias.
31022
31023 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31024
31025 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31026
31027 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31028
31029 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31030 file parsing and set FD_CLOEXEC.
31031
82af0fa8
UD
310322011-11-14 Ulrich Drepper <drepper@gmail.com>
31033
31034 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31035
a5fb313c
AS
310362011-11-14 Andreas Schwab <schwab@redhat.com>
31037
31038 * malloc/arena.c (arena_get2): Don't call reused_arena when
31039 _int_new_arena failed.
31040
6abf3465
UD
310412011-11-14 Ulrich Drepper <drepper@gmail.com>
31042
31043 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31044 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31045 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31046 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31047 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31048 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31049 to compile strcasecmp and strncasecmp.
31050 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31051 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31052
31053 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31054
76e3966e
UD
310552011-11-13 Ulrich Drepper <drepper@gmail.com>
31056
31057 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31058 locale-defines.sym to gen-as-const-headers.
31059 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31060 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31061 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31062 to compile strcasecmp and strncasecmp.
31063 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31064 strcasecmp_l and strncasecmp_l.
31065 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31066 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31067 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31068 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31069 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31070 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31071 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31072 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31073 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31074 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31075 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31076
ab26144e
UD
310772011-11-12 Ulrich Drepper <drepper@gmail.com>
31078
7edb22ef
UD
31079 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31080 result of SYSDEP_GETTIME_CPU to retval.
31081 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31082 parameter list to macro. Remove trailing semicolon. Adjust users.
31083
9694fc44
UD
31084 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31085 variable.
31086
8ad89ef8
UD
31087 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31088 mantissa words.
31089 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31090
0c822ef9
UD
31091 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31092 from unused variable.
31093
874e0564
UD
31094 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31095 DWARF definitions.
31096 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31097 for assembling.
31098
3a2edc79
UD
31099 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31100 over namespaces.
31101
f3c2577f
UD
31102 * sunrpc/rpc_prot.c (rejected): Fix case value.
31103
294ce126
UD
31104 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31105 unsigned long long int to avoid warnings in shift.
31106
5e2b63c6
UD
31107 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31108 of use of trans.
31109 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31110 variable tmp.
31111
e7f4b08e
UD
31112 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31113 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31114 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31115
ab26144e
UD
31116 * nis/nis_table.c (nis_list): Use variable of correct type for
31117 result of __follow_path call.
31118
8a6d5255
AZ
311192011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31120
31121 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31122 of math functions ceil, trunc, floor, round, and sqrt, when
31123 avaliable on the platform.
31124 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31125 name clash.
31126 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31127 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31128 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31129
aaddc98c
MP
311302011-10-30 Marek Polacek <mpolacek@redhat.com>
31131
31132 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31133 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31134
95b7042b
RM
311352011-11-11 Roland McGrath <roland@hack.frob.com>
31136
31137 * include/unistd.h: Fix __readlink return type.
31138 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31139
57769839
UD
311402011-11-11 Ulrich Drepper <drepper@gmail.com>
31141
31142 * stdlib/ucontext.h: Undo last change for makecontext.
31143
edc5984d
AS
311442011-11-11 Andreas Schwab <schwab@redhat.com>
31145
98591e58
AS
31146 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31147
edc5984d
AS
31148 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31149 * setjmp/setjmp.h: Mark functions as non-leaf.
31150 * setjmp/bits/setjmp2.h: Likewise.
31151 * stdlib/ucontext.h: Likewise.
31152
77cdc054
AS
311532011-11-10 Andreas Schwab <schwab@redhat.com>
31154
31155 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31156 (reused_arena): Don't check arena limit.
31157 (arena_get2): Atomically check arena limit.
31158
fe72eebd
UD
311592011-11-08 Ulrich Drepper <drepper@gmail.com>
31160
5f078c32
UD
31161 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31162 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31163
fe72eebd
UD
31164 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31165 instructions.
31166
ae1bc2fa
AS
311672011-11-07 Andreas Schwab <schwab@redhat.com>
31168
7583a88d
AS
31169 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31170 handler when locking.
31171
ae1bc2fa
AS
31172 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31173 Fix size of allocated buffer.
31174
10fb0bfa
AS
311752011-11-04 Andreas Schwab <schwab@redhat.com>
31176
998832a4
AS
31177 [BZ #10103]
31178 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31179 declarations for long double functions.
31180 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31181
10fb0bfa
AS
31182 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31183
3d7ba52b
AS
311842011-11-03 Andreas Schwab <schwab@redhat.com>
31185
a9ae54a1
AS
31186 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31187 installed.
31188
3d7ba52b
AS
31189 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31190 is disabled.
31191
bc8db248
ST
311922011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31193
31194 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31195
45b96dd6
AS
311962011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31197
647776f6
AS
31198 * include/alloca.h (stackinfo_alloca_round): Define.
31199 (extend_alloca): Use it.
31200 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31201 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31202 here.
31203
d91a8b93
AS
31204 * scripts/check-local-headers.sh: Ignore libaudit.h.
31205
45b96dd6
AS
31206 * nscd/Makefile (extra-objs): Make recursively expanded.
31207
432d41ce
UD
312082011-11-01 Ulrich Drepper <drepper@gmail.com>
31209
34372fc6
UD
31210 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31211 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31212
fadb59f8
UD
31213 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31214 * posix/tst-rfc3484-2.c: Likewise.
31215 * posix/tst-rfc3484-3.c: Likewise.
31216
78239589
UD
31217 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31218 process_vm_writev.
31219 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31220 process_vm_writev.
31221 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31222 process_vm_writev from libc using GLIBC_2.15 version.
31223
432d41ce
UD
31224 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31225
02f9c6cf
PP
312262011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31227
31228 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31229 stack usage.
31230
3a2c0242
UD
312312011-10-31 Ulrich Drepper <drepper@gmail.com>
31232
f4ec4833
UD
31233 [BZ #13367]
31234 * nss/getent.c (initgroups_keys): Show error message in case no group
31235 names are given.
31236
3a2c0242
UD
31237 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31238 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31239 __bump_nl_timestamp.
31240 * nscd/connections (nscd_init): When host database is served open
31241 netlink socket and request notification about configuration changes.
31242 (main_loop_poll): Track netlink file descriptor and bump timestamp
31243 in case data becomes available.
31244 (main_loop_epoll): Likewise.
31245 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31246 (database_pers_head): Add extra_data fileds.
31247 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31248 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31249 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31250 Adjust caller.
31251 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31252 in6ai data, call __free_in6ai.
31253 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31254 Add -DHAVE_NETLINK.
31255 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31256 interface information. Reuse previous data if netlink timestamp
31257 is not changed.
31258 (__bump_nl_timestamp): New function.
31259 (__free_in6ai): New function.
31260
636064eb
UD
312612011-10-30 Ulrich Drepper <drepper@gmail.com>
31262
31263 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31264 close_not_cancel_no_status here.
31265 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31266
9beb2334
UD
312672011-10-29 Ulrich Drepper <drepper@gmail.com>
31268
6ef76f3b
UD
31269 [BZ #13276]
31270 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31271 return value.
31272
0ffc4f3e 31273 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
31274 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31275 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31276
cb95113e
UD
312772011-07-03 Andreas Jaeger <aj@suse.de>
31278
31279 [BZ #10709]
31280 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31281 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31282 * math/libm-test.inc (sin_test): Add test case.
31283
a1b560ff
UD
312842011-10-29 Ulrich Drepper <drepper@gmail.com>
31285
c9aaface
UD
31286 [BZ #13337]
31287 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31288 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31289
d272e7f1
UD
31290 * elf/chroot_canon.c (chroot_canon): Cleanups.
31291
1bc33071
UD
31292 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31293
1760874d
TJ
31294 [BZ #13335]
31295 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31296 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31297
51d91b18
UD
31298 * string/test-strchr.c: Make usable for strchrnul testing.
31299 * string/test-strchrnul.c: New file.
31300 * string/Makefile (strop-tests): Add strchrnul.
31301
a1b560ff 31302 * po/it.po: Update from translation team.
b611fb81 31303 * po/es.po: Likewise.
a1b560ff 31304
a5b81e1f
UD
313052011-10-28 Ulrich Drepper <drepper@gmail.com>
31306
fd52bc6d
UD
31307 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31308 the three constants needed as parameters. Drop the others.
31309 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31310 __m128i_strloadu_tolower.
52e4b9eb
UD
31311 Create and initialize variable zero and use it in all the places
31312 where _mm_setzero_si128 was used.
fd52bc6d 31313
a5b81e1f
UD
31314 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31315 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31316 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31317 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31318 anymore.
31319 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31320 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31321 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31322 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31323 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31324 __mpranred, __mptan.
31325 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31326 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31327 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31328 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31329 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31330 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31331 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31332 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31333 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31334
b4343346
AS
313352011-10-28 Andreas Schwab <schwab@redhat.com>
31336
0c92d8a8
AS
31337 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31338 redefine if SHARED.
31339 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31340
b4343346
AS
31341 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31342 wide char related routines to wcsmbs subdir.
31343
3871f58f
AS
313442011-10-27 Andreas Schwab <schwab@redhat.com>
31345
31346 [BZ #13344]
31347 * misc/sys/cdefs.h (__THROWNL): Define.
31348 * posix/unistd.h: Use __THREADNL instead of __THREAD
31349 for memory synchronization functions.
31350
94d44d9f
RM
313512011-10-26 Roland McGrath <roland@hack.frob.com>
31352
21b64b15 31353 [BZ #13349]
94d44d9f
RM
31354 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31355 doesn't exist.
31356 * manual/stdio.texi (Obstack Streams): Node removed.
31357
f6ce9294
AS
313582011-10-26 Andreas Schwab <schwab@redhat.com>
31359
80479147
AS
31360 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31361 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31362 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31363
f6ce9294
AS
31364 * math/math_private.h (math_force_eval): Allow non-addressable
31365 arguments.
31366 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31367
618280a1
UD
313682011-10-25 Ulrich Drepper <drepper@gmail.com>
31369
e0016b11
UD
31370 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31371 file is not needed.
31372
31373 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31374 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31375 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31376 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31377 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31378 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31379 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31380 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31381 Add AVX variants.
31382 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31383 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31384 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31385 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31386 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31387 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31388 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31389 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31390 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31391 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31392 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31393 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31394 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31395 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31396 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31397 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31398 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31399 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31400 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31401
31402 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31403 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31404
618280a1
UD
31405 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31406 place. Use VEX encoding when compiling for AVX.
31407
37822576
AS
314082011-10-25 Andreas Schwab <schwab@redhat.com>
31409
1f1e1947
AS
31410 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31411 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31412
37822576
AS
31413 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31414
31ea014d
UD
314152011-10-25 Ulrich Drepper <drepper@gmail.com>
31416
d7826aa1 31417 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 31418 useless if() expression.
d7826aa1
UD
31419 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31420 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31421 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31422 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31423 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31424 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31425 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31426 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31427 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31428 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31429 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31430 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31431 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31432 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31433 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31434 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31435 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31436 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31437 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31438
31ea014d
UD
31439 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31440
16437fec
AS
314412011-10-25 Andreas Schwab <schwab@redhat.com>
31442
31443 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31444 condition.
31445 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31446
31d3cc00
UD
314472011-10-25 Ulrich Drepper <drepper@gmail.com>
31448
31449 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31450 .text section. Avoid duplicate constants.
31451 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31452 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31453 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31454 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31455 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31456 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31457 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31458 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31459 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31460 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31461 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31462 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31463 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31464 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31465 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31466 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31467 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31468 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31469 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31470 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31471 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31472 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31473 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31474 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31475 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31476 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31477 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31478 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31479 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31480 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31481 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31482 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31483 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31484 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31485 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31486 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31487 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31488 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31489 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31490 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31491 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31492 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31493 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31494 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31495 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31496
58985aa9
UD
314972011-10-24 Ulrich Drepper <drepper@gmail.com>
31498
202c9deb
UD
31499 * sysdeps/x86_64/dla.h: Move to ...
31500 * sysdeps/x86_64/fpu/dla.h: ...here.
31501 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31502 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 31503
af968f62
UD
31504 * config.make.in: Add have-mfma4 entry.
31505 * configure.in: Substitute libc_cv_cc_fma4.
31506 * math/Makefile (dbl-only-routines): Add sincostab.
31507 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31508 Use __sincostab not sincos.
31509 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31510 name is a macro.
31511 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31512 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31513 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31514 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31515 using __copysign.
31516 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31517 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31518 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31519 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31520 and __inv.
31521 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31522 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31523 __copysign.
31524 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31525 define aliases when function name is a macro.
31526 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31527 sysdeps/ieee754/dbl-64/sincos.tbl.
31528 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31529 fma4-enabled routines.
31530 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31531 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31532 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31533 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31534 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31535 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31536 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31537 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31538 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31539 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31540 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31541 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31542 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31543 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31544 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31545 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31546 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31547 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31548 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31549 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31550 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31551 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31552 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31553 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31554 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31555 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31556 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31557 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31558 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31559 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31560
58985aa9
UD
31561 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31562 rename.
31563 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31564 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31565 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31566 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31567 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31568 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31569 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31570 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31571
a201fbcf
AS
315722011-10-24 Andreas Schwab <schwab@redhat.com>
31573
31574 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31575
fc2ee42a
LD
315762011-10-23 Ulrich Drepper <drepper@gmail.com>
31577
bb3129bd
UD
31578 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31579
0275fff8
UD
31580 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31581 prediction.
31582 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31583
2fa2ae85
UD
31584 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31585 Remove unused variable magic_bits.
31586 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31587
fc2ee42a
LD
31588 * string/strnlen.c: Define and use STRNLEN macro.
31589 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31590 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31591 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31592 * wcsmbs/wcslen.c: Define and use WCSLEN.
31593 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31594 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31595 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31596 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31597 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31598 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31599 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31600
ce7dd29f
LD
316012011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31602
31603 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31604 strnlen-sse2-no-bsf.
31605 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31606 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31607 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31608 Add strnlen support.
31609 (USE_AS_STRNLEN): New macro.
31610 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31611 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31612 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31613 * sysdeps/x86_64/wcslen.S: New file.
31614
979c70a3
MZ
316152011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31616
31617 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31618 XMM-moves are used for copying on small sizes.
31619
2d09f82f
LD
316202011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31621
31622 * wcsmbs/Makefile (strop-tests): Add wcschr.
31623 * wcsmbs/test-wcschr.c: New file.
31624 * string/test-strchr.c: Update.
31625 Add wcschr support.
31626 (WIDE): New macro.
31627
619fccca
LD
316282011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31629
2d09f82f 31630 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
31631 * wcsmbs/test-wcslen.c: New file.
31632 * string/test-strlen.c: Update.
31633 Add wcslen support.
31634 (WIDE): New macro.
31635
09f699ea
UD
316362011-10-23 Ulrich Drepper <drepper@gmail.com>
31637
31638 * po/it.po: Update from translation team.
31639
95584d3b
LD
316402011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31641
31642 * sysdeps/x86_64/wcscmp.S: Update.
31643 Fix wrong comparison semantics.
31644 wcscmp shall use signed comparison not unsigned.
31645 Don't use substraction to avoid overflow bug.
31646 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31647 * wcsmbc/wcscmp.c: Likewise.
31648 * string/test-strcmp.c: Likewise.
31649 Add new tests to check cases with negative values.
31650
c8b3296b
UD
316512011-10-23 Ulrich Drepper <drepper@gmail.com>
31652
31653 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31654 * sysdeps/x86_64/dla.h: ...here. New file.
31655 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31656 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31657 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31658 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31659 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31660 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31661 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31662 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31663 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31664
246ad57a
AS
316652011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31666
31667 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31668 __ynl_finite aliases.
31669
a1a87169
UD
316702011-10-22 Ulrich Drepper <drepper@gmail.com>
31671
0d355eb7
UD
31672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31673
a1a87169
UD
31674 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31675 define DLA_FMA.
31676 [DLA_FMA] (EMULV): Use DLA_FMA.
31677 [DLA_FMA] (MUL12): Use EMULV.
31678 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31679 that are not needed.
31680 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31682 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31683 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31684 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31685 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31686 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31687
ee2aafe0
AS
316882011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31689
31690 * math/s_nan.c: Undef __nan.
31691 * math/s_nanf.c: Undef __nanf.
31692 * math/s_nanl.c: Undef __nanl.
31693 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31694 "math_private.h".
31695
bc62c2fb
UD
316962011-10-22 Ulrich Drepper <drepper@gmail.com>
31697
77425c63
UD
31698 * math/s_catan.c: Add branch predictions.
31699 * math/s_catanf.c: Likewise.
31700 * math/s_catanh.c: Likewise.
31701 * math/s_catanhf.c: Likewise.
31702 * math/s_catanhl.c: Likewise.
31703 * math/s_catanl.c: Likewise.
31704 * math/s_cexp.c: Likewise.
31705 * math/s_cexpf.c: Likewise.
31706 * math/s_cexpl.c: Likewise.
31707 * math/s_clog.c: Likewise.
31708 * math/s_clog10.c: Likewise.
31709 * math/s_clog10f.c: Likewise.
31710 * math/s_clog10l.c: Likewise.
31711 * math/s_clogf.c: Likewise.
31712 * math/s_clogl.c: Likewise.
31713 * math/s_csqrt.c: Likewise.
31714 * math/s_csqrtf.c: Likewise.
31715 * math/s_csqrtl.c: Likewise.
31716 * math/s_ctanf.c: Likewise.
31717 * math/s_ctanh.c: Likewise.
31718 * math/s_ctanhf.c: Likewise.
31719 * math/s_ctanhl.c: Likewise.
31720 * math/s_ctanl.c: Likewise.
31721
bc62c2fb
UD
31722 * math/math_private.h: Define __nan, __nanf, __nanl.
31723 * math/s_cacosh.c: Include <math_private.h>.
31724 * math/s_cacoshl.c: Likewise.
31725 * math/s_casinh.c: Likewise.
31726 * math/s_casinhf.c: Likewise.
31727 * math/s_casinhl.c: Likewise.
31728 * math/s_ccos.c: Rely entire on ccosh.
31729 * math/s_ccosf.c: Rely entire on ccoshf.
31730 * math/s_ccosl.c: Rely entirely on ccoshl.
31731 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31732 Remove tests for FE_INVALID.
31733 * math/s_ccoshf.c: Likewise.
31734 * math/s_ccoshl.c: Likewise.
31735 * math/s_csin.c: Likewise.
31736 * math/s_csinf.c: Likewise.
31737 * math/s_csinh.c Likewise.
31738 * math/s_csinhf.c: Likewise.
31739 * math/s_csinhl.c: Likewise.
31740 * math/s_csinl.c: Likewise.
31741 * math/s_ctan.c: Likewise.
31742 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31743 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31744 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31745
8ec250a4
UD
317462011-10-21 Ulrich Drepper <drepper@gmail.com>
31747
c196fed8
UD
31748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31749 compilation problems.
31750
8ec250a4
UD
31751 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31752 __builtin_expect.
31753
8d4f46c6
UD
317542011-10-20 Ulrich Drepper <drepper@gmail.com>
31755
ed72b654
UD
31756 * sysdeps/i386/configure.in: Test for -mfma4 option.
31757 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31758 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31759 COMMON_CPUID_INDEX_80000001.
31760 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31761 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31762 use it if FMA3 is not supported.
31763 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31764
8d4f46c6
UD
31765 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31766 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31767
d45c60c2
AS
317682011-10-20 Andreas Schwab <schwab@redhat.com>
31769
31770 [BZ #12892]
31771 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31772 it would create a cycle with a link time dependency.
31773
d9a4d2ab
UD
317742011-10-19 Ulrich Drepper <drepper@gmail.com>
31775
855d1560
UD
31776 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31777 instruction.
31778 * string/Makefile (strop-tests): Add rawmemchr.
31779 * string/test-rawmemchr.c: New file.
31780
d9a4d2ab
UD
31781 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31782 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31783 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31784 when compiling str{,n}casecmp and when AVX is available. Hook up
31785 new optimized code in initializers.
31786
8f3b1ffe
AS
317872011-10-19 Andreas Schwab <schwab@redhat.com>
31788
31789 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31790 __feraiseexcept instead of feraiseexcept.
31791
d38f1dba
UD
317922011-10-18 Ulrich Drepper <drepper@gmail.com>
31793
d9a8d0ab
UD
31794 * math/math_private.h: Define defaults for libc_fetestexcept and
31795 libc_feupdateenv.
31796 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31797 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31798 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31799 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31800 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31801 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31802 libc_fetestexcept and libc_feupdateenv.
31803
4855e3dd
UD
31804 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31805 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31806 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31807 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31808 libc_feholdexcept_setround.
31809
581d30e3
UD
31810 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31811 Add s_nearbyint-c and s_nearbyintf-c.
31812 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31813 nearbyintf inlines.
31814 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31815 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31816 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31817 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31818
d38f1dba
UD
31819 * math/math_private.h: Define defaults for libc_fegetround,
31820 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31821 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31822 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31823 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31824 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31825 standard functions.
31826 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31827 Remove comments and hacks for old compiler versions.
31828 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31829 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31830 libc_feholdexceptl.
31831
caa6c9d8
AS
318322011-10-18 Andreas Schwab <schwab@redhat.com>
31833
31834 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
31835 (__feraiseexcept_renamed): Add __NTH.
31836 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
31837 namespace violations.
31838
97c066e6
UD
318392011-10-17 Ulrich Drepper <drepper@gmail.com>
31840
99ce7b04
UD
31841 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31842
1004d182
UD
31843 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31844
228a984d
UD
31845 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31846 recently added interfaces.
31847 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31848
c8553a6a
UD
31849 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31850 about macro parameter expansion.
31851
ed22dcf6
UD
31852 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31853 __NO_MATH_INLINES is defined. Cleanups.
31854
31855 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31856 and __floorf is target has SSE4.1.
31857 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31858 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31859 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31860 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31861
b171c137
UD
31862 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31863 name.
31864 (floorf): Likewise.
31865
97c066e6
UD
31866 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31867
629f62ef
AS
318682011-10-17 Andreas Schwab <schwab@redhat.com>
31869
49a43d80
AS
31870 * misc/sys/cdefs.h: Fix last change.
31871
629f62ef
AS
31872 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31873 database lookup.
31874
e453f6cd
UD
318752011-10-16 Ulrich Drepper <drepper@gmail.com>
31876
aa78043a
UD
31877 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31878
ad0f5cad
UD
31879 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31880 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31881 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31882 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31883 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31884 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31885 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31886 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31887 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31888 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31889 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31890 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31891 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31892 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31893 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31894 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31895 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31896 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31897 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31898 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31899 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31900 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31901
31902 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31903 ceil, ceilf, floor, floorf.
31904
31905 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31906 Perform IRELATIVE relocations last.
31907
e453f6cd
UD
31908 * elf/do-rel.h: Add another parameter nrelative, replacing the
31909 local variable with the same name. Change name of the function
31910 to end in Rel or Rela (uppercase).
31911 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31912 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31913 elf_dynamic_do_##reloc function.
31914
fd5bdc09
UD
319152011-10-15 Ulrich Drepper <drepper@gmail.com>
31916
79b195b5
UD
31917 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31918 is sufficient, at least on modern CPUs.
31919
d4a28569
UD
31920 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31921
b61099b5
UD
31922 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31923 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31924
bcf01e6d
UD
31925 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31926 __expl_finite.
31927 * math/bits/math-finite.h: Add entries for exp.
31928 * math/e_expl.c: Add __*_finite alias.
31929 * sysdeps/i386/fpu/e_exp.S: Likewise.
31930 * sysdeps/i386/fpu/e_expf.S: Likewise.
31931 * sysdeps/i386/fpu/e_expl.c: Likewise.
31932 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31933 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31934 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31935 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31936 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31937 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31938 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31939
ba1a0d59
UD
31940 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31941 is sufficient, at least on modern CPUs.
31942
fd5bdc09
UD
31943 * ctype/ctype-info.c (__ctype_init): Define.
31944 * include/ctype.h (__ctype_init): Declare.
31945 (__ctype_b_loc): The variable is always initialized.
31946 (__ctype_toupper_loc): Likewise.
31947 (__ctype_tolower_loc): Likewise.
31948 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31949 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31950
7872cfb0
AS
319512011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31952
b468825a
AS
31953 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31954
7872cfb0
AS
31955 * configure.in: Also look in $cxxmachine/include for C++ system
31956 headers.
31957
be13f7bf
LD
319582011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31959
31960 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31961 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31962 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31963 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31964 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31965 (USE_AS_WMEMCMP): New macro.
31966 Fixing indents.
31967 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31968 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31969 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31970 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31972 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31973 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31974 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31975 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31976 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31977 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31978 (USE_AS_WMEMCMP): New macro.
31979 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31980 * sysdeps/string/test-memcmp.c: Update.
31981 Fix simple_wmemcmp.
31982 Add new tests.
31983 * wcsmbs/wmemcmp.c: Update.
31984 (WMEMCMP): New macro.
31985 Fix overflow bug.
31986
556a2007
AJ
319872011-10-12 Andreas Jaeger <aj@suse.de>
31988
31989 [BZ #13268]
31990 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31991
538faaa7
UD
319922011-10-15 Ulrich Drepper <drepper@gmail.com>
31993
ab6737ff
UD
31994 * libio/iofwide.c (do_length): Avoid warning.
31995
538faaa7
UD
31996 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31997
396a21b1
UD
319982011-10-14 Ulrich Drepper <drepper@gmail.com>
31999
cdf2901f
UD
32000 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32001
38ad40ce
UD
32002 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32003 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32004 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32005 * sysdeps/i386/i686/fpu/e_log.S: New file.
32006 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32007 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32008
396a21b1
UD
32009 * ctype/ctype.h: Add support for inlined isXXX functions when
32010 compiling C++ code.
32011
6b1f68c9
AS
320122011-10-14 Andreas Schwab <schwab@redhat.com>
32013
349290c0
AS
32014 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32015
6b1f68c9
AS
32016 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32017
f2282d42
RM
320182011-10-13 Roland McGrath <roland@hack.frob.com>
32019
32020 [BZ #13291]
32021 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32022
5298ffa8
AS
320232011-10-13 Andreas Schwab <schwab@redhat.com>
32024
714fad23
AS
32025 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32026 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32027 feraiseexcept.
32028
81dcc7fb
AS
32029 * sysdeps/x86_64/memrchr.S: Check for zero size.
32030
5298ffa8
AS
32031 * string/stratcliff.c: Add memrchr tests.
32032
951fbcec
LD
320332011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32034
32035 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32036 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32037 rawmemchr-sse2 rawmemchr-sse2-bsf.
32038 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32039 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32040 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32041 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32042 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32043 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32044 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32045 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32046 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32047 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32048 * string/memrchr.c (MEMRCHR): New macro.
32049
0ac5ae23
UD
320502011-10-12 Ulrich Drepper <drepper@gmail.com>
32051
32052 Add integration with gcc's -ffinite-math-only and optimize wrapper
32053 functions in libm.
32054 * Versions.def: Define GLIBC_2.15 version for libm.
32055 * math/Makefile (headers): Add bits/math-finite.h.
32056 * math/bits/math-finite.h: New file.
32057 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32058 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32059 * math/e_acoshl.c: Add __*_finite alias.
32060 * math/e_acosl.c: Likewise.
32061 * math/e_asinl.c: Likewise.
32062 * math/e_atan2l.c: Likewise.
32063 * math/e_atanhl.c: Likewise.
32064 * math/e_coshl.c: Likewise.
32065 * math/e_exp10.c: Likewise.
32066 * math/e_exp10f.c: Likewise.
32067 * math/e_exp10l.c: Likewise.
32068 * math/e_exp2l.c: Likewise.
32069 * math/e_fmodl.c: Likewise.
32070 * math/e_gammal_r.c: Likewise.
32071 * math/e_hypotl.c: Likewise.
32072 * math/e_j0l.c: Likewise.
32073 * math/e_j1l.c: Likewise.
32074 * math/e_jnl.c: Likewise.
32075 * math/e_lgammal_r.c: Likewise.
32076 * math/e_log10l.c: Likewise.
32077 * math/e_log2l.c: Likewise.
32078 * math/e_logl.c: Likewise.
32079 * math/e_powl.c: Likewise.
32080 * math/e_sinhl.c: Likewise.
32081 * math/e_sqrtl.c: Likewise.
32082 * math/e_scalb.c: Completely rewritten and optimized.
32083 * math/e_scalbf.c: Likewise.
32084 * math/e_scalbl.c: Likewise.
32085 * math/w_acos.c: Likewise.
32086 * math/w_acosf.c: Likewise.
32087 * math/w_acosl.c: Likewise.
32088 * math/w_acosh.c: Likewise.
32089 * math/w_acoshf.c: Likewise.
32090 * math/w_acoshl.c: Likewise.
32091 * math/w_asin.c: Likewise.
32092 * math/w_asinf.c: Likewise.
32093 * math/w_asinl.c: Likewise.
32094 * math/w_atan2.c: Likewise.
32095 * math/w_atan2f.c: Likewise.
32096 * math/w_atan2l.c: Likewise.
32097 * math/w_atanh.c: Likewise.
32098 * math/w_atanhf.c: Likewise.
32099 * math/w_atanhl.c: Likewise.
32100 * math/w_exp10.c: Likewise.
32101 * math/w_exp10f.c: Likewise.
32102 * math/w_exp10l.c: Likewise.
32103 * math/w_fmod.c: Likewise.
32104 * math/w_fmodf.c: Likewise.
32105 * math/w_fmodl.c: Likewise.
32106 * math/w_j0.c: Likewise.
32107 * math/w_j0f.c: Likewise.
32108 * math/w_j0l.c: Likewise.
32109 * math/w_j1.c: Likewise.
32110 * math/w_j1f.c: Likewise.
32111 * math/w_j1l.c: Likewise.
32112 * math/w_jn.c: Likewise.
32113 * math/w_jnf.c: Likewise.
32114 * math/w_log.c: Likewise.
32115 * math/w_logf.c: Likewise.
32116 * math/w_logl.c: Likewise.
32117 * math/w_log10.c: Likewise.
32118 * math/w_log10f.c: Likewise.
32119 * math/w_log10l.c: Likewise.
32120 * math/w_log2.c: Likewise.
32121 * math/w_log2f.c: Likewise.
32122 * math/w_log2l.c: Likewise.
32123 * math/w_pow.c: Likewise.
32124 * math/w_powf.c: Likewise.
32125 * math/w_powl.c: Likewise.
32126 * math/w_remainder.c: Likewise.
32127 * math/w_remainderf.c: Likewise.
32128 * math/w_remainderl.c: Likewise.
32129 * math/w_scalb.c: Likewise.
32130 * math/w_scalbf.c: Likewise.
32131 * math/w_scalbl.c: Likewise.
32132 * math/w_sqrt.c: Likewise.
32133 * math/w_sqrtf.c: Likewise.
32134 * math/w_sqrtl.c: Likewise.
32135 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32136 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32137 used.
32138 * math/math_private.h: Declare __kernel_standard_f.
32139 * math/w_cosh.c: Remove cruft and optimize a bit.
32140 * math/w_coshf.c: Likewise.
32141 * math/w_coshl.c: Likewise.
32142 * math/w_exp2.c: Likewise.
32143 * math/w_exp2f.c: Likewise.
32144 * math/w_exp2l.c: Likewise.
32145 * math/w_hypot.c: Likewise.
32146 * math/w_hypotf.c: Likewise.
32147 * math/w_hypotl.c: Likewise.
32148 * math/w_lgamma.c: Likewise.
32149 * math/w_lgamma_r.c: Likewise.
32150 * math/w_lgammaf.c: Likewise.
32151 * math/w_lgammaf_r.c: Likewise.
32152 * math/w_lgammal.c: Likewise.
32153 * math/w_lgammal_r.c: Likewise.
32154 * math/w_sinh.c: Likewise.
32155 * math/w_sinhf.c: Likewise.
32156 * math/w_sinhl.c: Likewise.
32157 * math/w_tgamma.c: Likewise.
32158 * math/w_tgammaf.c: Likewise.
32159 * math/w_tgammal.c: Likewise.
32160 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32161 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32162 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32163 Minor optimizations. Pretty printing. Remove cruft.
32164 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32165 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32166 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32167 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32168 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32169 * sysdeps/i386/fpu/e_asin.S: Likewise.
32170 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32171 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32172 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32173 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32174 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32175 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32176 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32177 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32178 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32179 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32180 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32181 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32182 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32183 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32184 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32185 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32186 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32187 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32188 * sysdeps/i386/fpu/e_log.S: Likewise.
32189 * sysdeps/i386/fpu/e_log10.S: Likewise.
32190 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32191 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32192 * sysdeps/i386/fpu/e_log2.S: Likewise.
32193 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32194 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32195 * sysdeps/i386/fpu/e_logf.S: Likewise.
32196 * sysdeps/i386/fpu/e_logl.S: Likewise.
32197 * sysdeps/i386/fpu/e_pow.S: Likewise.
32198 * sysdeps/i386/fpu/e_powf.S: Likewise.
32199 * sysdeps/i386/fpu/e_powl.S: Likewise.
32200 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32201 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32202 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32203 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32204 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32205 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32206 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32207 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32208 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32209 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32210 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32211 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32212 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32213 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32214 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32215 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32216 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32217 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32218 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32219 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32220 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32221 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32222 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32223 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32224 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32225 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32226 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32227 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32228 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32229 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32230 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32231 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32232 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32233 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32234 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32235 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32236 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32237 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32238 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32239 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32240 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32241 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32242 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32243 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32244 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32245 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32246 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32247 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32248 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32249 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32250 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32251 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32252 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32253 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32254 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32255 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32256 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32257 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32258 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32259 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32260 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32261 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32262 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32263 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32264 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32265 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32266 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32267 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32268 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32269 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32270 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32271 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32272 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32273 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32274 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32275 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32276 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32277 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32278 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32279 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32280 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32281 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32282 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32283 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32284 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32285 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32286 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32287 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32288 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32289 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32290 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32291 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32292 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32293 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32294 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32295 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32296 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32297 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32298 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32299 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32300 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32301 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32302 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32303 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32304 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32305 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32306 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32307 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32308 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32309 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32310 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32311 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32312 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32313 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32314 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32315 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32316 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32317 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32318 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32319 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32320 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32321 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32322 (__isnanf): Likewise.
32323 (__isinf_ns): Likewise.
32324 (__isinf_nsf): Likewise.
32325 (__finite): Likewise.
32326 (__finitef): Likewise.
32327 (__ieee754_sqrt): Define as macro.
32328 (__ieee754_sqrtf): Define as macro.
32329 (__ieee754_sqrtl): Define as macro.
32330 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32331 inlined copy.
32332 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32333 __FINITE_MATH_ONLY__ consistent.
32334 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32335
12cc2fcd
AS
323362011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32337
a843a204
AS
32338 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32339 of rawmemchr.
32340
12cc2fcd
AS
32341 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32342
c853acd5
UD
323432011-10-09 Ulrich Drepper <drepper@gmail.com>
32344
32345 * po/ja.po: Update from translation team.
32346
c658d255
RM
323472011-10-08 Roland McGrath <roland@hack.frob.com>
32348
110946e4
RM
32349 * locale/programs/locarchive.c (prepare_address_space): New function.
32350 (create_archive, enlarge_archive, open_archive): Use it.
32351
50604220
RM
32352 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32353 inside [SHARED], where it is used.
32354
c658d255
RM
32355 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32356
32357 * nss/getent.c (netgroup_keys): Remove unused variable.
32358 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32359
6a621eb7
UD
323602011-10-08 Ulrich Drepper <drepper@gmail.com>
32361
7edb55ce
UD
32362 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32363 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32364 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32365 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32366 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32367 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32368 * math/Makefile (libm-calls): Add s_isinf_ns.
32369 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32370 * math/multc3.c: Likewise.
32371 * math/s_casin.c: Likewise.
32372 * math/s_casinf.c: Likewise.
32373 * math/s_casinl.c: Likewise.
32374 * math/s_ccos.c: Likewise.
32375 * math/s_ccosf.c: Likewise.
32376 * math/s_ccosl.c: Likewise.
32377 * math/s_ctan.c: Likewise.
32378 * math/s_ctanf.c: Likewise.
32379 * math/s_ctanh.c: Likewise.
32380 * math/s_ctanhf.c: Likewise.
32381 * math/s_ctanhl.c: Likewise.
32382 * math/s_ctanl.c: Likewise.
32383 * math/w_fmod.c: Likewise.
32384 * math/w_fmodf.c: Likewise.
32385 * math/w_fmodl.c: Likewise.
32386 * math/w_remainder.c: Likewise.
32387 * math/w_remainderf.c: Likewise.
32388 * math/w_remainderl.c: Likewise.
32389 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32390 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32391 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32392 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32393 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32394 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32395 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32396 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32397
187da0ae
UD
32398 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32399 of the number.
32400 * stdio-common/printf_fphex.c: Likewise.
32401 * stdio-common/printf_size.c: Likewise.
32402
9277c064
UD
32403 * math/e_exp10.c: Include math_private.h using <...> not "...".
32404 * math/e_exp10f.c: Likewise.
32405 * math/e_exp10l.c: Likewise.
32406 * math/e_exp2l.c: Likewise.
32407 * math/e_j0l.c: Likewise.
32408 * math/e_j1l.c: Likewise.
32409 * math/e_jnl.c: Likewise.
32410 * math/e_lgammal_r.c: Likewise.
32411 * math/e_rem_pio2l.c: Likewise.
32412 * math/e_scalb.c: Likewise.
32413 * math/e_scalbf.c: Likewise.
32414 * math/e_scalbl.c: Likewise.
32415 * math/k_cosl.c: Likewise.
32416 * math/k_sinl.c: Likewise.
32417 * math/k_tanl.c: Likewise.
32418 * math/s_cacoshf.c: Likewise.
32419 * math/s_catan.c: Likewise.
32420 * math/s_catanf.c: Likewise.
32421 * math/s_catanh.c: Likewise.
32422 * math/s_catanhf.c: Likewise.
32423 * math/s_catanhl.c: Likewise.
32424 * math/s_catanl.c: Likewise.
32425 * math/s_ccosh.c: Likewise.
32426 * math/s_ccoshf.c: Likewise.
32427 * math/s_ccoshl.c: Likewise.
32428 * math/s_cexp.c: Likewise.
32429 * math/s_cexpf.c: Likewise.
32430 * math/s_cexpl.c: Likewise.
32431 * math/s_clog.c: Likewise.
32432 * math/s_clog10.c: Likewise.
32433 * math/s_clog10f.c: Likewise.
32434 * math/s_clog10l.c: Likewise.
32435 * math/s_clogf.c: Likewise.
32436 * math/s_clogl.c: Likewise.
32437 * math/s_csin.c: Likewise.
32438 * math/s_csinf.c: Likewise.
32439 * math/s_csinh.c: Likewise.
32440 * math/s_csinhf.c: Likewise.
32441 * math/s_csinhl.c: Likewise.
32442 * math/s_csinl.c: Likewise.
32443 * math/s_csqrt.c: Likewise.
32444 * math/s_csqrtf.c: Likewise.
32445 * math/s_csqrtl.c: Likewise.
32446 * math/s_ctan.c: Likewise.
32447 * math/s_ctanf.c: Likewise.
32448 * math/s_ctanh.c: Likewise.
32449 * math/s_ctanhf.c: Likewise.
32450 * math/s_ctanhl.c: Likewise.
32451 * math/s_ctanl.c: Likewise.
32452 * math/s_ldexp.c: Likewise.
32453 * math/s_ldexpf.c: Likewise.
32454 * math/s_ldexpl.c: Likewise.
32455 * math/s_significand.c: Likewise.
32456 * math/s_significandf.c: Likewise.
32457 * math/s_significandl.c: Likewise.
32458 * math/w_acos.c: Likewise.
32459 * math/w_acosf.c: Likewise.
32460 * math/w_acosh.c: Likewise.
32461 * math/w_acoshf.c: Likewise.
32462 * math/w_acoshl.c: Likewise.
32463 * math/w_acosl.c: Likewise.
32464 * math/w_asin.c: Likewise.
32465 * math/w_asinf.c: Likewise.
32466 * math/w_asinl.c: Likewise.
32467 * math/w_atan2.c: Likewise.
32468 * math/w_atan2f.c: Likewise.
32469 * math/w_atan2l.c: Likewise.
32470 * math/w_atanh.c: Likewise.
32471 * math/w_atanhf.c: Likewise.
32472 * math/w_atanhl.c: Likewise.
32473 * math/w_cosh.c: Likewise.
32474 * math/w_coshf.c: Likewise.
32475 * math/w_coshl.c: Likewise.
32476 * math/w_dremf.c: Likewise.
32477 * math/w_exp10.c: Likewise.
32478 * math/w_exp10f.c: Likewise.
32479 * math/w_exp10l.c: Likewise.
32480 * math/w_exp2.c: Likewise.
32481 * math/w_exp2f.c: Likewise.
32482 * math/w_fmod.c: Likewise.
32483 * math/w_fmodf.c: Likewise.
32484 * math/w_fmodl.c: Likewise.
32485 * math/w_hypot.c: Likewise.
32486 * math/w_hypotf.c: Likewise.
32487 * math/w_hypotl.c: Likewise.
32488 * math/w_j0.c: Likewise.
32489 * math/w_j0f.c: Likewise.
32490 * math/w_j0l.c: Likewise.
32491 * math/w_j1.c: Likewise.
32492 * math/w_j1f.c: Likewise.
32493 * math/w_j1l.c: Likewise.
32494 * math/w_jn.c: Likewise.
32495 * math/w_jnf.c: Likewise.
32496 * math/w_jnl.c: Likewise.
32497 * math/w_lgamma.c: Likewise.
32498 * math/w_lgamma_r.c: Likewise.
32499 * math/w_lgammaf.c: Likewise.
32500 * math/w_lgammaf_r.c: Likewise.
32501 * math/w_lgammal.c: Likewise.
32502 * math/w_lgammal_r.c: Likewise.
32503 * math/w_log.c: Likewise.
32504 * math/w_log10.c: Likewise.
32505 * math/w_log10f.c: Likewise.
32506 * math/w_log10l.c: Likewise.
32507 * math/w_log2.c: Likewise.
32508 * math/w_log2f.c: Likewise.
32509 * math/w_log2l.c: Likewise.
32510 * math/w_logf.c: Likewise.
32511 * math/w_logl.c: Likewise.
32512 * math/w_pow.c: Likewise.
32513 * math/w_powf.c: Likewise.
32514 * math/w_powl.c: Likewise.
32515 * math/w_remainder.c: Likewise.
32516 * math/w_remainderf.c: Likewise.
32517 * math/w_remainderl.c: Likewise.
32518 * math/w_scalb.c: Likewise.
32519 * math/w_scalbf.c: Likewise.
32520 * math/w_scalbl.c: Likewise.
32521 * math/w_sinh.c: Likewise.
32522 * math/w_sinhf.c: Likewise.
32523 * math/w_sinhl.c: Likewise.
32524 * math/w_sqrt.c: Likewise.
32525 * math/w_sqrtf.c: Likewise.
32526 * math/w_sqrtl.c: Likewise.
32527 * math/w_tgamma.c: Likewise.
32528 * math/w_tgammaf.c: Likewise.
32529 * math/w_tgammal.c: Likewise.
32530
6a621eb7
UD
32531 * po/ja.po: Update from translation team.
32532
bf582445
AJ
325332011-09-29 Andreas Jaeger <aj@suse.de>
32534
f9efbf3a
AJ
32535 [BZ #13179]
32536 * sunrpc/netname.c (netname2host): Fix logic.
32537
bf582445
AJ
32538 [BZ #6779]
32539 [BZ #6783]
32540 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32541 correctly.
32542 * math/w_remainder.c (__remainder): Likewise.
32543 * math/w_remainderf.c (__remainderf): Likewise.
32544 * math/libm-test.inc (remainder_test): Add test cases.
32545
48693bea
AK
325462011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32547
32548 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32549 sdiv_qrnnd.
32550
42622229
LD
325512011-10-07 Ulrich Drepper <drepper@gmail.com>
32552
32553 * string/test-memcmp.c: Avoid unncessary #defines.
32554 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32555
093ecf92
LD
325562011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32557
32558 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32559 Use new sse2 version for core i3 - i7 as it's faster
32560 than sse42 version.
32561 (bit_Prefer_PMINUB_for_stringop): New.
32562 * sysdeps/x86_64/rawmemchr.S: Update.
32563 Replace with faster SSE2 version.
32564 * sysdeps/x86_64/memrchr.S: New file.
32565 * sysdeps/x86_64/memchr.S: Update.
32566 Replace with faster SSE2 version.
32567
fde56e5c
MP
325682011-09-12 Marek Polacek <mpolacek@redhat.com>
32569
32570 * elf/dl-load.c (lose): Add cast to avoid warning.
32571
21fd49a9
UD
325722011-10-07 Ulrich Drepper <drepper@gmail.com>
32573
5a06e643
UD
32574 * po/ca.po: Update from translation team.
32575
684ae515
UD
32576 * inet/getnetgrent_r.c: Hook up nscd.
32577 * nscd/Makefile (routines): Add nscd_netgroup.
32578 (nscd-modules): Add netgroupcache.
32579 (CFLAGS-netgroupcache.c): Define.
32580 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32581 (cache_search): Add const to second parameter.
32582 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32583 INNETGR.
32584 (dbs): Add netgrdb entry.
32585 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32586 (verify_persistent_db): Handle netgrdb.
32587 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32588 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32589 GETFDNETGR.
32590 (netgroup_response_header): Define.
32591 (innetgroup_response_header): Define.
32592 (datahead): Add netgroup_response_header and innetgroup_response_header
32593 elements.
32594 * nscd/nscd.conf: Add entries for netgroup cache.
32595 * nscd/nscd.h (dbtype): Add netgrdb.
32596 (_PATH_NSCD_NETGROUP_DB): Define.
32597 (netgroup_iov_disabled): Declare.
32598 (xmalloc, xcalloc, xrealloc): Move declarations here.
32599 (cache_search): Adjust prototype.
32600 Add netgroup-related prototypes.
32601 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32602 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32603 (__nscd_innetgr): Declare.
32604 * nscd/selinux.c (perms): Use access_vector_t as element type and
32605 add netgroup-related initializers.
32606 * nscd/netgroupcache.c: New file.
32607 * nscd/nscd_netgroup.c: New file.
32608 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32609 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32610 For four parameters use innetgr.
32611 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32612 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32613 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32614 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32615
21fd49a9
UD
32616 * nscd/connections.c (register_traced_file): Don't register file
32617 for disabled databases.
32618
054c0457
UD
326192011-10-06 Ulrich Drepper <drepper@gmail.com>
32620
32b63198
UD
32621 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32622
054c0457
UD
32623 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32624 from tree and freeing node.
32625
64031225
JO
326262011-09-25 Jiri Olsa <jolsa@redhat.com>
32627
32628 * nss/nsswitch.c (__nss_database_lookup): Handle
32629 nss_parse_service_list out of memory case.
32630
0490345c
JO
326312011-09-15 Jiri Olsa <jolsa@redhat.com>
32632
32633 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32634 out of memory case.
32635
3a62d00d
AS
326362011-10-04 Andreas Schwab <schwab@redhat.com>
32637
32638 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32639 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32640 pass it down.
32641 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32642 elf_machine_rela, elf_machine_lazy_rel.
32643 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32644 (ELF_DYNAMIC_DO_REL): Likewise.
32645 (ELF_DYNAMIC_DO_RELA): Likewise.
32646 (ELF_DYNAMIC_RELOCATE): Likewise.
32647 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32648 to ELF_DYNAMIC_DO_REL.
32649 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32650 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32651 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32652 elf_machine_rela.
32653 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32654 skip_ifunc, don't call ifunc function if non-zero.
32655 (elf_machine_rela): Likewise.
32656 (elf_machine_lazy_rel): Likewise.
32657 (elf_machine_lazy_rela): Likewise.
32658 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32659 (elf_machine_lazy_rel): Likewise.
32660 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32661 Likewise.
32662 (elf_machine_lazy_rel): Likewise.
32663 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32664 Likewise.
32665 (elf_machine_lazy_rel): Likewise.
32666 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32667 (elf_machine_lazy_rel): Likewise.
32668 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32669 (elf_machine_lazy_rel): Likewise.
32670 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32671 (elf_machine_lazy_rel): Likewise.
32672 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32673 (elf_machine_lazy_rel): Likewise.
32674 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32675 (elf_machine_lazy_rel): Likewise.
32676 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32677 (elf_machine_lazy_rel): Likewise.
32678
68577918
UD
326792011-09-28 Ulrich Drepper <drepper@gmail.com>
32680
32681 * nss/nss_files/files-init.c (_nss_files_init): Use static
32682 initialization for all the *_traced_file variables.
32683
68822d74
AS
326842011-09-28 Andreas Schwab <schwab@redhat.com>
32685
32686 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32687
2056100b
RM
326882011-09-27 Roland McGrath <roland@hack.frob.com>
32689
32690 [BZ #13226]
32691 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32692
32c76b63
AS
326932011-09-27 Andreas Schwab <schwab@redhat.com>
32694
32695 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32696 Reread the line before reparsing it.
32697
bf972c9d
AS
326982011-09-26 Andreas Schwab <schwab@redhat.com>
32699
32700 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32701
e057a1b5
JM
327022011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32703 Maxim Kuvyrkov <maxim@codesourcery.com>
32704 Joseph Myers <joseph@codesourcery.com>
32705
32706 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32707 if needed for __stack_chk_guard.
32708
bc7e1c36
RM
327092011-09-19 Roland McGrath <roland@hack.frob.com>
32710
ecb1482f
RM
32711 * sysdeps/posix/spawni.c (script_execute): Always define it.
32712 It will be optimized away if unused.
32713 (maybe_script_execute): New function.
32714 (__spawni): Call it.
32715
bc7e1c36
RM
32716 * Makerules: Don't include tls.make.
32717 (config-tls): Always set to thread.
32718 * tls.make.c: File removed.
32719
1c3b002b
MF
327202011-09-19 Mike Frysinger <vapier@gentoo.org>
32721
32722 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32723 * config.make.in (CPPFLAGS-config): New substituted variable.
32724
2840865d
UD
327252011-09-15 Ulrich Drepper <drepper@gmail.com>
32726
88738eb6
UD
32727 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32728
cbf645a6 32729 [BZ #13192]
2840865d
UD
32730 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32731 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32732
b402e91a
RM
327332011-09-15 Roland McGrath <roland@hack.frob.com>
32734
32735 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32736 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32737 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32738 (CALL_FAIL): Likewise.
32739 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32740 (CALL_FAIL): Macro removed.
32741 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32742
4c1a1f71
UD
327432011-09-15 Ulrich Drepper <drepper@gmail.com>
32744
32745 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32746 for __FINITE_MATH_ONLY__ == 1.
32747
edc121be
AS
327482011-09-15 Andreas Schwab <schwab@redhat.com>
32749
32750 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32751 __ieee754_sqrt instead of sqrt.
32752 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32753 __ieee754_sqrtf instead of sqrtf.
32754 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32755 __floorf instead of floorf.
32756 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32757 __floorf, __truncf instead of floorf, truncf.
32758
cd205654
UD
327592011-09-14 Ulrich Drepper <drepper@gmail.com>
32760
ee4d0315
UD
32761 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32762
cd205654
UD
32763 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32764 __extern_always_inline.
32765 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32766 32-bit.
32767
48b67d71
AS
327682011-09-14 Andreas Schwab <schwab@redhat.com>
32769
32770 * elf/rtld.c (dl_main): Also relocate in dependency order when
32771 doing symbol dependency testing.
32772
1ae12c75
AS
327732011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32774
32775 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32776 Always define `refsym'.
32777
995a80df
AS
327782011-09-13 Andreas Schwab <schwab@redhat.com>
32779
e529793b
AS
32780 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32781 (__FD_ELT): Renamed from __FDELT.
32782 * misc/bits/select2.h (__FD_ELT): Likewise.
32783 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32784 __FD_MASK instead of __FDELT, __FDMASK.
32785 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32786 Likewise.
32787 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32788 Likewise.
32789
52d4fef8
AS
32790 * elf/Makefile (gen-ldd): Fix pattern.
32791
995a80df
AS
32792 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32793 (init_tls): Likewise.
32794
8682f8b0
UD
327952011-09-12 Ulrich Drepper <drepper@gmail.com>
32796
32797 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32798
de82006d
AS
327992011-09-12 Andreas Schwab <schwab@redhat.com>
32800
a7c8e6a1
AS
32801 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32802 `struct cmsghdr *' instead of `void *'.
32803 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32804 Likewise.
32805
0f31fe77
AS
328062011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32807
32808 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32809 if non-absolute.
32810 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32811 ldd_rewrite_script.
0f31fe77 32812
32b4c839
UD
328132011-09-11 Ulrich Drepper <drepper@gmail.com>
32814
83cd1420
UD
32815 * configure.in: Remove --with-tls option.
32816 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32817 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32818 out in case it is missing.
32819 * sysdeps/ia64/elf/configure.in: Likewise.
32820 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32821 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32822 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32823 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32824 * sysdeps/sh/elf/configure.in: Likewise.
32825 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32826 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32827 * sysdeps/x86_64/elf/configure.in: Likewise.
32828 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32829 * sysdeps/mach/hurd/tls.h: Likewise.
32830
633f745d
UD
32831 [BZ #13067]
32832 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32833
f318beb8
UD
32834 [BZ #13090]
32835 * configure.in: Fix use of AC_INIT.
32836
32b4c839
UD
32837 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32838
3ce1f295
UD
328392011-09-10 Ulrich Drepper <drepper@gmail.com>
32840
bb016596
UD
32841 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32842 __set_errno.
8e58439c
UD
32843 * malloc/hooks.c: Likewise.
32844
aebae053 32845 [BZ #11929]
02d46fc4
UD
32846 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32847 variables statically.
32848 (narenas): Initialize.
32849 (list_lock): Initialize.
bb016596
UD
32850 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32851 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
32852 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32853 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32854 Add initializers to main_arena and mp_.
32855 (malloc_state): Remove pagesize member. Change all users to use
32856 GLRO(dl_pagesize).
32857
32858 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32859 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32860 is always initialized.
32861
22a89187
UD
32862 * malloc/malloc.c: Removed unused configurations and dead code.
32863 * malloc/arena.c: Likewise.
32864 * malloc/hooks.c: Likewise.
02d46fc4 32865 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 32866
d063d164
UD
32867 * include/tls.h: Removed. USE___THREAD must always be defined.
32868 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32869 * elf/dl-libc.c: Likewise.
32870 * elf/dl-tsd.c: Likewise.
32871 * include/errno.h: Likewise.
32872 * include/netdb.h: Likewise.
32873 * include/resolv.h: Likewise.
32874 * inet/herrno-loc.c: Likewise.
32875 * inet/herrno.c: Likewise.
32876 * malloc/arena.c: Likewise.
32877 * malloc/hooks.c: Likewise.
32878 * malloc/malloc.c: Likewise.
32879 * resolv/res-state.c: Likewise.
32880 * resolv/res_libc.c: Likewise.
32881 * sysdeps/i386/dl-machine.h: Likewise.
32882 * sysdeps/ia64/dl-machine.h: Likewise.
32883 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32884 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32885 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32886 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32887 * sysdeps/sh/dl-machine.h: Likewise.
32888 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32889 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32890 * sysdeps/unix/i386/sysdep.S: Likewise.
32891 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32892 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32893 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32894 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32895 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32896 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32897 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32898 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32899 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32900 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32901 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32902 * sysdeps/x86_64/dl-machine.h: Likewise.
32903 * tls.make.c: Likewise.
32904
3ce1f295
UD
32905 * configure.in: Remove --with-__thread option. Make tests for
32906 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32907 tls_model attribute fail if no support is available. Remove
32908 USE_IN_LIBIO.
32909 * Makeconfig: Adjust for dropped configure option. All features are
32910 now mandatory.
32911 * Makerules: Likewise.
32912 * Versions.def: Likewise.
32913 * argp/argp-fmtstream.c: Likewise.
32914 * argp/argp-fmtstream.h: Likewise.
32915 * argp/argp-help.c: Likewise.
32916 * assert/assert.c: Likewise.
32917 * config.h.in: Likewise.
32918 * config.make.in: Likewise.
32919 * configure: Likewise.
32920 * configure.in: Likewise.
32921 * csu/Versions: Likewise.
32922 * csu/init.c: Likewise.
32923 * elf/tst-audit2.c: Likewise.
32924 * elf/tst-tls10.c: Likewise.
32925 * elf/tst-tls10.h: Likewise.
32926 * elf/tst-tls11.c: Likewise.
32927 * elf/tst-tls12.c: Likewise.
32928 * elf/tst-tls14.c: Likewise.
32929 * elf/tst-tlsmod11.c: Likewise.
32930 * elf/tst-tlsmod12.c: Likewise.
32931 * elf/tst-tlsmod13.c: Likewise.
32932 * elf/tst-tlsmod13a.c: Likewise.
32933 * elf/tst-tlsmod14a.c: Likewise.
32934 * elf/tst-tlsmod15b.c: Likewise.
32935 * elf/tst-tlsmod16a.c: Likewise.
32936 * elf/tst-tlsmod16b.c: Likewise.
32937 * elf/tst-tlsmod7.c: Likewise.
32938 * elf/tst-tlsmod8.c: Likewise.
32939 * elf/tst-tlsmod9.c: Likewise.
32940 * gmon/gmon.c: Likewise.
32941 * grp/fgetgrent_r.c: Likewise.
32942 * grp/putgrent.c: Likewise.
32943 * hurd/fopenport.c: Likewise.
32944 * include/libc-symbols.h: Likewise.
32945 * include/tls.h: Likewise.
32946 * intl/gettextP.h: Likewise.
32947 * intl/loadinfo.h: Likewise.
32948 * locale/global-locale.c: Likewise.
32949 * locale/localeinfo.h: Likewise.
32950 * mach/devstream.c: Likewise.
32951 * malloc/arena.c: Likewise.
32952 * malloc/set-freeres.c: Likewise.
32953 * misc/err.c: Likewise.
32954 * misc/getttyent.c: Likewise.
32955 * misc/mntent_r.c: Likewise.
32956 * posix/getopt.c: Likewise.
32957 * posix/wordexp.c: Likewise.
32958 * pwd/fgetpwent_r.c: Likewise.
32959 * resolv/Versions: Likewise.
32960 * resolv/res_hconf.c: Likewise.
32961 * shadow/fgetspent_r.c: Likewise.
32962 * shadow/putspent.c: Likewise.
32963 * stdio-common/printf_fphex.c: Likewise.
32964 * stdio-common/tmpfile.c: Likewise.
32965 * stdlib/abort.c: Likewise.
32966 * stdlib/fmtmsg.c: Likewise.
32967 * sunrpc/auth_unix.c: Likewise.
32968 * sunrpc/clnt_perr.c: Likewise.
32969 * sunrpc/clnt_tcp.c: Likewise.
32970 * sunrpc/clnt_udp.c: Likewise.
32971 * sunrpc/clnt_unix.c: Likewise.
32972 * sunrpc/openchild.c: Likewise.
32973 * sunrpc/svc_simple.c: Likewise.
32974 * sunrpc/svc_tcp.c: Likewise.
32975 * sunrpc/svc_udp.c: Likewise.
32976 * sunrpc/svc_unix.c: Likewise.
32977 * sunrpc/xdr.c: Likewise.
32978 * sunrpc/xdr_array.c: Likewise.
32979 * sunrpc/xdr_rec.c: Likewise.
32980 * sunrpc/xdr_ref.c: Likewise.
32981 * sunrpc/xdr_stdio.c: Likewise.
32982
1248c1c4
PB
329832011-09-09 Ulrich Drepper <drepper@gmail.com>
32984
32985 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32986
329872011-07-03 Andreas Jaeger <aj@suse.de>
32988
32989 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32990 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32991 regenerate with gen-libm-tests.pl.
32992
329932010-05-12 Petr Baudis <pasky@suse.cz>
32994
32995 [BZ #11589]
32996 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32997 around j0() zero points by switching to j1().
32998 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32999 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33000 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33001 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33002
f22e1074
UD
330032011-09-09 Ulrich Drepper <drepper@gmail.com>
33004
f19009c1
UD
33005 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33006 instead of 0.
33007 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 33008 instead of 0.
f19009c1
UD
33009 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33010 Patch in part by Pavel Roskin <proski@gnu.org>.
33011
3f8cc204
UD
33012 [BZ #13138]
33013 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33014 realloc.
33015 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33016 Free memory block if necessary.
33017
f22e1074
UD
33018 [BZ #12847]
33019 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33020 be NULL. Don't lock in this case.
33021
0a2349f9
RM
330222011-09-09 Roland McGrath <roland@hack.frob.com>
33023
33024 * elf/elf.h (ELFOSABI_GNU): New macro.
33025 (ELFOSABI_LINUX): Define to that.
33026
f3cdd467
DZ
330272011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33028
33029 * string/strncat.c (strncat): Undef the symbol in case it has been
33030 defined in bits/string.h.
33031
74718d13
UD
330322011-09-09 Ulrich Drepper <drepper@gmail.com>
33033
633e9e0f
UD
33034 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33035
0a2349f9 33036 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
33037 link map.
33038
f9924780
AJ
330392011-08-17 Andreas Jaeger <aj@suse.de>
33040
33041 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33042
7f5517aa
PP
330432011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33044 Ian Lance Taylor <iant@google.com>
33045
33046 * math/libm-test.inc (lround_test): New testcase.
33047 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33048
762011fe
UD
330492011-09-08 Ulrich Drepper <drepper@gmail.com>
33050
92963737
UD
33051 * Makefile: Remove support for automatic cvs check-ins.
33052 * Makerules: Likewise.
33053 * config.make.in: Likewise.
33054 * configure.in: Likewise.
33055 * intl/Makefile: Likewise.
33056 * locale/Makefile: Likewise.
33057 * po/Makefile: Likewise.
33058 * posix/Makefile: Likewise.
33059 * sysdeps/gnu/Makefile: Likewise.
33060 * sysdeps/mach/hurd/Makefile: Likewise.
33061 * sysdeps/sparc/sparc32/Makefile: Likewise.
33062
b0727fd8
JS
33063 [BZ #13118]
33064 * posix/Makefile (bug-regex32-ENV): Define.
33065 Patch by John Stanley <jpsinthemix@verizon.net>.
33066
a0f33f99
UD
33067 * misc/Makefile (headers): Add bits/select2.h.
33068 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33069 * misc/bits/select2.h: New file.
33070 * include/bits/select2.h: New file.
33071 * debug/Makefile (routines): Add fdelt_chk.
33072 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33073 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33074 FD_ISSET.
33075 * debug/fdelt_chk.c: New file.
33076
762011fe
UD
33077 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33078 * wcsmbs/test-wmemcmp.c: Likewise.
33079 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 33080 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
33081
330822011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33083
33084 * string/Makefile (strop-tests): Add memcmp.
33085 * string/test-wmemcmp.c: New file.
33086 * string/test-memcmp.c: Add wmemcmp support.
33087
7f513ec8
RM
330882011-09-08 Roland McGrath <roland@hack.frob.com>
33089
0442afb4
RM
33090 [BZ #13153]
33091 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33092 2011-07-19 change.
33093
7f513ec8
RM
33094 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33095 garbage value in a __mach_port_mod_refs call in the cases of the
33096 task-self and thread-self ports.
33097
a12b2239
ST
330982011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33099
33100 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33101
610f9ab4
AS
331022011-09-08 Andreas Schwab <schwab@redhat.com>
33103
7f513ec8 33104 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 33105
48882a1a
LD
331062011-09-07 Ulrich Drepper <drepper@gmail.com>
33107
b49865be
UD
33108 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33109
fdc86bc9
UD
33110 * elf/dl-libc.c (dlerror_run): Pass back error code from
33111 dl_catch_error.
33112
c966526a
UD
33113 [BZ #13123]
33114 * elf/dl-load.c (lose): Free l_origin if it is valid.
33115
48882a1a
LD
33116 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33117 names.
33118 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33119 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33120 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33121 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33122 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33123 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33124
77a2a8b4
AZ
331252011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33126
33127 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33128 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33129 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33130 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33131 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33132 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33133 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33134 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33135 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33136 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33137
24f579d8
AM
331382011-08-15 Alan Modra <amodra@gmail.com>
33139
33140 [BZ #13092]
33141 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33142 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33143 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33144 ppc_mcount to static-only-routines.
33145 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33146 __mcount_internal.
33147 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33148 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33149
3d4837df
UD
331502011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33151
33152 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33153 for finite and infinity parameters.
33154
22700377
WS
331552011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33156
33157 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33158 and add nop instructions for throughput optimization.
33159 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33160
5025581e
WS
331612011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33162
33163 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33164 aligned copy for power7 with vector-scalar instructions.
33165 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33166
08a300c9
L
331672011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33168
33169 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33170 AVX check.
33171
59178ef9
AS
331722011-09-07 Andreas Schwab <schwab@redhat.com>
33173
33174 [BZ #13144]
33175 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33176 last change.
33177
e38ba7ab
UD
331782011-09-07 Ulrich Drepper <drepper@gmail.com>
33179
33180 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33181 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33182 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33183 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33184 clock_gettime.
33185
d53a73ac
UD
331862011-09-06 Ulrich Drepper <drepper@gmail.com>
33187
fc8bffcc
UD
33188 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33189 Forgot to demangle the pointer.
33190
ceaa0c5d
UD
33191 * sysdeps/i386/sysdep.h: Define atom_text_section.
33192 * sysdeps/x86_64/sysdep.h: Likewise.
33193 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33194 section with atom_text_section.
33195 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33196 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33197 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33198 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33199 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33200
a77d3c17
UD
33201 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33202 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33203 already be defined. Change to take two parameters and don't assign
33204 result to variable. Adjust all users.
33205 Define INTERNAL_GETTIME if not already defined.
33206 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33207 call.
33208 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33209 HAVE_CLOCK_GETTIME_VSYSCALL.
33210 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33211
d53a73ac
UD
33212 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33213 gettimeofday vsyscall, just use time.
33214
a8f84144
AS
332152011-09-06 Andreas Schwab <schwab@redhat.com>
33216
33217 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33218 <errno.h>.
33219
ef606249
UD
332202011-09-06 Ulrich Drepper <drepper@gmail.com>
33221
33222 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33223 syscall on x86-64.
33224 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33225 syscall.
33226 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33227 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33228 syscall if possible.
33229
6585cb60
UD
332302011-09-05 Ulrich Drepper <drepper@gmail.com>
33231
33232 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33233 e_ident. Don't pass to find_mapsXX.
33234 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33235
a5f524e4
LD
332362011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33237
33238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33239 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33240 * sysdeps/x86_64/multiarch/strchr.S: Update.
33241 Check bit_slow_BSF bit.
33242 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33243 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33244 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33245
554881ef
UD
332462011-09-05 Ulrich Drepper <drepper@gmail.com>
33247
d96de963
UD
33248 [BZ #13134]
33249 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33250 before glibc 2.15.
33251 (tryshell): Define.
33252 (__spawni): Change last parameter to be flag. Test
33253 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33254 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33255 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33256 * posix/spawni.c: Likewise.
33257 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33258 * posix/spawnp.c: Likewise. Change normal version to use
33259 SPAWN_XFLAGS_USE_PATH.
33260 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33261 SPAWN_XFLAGS_TRY_SHELL.
33262
d48e5868
UD
33263 [BZ #13150]
33264 * posix/glob.h: Remove gcc 1.x support.
33265
554881ef
UD
33266 [BZ #13068]
33267 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33268
693fb948
LD
332692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33270
33271 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33272 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33273 strrchr-sse2-bsf
33274 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33275 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33276 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33277 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33278 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33279 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33280
1b48c537
UD
332812011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33282
49d42c37
UD
33283 * sysdeps/x86_64/wcscmp.S: New file.
33284
1b48c537
UD
33285 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33286 wcscmp-c wcscmp-sse2
33287 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33288 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33289 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33290 * wcsmbs/wcscmp.c: Allow renaming.
33291
15c95c5d
DM
332922011-09-05 David S. Miller <davem@davemloft.net>
33293
33294 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33295 stack slot, rather than the struct return pointer slot.
33296 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33297 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33299 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33300
2f0ad8f3
UD
333012011-09-05 Ulrich Drepper <drepper@gmail.com>
33302
d88ae418
UD
33303 * po/ja.po: Update from translation team.
33304
2f0ad8f3
UD
33305 [BZ #13144]
33306 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33307 kernel in 64-bit binaries.
33308
5f4318d1
DM
333092011-09-01 David S. Miller <davem@davemloft.net>
33310
33311 * elf/elf.h (HWCAP_SPARC_*): Move to..
33312 * sysdeps/sparc/sysdep.h: this new file and add new values.
33313 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33314 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33315 _DL_HWCAP_COUNT to 24.
33316 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33317 entries.
33318 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33319 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33320 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33322 instead of magic constants.
33323 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33324
3ba57516
DM
333252011-08-31 David S. Miller <davem@davemloft.net>
33326
33327 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33329 Reimplement to do errno handling inline.
33330 (SYSCALL_ERROR_HANDLER): New macro.
33331 (__SYSCALL_STRING): Do not do errno handling in asm.
33332 (__CLONE_SYSCALL_STRING): Delete.
33333 (__INTERNAL_SYSCALL_STRING): Delete.
33334 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33335 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33336 (PSEUDO): Reimplement to do errno handling inline.
33337 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33338 (SYSCALL_ERROR_HANDLER): New macro.
33339 (__SYSCALL_STRING): Do not do errno handling in asm.
33340 (__CLONE_SYSCALL_STRING): Delete.
33341 (__INTERNAL_SYSCALL_STRING): Delete.
33342 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33343 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33344 i386.
33345 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33346 (inline_syscall*): Add 'err' argument.
33347 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33348 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33349 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33350 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33351
33352 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33353 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33354
2bc17433
AS
333552011-08-30 Andreas Schwab <schwab@redhat.com>
33356
33357 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33358
fbeb5f4d
JO
333592011-08-29 Jiri Olsa <jolsa@redhat.com>
33360
33361 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33362 directive.
33363
ad69cc26
DM
333642011-08-24 David S. Miller <davem@davemloft.net>
33365
33366 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33367
39dd69df
AS
333682011-08-24 Andreas Schwab <schwab@redhat.com>
33369
33370 * elf/Makefile: Add rules to build and run unload8 test.
33371 * elf/unload8.c: New file.
33372 * elf/unload8mod1.c: New file.
33373 * elf/unload8mod1x.c: New file.
33374 * elf/unload8mod2.c: New file.
33375 * elf/unload8mod3.c: New file.
33376
33377 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33378 it wasn't used.
33379
2c0b250a
DM
333802011-08-23 David S. Miller <davem@davemloft.net>
33381
33382 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33383 subtract stack bias.
33384 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33385 %sp not %fp in calculations.
33386 (_JMPBUF_UNWINDS_ADJ): Likewise.
33387
22044b48
DM
33388 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33389 (aio_suspend): Call it to force an exception region around the
33390 AIO_MISC_WAIT() invocation.
33391
2cae4995
AS
333922011-08-23 Andreas Schwab <schwab@redhat.com>
33393
33394 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33395 backslash.
33396
873a772e
AJ
333972011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33398
33399 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33400 protection macro.
33401 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33402 and <dl-machine.h>.
33403 (Elf64_FuncDesc): Remove.
33404
25ad0df1
DM
334052011-08-22 David S. Miller <davem@davemloft.net>
33406
33407 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33408 sigaltstack check, add missing cfi directives.
33409 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33410 missing cfi directives, and sigaltstack handling.
33411
e888bcbe
AS
334122011-08-16 Andreas Schwab <schwab@redhat.com>
33413
33414 [BZ #11724]
33415 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33416 object is seen twice.
33417 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33418
33419 * elf/Makefile (distribute): Add tst-initorder2.c.
33420 (tests): Add tst-initorder2.
33421 (modules-names): Add tst-initorder2a tst-initorder2b
33422 tst-initorder2c tst-initorder2d. Add rules to build them.
33423 ($(objpfx)tst-initorder2.out): New rule.
33424 * elf/tst-initorder2.c: New file.
33425 * elf/tst-initorder2.exp: New file.
33426
87162f46
AS
334272011-08-22 Andreas Schwab <schwab@redhat.com>
33428
70538b7f
AS
33429 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33430
f55ffe58
AS
33431 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33432 dependencies back to end of function.
33433
87162f46
AS
33434 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33435 $(elfobjdir)/ld.so.
33436
91b392a4
UD
334372011-08-21 Ulrich Drepper <drepper@gmail.com>
33438
33439 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33440 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33441 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33442 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33443 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33444 of __vdso_gettimeofday.
33445 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33446 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33447 attribute_hidden.
33448 (_libc_vdso_platform_setup): Remove initialization of
33449 __vdso_gettimeofday and __vdso_time.
33450
5c43483f
UD
334512011-08-20 Ulrich Drepper <drepper@gmail.com>
33452
775a77e7
UD
33453 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33454 and fgetc_unlocked.
33455 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33456 getc_unlocked.
89f447ed 33457
49c74ba9
UD
33458 * elf/dl-open.c (add_to_global): Report additions to the global scope
33459 for LD_DEBUG=scopes.
33460 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 33461 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 33462
5c43483f
UD
33463 [BZ #13114]
33464 * stdio-common/Makefile (tests): Add bug24.
33465 * stdio-common/bug24.c: New file.
33466
a101b025
AJ
334672011-08-19 Andreas Jaeger <aj@suse.de>
33468
33469 [BZ #13114]
33470 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33471 non-existant file when using close-on-exec mode.
33472
c88f1766
UD
334732011-08-20 Ulrich Drepper <drepper@gmail.com>
33474
0276a718
UD
33475 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33476 the very first instruction.
33477
c88f1766
UD
33478 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33479 the CFI state in the end.
33480 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33481 inclusion of dl-trampoline.h.
33482 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33483
51ccffa0
AS
334842011-08-19 Andreas Schwab <schwab@redhat.com>
33485
94d7165f
AS
33486 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33487 expectations for long double.
33488
51ccffa0
AS
33489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33490 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33491
fd708658 334922011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
33493
33494 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33495 artificual limit depends upon the system page size.
33496
44f0a71e
UD
334972011-08-17 Ulrich Drepper <drepper@gmail.com>
33498
33499 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33500 * resolv/Makefile: Define CFLAGS-libresolv.
33501
8de79a24
AS
335022011-08-17 Andreas Schwab <schwab@redhat.com>
33503
33504 * nss/makedb.c (compute_tables): Make variables used in nested
33505 function static.
33506
27724598
UD
335072011-08-17 Ulrich Drepper <drepper@gmail.com>
33508
c5305d88
UD
33509 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33510 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33511 if buffer was too small.
33512
27724598
UD
33513 * elf/pldd.c (main): Attach to all threads in the process.
33514 Rewrite /proc handling to use *at functions.
33515
076fe015
UD
335162011-08-16 Ulrich Drepper <drepper@gmail.com>
33517
174baab3
UD
33518 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33519 specifies first scope to show.
33520 (dl_open_worker): Update callers. Move printing scope of new
33521 object to before the relocation.
44f0a71e 33522 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
33523 * sysdeps/generic/ldsodefs.h: Update declaration.
33524
076fe015
UD
33525 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33526 string for the scope number.
33527
a60df2c3
UD
335282011-08-14 Ulrich Drepper <drepper@gmail.com>
33529
33530 * nscd/servicescache.c (cache_addserv): Make sure written is always
33531 initialized.
33532
5e4287d1
RM
335332011-08-14 Roland McGrath <roland@hack.frob.com>
33534
85ae0589
RM
33535 * sysdeps/i386/i486/bits/atomic.h
33536 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33537 statement expression, so as to suppress "set but not used" warning.
33538 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33539
69f63097
RM
33540 * string/strncat.c (STRNCAT): Use prototype definition.
33541
675456ef
RM
33542 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33543 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33544 -Iprograms here.
33545 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33546 (localedef-modules): Add localedef.
33547 (locale-modules): Add locale.
33548
5e4287d1
RM
33549 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33550 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33551 to avoid a warning.
33552
9c96ff23
DM
335532011-08-14 David S. Miller <davem@davemloft.net>
33554
33555 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33556 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33557
f9ddf089
UD
335582011-08-13 Ulrich Drepper <drepper@gmail.com>
33559
44f0a71e 33560 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
33561 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33562 * elf/rtld.c (dl_main): Set l_name of vDSO.
33563 Call _dl_show_scope when DL_DEBUG_SCOPES.
33564 (process_dl_debug): Recognize scopes flag and also set it for all.
33565 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33566 Declare _dl_show_scope.
33567
1dc27704
UD
33568 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33569 (do_dlopen): Pass caller_dlopen to dl_open.
33570 (__libc_dlopen_mode): Initialize caller_dlopen.
33571
f9ddf089
UD
33572 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33573 of libc. Make tolower call locale-independent. Optimize a bit by
33574 using isdigit instead of isalnum.
33575 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33576
9ac533d3
UD
335772011-08-12 Ulrich Drepper <drepper@gmail.com>
33578
33579 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33580 was a dependency or dynamically loaded.
33581
89edf2e9
UD
335822011-08-11 Ulrich Drepper <drepper@gmail.com>
33583
8e999d29
UD
33584 * intl/l10nflist.c: Allow architecture-specific pop function.
33585 * sysdeps/x86_64/l10nflist.c: New file.
33586
89edf2e9
UD
33587 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33588 classification.
33589
14d96785
AS
335902011-08-10 Andreas Schwab <schwab@redhat.com>
33591
33592 * include/dirent.h: Add libc_hidden_proto for scandirat and
33593 scandirat64. Don't declare __scandirat64.
33594 * dirent/scandirat.c: Add libc_hidden_def.
33595 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33596 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33597
6761ac04
DM
335982011-08-10 David S. Miller <davem@davemloft.net>
33599
33600 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33601 enum.
33602 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33603 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33604 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33605
c55fbd1e
UD
336062011-08-09 Ulrich Drepper <drepper@gmail.com>
33607
33608 * Versions.def [libc]: Add GLIBC_2.15.
33609 * dirent/Makefile (routines): Add scandirat and scandirat64.
33610 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33611 GLIBC_2.15.
33612 * dirent/dirent.h: Declare scandirat and scandirat64.
33613 * dirent/scandirat.c: New file.
33614 * dirent/scandirat64.c: New file.
33615 * sysdeps/wordsize-64/scandirat.c: New file.
33616 * sysdeps/wordsize-64/scandirat64.c: New file.
33617 * dirent/opendir.c: Define opendirat.
33618 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33619 using scandirat.
33620 * dirent/scandir64.c: Adjust for scandir.c change.
33621 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33622 __scandirat64, and __scandir_cancel_handler.
33623 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33624 additional parameter and use openat instead of open (outside of ld.so).
33625 Add new __opendir as wrapper around __opendirat.
33626 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33627 here without requiring old scandirat implementation.
33628
879165f2
UD
336292011-08-08 Ulrich Drepper <drepper@gmail.com>
33630
33631 * dirent/scandir.c (cancel_handler): Renamed to
33632 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33633 defined. Adjust users.
33634 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33635 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33636
cb7e923b
UD
336372011-08-04 Ulrich Drepper <drepper@gmail.com>
33638
16292edd
UD
33639 * string/test-string.h (IMPL): Use __STRING to expand name and then
33640 stringify it.
33641
cb7e923b
UD
33642 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33643 of cleanups.
33644
cff82933
LD
336452011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33646
33647 * string/Makefile: Update.
33648 (strop-tests): Append strncat.
33649 * string/test-wcscmp.c: New file.
33650 New comprehensive test for wcscmp.
33651 * string/test-strcmp.c: Update.
33652 (WIDE): New define.
33653
9be9bfcc
AS
336542011-07-22 Andreas Schwab <schwab@redhat.com>
33655
33656 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33657 line.
33658
2e96f1c7
AS
336592011-07-26 Andreas Schwab <schwab@redhat.com>
33660
33661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33662 encoding to ACE if AI_IDN.
33663
85188888
JJ
336642011-08-01 Jakub Jelinek <jakub@redhat.com>
33665
33666 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33667 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33668
5fa16e9b
LD
336692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33670
33671 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33672 Fix overflow bug in strncat.
33673 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33674
33675 * string/test-strncat.c: Update.
33676 Add new tests for checking overflow bugs.
33677
336782011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33679
33680 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33681 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33682 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33683 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33684 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33685 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33686 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33687 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33688 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33689
33690 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33691 (USE_AS_STRCAT): Define.
33692 Add strcat and strncat support.
33693 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33694
8c1a459f
AS
336952011-07-25 Andreas Schwab <schwab@redhat.com>
33696
33697 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33698 __n bigger than INT_MAX+1.
33699 (__strncmp_g): Likewise.
33700
bba33c28
UD
337012011-07-23 Ulrich Drepper <drepper@gmail.com>
33702
798be72d
UD
33703 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33704 * libio/stido.h: Likewise.
33705
8accd4dc
UD
33706 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33707 (AF_NFC): Define.
33708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33709 (AF_NFC): Define.
33710
cbff0d96
UD
33711 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33712 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33713 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33714 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33715 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33716
9191c04a
UD
33717 [BZ #13021]
33718 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33719 installed.
33720
bba33c28
UD
33721 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33722 typo.
33723 (_dl_x86_64_save_sse): Likewise.
33724
90f139dd
UD
337252011-07-22 Ulrich Drepper <drepper@gmail.com>
33726
1aae088a
UD
33727 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33728 OSXSAVE.
33729 (_dl_x86_64_save_sse): Likewise.
33730
8e2045f5
UD
33731 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33732
90f139dd
UD
33733 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33734
1d002f25
AS
337352011-07-21 Andreas Schwab <schwab@redhat.com>
33736
33737 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33738 change.
33739 (_dl_x86_64_save_sse): Use correct AVX check.
33740
21137f89
UD
337412011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33742
33743 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33744 bug in strncpy/strncat.
33745 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33746
a65c0b7a
UD
337472011-07-21 Ulrich Drepper <drepper@gmail.com>
33748
33749 * string/tester.c (test_strcat): Add tests for different alignments
33750 of source and destination.
33751 (test_strncat): Likewise.
33752
6986b98a
UD
337532011-07-20 Ulrich Drepper <drepper@gmail.com>
33754
90bb2039
UD
33755 [BZ #12852]
33756 * posix/glob.c (glob): Check passed in values before using them in
33757 expressions to avoid some overflows.
33758 (glob_in_dir): Likewise.
33759
5644ef54
UD
33760 [BZ #13007]
33761 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33762 check for AVX enablement so that we don't crash with old kernels and
33763 new hardware.
33764 * elf/tst-audit4.c: Add same checks here.
33765 * elf/tst-audit6.c: Likewise.
33766
33767 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 33768
bfc9dc9b
AS
337692011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33770
33771 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33772
702e64bb
UD
337732011-07-20 Ulrich Drepper <drepper@gmail.com>
33774
33775 * po/cs.po: Update from translation team.
33776 * po/bg.po: Likewise.
33777
295e904f
MP
337782011-07-12 Marek Polacek <mpolacek@redhat.com>
33779
33780 * misc/sys/cdefs.h: Add support for const attribute.
33781 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33782 to gnu_dev_{major,minor,makedev} functions.
33783
3ff94596
MP
337842011-07-20 Marek Polacek <mpolacek@redhat.com>
33785
33786 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33787
28b59fca
AS
337882011-07-20 Andreas Schwab <schwab@redhat.com>
33789
33790 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33791 strlen results.
33792
19df733e
AK
337932011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33794
33795 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33796 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33797 register in order to avoid conflicts with the soft frame pointer
33798 being held in r11 when necessary.
33799 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33800 (INTERNAL_VSYSCALL_NCS): Likewise.
33801
c8835729
MP
338022011-07-14 Marek Polacek <mpolacek@redhat.com>
33803
33804 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33805 * elf/dl-fini.c (_dl_fini): Adjust caller.
33806 * elf/dl-close.c (_dl_close_worker): Likewise.
33807 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33808
b902330c
MP
338092011-07-15 Marek Polacek <mpolacek@redhat.com>
33810
8991e135
MP
33811 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33812 "aux_cache->nlibs < 0".
33813
b902330c
MP
33814 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33815 in the reload-count case.
33816
99710781
LD
338172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33818
33819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33820 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33821 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33822 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33823 * sysdeps/x86_64/multiarch/strcat.S: New file.
33824 * sysdeps/x86_64/multiarch/strncat.S: New file.
33825 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33826 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33827 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33828 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33829 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33830 (USE_AS_STRCAT): Define.
33831 Add strcat and strncat support.
33832 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33833 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33834 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33835 * string/strncat.c: Update.
33836 (USE_AS_STRNCAT): Define.
33837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33838 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33839 and i7.
33840 * sysdeps/x86_64/multiarch/init-arch.h
33841 (bit_Prefer_PMINUB_for_stringop): New.
33842 (index_Prefer_PMINUB_for_stringop): Likewise.
33843 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33844 bit_Prefer_PMINUB_for_stringop.
33845
7dc6bd90
UD
338462011-07-19 Ulrich Drepper <drepper@gmail.com>
33847
33848 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33849 buffer64.
33850 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33851 of casting of buffer.
33852 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33853 buffer32 and buffer64.
33854 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33855 writes instead of casting of buffer.
33856 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33857 buffer32.
33858 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33859 casting of buffer.
33860
e0e72284
AS
338612011-07-19 Andreas Schwab <schwab@redhat.com>
33862
33863 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33864
feb1eb0b
UD
338652011-07-19 Ulrich Drepper <drepper@gmail.com>
33866
33867 * nscd/nscd.c (termination_handler): Don't do anything for a database
33868 if it has not yet been initialized.
33869
298711ff
UD
338702011-07-18 Ulrich Drepper <drepper@gmail.com>
33871
33872 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33873
338742011-07-15 Marek Polacek <mpolacek@redhat.com>
33875
33876 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33877
f9d68389
UD
338782011-07-18 Ulrich Drepper <drepper@gmail.com>
33879
33880 * po/nl.po: Update from translation team.
33881 * po/sv.po: Likewise.
33882
db290cf5
RM
338832011-07-16 Roland McGrath <roland@hack.frob.com>
33884
33885 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33886 now disallowed by GCC.
5c550700 33887
fd5e21c7
RM
33888 * configure.in (use-default-link): Default to yes if a test -shared
33889 link meets our qualifications.
33890 * configure: Regenerated.
33891
5c550700
RM
33892 * config.make.in (output-format): New variable.
33893 * configure.in: Check for ld --print-output-format support.
33894 * configure: Regenerated.
33895 * Makerules ($(common-objpfx)format.lds)
33896 [$(output-format) != unknown]: Just use $(output-format),
33897 instead of the linker-script munging.
33898
9fa2c032
RM
338992011-07-14 Roland McGrath <roland@hack.frob.com>
33900
a6928d51
RM
33901 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33902 of $(common-objpfx)shlib.lds.
33903 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33904
661607b3
RM
33905 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33906 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33907
9fa2c032
RM
33908 * configure.in (-z relro check): Adjust test code to add a large
33909 writable data section after it.
33910 * configure: Regenerated.
33911
defe9061
RM
339122011-07-11 Roland McGrath <roland@hack.frob.com>
33913
33914 * configure.in (-z relro check): Fix test code to make the variable
33915 truly const.
33916 * configure: Regenerated.
33917
319b9ad4
UD
339182011-07-11 Ulrich Drepper <drepper@gmail.com>
33919
33920 * nscd/nscd.h (struct traced_file): Define.
33921 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33922 elements. Add traced_files.
33923 (inotify_fd): Declare.
33924 (register_traced_file): Declare.
33925 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33926 (inotify_fd): Export.
33927 (resolv_conf_descr): Remove.
33928 (nscd_init): Move inotify descriptor creation to main.
33929 Don't register files for notification here.
33930 (register_traced_file): New function.
33931 (invalidate_cache): Don't use reset_res to determine whether to call
33932 res_init, go through the list of registered files.
33933 (main_loop_poll): The inotify descriptors are now stored in the
33934 structures for the traced files.
33935 (main_loop_epoll): Likewise
33936 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33937 to __nss_disable_nscd.
33938 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33939 for a database anymore. Check the records for all the registered
33940 files instead.
33941 * nss/Makefile (libnss_files-routines): Add files-init.
33942 (libnss_db-routines): Add db-init.
33943 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33944 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33945 * nss/nss_db/db-init.c: New file.
33946 * nss/nss_files/files-init.c: New file.
33947 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33948 __nss_lookup_function.
33949 (__nss_lookup_function): Call nss_load_library.
33950 (nss_load_all_libraries): New function.
33951 (__nss_disable_nscd): Take parameter with callback function for files
33952 to register. Set is_nscd. Load all the DSOs for the NSS modules
33953 used for the cached services.
33954 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33955 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33956 options for features to all the files in nscd.
33957
33958 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33959
23bee3e8
RM
339602011-07-10 Roland McGrath <roland@hack.frob.com>
33961
33962 * csu/elf-init.c (__libc_csu_init): Comment typo.
33963
46a5b7f0
UD
339642011-07-09 Ulrich Drepper <drepper@gmail.com>
33965
33966 * po/pl.po: Update from translation team.
33967 * po/ja.po: Likewise.
33968 * po/ru.po: Likewise.
33969 * po/ko.po: Likewise.
33970 * po/fr.po: Likewise.
33971
d30cf5bb
RM
339722011-07-09 Roland McGrath <roland@hack.frob.com>
33973
113ddea4
RM
33974 * configure.in (.ctors/.dtors header and trailer check):
33975 Use an empirical test on a built program.
33976 * configure: Regenerated.
33977
574920b4
RM
33978 * configure.in (-z relro check): Use an empirical test on a built DSO.
33979 Detect, but do not require, on ia64.
33980 * configure: Regenerated.
33981
d30cf5bb
RM
33982 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33983 Update tests that use readelf to use $READELF instead.
33984 * configure: Regenerated.
33985
8538fdb3
UD
339862011-07-08 Ulrich Drepper <drepper@gmail.com>
33987
33988 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33989 if the result is not used.
33990
04d08991
AJ
339912011-07-05 Andreas Jaeger <aj@suse.de>
33992
33993 [BZ#9696]
33994 * stdlib/tst-strtod.c: Add testcase.
33995
de283087
AD
339962011-07-07 Ulrich Drepper <drepper@gmail.com>
33997
4e5f31c8 33998 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 33999 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
34000 The latter has a higher limit. Take additional parameter to pass to
34001 the new function.
34002 (__pathconf): Pass file to __statfs_link_max.
34003 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34004 __statfs_link_max.
34005 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34006 __statfs_link_max.
34007
de283087
AD
34008 [BZ #12868]
34009 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34010 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34011 Handle Lustre.
34012 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34013 (__statfs_filesize_max): Likewise.
34014 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34015
c75fa153
AJ
340162011-07-05 Andreas Jaeger <aj@suse.de>
34017
34018 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34019
1a544854
UD
340202011-07-06 Marek Polacek <mpolacek@redhat.com>
34021
34022 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34023 `status' variable.
34024 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34025 Likewise.
34026
6f0eec67
UD
340272011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34028
34029 * Makefile (strop-tests): Add strncat.
34030 * string/test-strncat.c: New file.
34031
aae30307
UD
340322011-06-30 Marek Polacek <mpolacek@redhat.com>
34033
34034 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34035
c0cfb5eb
UD
340362011-06-21 Andreas Jaeger <aj@suse.de>
34037
34038 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34039 Copy rule from iconvdata/Makefile.
34040
01636b21
UD
340412011-07-06 Ulrich Drepper <drepper@gmail.com>
34042
34043 [BZ #12922]
34044 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34045 but no long options are defined, just return 'W'.
34046
9895c8bc
UD
340472011-06-22 Marek Polacek <mpolacek@redhat.com>
34048
34049 [BZ #9696]
34050 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34051
5d4cf042
UD
340522011-07-06 Ulrich Drepper <drepper@gmail.com>
34053
34054 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34055 netgroups to read.
960e5535 34056 (innetgr): Likewise.
5d4cf042 34057
751eb97e
RM
340582011-07-05 Roland McGrath <roland@hack.frob.com>
34059
34060 * config.make.in (install_root): Default to $(DESTDIR).
34061
f15f1e45
UD
340622011-07-05 Ulrich Drepper <drepper@gmail.com>
34063
34064 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34065
4e34ac6a
RM
340662011-07-02 Roland McGrath <roland@hack.frob.com>
34067
5e9b6af4
RM
34068 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34069
84f9ea0f
RM
34070 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34071 containing directory rather than embedding absolute directory names.
34072
ea5ee9f7
RM
34073 * scripts/check-local-headers.sh: Rewritten using awk.
34074 Match by word, not by line. Print error messages for matches.
34075 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34076
1b74661a
RM
34077 * Makerules [shlib-lds-flags empty]:
34078 ($(common-objpfx)libc_pic.opts): New target.
34079 ($(common-objpfx)libc_pic.os.clean): New target.
34080 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34081
34082 * config.make.in (OBJCOPY): New variable.
34083 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34084 * configure: Regenerated.
34085
f781ef40
RM
34086 * config.make.in (use-default-link): New variable.
34087 * configure.in (use_default_link): Grok --with-default-link to set it.
34088 * configure: Regenerated.
34089 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34090 (shlib-lds, shlib-lds-flags): Define to empty.
34091
2d4fa81e
RM
34092 * Makerules (shlib-lds): New variable.
34093 (shlib-lds-flags): New variable.
34094 (build-shlib, build-moduile, build-module-asneeded): Use it.
34095 ($(common-objpfx)libc.so): Use $(shlib-lds).
34096 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34097 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34098
31fffa6b
RM
34099 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34100 DT_FLAGS/DT_FLAGS_1 with zero flags.
34101
4e34ac6a
RM
34102 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34103 linker script munging.
34104
fcfc776b
UD
341052011-07-02 Ulrich Drepper <drepper@gmail.com>
34106
34107 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34108 as 128-bit value.
34109 * crypt/sha512.c (sha512_process_block): Perform total addition using
34110 128-bit if possible.
34111 (__sha512_finish_ctx): Likewise.
34112 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34113 as 64-bit value.
34114 * crypt/sha256.c (SWAP64): Define.
34115 (sha256_process_block): Perform total addition using 64-bit if
34116 possible.
34117 (__sha256_finish_ctx): Likewise.
34118
99231d9a
UD
341192011-07-01 Ulrich Drepper <drepper@gmail.com>
34120
34121 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34122 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34123 * nscd/hstcache.c (cache_addhst): Likewise.
34124 * nscd/grpcache.c (cache_addgr): Likewise.
34125 * nscd/aicache.c (addhstaiX): Likewise
34126 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34127
445b4a53
TK
341282011-07-01 Thorsten Kukuk <kukuk@suse.de>
34129
34130 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34131 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34132 * nscd/hstcache.c (cache_addhst): Likewise.
34133 * nscd/grpcache.c (cache_addgr): Likewise.
34134 * nscd/aicache.c (addhstaiX): Likewise
34135
6d4d8e8e
AS
341362011-07-01 Andreas Schwab <schwab@redhat.com>
34137
34138 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34139 domain only when needed.
34140
89f654c5
AS
341412011-06-30 Andreas Schwab <schwab@redhat.com>
34142
34143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34144 is always restored.
34145
cf3b23ff
UD
341462011-06-29 Ulrich Drepper <drepper@gmail.com>
34147
34148 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34149 are re-adding the entry.
34150 * nscd/servicescache.c (cache_addserv): Likewise.
34151
751626f9
AJ
341522011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34153
34154 * sysdeps/generic/dl-irel.h: fix protection against multiple
34155 inclusions.
34156 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34157
9113ea1f
UD
341582011-06-28 Ulrich Drepper <drepper@gmail.com>
34159
5c0b8d90
UD
34160 [BZ #12935]
34161 * malloc/memusage.sh: Fix quoting in message.
34162 * debug/xtrace.sh: Likewise.
34163
9113ea1f
UD
34164 * configure.in: Remove support for --experimental-malloc option, make
34165 it the default.
34166 * config.make.in: Likewise.
34167 * malloc/Makefile: Likewise.
34168
a4172181
AS
341692011-06-27 Andreas Schwab <schwab@redhat.com>
34170
34171 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34172 two-byte characters.
34173
78a7eee7
RM
341742011-06-27 Roland McGrath <roland@hack.frob.com>
34175
62bede13
RM
34176 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34177 AC_CACHE_CHECK invocation.
34178 * configure: Regenerated.
34179
78a7eee7
RM
34180 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34181
5ce33a62
UD
341822011-06-27 Ulrich Drepper <drepper@gmail.com>
34183
034807a9
UD
34184 [BZ #12350]
34185 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34186 bit from old_res_options.
34187
4902da17
UD
34188 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34189
5ce33a62
UD
34190 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34191 value type for setfct.
34192
c2344f56
L
341932011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34194
34195 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34196 __gettimeofday instead of gettimeofday.
34197
68468076
UD
341982011-06-26 Ulrich Drepper <drepper@gmail.com>
34199
34200 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34201
acb0d739
L
342022011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34203
34204 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34205
34206 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34207 info.
34208
8912479f
L
342092011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34210
34211 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34212 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34213 strcpy-sse2-unaligned strncpy-sse2-unaligned
34214 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34215 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34216 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34217 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34218 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34219 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34220 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34221 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34222 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34223 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34224 (STRCPY): Support SSE2 and SSSE3 versions.
34225
d5495a11
UD
342262011-06-24 Ulrich Drepper <drepper@gmail.com>
34227
34228 [BZ #12874]
34229 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34230 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34231 kernels which artificially limit size of requests.
34232
0b1cbaae
L
342332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34234
34235 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34236 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34237 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34238 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34239 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34240 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34241 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34242 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34243 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34244 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34245 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34246 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34247 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34248 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34249 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34251 Enable unaligned load optimization for Intel Core i3, i5 and i7
34252 processors.
34253 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34254 Define.
34255 (index_Fast_Unaligned_Load): Define.
34256 (HAS_FAST_UNALIGNED_LOAD): Define.
34257
07f494a0
MP
342582011-06-23 Marek Polacek <mpolacek@redhat.com>
34259
34260 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34261
fa3fc0fe
UD
342622011-06-22 Ulrich Drepper <drepper@gmail.com>
34263
34264 [BZ #12907]
34265 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34266 until it is clear that the information is realy needed.
34267 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34268
e12df166
AS
342692011-06-22 Andreas Schwab <schwab@redhat.com>
34270
34271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34272
852eb34d
UD
342732011-06-22 Ulrich Drepper <drepper@gmail.com>
34274
84e2a551
UD
34275 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34276 /sys/devices/system/cpu/online if it is usable.
34277
852eb34d
UD
34278 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34279 reading the information from the /proc filesystem to once a second.
34280
6e502e19
UD
342812011-06-21 Andreas Jaeger <aj@suse.de>
34282
34283 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34284 NULL after inclusion of kernel headers.
34285
75d39ff2
UD
342862011-06-21 Ulrich Drepper <drepper@gmail.com>
34287
51f9aa6a
UD
34288 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34289 calls to internal_setent.
34290
c0244a9d
UD
34291 [BZ #12885]
34292 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34293 addresses using gethostbyname4_r ignore IPv4 addresses.
34294
c5e3c2ae
UD
34295 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34296 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34297
75d39ff2
UD
34298 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34299
42675c6f
DM
343002011-06-20 David S. Miller <davem@davemloft.net>
34301
34302 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34303 inclusions.
34304 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34305
34306 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34307 (elf_irel): Use it.
34308 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34309 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34310 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34311 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34312 * sysdeps/x86_64/dl-irel.h: Likewise.
34313
34314 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34315 * elf/dl-sym.c: Likewise.
34316
57912a71
UD
343172011-06-15 Ulrich Drepper <drepper@gmail.com>
34318
34319 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34320 need to dereference resplen2.
34321
ee22793d
AS
343222011-06-14 Andreas Schwab <schwab@redhat.com>
34323
34324 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34325
a9e836b0
UD
343262011-06-15 Ulrich Drepper <drepper@gmail.com>
34327
77fb9117
UD
34328 * Makeconfig: Define vardbdir and inst_vardbdir.
34329 * nss/Makefile: Add rules to install db-Makefile.
34330
40c1b22c
UD
34331 * nss/nss_db/db-XXX.c: Cleanup.
34332
9f2da732
UD
34333 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34334 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34335 GLIBC_PRIVATE.
34336 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34337 * nss/makedb.c: Implement -g option to specify that value strings
34338 are generated and should not be added to table iterated over for
34339 get*ent calls.
34340 * nss/nss_db/db-initgroups.c: New file.
34341
82e9a1f7
UD
34342 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34343 interface.
34344
c41af17e
UD
34345 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34346 (internal_getgrouplist): Adjust to name change.
34347 Update use_initgroups_entry if this is not the first call.
34348 * nss/databases.def: Add initgroups entry.
34349
a9e836b0
UD
34350 * nss/makedb.c (compute_tables): Check result of multiple hash table
34351 sizes to minimize maximum chain length.
34352
2666d441
UD
343532011-06-14 Ulrich Drepper <drepper@gmail.com>
34354
34355 * Versions.def: Add entry for libnss_db.
34356 * shlib-versions: Likewise.
34357 * nss/Makefile: Add rules to build libnss_db.
34358 * nss/Versions: Add libnss_db information. Organize libnss_files
34359 entries better.
34360 * nss/db-Makefile: Add gshadow support. Change rules for the new
34361 makedb progra. Some minor improvements to generate smaller files.
34362 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34363 here from...
34364 * nss/makedb.c: ...here.
34365 Improve database format to be smaller and require less memory at
34366 runtime.
34367 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34368 db anymore.
34369 * nss/nss_db/db-netgrp.c: Likewise.
34370 * nss/nss_db/db-open.c: Likewise.
34371 * nss/nss_files/flies-XXX.x: Adjust comments.
34372 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34373 * nss/nss_files/files-grp.c: Likewise.
34374 * nss/nss_files/files-hosts.c: Likewise.
34375 * nss/nss_files/files-network.c: Likewise.
34376 * nss/nss_files/files-proto.c: Likewise.
34377 * nss/nss_files/files-pwd.c: Likewise.
34378 * nss/nss_files/files-rpc.c: Likewise.
34379 * nss/nss_files/files-service.c: Likewise.
34380 * nss/nss_files/files-sgrp.c: Likewise.
34381 * nss/nss_files/files-spwd.c: Likewise.
34382 * nss/nss_db/db-alias.c: Removed.
34383 * nss/nss_db/dummy-db.h: Removed.
34384
9ee76b5a
UD
343852011-06-02 Ulrich Drepper <drepper@gmail.com>
34386
34387 * nss/makedb.c: Rewritten to not use database library.
34388 * nss/Makefile: Update to build new makedb program.
34389
c71ca1f8
AJ
343902011-06-14 Andreas Jaeger <aj@suse.de>
34391
34392 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34393 memset declaration.
34394
3154bfb8
UD
343952011-06-10 Andreas Schwab <schwab@redhat.com>
34396
34397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34398 tmpbuf.
34399
b350afab
RM
344002011-06-10 Roland McGrath <roland@hack.frob.com>
34401
decd4e50
RM
34402 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34403 * elf/Makefile ($(objpfx)ld.so): Likewise.
34404
5615eaf2
RM
34405 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34406 Don't list ld.so twice in dependencies.
34407
34408 * posix/bug-regex31.c: Include <stdlib.h>.
34409
34410 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34411
34412 * nis/nss_compat/compat-spwd.c
34413 (getspent_next_nss_netgr): Remove unused variable.
34414 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34415
34416 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34417 nonmembers" output to use the right array.
34418
34419 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34420
34421 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34422
34423 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34424 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34425 * catgets/gencat.c (read_input_file): Likewise.
34426 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34427
34428 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34429 variable definition inside #if's controlling its use.
34430
34431 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34432
34433 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34434
34435 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34436
34437 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34438 unreachable code.
34439
34440 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34441
b68e08db
RM
34442 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34443 * configure: Regenerated.
34444
b350afab
RM
34445 * Makerules: Revert last change.
34446 * elf/Makefile: Likewise.
34447
28368601
RM
344482011-06-09 Roland McGrath <roland@hack.frob.com>
34449
34450 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34451 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34452 (reloc-link): Likewise.
34453
11988f8f
UD
344542011-06-09 Ulrich Drepper <drepper@gmail.com>
34455
34456 * elf/Makefile: Add rules to build pldd.
34457 * elf/pldd.c: New file.
34458 * elf/pldd-xx.c: New file.
34459
e80fab37
UD
344602011-06-07 Ulrich Drepper <drepper@gmail.com>
34461
34462 * version.h: Update for 2.15 development version.
34463
9b849836
DM
344642011-06-07 David S. Miller <davem@davemloft.net>
34465
34466 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34467 ifuncs.
34468 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34469 elf_machine_lazy_rel): Likewise.
34470 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34471 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34472 elf_machine_lazy_rel): Likewise.
34473 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34474 dl_hwcap via passed in argument.
34475 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34476 Likewise.
34477
5a31b283
AK
344782011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34479
34480 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34481
069e52f8
RM
344822011-06-06 Roland McGrath <roland@hack.frob.com>
34483
34484 [BZ #12849]
34485 * manual/fdl-1.1.texi: New file, verbatim from:
34486 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34487 * manual/lgpl-2.1.texi: New file, verbatim from:
34488 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34489 * manual/Makefile (licenses): New variable, list those new file names.
34490 (texis): Use it.
34491 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34492
34493 * manual/fdl.texi: File removed.
34494 * manual/lesser.texi: File removed.
34495 * manual/libc.texinfo (Copying, Documentation License):
34496 Use new @include file names, put @appendix directive before @include.
34497
f16846a5
JJ
344982011-06-04 Jakub Jelinek <jakub@redhat.com>
34499
34500 [BZ #12841]
34501 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34502 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34503 (mq_open): Add __NTH.
34504
3d29045b
L
345052011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34506
34507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34508 Assume Intel Core i3/i5/i7 processor if AVX is available.
34509
8c297311
UD
345102011-05-31 Ulrich Drepper <drepper@gmail.com>
34511
34512 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34513 typo.
34514
c8fc0c91
UD
345152011-05-31 Andreas Schwab <schwab@redhat.com>
34516
34517 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34518 memory. Use alloca_account. Fix memory leak when retrying.
34519
5b27a807
UD
345202011-05-31 Ulrich Drepper <drepper@gmail.com>
34521
356f8bc6
UD
34522 * version.h (RELEASE): Bump for 2.14 release.
34523 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34524
5b27a807
UD
34525 * config.make.in (RANLIB): Remove entry.
34526
01f16ab0
UD
345272011-05-30 Ulrich Drepper <drepper@gmail.com>
34528
41fce8bd
UD
34529 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34530 (libc.pot): Work around missing support for .ksh extension in xgettext.
34531
4769ae77
UD
34532 [BZ #12684]
34533 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34534 if both request failed.
34535 (send_dg): In case of server errors clear resplen or *resplen2.
34536
6b1e7d19
UD
34537 [BZ #12454]
34538 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34539 when there are multiple maps.
34540 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34541 (_dl_fini): Remove test here.
34542
01f16ab0
UD
34543 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34544
b1ebd700
UD
345452011-05-29 Ulrich Drepper <drepper@gmail.com>
34546
7ae22829
UD
34547 [BZ #12350]
34548 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34549 bit from old_res_options.
34550 (gaih_inet): Likewise.
34551
553149f6 34552 [BZ #11099]
18a84741 34553 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
34554 as signed.
34555
652ffab1
UD
34556 * resolv/res_init.c (res_setoptions): Make the code more compact.
34557
16985fd0
UD
34558 [BZ #11558]
34559 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34560 set RES_USEVC.
34561
0464f746
UD
34562 [BZ #11634]
34563 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34564
7d17596c
UD
34565 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34566
cf6bbbd7
UD
34567 [BZ #11781]
34568 * malloc/malloc.h: Declare malloc hook variables as volatile.
34569
13f1ab36
UD
34570 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34571 in last patch.
34572
b1ebd700
UD
34573 [BZ #11799]
34574 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 34575 raise in the comment.
80e2212d
UD
34576 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34577 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34578 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 34579
ce67228d
UD
345802011-05-28 Ulrich Drepper <drepper@gmail.com>
34581
8887a920
UD
34582 [BZ #12811]
34583 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34584 grow the buffers more if it already has to be sufficient.
34585 (build_wcs_upper_buffer): Likewise.
34586 * posix/regexec.c (check_matching): Likewise.
34587 (clean_state_log_if_needed): Likewise.
34588 (extend_buffers): Don't enlarge buffers beyond size of the input
34589 buffer.
34590 Patches mostly by Emil Wojak <emil@wojak.eu>.
34591 * posix/bug-regex32.c: New file.
34592 * posix/Makefile (tests): Add bug-regex32.
34593
4f031072
UD
34594 * locale/findlocale.c (_nl_find_locale): Return right away if
34595 _nl_explode_name failed.
34596 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34597
d0478f0c
UD
34598 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34599
de81b246
UD
34600 * debug/xtrace.sh: Unify messages.
34601 * malloc/memusage.sh: Likewise.
34602
c738465a
UD
34603 [BZ #12813]
34604 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34605 time symbol from vDSO. Substitute with vsyscall if not available.
34606 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34607 __vdso_time.
34608
f1f929d7
UD
34609 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34610 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34611 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34612 Add sendmmsg and internal_sendmmsg.
34613 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34614 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34615 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34616
ce67228d
UD
34617 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34618 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34619 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34620
e57420c6
UD
346212011-05-27 Ulrich Drepper <drepper@gmail.com>
34622
a8509ca5
UD
34623 [BZ #12813]
34624 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34625 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34626 available.
34627 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34628 __vdso_getcpu.
34629
e57420c6
UD
34630 [BZ #12814]
34631 * iconvdata/Makefile (tests): Add bug-iconv9.
34632 * iconvdata/bug-iconv9.c: New file.
34633
4d07db15
AS
346342011-05-27 Andreas Schwab <schwab@redhat.com>
34635
34636 [BZ #12814]
34637 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34638
ea486f69
JJ
346392011-05-25 Jakub Jelinek <jakub@redhat.com>
34640
34641 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34642 (struct user_regs_struct): Change intcs field back to cs.
34643
6f038433
UD
346442011-05-25 Ulrich Drepper <drepper@gmail.com>
34645
34646 * po/ja.po: Update from translation team.
34647
67f86a25
UD
346482011-05-23 Ulrich Drepper <drepper@gmail.com>
34649
34650 [BZ #12795]
34651 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34652 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34653
def7fbd6
AS
346542011-05-20 Andreas Schwab <schwab@redhat.com>
34655
34656 * stdlib/longlong.h: Update from GCC.
34657
f50ef8f1
AS
346582011-05-23 Andreas Schwab <schwab@redhat.com>
34659
34660 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34661 parameter name.
34662 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34663 Add parameter name.
34664 (__sysconf): Pass it down.
34665
de7ce8f1
UD
346662011-05-22 Ulrich Drepper <drepper@gmail.com>
34667
f2962a71
UD
34668 [BZ #12671]
34669 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34670 some situations.
34671 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34672 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34673 add in in __libc_use_alloca calls. Adjust callers.
34674 (glob): Use malloc in some situations.
34675
de7ce8f1
UD
34676 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34677 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34678 pltexit.
34679
aec84f53
UD
346802011-05-21 Ulrich Drepper <drepper@gmail.com>
34681
05bb4a68
UD
34682 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34683 and CLOCK_BOOTTIME_ALARM.
34684
7ea72f99
UD
34685 [BZ #12782]
34686 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34687 is returned.
34688
7e4afad5
UD
34689 * string/_strerror.c (__strerror_r): Print negative errors as signed
34690 numbers.
34691
8e211fec
UD
34692 [BZ #12777]
34693 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34694 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34695 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34696
f7d82dc9
UD
34697 * configure.in: Fix typo in redirection and correct removal of test
34698 files in two cases.
34699
cc9e536d
UD
34700 [BZ #12788]
34701 * locale/setlocale.c (new_composite_name): Fix test to check for
34702 identical name of all categories.
34703
aec84f53
UD
34704 [BZ #12792]
34705 * libio/filedoalloc.c (local_isatty): New function.
34706 (_IO_file_doallocate): Use local_isatty.
34707 * stdio-common/perror.c (perror): In case a new stream is used
34708 forward the stream error.
34709 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34710 error flag.
34711
78e64fdc
RT
347122011-05-20 Ulrich Drepper <drepper@gmail.com>
34713
34a9094f
UD
34714 [BZ #11869]
34715 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34716 alloca.
34717 * include/alloca.h (extend_alloca_account): Define.
34718
78e64fdc
RT
34719 [BZ #11857]
34720 * posix/regex.h: Fix comments with documentation of user-accessible
34721 fields after compilation and describe correct free'ing of pattern
34722 after re_compile_pattern.
34723 Patch by Reuben Thomas <rrt@sc3d.org>.
34724
457bddfc
RA
347252011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34726
34727 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34728 and -mno-altivec to prevent the compiler from using Altivec and/or
34729 VSX instructions when the corresponding registers are not available.
34730
a4527b51
AS
347312011-05-19 Andreas Schwab <schwab@redhat.com>
34732
34733 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34734
ed690b2f
UD
347352011-05-19 Ulrich Drepper <drepper@gmail.com>
34736
34737 * libio/freopen.c (freopen): Use __dup2, not dup2.
34738 * libio/freopen64.c (freopen64): Likewise.
34739
8db73634
L
347402011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34741
34742 [BZ #12775]
34743 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34744 * math/Makefile (tests): Add test-powl.
34745 (CFLAGS-test-powl.c): Define.
34746 * math/test-powl.c: New file.
34747
0a197a9d
L
347482011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34749
34750 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34751
ee30c380
UD
347522011-05-17 Ulrich Drepper <drepper@gmail.com>
34753
34754 [BZ #11837]
34755 * iconvdata/gb18030.c: Update to GB18020-2005.
34756
6ce75379
UD
347572011-05-16 Ulrich Drepper <drepper@gmail.com>
34758
a4b89fd8
AR
34759 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34760 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34761 Patch by Aharon Robbins <arnold@skeeve.com>.
34762
ea389b12
UD
34763 [BZ #11892]
34764 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34765 on the stack.
34766
68a3f91f
UD
34767 [BZ #11895]
34768 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34769 through underflows.
34770
15cc7dd1
UD
34771 [BZ #12766]
34772 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34773 point to strings before performing equality test for error_one_per_line
34774 mode.
34775
f3799213
UD
34776 [BZ #11697]
34777 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34778
d79a9c94
UD
34779 [BZ #11820]
34780 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34781 (struct user_fpregs_struct): Avoid __uint*_t types.
34782
56e5eb46
UD
34783 [BZ #6420]
34784 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34785 symbol info. Use it instead of calling _dl_addr locally.
34786 (lock_and_info): New function.
34787 (tr_freehook): Call lock_and_info and pass symbol info as additional
34788 parameter to tr_where.
34789 (tr_mallochook): Likewise.
34790 (tr_reallochook): Likewise.
34791 (tr_memalignhook): Likewise.
34792
6ce75379
UD
34793 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34794 used and couldn't be at all thread-safe.
34795
f8a3b5bf
UD
347962011-05-15 Ulrich Drepper <drepper@gmail.com>
34797
94b7cc37
UD
34798 * libio/freopen.c (freopen): Don't close old file descriptor
34799 before the new one is opened. Instead dup the new file descriptor
34800 to the old one after the new stream is created.
34801 * libio/freopen64.c (freopen64): Likewise.
34802 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34803 * libio/fileops.c (_IO_new_file_close_it): Handle new
34804 _IO_FLAGS2_NOCLOSE flag.
34805 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34806 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34807 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34808 _IO_FLAGS2_NOCLOSE flag.
34809 * include/unistd.h: Add hidden_proto for dup3.
34810 Define __have_dup3.
34811 * io/dup3.c: Define hidden symbol.
34812 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34813
bd25564e
UD
34814 [BZ #7101]
34815 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34816 when an incomplete long option is used.
34817 * posix/tst-getopt_long1.c: New file.
34818 * posix/Makefile (tests): Add tst-getopt_long1.
34819
c84cfef4
UD
34820 [BZ #10138]
34821 * scripts/config.guess: Update from autoconf-2.68.
34822 * scripts/config.sub: Likewise.
34823
3b85df27
UD
34824 [BZ #10157]
34825 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34826 tests into ...
34827 (has_cpuclock): ...this. New function.
34828 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34829 macro here based on has_cpuclock code.
34830
15a856b1
UD
34831 [BZ #10149]
34832 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34833 First byte (not low byte) is now always NUL.
34834 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34835
05f399e6
UD
34836 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34837 Use non-cancelable interfaces.
34838
10a52685 34839 [BZ #9809]
94ecc67d
UD
34840 * locale/iso-639.def: Add entry for Sorani.
34841
f8a3b5bf
UD
34842 [BZ #11901]
34843 * include/stdlib.h: Move include protection to the right place.
34844 Define abort_msg_s. Declare __abort_msg with it.
34845 * stdlib/abort.c (__abort_msg): Adjust type.
34846 * assert/assert.c (__assert_fail_base): New function. Majority
34847 of code from __assert_fail. Allocate memory for __abort_msg with
34848 mmap.
34849 (__assert_fail): Now call __assert_fail_base.
34850 * assert/assert-perr.c: Remove bulk of implementation. Use
34851 __assert_fail_base.
34852 * include/assert.hL Declare __assert_fail_base.
34853 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34854 mmap.
34855 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34856
1af4e298
UD
348572011-05-14 Ulrich Drepper <drepper@gmail.com>
34858
f8a3b5bf 34859 [BZ #11952]
d26dfc60
MG
34860 [BZ #12453]
34861 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34862 until all modules are registered in the DTV.
34863 * elf/Makefile: Add rules to build and run tst-tls19.
34864 * elf/tst-tls19.c: New file.
34865 * elf/tst-tls19mod1.c: New file.
34866 * elf/tst-tls19mod2.c: New file.
34867 * elf/tst-tls19mod3.c: New file.
34868 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34869
2fc54d6f
UD
34870 [BZ #12083]
34871 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34872 correctly.
34873
98d76b46
UD
34874 [BZ #12601]
34875 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34876 two-byte sequence errors.
34877 * iconvdata/Makefile (tests): Add bug-iconv8.
34878 * iconvdata/bug-iconv8.c: New file.
34879
da3c19ef
UD
34880 [BZ #12626]
34881 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34882 buf2 definition.
34883
ca408c15
UD
34884 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34885
d6f67f7d
UD
34886 [BZ #12432]
34887 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34888 (dummy_getcfa): New function.
34889 (init): Get _Unwind_GetCFA address, use dummy if not found.
34890 (backtrace_helper): In recursion check, also check whether CFA changes.
34891 (__backtrace): Completely initialize arg.
34892
1af4e298 34893 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
34894 storing incomplete byte sequence in state object. Avoid testing for
34895 guaranteed too small input if we know there is enough data available.
1af4e298 34896
da62f81b
AS
348972011-05-11 Andreas Schwab <schwab@redhat.com>
34898
34899 * Makeconfig (+link-pie): Indent.
34900 * Rules (binaries-pie): Define if $(have-fpie) and
34901 $(build-shared).
34902 (binaries-shared): Also filter out $(binaries-pie).
34903 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34904 * nscd/Makefile (others-pie): Add nscd.
34905 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34906 ($(objpfx)nscd): Remove command override.
34907 * login/Makefile (others-pie): Add pt_chown.
34908 ($(objpfx)pt_chown): Remove command override.
34909 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34910 remove command overrides.
34911
fcabc0f8
UD
349122011-05-13 Ulrich Drepper <drepper@gmail.com>
34913
20030ae6
UD
34914 * libio/tst_putwc.c: Fix error messages.
34915
fcabc0f8
UD
34916 [BZ #12724]
34917 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34918 currently writing and seek to current position when not.
34919 * libio/Makefile (tests): Add bug-fclose1.
34920 * libio/bug-fclose1.c: New file.
34921
320a5dc0
PB
349222011-05-12 Ulrich Drepper <drepper@gmail.com>
34923
34924 [BZ #12511]
34925 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34926 don't set DF_1_NODELETE here.
34927 (do_lookup_x): When entering new entry test for copy relocation
34928 and if necessary set DF_1_NODELETE flag.
34929 * elf/tst-unique4.cc: New file.
34930 * elf/tst-unique4.h: New file.
34931 * elf/tst-unique4lib.cc: New file.
34932 * elf/Makefile: Add rules to build and run tst-unique4.
34933 Patch by Piotr Bury <pbury@goahead.com>.
34934
22836f52
UD
349352011-05-11 Ulrich Drepper <drepper@gmail.com>
34936
f574184a
UD
34937 [BZ #12052]
34938 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34939
e1fb097f
UD
34940 [BZ #12625]
34941 * misc/mntent_r.c (addmntent): Flush the stream after the output
34942
22836f52
UD
34943 [BZ #12393]
34944 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34945 (is_trusted_path_normalize): Skip initial colon. Append slash
34946 to empty buffer. Duplicate is_trusted_path code but allow
34947 constructed patch to be prefix.
34948 (is_dst): Allow $ORIGIN followed by /.
34949 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34950 Correct testing of result of is_trusted_path_normalize
34951 (decompose_rpath): Fix warning.
34952
7b3b0b2a
UD
349532011-05-10 Ulrich Drepper <drepper@gmail.com>
34954
34955 [BZ #11257]
34956 * grp/initgroups.c (internal_getgrouplist): When we found the service
34957 list through the initgroups entry in nsswitch.conf do not always
34958 continue on a successful lookup. Don't always use the
eac80ce2 34959 __nss_group_database value if it is set.
7b3b0b2a
UD
34960 * nss/nsswitch.conf (initgroups): Change action for successful db
34961 lookup to continue for compatibility.
34962
2a81eaa5
UD
349632011-05-09 Ulrich Drepper <drepper@gmail.com>
34964
be97a69e
UD
34965 [BZ #11532]
34966 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34967 and CP774 modules.
34968 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34969 and CP774 modules.
34970 * iconvdata/tst-tables.sh: Likewise.
34971 * iconvdata/cp770.c: New file.
34972 * iconvdata/cp771.c: New file.
34973 * iconvdata/cp772.c: New file.
34974 * iconvdata/cp773.c: New file.
34975 * iconvdata/cp774.c: New file.
34976 * iconvdata/testdata/CP770: New file.
34977 * iconvdata/testdata/CP770..UTF8: New file.
34978 * iconvdata/testdata/CP771: New file.
34979 * iconvdata/testdata/CP771..UTF8: New file.
34980 * iconvdata/testdata/CP772: New file.
34981 * iconvdata/testdata/CP772..UTF8: New file.
34982 * iconvdata/testdata/CP773: New file.
34983 * iconvdata/testdata/CP773..UTF8: New file.
34984 * iconvdata/testdata/CP774: New file.
34985 * iconvdata/testdata/CP774..UTF8: New file.
34986
34987 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34988 END CHARMAP line.
34989 * iconvdata/gen-8bit-gap.sh: Likewise.
34990 * iconvdata/gen-8bit.sh: Likewise.
34991
c1e9e399
UD
34992 * locale/iso-639.def: Add ary entry.
34993
24c55fb3 34994 [BZ #11258]
96b4b1b0
UD
34995 * locale/C-translit.h.in: Add U20A1 transliteration.
34996
bdc2f971
KB
34997 [BZ #12178]
34998 * locale/iso-639.def: Add wae entry.
34999 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35000
2952b117
UD
35001 [BZ #12545]
35002 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35003 for n.
35004
2a81eaa5
UD
35005 [BZ #12711]
35006 * locale/C-translit.h.in: Add entry for U20B9.
35007 Patch by pravin.d.s@gmail.com.
35008
28377d1b
UD
350092011-05-08 Ulrich Drepper <drepper@gmail.com>
35010
7fb90fb8
UD
35011 [BZ #12713]
35012 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35013 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
35014 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35015 in rtld. Use *stat64.
7fb90fb8 35016 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 35017 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 35018 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
35019 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35020 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35021 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35022 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35023 __fstatat64 macros.
7fb90fb8
UD
35024 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35025 * dirent/rewinddir.c: Add libc_hidden_def.
35026 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 35027 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 35028
28377d1b
UD
35029 * include/dirent.h (__alloc_dir): Add flags parameter.
35030 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35031 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35032 __alloc_dir.
35033 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35034 from fdopendir if O_CLOEXEC is already set.
35035
66bdbaa4
AM
350362011-03-15 Alan Modra <amodra@gmail.com>
35037
35038 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35039 l_tls_firstbyte_offset non-zero. Save padding offset in
35040 l_tls_firstbyte_offset for later use.
35041 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35042 freeing static tls block.
35043
95721191
JN
350442011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35045
35046 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35047 where #ifdef was intended. The intent is to prevent ARG_MAX from
35048 being defined by the kernel headers.
35049
f87dfb1f
UD
350502011-05-07 Ulrich Drepper <drepper@gmail.com>
35051
35052 [BZ #12734]
35053 * resolv/resolv.h: Define RES_NOTLDQUERY.
35054 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35055 no-tld-query and set RES_NOTLDQUERY.
35056 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35057 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35058 modern BIND to search name as TLD unless forbidden.
35059
47c3cd7a
UD
350602011-05-07 Petr Baudis <pasky@suse.cz>
35061 Ulrich Drepper <drepper@gmail.com>
35062
35063 [BZ #12393]
35064 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35065 (is_trusted_path): ...to here.
c1e9ea35 35066 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 35067 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 35068 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 35069
8a35c912
PP
350702011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35071
35072 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35073 __BEGIN/__END_DECLS.
35074
acd41f47
UD
350752011-05-06 Ulrich Drepper <drepper@gmail.com>
35076
35077 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35078 NSS_STATUS_NOTFOUND if no record was found.
35079
597df647
AS
350802011-05-05 Andreas Schwab <schwab@redhat.com>
35081
35082 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35083 (headers-not-in-tirpc): Remove rpc/netdb.h
35084 * resolv/netdb.h: Revert last change.
35085
b9af1301
PP
350862011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35087
35088 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35089 circular dependency between libgcc.a and libc.a.
35090
4e34d5f5
AS
350912011-05-05 Andreas Schwab <schwab@redhat.com>
35092
35093 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35094 * nis/Makefile: Don't install rpcsvc/*.
35095 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35096 instead of <rpc/types.h>.
35097 (MAXHOSTNAMELEN): Define.
35098
00ee369c
AS
350992011-05-03 Andreas Schwab <schwab@redhat.com>
35100
35101 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35102
0b592a30
MB
351032011-04-28 Maciej Babinski <mbabinski@google.com>
35104
35105 [BZ #12714]
35106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35107 gethostbyname4_r when IPv6 results are possible.
35108
6e04cbbe
UD
351092011-05-02 Ulrich Drepper <drepper@gmail.com>
35110
35111 [BZ #12723]
35112 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35113 _PC_PIPE_BUF handling.
35114
e4ecafe0
BH
351152011-04-30 Bruno Haible <bruno@clisp.org>
35116
35117 [BZ #12717]
35118 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35119 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35120 to 'int'.
35121 * inet/getnameinfo.c (getnameinfo): Likewise.
35122
125ee683
UD
351232011-04-29 Ulrich Drepper <drepper@gmail.com>
35124
35125 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35126 to groups setting in database lookup.
35127 * nss/nsswitch.conf: Add initgroups entry.
35128
b722481a
EB
351292011-04-22 Ulrich Drepper <drepper@gmail.com>
35130
35131 [BZ #12685]
35132 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35133 mode string.
35134 Patch by Eric Blake <eblake@redhat.com>.
35135
4df46dbd
L
351362011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35137
35138 * sunrpc/Makefile (need-export-routines): Add svc_run.
35139 (routines): Remove svc_run.
35140 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35141 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35142 * sunrpc/svc_run.c (svc_run): Likewise.
35143 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35144
e84142d2
UD
351452011-04-21 Ulrich Drepper <drepper@gmail.com>
35146
35147 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35148 problem in reallocation in last patch.
35149
877175d8
UD
351502011-04-20 Ulrich Drepper <drepper@gmail.com>
35151
35152 * sunrpc/Makefile: Move inclusion of Rules.
35153
ab8eed78
UD
351542011-04-19 Ulrich Drepper <drepper@gmail.com>
35155
35156 * nss/nss_files/files-initgroups.c: New file.
35157 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35158 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35159 _nss_files_initgroups_dyn.
35160
e3d8f584
RS
351612011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35162
35163 * elf/elf.h (R_ARM_IRELATIVE): Define.
35164
af190f45
UD
351652011-04-19 Ulrich Drepper <drepper@gmail.com>
35166
35167 * po/ru.po: Update from translation team.
35168
53cf59ef
UD
351692011-04-17 Ulrich Drepper <drepper@gmail.com>
35170
35171 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35172 dependencies.
35173
4c559bcd
MF
351742011-02-06 Mike Frysinger <vapier@gentoo.org>
35175
35176 [BZ #12653]
35177 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35178 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35179 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35180 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35181 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35182
4420675c
AS
351832011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35184
35185 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35186 differing bytes.
35187 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35188 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35189 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35190
75ea32ab
UD
351912011-04-17 Ulrich Drepper <drepper@gmail.com>
35192
35193 [BZ #12420]
35194 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35195 storing it.
35196 * stdlib/bug-getcontext.c: New file.
35197 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35198
27390476
AK
351992011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35200
35201 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35202 instructions into .machine "z9-109".
35203 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35204 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35205
10442705
AK
352062011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35207
35208 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35209 between environment variables and auxiliary vector.
35210
7b57bfe5
UD
352112011-04-16 Ulrich Drepper <drepper@gmail.com>
35212
35213 * Makefile: Add rules to build linkobj/libc.so.
35214 * include/libc-symbols.h: Define libc_hidden_nolink.
35215 * include/rpc/auth.h: Mark functions which are to be hidden.
35216 * include/rpc/auth_des.h: Likewise.
35217 * include/rpc/auth_unix.h: Likewise.
35218 * include/rpc/clnt.h: Likewise.
35219 * include/rpc/des_crypt.h: Likewise.
35220 * include/rpc/key_prot.h: Likewise.
35221 * include/rpc/pmap_clnt.h: Likewise.
35222 * include/rpc/pmap_prot.h: Likewise.
35223 * include/rpc/pmap_rmt.h: Likewise.
35224 * include/rpc/rpc_msg.h: Likewise.
35225 * include/rpc/svc.h: Likewise.
35226 * include/rpc/svc_auth.h: Likewise.
35227 * include/rpc/xdr.h: Likewise.
35228 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35229 * nss/Makefile: Likewise.
35230 * sunrpc/Makefile: Don't install headers. Build library with normal
35231 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35232 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35233 for the compat linking library. Remove use of INTDEF/INTUSE.
35234 * sunrpc/auth_none.c: Likewise.
35235 * sunrpc/auth_unix.c: Likewise.
35236 * sunrpc/authdes_prot.c: Likewise.
35237 * sunrpc/authuxprot.c: Likewise.
35238 * sunrpc/clnt_gen.c: Likewise.
35239 * sunrpc/clnt_perr.c: Likewise.
35240 * sunrpc/clnt_raw.c: Likewise.
35241 * sunrpc/clnt_simp.c: Likewise.
35242 * sunrpc/clnt_tcp.c: Likewise.
35243 * sunrpc/clnt_udp.c: Likewise.
35244 * sunrpc/clnt_unix.c: Likewise.
35245 * sunrpc/des_crypt.c: Likewise.
35246 * sunrpc/des_soft.c: Likewise.
35247 * sunrpc/get_myaddr.c: Likewise.
35248 * sunrpc/key_call.c: Likewise.
35249 * sunrpc/key_prot.c: Likewise.
35250 * sunrpc/netname.c: Likewise.
35251 * sunrpc/pm_getmaps.c: Likewise.
35252 * sunrpc/pm_getport.c: Likewise.
35253 * sunrpc/pmap_clnt.c: Likewise.
35254 * sunrpc/pmap_prot.c: Likewise.
35255 * sunrpc/pmap_prot2.c: Likewise.
35256 * sunrpc/pmap_rmt.c: Likewise.
35257 * sunrpc/publickey.c: Likewise.
35258 * sunrpc/rpc_cmsg.c: Likewise.
35259 * sunrpc/rpc_common.c: Likewise.
35260 * sunrpc/rpc_dtable.c: Likewise.
35261 * sunrpc/rpc_prot.c: Likewise.
35262 * sunrpc/rpc_thread.c: Likewise.
35263 * sunrpc/rtime.c: Likewise.
35264 * sunrpc/svc.c: Likewise.
35265 * sunrpc/svc_auth.c: Likewise.
35266 * sunrpc/svc_authux.c: Likewise.
35267 * sunrpc/svc_raw.c: Likewise.
35268 * sunrpc/svc_run.c: Likewise.
35269 * sunrpc/svc_simple.c: Likewise.
35270 * sunrpc/svc_tcp.c: Likewise.
35271 * sunrpc/svc_udp.c: Likewise.
35272 * sunrpc/svc_unix.c: Likewise.
35273 * sunrpc/svcauth_des.c: Likewise.
35274 * sunrpc/xcrypt.c: Likewise.
35275 * sunrpc/xdr.c: Likewise.
35276 * sunrpc/xdr_array.c: Likewise.
35277 * sunrpc/xdr_float.c: Likewise.
35278 * sunrpc/xdr_intXX_t.c: Likewise.
35279 * sunrpc/xdr_mem.c: Likewise.
35280 * sunrpc/xdr_rec.c: Likewise.
35281 * sunrpc/xdr_ref.c: Likewise.
35282 * sunrpc/xdr_sizeof.c: Likewise.
35283 * sunrpc/xdr_stdio.c: Likewise.
35284
e6c61494
UD
352852011-04-10 Ulrich Drepper <drepper@gmail.com>
35286
35287 [BZ #12650]
35288 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35289 * sysdeps/ia64/dl-tls.h: Likewise.
35290 * sysdeps/powerpc/dl-tls.h: Likewise.
35291 * sysdeps/s390/dl-tls.h: Likewise.
35292 * sysdeps/sh/dl-tls.h: Likewise.
35293 * sysdeps/sparc/dl-tls.h: Likewise.
35294 * sysdeps/x86_64/dl-tls.h: Likewise.
35295 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35296
34fe483e
AS
352972011-03-14 Andreas Schwab <schwab@redhat.com>
35298
35299 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35300 rpath element also skip the following colon.
35301 (expand_dynamic_string_token): Add is_path parameter and pass
35302 down to DL_DST_REQUIRED and _dl_dst_substitute.
35303 (decompose_rpath): Call expand_dynamic_string_token with
35304 non-zero is_path. Ignore empty rpaths.
35305 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35306 with zero is_path.
35307
f12a32e6
AS
353082011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35309
35310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35311 Make cancelable.
35312
38a7d692
UD
353132011-04-09 Ulrich Drepper <drepper@gmail.com>
35314
35315 [BZ #12655]
35316 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35317 Patch by Filipe David Manana <fdmanana@apache.org>.
35318
e451d22b
AS
353192011-04-07 Andreas Schwab <schwab@redhat.com>
35320
35321 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35322 Maintain aligned stack.
35323 (CHECK_RSP): Remove unused macro.
35324
dedc7c7b
UD
353252011-04-03 Ulrich Drepper <drepper@gmail.com>
35326
35327 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35328 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35329
94521213
UD
353302011-04-02 Ulrich Drepper <drepper@gmail.com>
35331
35332 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35333
8cb700c0 35334 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 35335
0354e355
L
353362011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35337
35338 [BZ #12518]
35339 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35340 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35341 * sysdeps/x86_64/memmove.c: New file.
35342 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35343 (memcpy): Renamed to ...
35344 (__new_memcpy): This.
35345 (memcpy): Provide GLIBC_2_14 memcpy.
35346 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35347 (memcpy): Provide GLIBC_2_2_5 memcpy.
35348
8593482f
UD
353492011-04-01 Ulrich Drepper <drepper@gmail.com>
35350
35351 [BZ #12631]
35352 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35353
81a5726b
AS
353542011-03-30 Andreas Schwab <schwab@redhat.com>
35355
35356 * misc/syncfs.c: New file.
35357 * misc/Makefile (routines): Add syncfs.
35358 * posix/unistd.h: Declare syncfs.
35359 * sysdeps/unix/syscalls.list: Add syncfs.
35360
00e5419f
AS
353612011-04-01 Andreas Schwab <schwab@redhat.com>
35362
35363 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35364 open_by_handle_at.
35365 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35366 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35367 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35368 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35369 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35370 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35371 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35372
748876bf
UD
353732011-04-01 Ulrich Drepper <drepper@gmail.com>
35374
658e451d
UD
35375 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35376 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35377 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35378 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35379 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35380 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35381 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35382
748876bf
UD
35383 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35384 sync_file_range.c with -fexceptions.
35385 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35386 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35387 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35388 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35389 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35390 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35391 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
35392 sync_file_range as cancellation point
35393 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35394 now a wrapper around __call_sync_file_range with cancellation handling.
35395 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35396 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35397 function name to __call_sync_file_range.
35398 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35399 Add call_sync_file_range.
748876bf 35400
6e63d5e1
AS
354012011-04-01 Andreas Schwab <schwab@redhat.com>
35402
35403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 35404 bits/timex.h.
6e63d5e1 35405
46998f74
UD
354062011-04-01 Ulrich Drepper <drepper@gmail.com>
35407
4c1423ed
UD
35408 * iconv/iconv.h: Fix typo in comment.
35409 * io/fcntl.h: Likewise.
35410 * libio/stdio.h: Likewise.
35411 * posix/spawn.h: Likewise.
35412 * posix/unistd.h: Likewise.
35413 * stdlib/stdlib.h: Likewise.
35414 * time/time.h: Likewise.
35415 * wcsmbs/wchar.h: Likewise.
35416
158648c0
UD
35417 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35418 open_by_handle): Add.
35419 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35420 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35421 Augment a few comments.
35422 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35423 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35424 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35425 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35426 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35427 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35428 open_by_handle.
35429
46998f74
UD
35430 * io/fcntl.h (AT_EMPTY_PATH): Define.
35431
83fe108b
UD
354322011-03-30 Ulrich Drepper <drepper@gmail.com>
35433
35434 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35435 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35436 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35437 to...
35438 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
35439 * Versions.def: Add GLIBC_2.14.
35440 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35441 Export.
83fe108b 35442
bb242059
UD
354432011-03-22 Ulrich Drepper <drepper@gmail.com>
35444
35445 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35446 round counter.
35447 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35448
c97a1282
L
354492011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35450
35451 [BZ #12597]
35452 * string/test-strncmp.c (do_page_test): New function.
35453 (check2): Likewise.
35454 (test_main): Call check2.
35455 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35456
2a115601
UD
354572011-03-20 Ulrich Drepper <drepper@gmail.com>
35458
35459 [BZ #12587]
35460 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35461 Handle cache information in CPU leaf 4.
35462 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35463
8126d904
UD
354642011-03-18 Ulrich Drepper <drepper@gmail.com>
35465
042c49c6 35466 [BZ #12583]
8126d904
UD
35467 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35468 character representation.
35469 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35470
ccfe366e
RA
354712011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35472
35473 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35474 END(__isnan) to END(__isnanf) to match function entry point/label
35475 EALIGN(__isnanf,...).
35476
c6e13027
JJ
354772011-03-10 Jakub Jelinek <jakub@redhat.com>
35478
35479 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35480
33f85a3f
UD
354812011-03-10 Ulrich Drepper <drepper@gmail.com>
35482
028478fa
UD
35483 [BZ #12510]
35484 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35485 copy from the symbol referenced in the relocation to initialize the
35486 used variable.
35487 Patch by Piotr Bury <pbury@goahead.com>.
35488 * elf/Makefile: Add rules to build and tst-unique3.
35489 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35490 * elf/tst-unique3.cc: New file.
35491 * elf/tst-unique3.h: New file.
35492 * elf/tst-unique3lib.cc: New file.
35493 * elf/tst-unique3lib2.cc: New file.
35494
33f85a3f
UD
35495 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35496
03592fc7
MF
354972011-03-10 Mike Frysinger <vapier@gentoo.org>
35498
35499 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35500 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35501 to _start.
03592fc7 35502
6a5ee102
UD
355032011-03-06 Ulrich Drepper <drepper@gmail.com>
35504
35505 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35506 to-be-loaded object along a path to loader is ld.so.
35507
7e4ba49c
HJ
355082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35509 Ulrich Drepper <drepper@gmail.com>
35510
35511 * sysdeps/x86_64/memset.S: After aligning destination, code
35512 branches to different locations depending on the value of
35513 misalignment, when multiarch is enabled. Fix this.
35514
355152011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35516
35517 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35518 Set _x86_64_preferred_memory_instruction for AMD processsors.
35519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35520 Set bit_Prefer_SSE_for_memop for AMD processors.
35521
13a804de
UD
355222011-03-04 Ulrich Drepper <drepper@gmail.com>
35523
35524 * libio/fmemopen.c (fmemopen): Optimize a bit.
35525
9d25c392
AS
355262011-03-03 Andreas Schwab <schwab@redhat.com>
35527
35528 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35529
a5543c6a
RM
355302011-03-03 Roland McGrath <roland@redhat.com>
35531
35532 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35533
012d35f7
DM
355342011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35535
7e4ba49c 35536 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
35537 __bzero_ultra1 instead of __memset_ultra1.
35538
4bff6e01
AS
355392011-02-23 Andreas Schwab <schwab@redhat.com>
35540 Ulrich Drepper <drepper@gmail.com>
35541
35542 [BZ #12509]
35543 * include/link.h (struct link_map): Add l_orig_initfini.
35544 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35545 returning unsuccessfully.
35546 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35547 close of a file loaded at startup, restore the original l_initfini
35548 list.
35549 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35550 list, store the pointer.
35551 * elf/Makefile ($(objpfx)noload-mem): New rule.
35552 (noload-ENV): Define.
35553 (tests): Add $(objpfx)noload-mem.
35554 * elf/noload.c: Include <memcheck.h>.
35555 (main): Call mtrace. Close all opened handles.
35556
f2092faf
AS
355572011-02-17 Andreas Schwab <schwab@redhat.com>
35558
35559 [BZ #12454]
35560 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35561 dependencies are missing.
35562
6c8a2e88
ST
355632011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35564
f2092faf 35565 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
35566 Hurd needs munmap.
35567 * sysdeps/mach/hurd/ifreq.h: New file.
35568
84a42118
PB
355692011-01-27 Petr Baudis <pasky@suse.cz>
35570 Ulrich Drepper <drepper@gmail.com>
35571
071f805e 35572 [BZ 12445]#
84a42118
PB
35573 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35574 to extend_alloca().
35575 * stdio-common/bug23.c: New file.
35576 * stdio-common/Makefile (tests): Add bug23.
35577
e23fe25b
AS
355782010-09-28 Andreas Schwab <schwab@redhat.com>
35579 Ulrich Drepper <drepper@gmail.com>
35580
35581 [BZ #12489]
35582 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35583 before performing relro protection. At old place add assertion
35584 to make sure nothing changed.
35585
d3f02e10
NS
355862011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35587 Glauber de Oliveira Costa <glommer@gmail.com>
35588
35589 * elf/elf.h: Add new ARM TLS relocs.
35590
d55fd7a5
RA
355912011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35592
35593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35594 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35595 cast from r3.
35596 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35597 'tests' variable.
35598 * sysdeps/wordsize-64/tst-writev.c: New file.
35599
2206397e
RA
356002011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35601
35602 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35603 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35604 insns in _dl_start to prevent a TOC reference before relocs are
35605 resolved.
35606
e9433893
UD
356072011-02-15 Ulrich Drepper <drepper@gmail.com>
35608
35609 [BZ #12469]
35610 * Makeconfig: Remove RANLIB definition.
35611 * Makerules: Don't use RANLIB.
35612 * aclocal.m4: Remove ranlib test.
35613 * configure.in: No need to check for ranlib.
35614 * elf/rtld-Rules: Don't use RANLIB.
35615
f75286c6
ST
356162011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35617
8e31c82d
ST
35618 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35619 protection macro.
35620 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35621 inclusion protection macro.
35622
f75286c6
ST
35623 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35624 SIGRTMIN and SIGRTMAX and print information in that case only when
35625 SIGRTMIN is defined.
35626
c1d0e639
JJ
356272011-02-11 Jakub Jelinek <jakub@redhat.com>
35628
35629 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35630 arginfo fn returning -1.
35631
35632 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35633 and thousands string is zero terminated.
35634
edf9294e
AS
356352011-02-03 Andreas Schwab <schwab@redhat.com>
35636
35637 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35638 sysdeps/unix/sysv/linux/bits/socket.h.
35639
2b7e92df
ST
356402011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35641
edf9294e
AS
35642 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35643 (__CPU_COUNT): Remove old macros.
35644 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35645 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35646 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
35647 (__sched_cpualloc, __sched_cpufree): Add declarations.
35648
a4c7ea7b
UD
356492011-02-05 Ulrich Drepper <drepper@gmail.com>
35650
35651 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35652 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35653 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35654 (readdhstai): Return value of addhstaiX call.
35655 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35656 (addgrbyX): Return value returned by cache_addgr.
35657 (readdgrbyname): Return value returned by addgrbyX.
35658 (readdgrbygid): Likewise.
35659 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35660 (addpwbyX): Return value returned by cache_addpw.
35661 (readdpwbyname): Return value returned by addhstbyX.
35662 (readdpwbyuid): Likewise.
35663 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35664 (addservbyX): Return value returned by cache_addserv.
35665 (readdservbyname): Return value returned by addservbyX:
35666 (readdservbyport): Likewise.
35667 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35668 (addhstbyX): Return value returned by cache_addhst.
35669 (readdhstbyname): Return value returned by addhstbyX.
35670 (readdhstbyaddr): Likewise.
35671 (readdhstbynamev6): Likewise.
35672 (readdhstbyaddrv6): Likewise.
35673 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35674 (readdinitgroups): Return value returned by addinitgroupsX.
35675 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35676 (prune_cache): Keep track of timeout value of re-added entries.
35677 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35678 * nscd/nscd.h: Adjust prototypes of readd* functions.
35679
a0bf67cc
RM
356802011-02-04 Roland McGrath <roland@redhat.com>
35681
35682 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35683 (nis_stats): Likewise.
35684 * nis/nis_modify.c (nis_modify): Likewise.
35685 * nis/nis_remove.c (nis_remove): Likewise.
35686 * nis/nis_add.c (nis_add): Likewise.
35687
35688 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35689
35690 * posix/fnmatch_loop.c: Add some consts.
35691
35692 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35693
435b95eb
L
356942011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35695
35696 [BZ #12460]
35697 * config.make.in (config-cflags-novzeroupper): Define.
35698 * configure.in: Substitute libc_cv_cc_novzeroupper.
35699 * elf/Makefile (AVX-CFLAGS): Define.
35700 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35701 (CFLAGS-tst-auditmod4a.c): Likewise.
35702 (CFLAGS-tst-auditmod4b.c): Likewise.
35703 (CFLAGS-tst-auditmod6b.c): Likewise.
35704 (CFLAGS-tst-auditmod6c.c): Likewise.
35705 (CFLAGS-tst-auditmod7b.c): Likewise.
35706 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35707
8517b15e
UD
357082011-02-02 Ulrich Drepper <drepper@gmail.com>
35709
35710 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35711 function to the callback.
35712 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35713
10a656fe
AS
357142011-02-02 Andreas Schwab <schwab@redhat.com>
35715
35716 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35717 of errno.
35718
968dad0a
UD
357192011-01-19 Ulrich Drepper <drepper@gmail.com>
35720
9f94d2ea 35721 [BZ #11724]
968dad0a
UD
35722 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35723 of constructors.
35724 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35725 of destructors.
35726 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35727
35728 [BZ #11724]
35729 * elf/Makefile: Add rules to build and run new test.
35730 * elf/tst-initorder.c: New file.
35731 * elf/tst-initorder.exp: New file.
35732 * elf/tst-initordera1.c: New file.
35733 * elf/tst-initordera2.c: New file.
35734 * elf/tst-initordera3.c: New file.
35735 * elf/tst-initordera4.c: New file.
35736 * elf/tst-initorderb1.c: New file.
35737 * elf/tst-initorderb2.c: New file.
35738 * elf/tst-order-a1.c: New file.
35739 * elf/tst-order-a2.c: New file.
35740 * elf/tst-order-a3.c: New file.
35741 * elf/tst-order-a4.c: New file.
35742 * elf/tst-order-b1.c: New file.
35743 * elf/tst-order-b2.c: New file.
35744 * elf/tst-order-main.c: New file.
35745 New test case by George Gensure <werkt0@gmail.com>.
35746
86e92359
UD
357472010-10-01 Andreas Schwab <schwab@redhat.com>
35748
35749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35750 decoding ACE if AI_CANONIDN.
35751
5d5732b0
UD
357522011-01-18 Ulrich Drepper <drepper@gmail.com>
35753
35754 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35755
a77e8cbc
UD
357562011-01-17 Ulrich Drepper <drepper@gmail.com>
35757
6392473f
UD
35758 * version.h (RELEASE): Bump for 2.13 release.
35759 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35760
620a0529
UD
35761 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35762
18ba70a5
UD
35763 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35764 MADV_NOHUGEPAGE.
32465c3e
UD
35765 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35766 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35767 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35768 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35769 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35770 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35771
c0dafcf1
UD
35772 * posix/getconf.c: Update copyright year.
35773 * catgets/gencat.c: Likewise.
35774 * csu/version.c: Likewise.
35775 * debug/catchsegv.sh: Likewise.
35776 * debug/xtrace.sh: Likewise.
35777 * elf/ldconfig.c: Likewise.
35778 * elf/ldd.bash.in: Likewise.
35779 * elf/sprof.c (print_version): Likewise.
35780 * iconv/iconv_prog.c: Likewise.
35781 * iconv/iconvconfig.c: Likewise.
35782 * locale/programs/locale.c: Likewise.
35783 * locale/programs/localedef.c: Likewise.
35784 * malloc/memusage.sh: Likewise.
35785 * malloc/mtrace.pl: Likewise.
35786 * nscd/nscd.c (print_version): Likewise.
35787 * nss/getent.c: Likewise.
35788
a77e8cbc
UD
35789 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35790 PF_CAIF, and PF_ALG.
35791 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35792
77e8bddf
AS
357932011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35794
1f20b93a
AS
35795 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35796 (modules-names): Use them.
35797 (ifunc-test-modules, ifunc-pie-tests): Define.
35798 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35799 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35800 (test-extras): Likewise.
35801 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35802 $(compile-command.c).
35803 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35804 (all-built-dso): Define.
35805 (check-textrel.out, check-execstack.out): Depend on it.
35806
77e8bddf
AS
35807 * configure.in: Don't override --enable-multi-arch.
35808
bc425b33
UD
358092011-01-15 Ulrich Drepper <drepper@gmail.com>
35810
35811 [BZ #6812]
35812 * nscd/hstcache.c (tryagain): Define.
35813 (cache_addhst): Return tryagain not notfound for temporary errors.
35814 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35815 failed.
35816
794c3ad3
UD
358172011-01-14 Ulrich Drepper <drepper@gmail.com>
35818
70181fdd
UD
35819 [BZ #10563]
35820 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35821 to make the syscall.
35822 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35823
794c3ad3
UD
35824 [BZ #12378]
35825 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35826 and fall back to matching as normal character if the string ends before
35827 the matching ']' is found. This is what POSIX requires.
35828 * posix/testfnm.c: Adjust test result.
35829 * posix/globtest.sh: Adjust test result. Add new test.
35830 * posix/tst-fnmatch.input: Likewise.
35831 * posix/tst-fnmatch2.c: Add new test.
35832
68dc9497
AS
358332010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35834
35835 * elf/Makefile (check-execstack): Revert last change. Depend on
35836 check-execstack.h.
35837 (check-execstack.h): New target.
35838 (generated): Add check-execstack.h.
35839 * elf/check-execstack.c: Include "check-execstack.h".
35840 (main): Revert last change.
35841 (handle_file): Return zero if GNU_STACK is absent and
35842 DEFAULT_STACK_PERMS doesn't include PF_X.
35843
451f001b
UD
358442011-01-13 Ulrich Drepper <drepper@gmail.com>
35845
cfa28e56
UD
35846 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35847 in child fails because the descriptor is already closed.
8cf8ce17
UD
35848 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35849 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35850 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 35851
1086d70d
UD
35852 [BZ #12397]
35853 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35854 syscall.
35855
451f001b
UD
35856 [BZ #10484]
35857 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35858 temporary buffer used to handle multi lookups locally.
a85b5cb4 35859 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 35860
08769175
UD
358612011-01-12 Ulrich Drepper <drepper@gmail.com>
35862
35863 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35864 loader is ld.so.
35865
5e49c52e
UD
358662011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35867
35868 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35869 alignment for SSE2.
35870
60522a5f
UD
358712011-01-12 Ulrich Drepper <drepper@gmail.com>
35872
35873 [BZ #12394]
35874 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35875 characters. When rounding increased number of integer digits recompute
35876 number of groups.
35877 * stdio-common/tst-grouping.c: New file.
35878 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35879
f257bbd7
UD
358802011-01-09 Ulrich Drepper <drepper@gmail.com>
35881
35882 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35883 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35884
35885 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35886 void.
35887 * bits/select.h: Likewise.
35888
fa9c15cb
UD
358892011-01-08 Ulrich Drepper <drepper@gmail.com>
35890
35891 * po/ja.po: Update from translation team.
35892
16c2895f
DM
358932011-01-04 David S. Miller <davem@sunset.davemloft.net>
35894
35895 [BZ #11155]
35896 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35897 implementation just like for lxstat, fxstatat, et al.
35898
2543fef2
JM
358992010-12-27 Jim Meyering <meyering@redhat.com>
35900
35901 [BZ #12348]
35902 * posix/regexec.c (build_trtable): Return failure indication upon
35903 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35904
98727dbe
UD
359052010-12-25 Ulrich Drepper <drepper@gmail.com>
35906
5bd6dc5c
UD
35907 [BZ #12201]
35908 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35909 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35910 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35911 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35912
97983464
UD
35913 [BZ #12207]
35914 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35915
98727dbe
UD
35916 [BZ #12204]
35917 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35918 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35919
4a531bb0
L
359202010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35921
35922 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35923 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35924 script has SORT_BY_INIT_PRIORITY.
35925 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35926 NO_CTORS_DTORS_SECTIONS is defined.
35927 * elf/soinit.c: Likewise.
35928 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35929 NO_CTORS_DTORS_SECTIONS is defined.
35930 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35931 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35932 * sysdeps/sh/init-first.c: Likewise.
35933 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35934
07eb4b71
UD
359352010-12-24 Ulrich Drepper <drepper@gmail.com>
35936
35937 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35938 always use the slow path.
35939
30950a5f
RA
359402010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35941
35942 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35943 similar rule which adds the sysdep directories to the header search in
35944 order to pick up the correct platform stackinfo.h.
35945 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35946 perform test if it is, otherwise return successfully without testing.
35947 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35948 DEFAULT_STACK_PERMS define in stackinfo.h.
35949 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35950 defined in stackinfo.h.
35951 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35952 DEFAULT_STACK_PERMS defined in stackinfo.h.
35953 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35954 * sysdeps/ia64/stackinfo.h: Likewise.
35955 * sysdeps/s390/stackinfo.h: Likewise.
35956 * sysdeps/sh/stackinfo.h: Likewise.
35957 * sysdeps/sparc/stackinfo.h: Likewise.
35958 * sysdeps/x86_64/stackinfo.h: Likewise.
35959 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35960 PF_X for powerpc64. Retain PF_X for powerpc32.
35961
db753e2c
UD
359622010-12-19 Ulrich Drepper <drepper@gmail.com>
35963
14b697f7
UD
35964 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35965 accurately.
db753e2c
UD
35966 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35967 GETDENTS_64BIT_ALIGNED.
35968
28300719
UD
359692010-12-14 Ulrich Drepper <dreper@gmail.com>
35970
14b697f7 35971 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 35972
4f197237
AS
359732010-12-10 Andreas Schwab <schwab@redhat.com>
35974
dbb0472f
AS
35975 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35976 _GNU_SOURCE.
35977
4f197237
AS
35978 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35979 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35980 Remove __restrict.
35981 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35982 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35983
fb88ac72
UD
359842010-12-09 Ulrich Drepper <drepper@gmail.com>
35985
35986 [BZ #11655]
35987 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35988 are initialized.
35989
42acbb92
JJ
359902010-12-09 Jakub Jelinek <jakub@redhat.com>
35991
35992 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35993
c038d98d
UD
359942010-12-03 Ulrich Drepper <drepper@gmail.com>
35995
35996 * po/it.po: Update from translation team.
35997
3a4a2499
L
359982010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35999
36000 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36001 unused codes.
36002
1e24cf6e
UD
360032010-11-30 Ulrich Drepper <drepper@gmail.com>
36004
36005 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36006
a7690819
AS
360072010-11-24 Andreas Schwab <schwab@redhat.com>
36008
36009 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36010 specially.
36011 (gaih_getanswer_slice): Likewise.
36012
3bf8d1b1
JJ
360132010-10-20 Jakub Jelinek <jakub@redhat.com>
36014
36015 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36016
6db52fbb
PB
360172010-05-31 Petr Baudis <pasky@suse.cz>
36018
36019 [BZ #11149]
36020 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36021 silently even in the chroot mode.
36022
eaca7569
UD
360232010-11-22 Ulrich Drepper <drepper@gmail.com>
36024
36025 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36026 last patch a bit. Pretty printing
36027
3056dcdb
UD
360282010-05-31 Petr Baudis <pasky@suse.cz>
36029
36030 [BZ #10085]
36031 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36032 initialization of skip_initgroups_dyn.
36033
cf7c9078
UD
360342010-11-19 Ulrich Drepper <drepper@gmail.com>
36035
36036 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36037 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36038
a1fb5e3e
UD
360392010-11-16 Ulrich Drepper <drepper@gmail.com>
36040
36041 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36042
3540d66b
AS
360432010-11-11 Andreas Schwab <schwab@redhat.com>
36044
36045 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36046 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36047 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36048 ($(objpfx)tst-fnmatch-mem): New rule.
36049 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36050 * posix/tst-fnmatch.c (main): Call mtrace.
36051
13b69574
L
360522010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36053
36054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36055 Support Intel processor model 6 and model 0x2c.
36056
da93d214
LM
360572010-11-10 Luis Machado <luisgpm@br.ibm.com>
36058
36059 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36060 signed comparison.
36061
8ca52c6e
L
360622010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36063
36064 [BZ #12205]
36065 * string/test-strncasecmp.c (check_result): New function.
36066 (do_one_test): Use it.
36067 (check1): New function.
36068 (test_main): Use it.
36069 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36070 Support strcasecmp and strncasecmp.
36071
69da074d
UD
360722010-11-08 Ulrich Drepper <drepper@gmail.com>
36073
36074 [BZ #12194]
36075 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36076 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36077
ff02d528
L
360782010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36079
36080 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36081 IFUNC support.
36082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36083 memset-x86-64.
36084 * sysdeps/x86_64/multiarch/bzero.S: New file.
36085 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36086 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36087 * sysdeps/x86_64/multiarch/memset.S: New file.
36088 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36090 Set bit_Prefer_SSE_for_memop for Intel processors.
36091 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36092 Define.
36093 (index_Prefer_SSE_for_memop): Define.
36094 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36095
344d0b54
LM
360962010-11-04 Luis Machado <luisgpm@br.ibm.com>
36097
36098 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36099 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36100
c0dde15b
UD
361012010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36102
36103 [BZ #12191]
36104 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36105 (__x86_64_raw_data_cache_size_half): Likewise.
36106 (__x86_64_raw_shared_cache_size): Likewise.
36107 (__x86_64_raw_shared_cache_size_half): Likewise.
36108
36109 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36110 (__x86_64_raw_data_cache_size_half): Likewise.
36111 (__x86_64_raw_shared_cache_size): Likewise.
36112 (__x86_64_raw_shared_cache_size_half): Likewise.
36113 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36114 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36115 and __x86_64_raw_shared_cache_size_half. Round
36116 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36117 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36118 to multiple of 256 bytes.
36119
0e516e0e
MS
361202010-11-03 Ulrich Drepper <drepper@gmail.com>
36121
36122 [BZ #12167]
36123 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36124 of inacessible symlinks. Verify result of symlink before returning it.
36125 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36126 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36127
0e012e87
ER
361282010-10-28 Erich Ritz <erichritz@gmail.com>
36129
36130 * math/math.h (isinf): Fix typo in comment.
36131
de0ff7bc
UD
361322010-11-01 Ulrich Drepper <drepper@gmail.com>
36133
36134 * po/da.po: Update from translation team.
36135
fa41c84d
UD
361362010-10-26 Ulrich Drepper <drepper@gmail.com>
36137
36138 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36139 is added to the list.
36140
f0967738
AK
361412010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36142 Ulrich Drepper <drepper@gmail.com>
36143
36144 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36145 the global list here. Move code to...
36146 (_dl_add_to_namespace_list): ...here. New function.
36147 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36148 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36149 * elf/dl-load.c (lose): Don't remove the element from the list.
36150 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36151 (_dl_map_object): Likewise.
36152
361532010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
36154
36155 [BZ #12159]
36156 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36157 into all bytes of SSE register.
36158 Patch by Richard Li <richardpku@gmail.com>.
36159
f0967738 361602010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
36161
36162 [BZ #12140]
36163 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36164 perturbing.
36165
d0b9e94f
MB
361662010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36167
36168 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36169 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36170 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36171 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36173 submachine.
36174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36175
8e9f92e9
AS
361762010-10-22 Andreas Schwab <schwab@redhat.com>
36177
36178 * include/dlfcn.h (__RTLD_SECURE): Define.
36179 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36180 mode & __RTLD_SECURE instead.
36181 (open_path): Rename preloaded parameter to secure.
36182 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36183 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36184 * elf/dl-deps.c (openaux): Likewise.
36185 * elf/rtld.c (struct map_args): Remove is_preloaded.
36186 (map_doit): Don't use it.
36187 (dl_main): Likewise.
36188 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36189 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36190
bc96fbda
AS
361912010-09-09 Andreas Schwab <schwab@redhat.com>
36192
36193 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36194 (sysd-rules-targets): Remove duplicates.
36195 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36196 rtld-%.$o dependency.
36197
22cd1c9b
AS
361982010-10-18 Andreas Schwab <schwab@redhat.com>
36199
36200 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36201 _dl_map_object do it.
36202
18edac48
UD
362032010-10-19 Ulrich Drepper <drepper@gmail.com>
36204
36205 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36206 fast fma builtins, define the macros in the C99 standard.
36207 (FP_FAST_FMAF): Likewise.
36208 (FP_FAST_FMAL): Likewise.
36209 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36210
36211 * bits/mathdef.h: Update copyright year.
36212 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36213
d2050124
MM
362142010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36215
36216 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36217 builtins, define the macros in the C99 standard.
36218 (FP_FAST_FMAF): Likewise.
36219 (FP_FAST_FMAL): Likewise.
36220 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36221 multiply/add.
36222 (FP_FAST_FMAF): Likewise.
36223
475facd1
JJ
362242010-10-15 Jakub Jelinek <jakub@redhat.com>
36225
36226 [BZ #3268]
36227 * math/libm-test.inc (fma_test): Some new testcases.
36228 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36229 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36230 y and infinite z. Do multiplication by C already in long double.
36231 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36233 y and infinite z. Do bitwise or of inexact bit into u.d.
36234 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36235 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36236 * sysdeps/i386/fpu/s_fma.S: Removed.
36237 * sysdeps/i386/fpu/s_fmal.S: Removed.
36238
7c08a05c
JJ
362392010-10-16 Jakub Jelinek <jakub@redhat.com>
36240
36241 [BZ #3268]
36242 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36243 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36244 computation is not scheduled after fetestexcept. Fix value
36245 of minimum denormal long double.
36246
f3f7372d
JJ
362472010-10-14 Jakub Jelinek <jakub@redhat.com>
36248
36249 [BZ #3268]
36250 * math/libm-test.inc (fma_test): Add some more tests.
36251 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36252 correctly.
36253
14d43591
AS
362542010-10-15 Andreas Schwab <schwab@redhat.com>
36255
36256 * scripts/data/localplt-s390-linux-gnu.data: New file.
36257 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36258
5e908464
JJ
362592010-10-13 Jakub Jelinek <jakub@redhat.com>
36260
36261 [BZ #3268]
36262 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36263 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36264 instead of dbl-64.
36265 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36266 inlines.
36267 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36268 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36269 if one of x and y is very large and the other is subnormal.
36270 * sysdeps/s390/fpu/s_fmaf.c: New file.
36271 * sysdeps/s390/fpu/s_fma.c: New file.
36272 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36273 * sysdeps/powerpc/fpu/s_fma.S: New file.
36274 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36275 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36276 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36277
362782010-10-12 Jakub Jelinek <jakub@redhat.com>
36279
36280 [BZ #3268]
36281 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36282 fma tests.
36283 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36284 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36285 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36286 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36287 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36288 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36289 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36290
b833d51f
UD
362912010-10-12 Ulrich Drepper <drepper@redhat.com>
36292
36293 [BZ #12078]
36294 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36295 * posix/bug-regex31.input: Add test case.
36296
1751705d
UD
362972010-10-11 Ulrich Drepper <drepper@gmail.com>
36298
e9b9cbf5
UD
36299 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36300 * posix/bug-regex31.input: New file.
36301
36302 [BZ #12078]
36303 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36304 (parse_sub_exp): Fix last change, use postorder.
36305
ef06edbe
UD
36306 * posix/bug-regex31.c: New file.
36307 * posix/Makefile: Add rules to build and run bug-regex31.
36308
a129c80d
UD
36309 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36310
36311 [BZ #12078]
36312 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36313
b76b818e
UD
36314 [BZ #12108]
36315 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36316 to have entries in sys_siglist.
36317
1751705d
UD
36318 [BZ #12093]
36319 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36320 be NULL.
36321
9ff8d36f
JJ
363222010-10-07 Jakub Jelinek <jakub@redhat.com>
36323
36324 [BZ #3268]
36325 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36326 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36327 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36328 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36329 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36330 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36331 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36332 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36333 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36334 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36335 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36336 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36337 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36338 * math/ftestexcept.c (fetestexcept): Likewise.
36339 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36340 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36341 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36342 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36343 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36344 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36345 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36346
af325969
UD
363472010-10-11 Ulrich Drepper <drepper@gmail.com>
36348
c579b202 36349 [BZ #12107]
af325969
UD
36350 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36351 newline.
36352
67a67b95
UD
363532010-10-06 Ulrich Drepper <drepper@gmail.com>
36354
36355 * string/bug-strstr1.c: New file.
36356 * string/Makefile: Add rules to build and run bug-strstr1.
36357
5fb308bc
EB
363582010-10-05 Eric Blake <eblake@redhat.com>
36359
36360 [BZ #12092]
36361 * string/str-two-way.h (two_way_long_needle): Always clear memory
36362 when skipping input due to the shift table.
36363
45db99c7
UD
363642010-10-03 Ulrich Drepper <drepper@gmail.com>
36365
3b111893
UD
36366 [BZ #12005]
36367 * malloc/mcheck.c: Handle large requests.
36368
45db99c7
UD
36369 [BZ #12077]
36370 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36371 for strncmp and strncasecmp.
36372 * string/stratcliff.c: Add tests for strcmp and strncmp.
36373 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36374
cf7a1eb8
NI
363752010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36376
36377 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36378 __set_fpscr.
36379
6484ba5e
AJ
363802010-09-30 Andreas Jaeger <aj@suse.de>
36381
36382 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36383 (CGROUP_SUPER_MAGIC): Define.
36384 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36385 Handle btrfs and cgroup file systems.
36386 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36387 Likewise.
36388
91c42559
LM
363892010-09-27 Luis Machado <luisgpm@br.ibm.com>
36390
36391 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36392 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36393
87a97932
AK
363942010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36395
36396 [BZ #12067]
36397 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36398 trying to locate the ELF header.
36399
c21cc9bc
AS
364002010-09-27 Andreas Schwab <schwab@redhat.com>
36401
36402 [BZ #11611]
36403 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36404 Mask out sign-bit copies when constructing f_fsid.
36405
315970f6
PB
364062010-09-24 Petr Baudis <pasky@suse.cz>
36407
36408 * debug/stack_chk_fail_local.c: Add missing licence exception.
36409 * debug/warning-nop.c: Likewise.
36410
1ac7a2c7
JM
364112010-09-15 Joseph Myers <joseph@codesourcery.com>
36412
36413 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36414 implementing getdents64 using getdents syscall, set d_type if
36415 __ASSUME_GETDENTS32_D_TYPE.
36416
56801c50
AS
364172010-09-16 Andreas Schwab <schwab@redhat.com>
36418
36419 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36420 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36421
dda51327
UD
364222010-09-21 Ulrich Drepper <drepper@redhat.com>
36423
36424 [BZ #12037]
36425 * posix/unistd.h: Undo change of feature selection for ftruncate from
36426 2010-01-11.
36427
8ffcee4a
UD
364282010-09-20 Ulrich Drepper <drepper@redhat.com>
36429
a545ecd9 36430 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
36431 detection.
36432
e24f0a8b
AS
364332010-09-20 Andreas Schwab <schwab@redhat.com>
36434
36435 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36436 fanotify_mark.
36437 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36438
7291c56f
AS
364392010-09-14 Andreas Schwab <schwab@redhat.com>
36440
36441 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36442 variables after CHECK_SP call.
36443 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36444
bc5fb037
AS
364452010-09-13 Andreas Schwab <schwab@redhat.com>
36446 Ulrich Drepper <drepper@redhat.com>
36447
36448 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36449 re-relocationg ld.so.
36450 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36451 _dl_init_paths call.
36452 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36453 here anymore.
36454
e66e7419
UD
364552010-09-14 Ulrich Drepper <drepper@redhat.com>
36456
36457 * resolv/res_init.c (__res_vinit): Count the default server we added.
36458
c044aa75
CLT
364592010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36460 Ulrich Drepper <drepper@redhat.com>
36461
36462 [BZ #11968]
36463 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36464 (____longjmp_chk): Use %ebx for saving value across system call.
36465 Add unwind info.
36466
32cf4069
AS
364672010-09-06 Andreas Schwab <schwab@redhat.com>
36468
36469 * manual/Makefile: Don't mix pattern rules with normal rules.
36470
817328ee
AS
364712010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36472
36473 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36474 operation.
36475 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36476 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36477 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36478 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36479 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36480 Likewise.
36481
29fddf61
UD
364822010-09-04 Ulrich Drepper <drepper@redhat.com>
36483
36484 [BZ #11979]
36485 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36486 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36487
0959ffc9
UD
364882010-09-02 Ulrich Drepper <drepper@redhat.com>
36489
36490 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36491 * sysdeps/x86_64/addmul_1.S: Likewise.
36492 * sysdeps/x86_64/lshift.S: Likewise.
36493 * sysdeps/x86_64/mul_1.S: Likewise.
36494 * sysdeps/x86_64/rshift.S: Likewise.
36495 * sysdeps/x86_64/sub_n.S: Likewise.
36496 * sysdeps/x86_64/submul_1.S: Likewise.
36497
ece29840
ST
364982010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36499
0959ffc9
UD
36500 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36501 Define __sched_param instead of SCHED_* and sched_param when
ece29840 36502 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 36503 * bits/sched.h [__need_schedparam]
ece29840 36504 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
36505 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36506 (__defined_schedparam): Define to 1.
ece29840
ST
36507 (__sched_param): New structure, identical to sched_param.
36508 (__need_schedparam): Undefine.
36509
e53a31fe
MF
365102010-08-31 Mike Frysinger <vapier@gentoo.org>
36511
fdc0c10d
MF
36512 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36513 (epoll_create1): Declare.
36514
e53a31fe
MF
36515 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36516
a726d796
AS
365172010-08-31 Andreas Schwab <schwab@redhat.com>
36518
36519 [BZ #7066]
36520 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36521 shifting retval into place.
36522
2f3e3dc7
UD
365232010-09-01 Ulrich Drepper <drepper@redhat.com>
36524
f2933da9
UD
36525 * nis/rpcsvc/nis.h: Update copyright notice.
36526 * nis/rpcsvc/nis.x: Likewise.
36527 * nis/rpcsvc/nis_callback.h: Likewise.
36528 * nis/rpcsvc/nis_callback.x: Likewise.
36529 * nis/rpcsvc/nis_object.x: Likewise.
36530 * nis/rpcsvc/nis_tags.h: Likewise.
36531 * nis/rpcsvc/yp.h: Likewise.
36532 * nis/rpcsvc/yp.x: Likewise.
36533 * nis/rpcsvc/ypupd.h: Likewise.
36534 * nis/yp_xdr.c: Likewise.
36535 * nis/ypupdate_xdr.c: Likewise.
36536
2f3e3dc7
UD
36537 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36538 mainly the body of pmap_getport. Add parameters to specify timeouts.
36539 (pmap_getport): Use __libc_rpc_getport.
36540 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36541 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36542 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36543
f3dcc2f9
AS
365442010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36545
36546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36547 fanotify_mark.
36548
6d34eb5b
RM
365492010-08-27 Roland McGrath <roland@redhat.com>
36550
36551 * sysdeps/i386/i686/multiarch/Makefile
36552 (CFLAGS-varshift.c): New variable.
36553
9ea3de11
UD
365542010-08-27 Ulrich Drepper <drepper@redhat.com>
36555
c96d23fc
UD
36556 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36557 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36558
9ea3de11
UD
36559 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36560
36561 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36562
623aac7f
L
365632010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36564
36565 * sysdeps/x86_64/strlen.S: Unroll the loop.
36566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36567 strlen-sse2 strlen-sse2-bsf.
36568 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36569 __strlen_no_bsf if bit_Slow_BSF is set.
36570 (__strlen_sse42): Removed.
36571 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36572 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36573
8b2b7715
RM
365742010-08-25 Roland McGrath <roland@redhat.com>
36575
36576 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36577 * sysdeps/x86_64/multiarch/varshift.c: New file.
36578 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36579 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36580 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36581 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36582
e73015f2
L
365832010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36584
36585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36586 strlen-sse2 strlen-sse2-bsf.
36587 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36588 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36589 (__strlen_sse2): Removed.
36590 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36591 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36593 bit_Slow_BSF for Atom.
36594 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36595 (index_Slow_BSF): Define.
36596 (HAS_SLOW_BSF): Define.
36597
df24a73e
UD
365982010-08-25 Ulrich Drepper <drepper@redhat.com>
36599
36600 [BZ #10851]
36601 * resolv/res_init.c (__res_vinit): When no server address at all
36602 is given default to loopback.
36603
f2ac4868
RM
366042010-08-24 Roland McGrath <roland@redhat.com>
36605
09055553
RM
36606 * configure.in: Remove config-name.h generation.
36607 * configure: Regenerated.
36608 * config-name.in: File removed.
36609 * scripts/config-uname.sh: New file.
36610 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36611 ($(objdir)config-name.h): New target.
36612
f2ac4868
RM
36613 * sunrpc/rpc_parse.h: Avoid nested comment.
36614
73f27d5e
RH
366152010-08-24 Richard Henderson <rth@redhat.com>
36616 Ulrich Drepper <drepper@redhat.com>
36617 H.J. Lu <hongjiu.lu@intel.com>
36618
36619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36620 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36621 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36622 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36623 _mm_alignr_epi8 with _mm_loadu_si128.
36624 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36625 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36626 (__m128i_shift_right): Removed.
36627 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36628 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36629 * sysdeps/x86_64/multiarch/varshift.h: New file.
36630 * sysdeps/x86_64/multiarch/varshift.S: New file.
36631
84b9230c
MF
366322010-08-21 Mike Frysinger <vapier@gentoo.org>
36633
36634 * configure.in: Move assembler checks to before sysdep dir checking.
36635
9bbd0ddc
PB
366362010-08-20 Petr Baudis <pasky@suse.cz>
36637
36638 * LICENSES: Sync the sunrpc license.
36639
9da4bb31
UD
366402010-08-19 Ulrich Drepper <drepper@redhat.com>
36641
a7ab6ec8
UD
36642 * sunrpc/auth_des.c: Update copyright notice once again.
36643 * sunrpc/auth_none.c: Likewise.
36644 * sunrpc/auth_unix.c: Likewise.
36645 * sunrpc/authdes_prot.c: Likewise.
36646 * sunrpc/authuxprot.c: Likewise.
36647 * sunrpc/bindrsvprt.c: Likewise.
36648 * sunrpc/clnt_gen.c: Likewise.
36649 * sunrpc/clnt_perr.c: Likewise.
36650 * sunrpc/clnt_raw.c: Likewise.
36651 * sunrpc/clnt_simp.c: Likewise.
36652 * sunrpc/clnt_tcp.c: Likewise.
36653 * sunrpc/clnt_udp.c: Likewise.
36654 * sunrpc/clnt_unix.c: Likewise.
36655 * sunrpc/des_crypt.c: Likewise.
36656 * sunrpc/des_soft.c: Likewise.
36657 * sunrpc/get_myaddr.c: Likewise.
36658 * sunrpc/getrpcport.c: Likewise.
36659 * sunrpc/key_call.c: Likewise.
36660 * sunrpc/key_prot.c: Likewise.
36661 * sunrpc/openchild.c: Likewise.
36662 * sunrpc/pm_getmaps.c: Likewise.
36663 * sunrpc/pm_getport.c: Likewise.
36664 * sunrpc/pmap_clnt.c: Likewise.
36665 * sunrpc/pmap_prot.c: Likewise.
36666 * sunrpc/pmap_prot2.c: Likewise.
36667 * sunrpc/pmap_rmt.c: Likewise.
36668 * sunrpc/rpc/auth.h: Likewise.
36669 * sunrpc/rpc/auth_unix.h: Likewise.
36670 * sunrpc/rpc/clnt.h: Likewise.
36671 * sunrpc/rpc/des_crypt.h: Likewise.
36672 * sunrpc/rpc/key_prot.h: Likewise.
36673 * sunrpc/rpc/netdb.h: Likewise.
36674 * sunrpc/rpc/pmap_clnt.h: Likewise.
36675 * sunrpc/rpc/pmap_prot.h: Likewise.
36676 * sunrpc/rpc/pmap_rmt.h: Likewise.
36677 * sunrpc/rpc/rpc.h: Likewise.
36678 * sunrpc/rpc/rpc_des.h: Likewise.
36679 * sunrpc/rpc/rpc_msg.h: Likewise.
36680 * sunrpc/rpc/svc.h: Likewise.
36681 * sunrpc/rpc/svc_auth.h: Likewise.
36682 * sunrpc/rpc/types.h: Likewise.
36683 * sunrpc/rpc/xdr.h: Likewise.
36684 * sunrpc/rpc_clntout.c: Likewise.
36685 * sunrpc/rpc_cmsg.c: Likewise.
36686 * sunrpc/rpc_common.c: Likewise.
36687 * sunrpc/rpc_cout.c: Likewise.
36688 * sunrpc/rpc_dtable.c: Likewise.
36689 * sunrpc/rpc_hout.c: Likewise.
36690 * sunrpc/rpc_main.c: Likewise.
36691 * sunrpc/rpc_parse.c: Likewise.
36692 * sunrpc/rpc_parse.h: Likewise.
36693 * sunrpc/rpc_prot.c: Likewise.
36694 * sunrpc/rpc_sample.c: Likewise.
36695 * sunrpc/rpc_scan.c: Likewise.
36696 * sunrpc/rpc_scan.h: Likewise.
36697 * sunrpc/rpc_svcout.c: Likewise.
36698 * sunrpc/rpc_tblout.c: Likewise.
36699 * sunrpc/rpc_util.c: Likewise.
36700 * sunrpc/rpc_util.h: Likewise.
36701 * sunrpc/rpcinfo.c: Likewise.
36702 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36703 * sunrpc/rpcsvc/key_prot.x: Likewise.
36704 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36705 * sunrpc/rpcsvc/mount.x: Likewise.
36706 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36707 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36708 * sunrpc/rpcsvc/rex.x: Likewise.
36709 * sunrpc/rpcsvc/rstat.x: Likewise.
36710 * sunrpc/rpcsvc/rusers.x: Likewise.
36711 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36712 * sunrpc/rpcsvc/spray.x: Likewise.
36713 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36714 * sunrpc/rtime.c: Likewise.
36715 * sunrpc/svc.c: Likewise.
36716 * sunrpc/svc_auth.c: Likewise.
36717 * sunrpc/svc_authux.c: Likewise.
36718 * sunrpc/svc_raw.c: Likewise.
36719 * sunrpc/svc_run.c: Likewise.
36720 * sunrpc/svc_simple.c: Likewise.
36721 * sunrpc/svc_tcp.c: Likewise.
36722 * sunrpc/svc_udp.c: Likewise.
36723 * sunrpc/svc_unix.c: Likewise.
36724 * sunrpc/svcauth_des.c: Likewise.
36725 * sunrpc/xcrypt.c: Likewise.
36726 * sunrpc/xdr.c: Likewise.
36727 * sunrpc/xdr_array.c: Likewise.
36728 * sunrpc/xdr_float.c: Likewise.
36729 * sunrpc/xdr_mem.c: Likewise.
36730 * sunrpc/xdr_rec.c: Likewise.
36731 * sunrpc/xdr_ref.c: Likewise.
36732 * sunrpc/xdr_sizeof.c: Likewise.
36733 * sunrpc/xdr_stdio.c: Likewise.
36734
9da4bb31
UD
36735 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36736 handling.
36737
bdaa77bc
AS
367382010-08-19 Andreas Schwab <schwab@redhat.com>
36739
36740 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36741
fe2f79db
LM
367422010-08-19 Luis Machado <luisgpm@br.ibm.com>
36743
36744 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36745 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36746 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36747 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36748 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36749 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36750 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36751 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36752 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36753 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36754 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36755 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36756 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36757 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36758
b9b42ee0
AB
367592010-07-26 Anton Blanchard <anton@samba.org>
36760
36761 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36762 * malloc/arena.c (heap_trim): Likewise.
36763
1c06ba31
UD
367642010-08-16 Ulrich Drepper <drepper@redhat.com>
36765
36766 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36767 here. Not...
36768 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36769 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36770
f8392f40
L
367712010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36772
36773 * sysdeps/i386/elf/Makefile: New file.
36774
3162f12e
AS
367752010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36776
36777 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36778 from fanotify_init.
36779 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36780 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36781
28c90b2c
UD
367822010-08-15 Ulrich Drepper <drepper@redhat.com>
36783
36784 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36785 of strncasecmp_l.
1feccb6c 36786 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 36787
ca6bb004
UD
367882010-08-14 Ulrich Drepper <drepper@redhat.com>
36789
e9f82e0d
UD
36790 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36791 strncase_l-nonascii.
36792 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36793 Add strncase_l-ssse3.
36794 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36795 * sysdeps/x86_64/strcmp.S: Likewise.
36796 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36797 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36798 * sysdeps/x86_64/strncase.S: New file.
36799 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36800 * sysdeps/x86_64/strncase_l.S: New file.
36801 * string/Makefile (strop-tests): Add strncasecmp.
36802 * string/test-strncasecmp.c: New file.
36803
36804 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36805 warning.
36806
ca6bb004
UD
36807 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36808 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36809
052fa7b3
AS
368102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36811
36812 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36813
962dba78
UD
368142010-08-12 Ulrich Drepper <drepper@redhat.com>
36815
36816 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36817 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36818 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36819
bebff237
AM
368202010-05-01 Alan Modra <amodra@gmail.com>
36821
36822 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36823 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36824 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36825 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36826 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36827 tidying. Don't tail-call __sigjmp_save for static lib.
36828 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36829 save location.
36830 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36831 (CALL_MCOUNT): Add eh info, and nop after bl.
36832 (TAIL_CALL_SYSCALL_ERROR): New macro.
36833 (PSEUDO_RET): Use it.
36834 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36835 Correct save location of integer regs and cr.
36836 (_dl_profile_resolve): Correct cr save location. Delete nops
36837 after bl when SHARED. Reduce cfi size a little by better
36838 placement of cfi directives.
36839 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36840 make a stack frame. Instead use parm save area as a temp.
36841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36842 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36844 Don't make a stack frame for parent, use parm save area.
36845 Increase child stack frame to 112 bytes. Don't save unused reg,
36846 and adjust reg usage. Set up cfi on error recovery and
36847 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36849 (__makecontext): Add dummy nop after jump to exit.
36850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36851 Use correct parm save area and cr save, reduce stack frame.
36852 Correct cfi for possible PSEUDO_RET frame setup.
36853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36854 Branch to local label emitted by PSEUDO_RET rather than
36855 __syscall_error.
36856
02637374
AS
368572010-08-12 Andreas Schwab <schwab@redhat.com>
36858
36859 [BZ #11904]
36860 * locale/programs/locale.c (print_assignment): New function.
36861 (show_locale_vars): Use it.
36862
c3e2f19b
UD
368632010-08-11 Ulrich Drepper <drepper@redhat.com>
36864
3cdaa6ad
UD
36865 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36866 field.
36867 (struct statfs64): Likewise.
36868 (_STATFS_F_FLAGS): Define.
36869 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36870 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36871 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36872 (ST_VALID): Define locally.
36873 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36874 __statvfs_getflags, use the provided value.
36875 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36876 __ASSUME_STATFS_F_FLAGS.
36877
754f7da3
UD
36878 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36879
10b3bedc
UD
36880 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36881 Add sys/fanotify.h.
36882 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36883 fanotify_mask for GLIBC_2.13.
36884 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36885 fanotify_init and fanotify_mark.
36886 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36887 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36888
c08fb0d7
UD
36889 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36890 Add prlimit.
36891 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36892 prlimit64 for GLIBC_2.13.
36893 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36894 prlimit64.
36895 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36896 syscall.
36897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36898 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36899 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36900 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36901 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36902 add prlimit alias.
36903 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36904
15bac72b
UD
36905 [BZ #11903]
36906 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36907 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36908
c3e2f19b
UD
36909 * nss/Makefile: Add rules to build and run tst-nss-test1.
36910 * shlib-versions: Add entry for libnss_test1.
36911 * nss/nss_test1.c: New file.
36912 * nss/tst-nss-test1.c: New file.
36913
36914 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36915 (__nss_configure_lookup): Set appropriate entry in
36916 __nss_configure_lookup to true.
36917 * nss/nsswitch.h: Define enum with indeces of databases in
36918 databases and __nss_database_custom arrays. Declare
36919 __nss_database_custom.
36920 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36921 to avoid using nscd when custom rules are installed.
36922 * nss/getXXbyYY_r.c: Likewise.
36923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36924
36925 * nss/nss_files/files-parse.c: Whitespace fixes.
36926
f15ce4d8
UD
369272010-08-09 Ulrich Drepper <drepper@redhat.com>
36928
36929 [BZ #11883]
36930 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36931 * posix/fnmatch_loop.c: Likewise.
36932
d22e4cc9
AK
369332010-07-17 Andi Kleen <ak@linux.intel.com>
36934
36935 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36936 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36937 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36938 * Versions.def [GLIBC_2.13]: Add.
36939
805bc17d
UD
369402010-08-06 Ulrich Drepper <drepper@redhat.com>
36941
36942 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36943 Also fail if tpwd after pwuid call is NULL.
36944
5a42321d
ST
369452010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36946
36947 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36948 when converting to ms.
36949
fd3ebeda
ST
369502010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36951
36952 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36953 EOPNOTSUPP errors with ENOTTY.
36954 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36955 EOPNOTSUPP errors with ENOTTY.
36956
73507d3a
UD
369572010-07-31 Ulrich Drepper <drepper@redhat.com>
36958
36959 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36960 Add strcasecmp_l-ssse3.
36961 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36962 strcasecmp.
36963 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36964 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36965 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36966
fe36dd02
UD
369672010-07-30 Ulrich Drepper <drepper@redhat.com>
36968
66f6765a
UD
36969 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36970
42e08a54
UD
36971 * string/Makefile (strop-tests): Add strcasecmp.
36972 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36973 strcasecmp_l-nonascii.
36974 (gen-as-const-headers): Add locale-defines.sym.
36975 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36976 * sysdeps/x86_64/strcasecmp.S: New file.
36977 * sysdeps/x86_64/strcasecmp_l.S: New file.
36978 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36979 * sysdeps/x86_64/locale-defines.sym: New file.
36980 * string/test-strcasecmp.c: New file.
36981
fe36dd02
UD
36982 * string/test-strcasestr.c: Test both ends of the range of characters.
36983 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36984
48cbc0d6
RM
369852010-07-29 Roland McGrath <roland@redhat.com>
36986
76e6d6bc 36987 [BZ #11856]
48cbc0d6
RM
36988 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36989
880113d9
UD
369902010-07-27 Ulrich Drepper <drepper@redhat.com>
36991
36992 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36993 for ld.so.
36994
deb9cabb
AS
369952010-07-27 Andreas Schwab <schwab@redhat.com>
36996
36997 * manual/memory.texi (Malloc Tunable Parameters): Document
36998 M_PERTURB.
36999
1c7570ff
RM
370002010-07-26 Roland McGrath <roland@redhat.com>
37001
37002 [BZ #11840]
37003 * configure.in (-fgnu89-inline check): Set and substitute
37004 gnu89_inline, not libc_cv_gnu89_inline.
37005 * configure: Regenerated.
37006 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37007
24fb0f88
UD
370082010-07-26 Ulrich Drepper <drepper@redhat.com>
37009
37010 * string/test-strnlen.c: New file.
37011 * string/Makefile (strop-tests): Add strnlen.
37012 * string/tester.c (test_strnlen): Add a few more test cases.
37013 * string/tst-strlen.c: Better error reporting.
37014
37015 * sysdeps/x86_64/strnlen.S: New file.
37016
8e96b93a
UD
370172010-07-24 Ulrich Drepper <drepper@redhat.com>
37018
37019 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37020 lower-latency instructions.
37021
dbc676d4
UD
370222010-07-23 Ulrich Drepper <drepper@redhat.com>
37023
37024 * string/test-strcasestr.c: New file.
37025 * string/test-strstr.c: New file.
37026 * string/Makefile (strop-tests): Add strstr and strcasestr.
37027 * string/str-two-way.h: Don't undefine MAX.
37028 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37029
f6a31e0e
AS
370302010-07-21 Andreas Schwab <schwab@redhat.com>
37031
37032 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37033 strcasestr-nonascii.
37034 (CFLAGS-strcasestr-nonascii.c): Define.
37035 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37036 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37037 Remove unused attribute.
37038
5dbc3b6c
RM
370392010-07-20 Roland McGrath <roland@redhat.com>
37040
37041 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37042 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37043 ld.so.cache was broken. With it, there is no way to disable dsocaps
37044 like LD_HWCAP_MASK can disable hwcaps.
37045
23d101d8
EPM
370462010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37047
37048 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37049
cc9f2e47
UD
370502010-07-16 Ulrich Drepper <drepper@redhat.com>
37051
37052 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37053 call in strcasestr.
37054 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37055 __strcasestr_sse42_nonascii.
37056 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37057 strcasestr-nonascii.c.
37058 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37059
77c1b069
LM
370602010-06-15 Luis Machado <luisgpm@br.ibm.com>
37061
37062 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37063 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37064 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37065 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37066
440566c3
UD
370672010-07-09 Ulrich Drepper <drepper@redhat.com>
37068
37069 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37070 fcntl.
37071
5be9d05d
AS
370722010-07-06 Andreas Schwab <schwab@redhat.com>
37073
c30b7ee2 37074 [BZ #11577]
5be9d05d
AS
37075 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37076 dl_signal_cerror.
37077
8a492a67
UD
370782010-07-06 Ulrich Drepper <drepper@redhat.com>
37079
37080 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37081 _PC_PIPE_BUF using F_GETPIPE_SZ.
37082
713df3d5
RM
370832010-07-05 Roland McGrath <roland@redhat.com>
37084
37085 * manual/arith.texi (Rounding Functions): Fix rint description
37086 implicit in round description.
37087
702e8f14
UD
370882010-07-02 Ulrich Drepper <drepper@redhat.com>
37089
37090 * elf/Makefile: Fix linking for a few tests to make recent linker
37091 happy.
37092
52ed8be9
AS
370932010-06-30 Andreas Schwab <schwab@redhat.com>
37094
37095 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37096 $(common-objpfx)libc_nonshared.a.
37097
f47c9a11
LM
370982010-06-21 Luis Machado <luisgpm@br.ibm.com>
37099
37100 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37101 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37102 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37103 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37104 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37105 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37106 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37107 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37122 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37123 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37124 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37125 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37126 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37127 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37128 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37129 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37130 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37131 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37132 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37133 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37148
6fb8cbcb
L
371492010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37150
37151 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37152 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37153 * string/memmove.c (memmove): Renamed to ...
37154 (MEMMOVE): ...this. Default to memmove.
37155 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37156 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37157 (END_CHK): Define.
37158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37159 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37160 mempcpy-ssse3-back memmove-ssse3-back.
37161 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37162 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37163 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37164 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37165 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37166 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37167 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37168 * sysdeps/x86_64/multiarch/memmove.c: New file.
37169 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37170 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37171 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37172 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37173 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37174 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37175 Define.
37176 (index_Fast_Copy_Backward): Define.
37177 (HAS_ARCH_FEATURE): Define.
37178 (HAS_FAST_REP_STRING): Define.
37179 (HAS_FAST_COPY_BACKWARD): Define.
37180
4e733bac 371812010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
37182
37183 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37184 Restore proper fallback handling.
37185
63c4ed22
UD
371862010-06-19 Ulrich Drepper <drepper@redhat.com>
37187
ac2b484c
UD
37188 [BZ #11701]
37189 * posix/group_member.c (__group_member): Correct checking loop.
37190
63c4ed22
UD
37191 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37192 OOM in getpwuid_r correctly. Return error number when the caller
37193 should return, otherwise -1.
37194 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37195 call returning > 0 value.
37196 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37197
765ade4b
AS
371982010-06-07 Andreas Schwab <schwab@redhat.com>
37199
37200 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37201 libc_nonshared.a from targets in modules-names.
37202
80da2e09
KS
372032010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37204
37205 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37206 requires it.
37207
158db122
LM
372082010-06-10 Luis Machado <luisgpm@br.ibm.com>
37209
37210 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37211 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37212 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37213 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37214
caa78cf8
AS
372152010-06-02 Andreas Schwab <schwab@redhat.com>
37216
37217 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37218
b2ef2c01
UD
372192010-06-14 Ulrich Drepper <drepper@redhat.com>
37220
37221 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37222 and F_GETPIPE_SZ.
37223 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37224 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37225 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37226 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37227 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37228 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37229
fbd643b6
RM
372302010-06-14 Roland McGrath <roland@redhat.com>
37231
37232 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37233
f32f2869
JJ
372342010-06-07 Jakub Jelinek <jakub@redhat.com>
37235
37236 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37237 __REDIRECT followed by __THROW.
37238 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37239 * posix/getopt.h (getopt): Likewise.
37240
2a50c078
EPM
372412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37242
37243 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37244 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37245 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37246 in AT_FLAGS.
37247 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37248 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37249
eb5ad2eb
LM
372502010-05-28 Luis Machado <luisgpm@br.ibm.com>
37251
37252 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37253
3c88fe1e
L
372542010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37255
37256 [BZ #11640]
37257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37258 Properly check family and model.
37259
d2f73151
TY
372602010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37261
37262 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37263
ebd2e13d
LM
372642010-05-24 Luis Machado <luisgpm@br.ibm.com>
37265
37266 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37267
b32b8b45
UD
372682010-05-21 Ulrich Drepper <drepper@redhat.com>
37269
37270 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37271 symbol reference.
37272
9acbe24d
AS
372732010-05-19 Andreas Schwab <schwab@redhat.com>
37274
37275 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37276 symbol reference.
37277
f0ccf6ea
AS
372782010-05-21 Andreas Schwab <schwab@redhat.com>
37279
3d04ff3a
AS
37280 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37281 and internal_recvmmsg.
37282 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37283 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37284 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37285 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37286
f0ccf6ea
AS
37287 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37288 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37289 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37290
5b08ac57
AS
372912010-05-20 Andreas Schwab <schwab@redhat.com>
37292
37293 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37294
4828935d
LM
372952010-05-17 Luis Machado <luisgpm@br.ibm.com>
37296
37297 POWER7 optimizations.
37298 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37299 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37300
373d545e
UD
373012010-05-19 Ulrich Drepper <drepper@redhat.com>
37302
37303 * version.h: Update for 2.13 development version.
37304
21a2b1ae
AS
373052010-05-12 Andrew Stubbs <ams@codesourcery.com>
37306
37307 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37308 exceptions. Return 0.
37309
3f7dcb2b
RM
373102010-05-07 Roland McGrath <roland@redhat.com>
37311
37312 * elf/ldconfig.c (main): Add a const.
37313
5f24d53a 373142010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 37315
a160f8d8
UD
37316 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37317 (args_options): Add no-idn option.
37318 (ahosts_keys_int): Add idn_flags to ai_flags.
37319 (parse_option): Handle 'i' option to clear idn_flags.
37320
5f24d53a
UD
37321 * malloc/malloc.c (_int_free): Possible race in the most recently
37322 added check. Only act on the data if no current modification
37323 happened.
265bb1ce
UD
37324
37325See ChangeLog.17 for earlier changes.