]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: Update NEWS with ppc64 STT_GNU_IFUNC support
[thirdparty/glibc.git] / ChangeLog
CommitLineData
fd712ef3
AZ
12013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
4
42fcb46c
AZ
52013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6
7 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8 hypotf multiarch implementations.
9 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12 multiarch hypot for PPC64.
13 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16 multiarch hypotf for PPC64.
17
83efded4
AZ
182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19
20 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
21 modff multiarch implementations.
22 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
23 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25 multiarch modf for PPC64.
26 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
27 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
28 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
29 multiarch modff for PPC64.
30
43e246d2
AZ
312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32
33 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
34 and logl multiarch implementations.
35 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
36 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
37 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
38 multiarch logb for PPC64.
39 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
40 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
41 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42 multiarch logb for PPC64.
43 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
44 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
45 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
46 multiarch logb for PPC64.
47
8fdad123
AZ
482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49
50 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
51 isinff multiarch implementation.
52 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
53 file.
54 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
55 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
56 multiarch isinf for PPC64.
57 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
58 file.
59 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
60 multiarch isinff for PPC64.
61
1481d706
AZ
622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63
64 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
65 finitef multiarch implementation.
66 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
67 file.
68 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
69 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
70 multiarch finite for PPC64.
71 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
72 file.
73 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
74 multiarch finitef for PPC64.
75
5ccd5fc8
AZ
762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77
78 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
79 lrint multiarch implementation.
80 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
81 file.
82 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
83 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
84 multiarch llrint for PPC64.
85 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
86 multiarch lrint for PPC64.
87
2568f3fa
AZ
882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89
90 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
91 copysignf multiarch implementation.
92 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
93 file.
94 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
95 file.
96 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
97 multiarch copysign for PPC64.
98 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
99 multiarch copysignf for PPC64.
100
1cb341fd
AZ
1012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
102
103 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
104 multiarch implementation.
105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
106 file.
107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
108 file.
109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
110 file.
111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
112 file.
113 multiarch llround for PPC64.
114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
115 multiarch trunc for PPC64.
116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
117 multiarch truncf for PPC64.
118
59a3e194
AZ
1192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
120
121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
122 multiarch implementation.
123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
124 file.
125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
126 file.
127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
128 file.
129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
130 file.
131 multiarch llround for PPC64.
132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
133 multiarch round for PPC64.
134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
135 multiarch roundf for PPC64.
136
357fd3b4
AZ
1372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
138
139 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
140 multiarch implementation.
141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
142 file.
143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
144 file.
145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
146 file.
147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
148 file.
149 multiarch llround for PPC64.
150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
151 multiarch floor for PPC64.
152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
153 multiarch floorf for PPC64.
154
96770f12
AZ
1552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
156
157 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
158 multiarch implementation.
159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
160 file.
161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
162 file.
163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
164 file.
165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
166 file.
167 multiarch llround for PPC64.
168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
169 multiarch ceil for PPC64.
170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
171 multiarch ceilf for PPC64.
172
c3627f6e
AZ
1732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
174
175 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
176 multiarch implementation.
177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
178 file.
179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
180 file.
181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
182 file.
183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
184 multiarch llround for PPC64.
185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
186 multiarch lround for PPC64.
187
b2284ad7
AZ
1882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
189
190 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
191 multiarch implementation.
192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
195 file.
196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
199 multiarch isnan for PPC64.
200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
201 multiarch isnanf for PPC64.
202
69bbc63d
AZ
2032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
204
205 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
206 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
207 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
208 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
209 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
211
c24517c9
AZ
2122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
213
214 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
215 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
216 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
217 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
218
a52374e8
AZ
2192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
220
221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
222 multiarch implementations.
223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
224 (__libc_ifunc_impl_list): Likewise.
225 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
226 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
227 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
228 multiarch stpcpy for PPC64.
229
7f5ec113
AZ
2302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
231
232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
233 multiarch implementations.
234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
235 (__libc_ifunc_impl_list): Likewise.
236 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
237 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
238 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
239 multiarch strcpy for PPC64.
240
e28bcd42
AZ
2412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
242
243 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
244 redefine function name.
245 (_wordcopy_fwd_dest_aligned): Likewise.
246 (_wordcopy_bwd_aligned): Likewise.
247 (_wordcopy_bwd_dest_aligned): Likewise.
248 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
249 multiarch implementations.
250 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
251 (__libc_ifunc_impl_list): Likewise.
252 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
253 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
254 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
255 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
256 multiarch wcscpy for PPC64.
257
92cacfce
AZ
2582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
259
260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
261 multiarch implementations.
262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
263 (__libc_ifunc_impl_list): Likewise.
264 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
265 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
266 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
267 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
268 multiarch wcscpy for PPC64.
269
7b714620
AZ
2702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
271
272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
273 multiarch implementations.
274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
275 (__libc_ifunc_impl_list): Likewise.
276 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
277 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
278 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
279 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
280 multiarch wcsrchr for PPC64.
281
16fd2ae3
AZ
2822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
283
284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
285 multiarch implementations.
286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
287 (__libc_ifunc_impl_list): Likewise.
288 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
289 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
290 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
291 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
292 multiarch wcschr for PPC64.
293
9ee2969b
AZ
2942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
295
296 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
297 multiarch implementations.
298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
299 (__libc_ifunc_impl_list): Likewise.
300 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
301 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
302 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
303 multiarch strchrnul for PPC64.
304
372dc060
AZ
3052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
306
307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
308 implementations.
309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
310 (__libc_ifunc_impl_list): Likewise.
311 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
312 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
313 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
314 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
315 strchr for PPC64.
316
24c2c3b9
AZ
3172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
318
319 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
320 implementations.
321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
322 (__libc_ifunc_impl_list): Likewise.
323 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
324 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
325 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
326 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
327 strncmp for PPC64.
328
1c92d9a0
AZ
3292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
330
331 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
332 multiarch implementations.
333 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
334 (__libc_ifunc_impl_list): Likewise.
335 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
336 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
337 strncasecmp for PPC64.
338 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
339 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
340 multiarch strncasecmp_l for PPC64.
341
17de3ee3
AZ
3422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
343
344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
345 multiarch implementations.
346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
347 (__libc_ifunc_impl_list): Likewise.
348 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
349 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
350 multiarch strcasecmp for PPC64.
351 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
352 file.
353 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
354 multiarch strcasecmp_l for PPC64.
355
62982bf9
AZ
3562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
357
358 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
359 implementations.
360 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
361 (__libc_ifunc_impl_list): Likewise.
362 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
363 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
364 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
365 strnlen for PPC64.
366
a65f4904
AZ
3672013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
368
369 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
370 implementations.
371 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
372 (__libc_ifunc_impl_list): Likewise.
373 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
374 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
375 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
376 strlen for PPC64.
377
1fd005ad
AZ
3782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
379
380 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
381 implementations.
382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
383 (__libc_ifunc_impl_list): Likewise.
384 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
385 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
386 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
387 rawmemrchr for PPC64.
388
cd05ba91
AZ
3892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
390
391 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
392 implementation.
393 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
394 (__libc_ifunc_impl_list): Likewise.
395 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
396 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
397 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
398 memrchr for PPC64.
399
870f8676
AZ
4002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
401
402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
403 implementation.
404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
405 (__libc_ifunc_impl_list): Likewise.
406 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
407 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
408 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
409 memchr for PPC64.
410
f00be62b
AZ
4112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
412
413 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
414 implementation.
415 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
416 (__libc_ifunc_impl_list): Likewise.
417 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
418 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
419 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
420 mempcpy for PPC64.
421
8a29a3d0
AZ
4222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
423
424 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
425 avoid cretion of __bzero symbol.
426 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
427 Likewise.
428 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
429 Likewise.
430 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
431 Likewise.
432 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
433 multiarch implementations.
434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
435 (__libc_ifunc_impl_list): Likewise.
436 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
437 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
438 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
439 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
440 bzero for PPC32.
441 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
442 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
443 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
444 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
445 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
446 memset for PPC64.
447 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
448
07253fcf
AZ
4492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
450
451 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
452 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
453 implementations.
454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
455 (__libc_ifunc_impl_list): Likewise.
456 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
457 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
458 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
459 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
460 memcmp for PPC64.
461
b5beafbc
AZ
4622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
463
464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
465 multiarch for POWER/PPC64.
466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
467 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
468 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
469 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
470 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
471 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
472 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
473 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
474 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
475 memcpy for PPC64.
476
5e6a4d4b
AZ
4772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
478
479 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
480 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
481 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
482 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
483 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
484 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
485 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
486 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
487 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
488 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
489 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
490 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
491 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
492 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
493 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
501
ddfab6dc
KK
5022013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
503
504 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
505
19b5525e
SP
5062013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
507
508 * benchtests/Makefile (bench): Add exp2 and log2.
509 (LDLIBS-bench-exp2): Add -lm.
510 (LDLIBS-bench-log2): Likewise.
511 * benchtests/exp2-inputs: New inputs file.
512 * benchtests/log2-inputs: New inputs file.
513 * benchtests/log-inputs: Add new inputs.
514 * benchtests/tan-inputs: Likewise.
515
196f7f5d
SP
5162013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
517
7a74607f
SP
518 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
519 definition...
520 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
521 csloww1, csloww2): ... from here.
522
196f7f5d
SP
523 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
524 instead of structures.
525 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
526 (POLYNOMIAL): Likewise.
527 (TAYLOR_SLOW): Likewise.
528 (__sin): Likewise.
529 (__cos): Likewise.
530 (slow1): Likewise.
531 (slow2): Likewise.
532 (sloww): Likewise.
533 (sloww1); Likewise.
534 (sloww2): Likewise.
535 (bsloww1): Likewise.
536 (bsloww2): Likewise.
537 (cslow2): Likewise.
538 (csloww): Likewise.
539 (csloww1): Likewise.
540 (csloww2): Likewise.
541
0dfa665c
OB
5422013-12-10 Ondřej Bílka <neleai@seznam.cz>
543
544 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
545 (__malloc_assert, __libc_realloc, __libc_calloc,
546 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
547 memcpy and memset.
548 * malloc/hooks.c (realloc_check): Likewise.
549
5782a80f
OB
5502013-12-10 Ondřej Bílka <neleai@seznam.cz>
551
552 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
553 * malloc/arena.c: Remove PER_THREAD conditional.
554 [!PER_THREAD]: Remove code.
555 (ptmalloc_unlock_all2): Likewise.
556 (ptmalloc_init): Likewise.
557 (_int_new_arena): Likewise.
558 (arena_get2): Likewise.
559 * malloc/hooks.c (__malloc_get_state): Likewise.
560 (__malloc_set_state): Likewise.
561 * malloc/malloc.c: Likewise.
562 (struct malloc_state): Likewise.
563 (struct malloc_par): Likewise.
564 (__libc_realloc): Likewise.
565 (__libc_mallopt): Likewise.
566
aeb95445
AZ
5672013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
568
569 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
570
e8349efd
OB
5712013-12-09 Ondřej Bílka <neleai@seznam.cz>
572
573 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
574 macro to a function. Check for zero perturb_byte.
575 (_int_malloc, _int_free): Remove zero perturb_byte checks.
576
f3eeb3fc
OB
5772013-12-09 Ondřej Bílka <neleai@seznam.cz>
578
579 * malloc/malloc.c: (force_reg): Remove.
580 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
581 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
582 force_reg by atomic_forced_read.
583 * malloc/arena.c (ptmalloc_init): Likewise.
584 * malloc/hooks.c (top_check): Likewise.
585
be2f9009
AZ
5862013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
587
588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
589
e7b914bd
MT
5902013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
591
592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
593
9f0be4f8
JM
5942013-12-08 Joseph Myers <joseph@codesourcery.com>
595
596 * math/auto-libm-test-in: Add tests of lgamma.
597 * math/auto-libm-test-out: Regenerated.
598 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
599 (M_LOG_2_SQRT_PIl): Likewise.
600 (lgamma_test_data): Use AUTO_TESTS_f_f1.
601 * math/gen-auto-libm-tests.c (func_calc_method): Add value
602 mpfr_f_f1.
603 (func_calc_desc): Add mpfr_f_f1 union field.
604 (ARGS1): New macro.
605 (ARGS2): Likewise.
606 (ARGS3): Likewise.
607 (ARGS4): Likewise.
608 (RET1): Likewise.
609 (RET2): Likewise.
610 (CALC): Likewise.
611 (FUNC): Likewise.
612 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
613 (test_functions): Add lgamma.
614 (calc_generic_results): Handle mpfr_f_f1.
615 * sysdeps/i386/fpu/libm-test-ulps: Update.
616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
617
24eeafdb
AZ
6182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
619
620 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
621 __mpn_add_n for PowerPC64/POWER7.
622 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
623 __mpn_sub_n for PowerPC64/POWER7.
624
4a2c0fd4
AZ
6252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
626
627 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
628 __mpn_addmul_1 for PowerPC64.
629 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
630 __mpn_submul_1 for PowerPC64.
631 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
632 for PowerPC64.
633 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
634 for PowerPC64.
635
4b5b548c
FS
6362013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
637
638 [BZ #15089]
639 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
640
0a3ac0aa
AZ
6412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
642
643 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
644
ccdc8438
AZ
6452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
646
647 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
648 add multiarch folders.
649 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
650 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
651 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
652 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
653 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
654 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
655 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
656 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
657 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
658 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
659 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
666
2e973d99
AZ
6672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
668
669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
670 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
672 New file.
673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
674 New file.
675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
676 multiarch __ieee754_hypot for PowerPC32.
677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
678 New file.
679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
680 New file.
681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
682 multiarch __ieee754_hypotf for PowerPC32.
683
2d9470b2
AZ
6842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
685
686 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
687 long_double_symbol only if __logbl is defined.
688 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
689 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
690 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
691 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
692 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
693 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
694 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
695 path for implementation.
696 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
697 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
699 logb, and logbl multiarch implementations for PowerPC32.
700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
701 file.
702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
703 file.
704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
705 multiarch logb for PowerPC32.
706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
707 file.
708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
709 file.
710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
711 multiarch logbf for PowerPC32.
712 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
714 file.
715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
716 multiarch logbl implementation for PowerPC32.
717
5212ffce
AZ
7182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
719
720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
721 and modff multiarch implementations.
722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
723 New file.
724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
725 New file.
726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
727 multiarch modf for PowerPC32.
728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
729 New file.
730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
731 New file.
732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
733 multiarch modff for PowerPC32.
734
79dccf31
AZ
7352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
736
737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
738 and lrintf multiarch implementations.
739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
740 New file.
741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
742 New file.
743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
744 multiarch lrint for PowerPC32.
745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
746 file: multiarch lrintf for PowerPC32.
747
deb66480
AZ
7482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
749
750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
751 and lroundf multiarch implementations.
752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
753 New file.
754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
755 New file.
756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
757 New file.
758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
759 multiarch lround for PowerPC32.
760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
761 file: multiarch lroundf for PowerPC32.
762
264b036b
AZ
7632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
764
765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
766 copysign and copysignf multiarch implementations.
767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
768 New file.
769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
770 New file.
771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
772 file: multiarch copysign for PowerPC32.
773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
774 file: multiarch copysignf for PowerPC32.
775
d47db6c9
AZ
7762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
777
778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
779 and truncf multiarch implementations.
780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
781 New file.
782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
783 file.
784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
785 multiarch trunc for PowerPC32.
786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
787 New file.
788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
789 New file.
790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
791 multiarch truncf for PowerPC32.
792
ddb60b5a
AZ
7932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
794
795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
796 and roundf multiarch implementations.
797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
798 New file.
799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
800 file.
801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
802 multiarch round for PowerPC32.
803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
804 New file.
805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
806 New file.
807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
808 multiarch roundf for PowerPC32.
809
bedcf49b
AZ
8102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
811
812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
813 and floorf multiarch implementations.
814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
815 New file.
816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
817 file.
818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
819 multiarch floor for PowerPC32.
820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
821 New file.
822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
823 New file.
824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
825 multiarch floorf for PowerPC32.
826
35ae5b40
AZ
8272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
828
829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
830 and ceilf multiarch implementations.
831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
832 New file.
833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
834 file.
835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
836 multiarch ceil for PowerPC32.
837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
838 New file.
839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
840 file.
841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
842 multiarch ceilf for PowerPC32.
843
ae1a4cd9
AZ
8442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
845
846 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
847 is defined.
848 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
849 FINITEF is defined.
850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
851 and finitef multiarch implementations.
852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
853 New file.
854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
855 file.
856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
857 multiarch finite for PowerPC32.
858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
859 New file.
860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
861 file: multiarch finitef for PowerPC32.
862
64fffd65
AZ
8632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
864
865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
866 and isinff multiarch implementations.
867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
868 file.
869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
870 file.
871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
872 multiarch isinf for PowerPC32.
873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
874 New file.
875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
876 multiarch isinff for PowerPC32.
877
8e4e7ba2
AZ
8782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
879
880 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
881 alias when __isnan is defined.
882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
883 and isnanf multiarch implementations.
884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
885 file.
886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
887 file.
888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
889 file.
890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
891 file.
892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
893 multiarch isnan for PowerPC32.
894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
895 New file.
896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
897 New file.
898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
899 multiarch isnanf for PowerPC32.
900
ddba588e
AZ
9012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
902
903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
904 and sqrtf multiarch implementations.
905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
906 file.
907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
908 file.
909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
910 multiarch sqrt for PowerPC32.
911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
912 file.
913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
914 file.
915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
916 multiarch sqrtf for PowerPC32.
917
0f96a2f0
AZ
9182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
919
920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
921 and llroundf multiarch implementations.
922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
923 New file.
924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
925 New file.
926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
927 New file.
928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
929 file: multiarch llround for PowerPC32.
930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
931 file: multiarch llroundf for PowerPC32.
932
c9b5d79e
AZ
9332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
934
935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
936 multiarch PowerPC32 fpu implementations.
937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
938 New file.
939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
940 New file.
941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
942 multiarch llrint for PowerPC32.
943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
944 New file.
945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
946 New file.
947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
948 file.
949
9cbb3aab
AZ
9502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
951
952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
953
ea5a72f8
AZ
9542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
955
956 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
957 file.
958 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
959 file.
960 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
961 file.
962 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
963 multiarch wordcopy for PPC32.
964 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
965 wordcopy objects.
966 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
967 (__libc_ifunc_impl_list): Likewise.
968 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
969 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
970 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
971 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
972 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
973 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
974
93be09e7
AZ
9752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
976
977 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
978 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
979 file.
980 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
981 file.
982 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
983 file.
984 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
985 multiarch wcscpy for PPC32.
986 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
987 multiarch objects.
988 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
989 (__libc_ifunc_impl_list): Likewise.
990 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
991 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
992 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
993 sysdeps/powerpc/power6/wcscpy.c.
994
bb04e529
AZ
9952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
996
997 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
998 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
999 file.
1000 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1001 file.
1002 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1003 file.
1004 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1005 multiarch wcsrchr for PPC32.
1006 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1007 multiarch objects.
1008 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1009 (__libc_ifunc_impl_list): Likewise.
1010 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1011 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1012 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1013 sysdeps/powerpc/power6/wcsrchr.c.
1014
05b5cd1c
AZ
10152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1016
1017 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1018 file.
1019 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1020 file.
1021 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1022 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1023 multiarch wcschr for PPc32.
1024 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1025 multiarch objects.
1026 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1027 (__libc_ifunc_impl_list): Likewise.
1028 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1029 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1030 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1031 sysdeps/powerpc/power6/wcschr.c.
1032
ba964147
AZ
10332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1034
1035 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1036 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1037 file.
1038 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1039 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1040 file: multiarch strchr for PPC32.
1041 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1042 multiarch objects.
1043 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1044 (__libc_ifunc_impl_list): Likewise.
1045
31c81aaa
AZ
10462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1047
1048 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1049 name.
1050 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1051 file.
1052 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1053 file.
1054 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1055 multiarch strchrnul for PPC32.
1056 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1057 multiarch objects.
1058 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1059 (__libc_ifunc_impl_list): Likewise.
1060
0d0607d9
AZ
10612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1062
1063 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1064 file.
1065 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1066 multiarch strncasecmp for PPC32.
1067 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1068 file.
1069 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1070 multiarch strncasecmp_l for PPC32.
1071 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1072 strncasecmp multiarch objects.
1073 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1074 (__libc_ifunc_impl_list): Likewise.
1075
4dfd5c86
AZ
10762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1077
1078 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1079 file.
1080 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1081 multiarch strncasecmp for PPC32.
1082 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1083 New file.
1084 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1085 multiarch strcasecmp_l for PPC32.
1086 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1087 multiarch objects.
1088 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1089 (__libc_ifunc_impl_list): Likewise.
1090
a19e01a3
AZ
10912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1092
1093 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1094 file.
1095 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1096 file.
1097 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1098 multiarch strncmp for PPC32.
1099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1100 multiarch objects.
1101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1102 (__libc_ifunc_impl_list): Likewise.
1103
ae9cf7a2
AZ
11042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1105
1106 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1107 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1108 file.
1109 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1110 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1111 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1112 multiarch objects.
1113 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1114 (__libc_ifunc_impl_list): Likewise.
1115
3148bb7d
AZ
11162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1117
1118 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1119 file.
1120 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1121 file.
1122 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1123 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1124 multiarch objects.
1125 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1126 (__libc_ifunc_impl_list): Likewise.
1127
7af8b946
AZ
11282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1129
1130 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1131 file.
1132 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1133 file.
1134 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1135 multiarch rawmemchr for PPC32.
1136 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1137 multiarch objects.
1138 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1139 (__libc_ifunc_impl_list): Likewise.
1140
03a6aa6a
AZ
11412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1142
1143 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1144 file.
1145 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1146 file.
1147 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1148 file: memrchr multiarch for PPC32.
1149 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1150 multiarch objects.
1151 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1152 (__libc_ifunc_impl_list): Likewise.
1153
1c62e6d9
AZ
11542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1155
1156 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1157 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1158 file.
1159 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1160 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1161 multiarch memchr for PPC32.
1162 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1163 multiarch objects.
1164 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1165 (__libc_ifunc_impl_list): Likewise.
1166
87da8bdb
AZ
11672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1168
1169 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1170 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1171 file.
1172 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1173 file.
1174 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1175 file: multiarch mempcpy for PPC32.
1176 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1177 multiarch objects.
1178 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1179 (__libc_ifunc_impl_list): Likewise.
1180
20ed4714
AZ
11812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1182
1183 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1184 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1185 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1186 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1187 multiarch bzero for PPC32.
1188 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1189 file.
1190 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1191 file.
1192 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1193 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1194 file: multiarch memset for PPC32.
1195 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1196 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1197 memset multiarch objects.
1198 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1199 (__libc_ifunc_impl_list): Likewise.
1200
ab3e3a46
AZ
12012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1202
1203 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1204 file.
1205 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1206 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1207 memcmp for PPC32.
1208 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1209 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1210 multiarch objects.
1211 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1212 (__libc_ifunc_impl_list): Likewise.
1213
930de6f0
AZ
12142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1215
1216 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1217 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1218 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1219 file.
1220 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1221 file.
1222 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1223 file.
1224 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1225 multiarch memcpy for PPC32.
1226 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1227 multiarch objects.
1228 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1229 (__libc_ifunc_impl_list): Likewise.
1230
4c628e00
AZ
12312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1232
1233 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1234 support multiarch for POWER/PPC32.
1235 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1236 Likewise.
1237 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1239 Implies file to make multiarch folder appers before the fpu and
1240 default folder for power4 configuration.
1241
f4479220
SP
12422013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1243
1244 * scripts/bench.pl: Append volatile keyword to type.
1245
8517800f
KK
12462013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1247
1248 * sysdeps/sh/sotruss-lib.c: New file.
1249 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1250
180138f1
AZ
12512013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1252
1253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1254
bbf37bdc
JM
12552013-12-05 Joseph Myers <joseph@codesourcery.com>
1256
e47cc4e0
JM
1257 [BZ #6810]
1258 * math/w_tgamma.c: Include <errno.h>.
1259 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1260 * math/w_tgammaf.c: Include <errno.h>.
1261 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1262 * math/w_tgammal.c: Include <errno.h>.
1263 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1264 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1265 underflow. Add more tgamma tests.
1266 * math/auto-libm-test-out: Regenerated.
1267 * sysdeps/i386/fpu/libm-test-ulps: Update.
1268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1269
bbf37bdc
JM
1270 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1271 sin, sinh, tan, tanh, tgamma, y0 and y1.
1272 * math/auto-libm-test-out: Regenerated.
1273 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1274 (TEST_COND_x86): Likewise.
1275 (M_E2l): Remove macro.
1276 (M_E3l): Likewise.
1277 (M_2_SQRT_PIl): Likewise.
1278 (M_SQRT_PIl): Likewise.
1279 (M_1_DIV_El): Likewise.
1280 (log_test_data): Use AUTO_TESTS_f_f.
1281 (log10_test_data): Likewise.
1282 (log1p_test_data): Likewise.
1283 (log2_test_data): Likewise.
1284 (sin_test_data): Likewise.
1285 (sin_tonearest_test_data): Likewise.
1286 (sin_towardzero_test_data): Likewise.
1287 (sin_downward_test_data): Likewise.
1288 (sin_upward_test_data): Likewise.
1289 (sinh_test_data): Likewise.
1290 (sinh_tonearest_test_data): Likewise.
1291 (sinh_towardzero_test_data): Likewise.
1292 (sinh_downward_test_data): Likewise.
1293 (sinh_upward_test_data): Likewise.
1294 (tan_test_data): Likewise.
1295 (tan_tonearest_test_data): Likewise.
1296 (tan_towardzero_test_data): Likewise.
1297 (tan_downward_test_data): Likewise.
1298 (tan_upward_test_data): Likewise.
1299 (tanh_test_data): Likewise.
1300 (tgamma_test_data): Likewise.
1301 (y0_test_data): Likewise.
1302 (y1_test_data): Likewise.
1303 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1304 (special_real_inputs): Add pi/4.
1305 * sysdeps/i386/fpu/libm-test-ulps: Update.
1306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1307
eb5ad6b9
AZ
13082013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1309
1310 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1311 "longjmp_target" static probes.
1312 (__longjmp): Rename to __longjmp_symbol.
1313 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1314 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1315 on which longjmp to generate.
1316 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1317 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1318 probe.
1319 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1320 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1321 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1322 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1323 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1324 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1326 __longjmp_symbol based on which __longjmp to generate.
1327 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1328 probe.
1329 (setjmp): Rename to setjmp_symbol.
1330 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1331 (_setjmp): Rename to _setjmp_symbol.
1332 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1333 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1334 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1335 which setjmp to generate.
1336 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1337 "longjmp_target" static probes.
1338
d136c6dc
SP
13392013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1340
9298ecba
SP
1341 * benchtests/README: Add note about output arguments.
1342 * benchtests/bench-sincos.c: Remove file.
1343 * benchtests/sincos-inputs: New file.
1344 * scripts/bench.pl: Identify output arguments and define
1345 static variables for them.
1346
232983e9
SP
1347 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1348
d136c6dc
SP
1349 [BZ #15941]
1350 * Makefile (INSTALL): Add install-plain.texi as the primary
1351 dependency.
1352 * manual/install-plain.texi: New file.
1353 * manual/install.texi: Include node directive only for
1354 non-plaintext output.
1355
699ff837
JM
13562013-12-04 Joseph Myers <joseph@codesourcery.com>
1357
ab07cea8
JM
1358 * stdlib/longlong.h: Update from GCC.
1359
699ff837
JM
1360 [BZ #6807]
1361 [BZ #15901]
1362 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1363 * math/w_j0f.c (y0f): Likewise.
1364 * math/w_j0l.c (__y0l): Likewise.
1365 * math/w_j1.c (y1): Likewise.
1366 * math/w_j1f.c (y1f): Likewise.
1367 * math/w_j1l.c (__y1l): Likewise
1368 * math/w_jn.c (yn): Likewise.
1369 * math/w_jnf.c (ynf): Likewise.
1370 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1371 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1372 value for Bessel function domain errors outside _SVID_ mode.
1373 Adjust sign of return value for yn (negative integer, 0).
1374 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1375 by zero in return for negative x and set sign appropriately for
1376 negative n.
1377 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1378 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1379 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1380 expectations in error cases.
1381 (y1_test_data): Likewise.
1382 (yn_test_data): Likewise.
1383 * sysdeps/i386/fpu/libm-test-ulps: Update.
1384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1385
5b118558
UW
13862013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1387
1388 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1389 "64" to "64-v1". Add "64-v2".
1390 (abi-64-options): Rename to ...
1391 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1392 (abi-64-condition): Rename to ...
1393 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1394 (abi-64-ld-soname): Rename to ...
1395 (abi-64-v1-ld-soname): ... this.
1396 (abi-64-v2-options): Define.
1397 (abi-64-v2-condition): Likewise.
1398 (abi-64-v2-ld-soname): Likewise.
1399 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1400 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1404
61cd8fe4
UW
14052013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1406 Alan Modra <amodra@gmail.com>
1407
1408 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1409 New versions for use with the ELFv2 ABI.
1410 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1411 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1412 declaration.
1413 (struct La_ppc64v2_retval): Likewise.
1414 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1415 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1416 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1417 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1418 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1419 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1420 Do not save or restore CR.
1421 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1422 (_dl_profile_resolve): Do no save or restore CR. Support extended
1423 return values for ELFv2 ABI. Fix location of FPR return registers.
1424 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1425 updated values for _CALL_ELF == 2.
1426 (La_regs, La_retval, int_retval): Likewise.
1427
8b8a692c
UW
14282013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1429
1430 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1431 (FRAME_MIN_SIZE_PARM): Likewise.
1432 (FRAME_BACKCHAIN): Likewise.
1433 (FRAME_CR_SAVE): Likewise.
1434 (FRAME_LR_SAVE): Likewise.
1435 (FRAME_TOC_SAVE): Likewise.
1436 (FRAME_PARM_SAVE): Likewise.
1437 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1438 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1439 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1440 (call_mcount_parm_offset): New macro.
1441 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1442 (PROF): Use symbolic stack frame offsets.
1443 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1444 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1445 Redefine in terms of FRAME_MIN_SIZE.
1446 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1447 (_dl_profile_resolve): Likewise. Update comment.
1448 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1449 symbols stack frame offsets.
1450 (__sigsetjmp): Likewise.
1451 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1452 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1453 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1454 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1455
1456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1457 (FRAME_BACKCHAIN): Remove.
1458 (FRAME_CR_SAVE): Likewise.
1459 (FRAME_LR_SAVE): Likewise.
1460 (FRAME_COMPILER_DW): Likewise.
1461 (FRAME_LINKER_DW): Likewise.
1462 (FRAME_TOC_SAVE): Likewise.
1463 (FRAME_PARM_SAVE): Likewise.
1464 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1465 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1466 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1468 (CHECK_SP): Use symbolic stack frame offsets.
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1470 zone" instead of caller's parameter save area for temp storage.
1471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1472 Likewise. Also, use symbolic stack frame offsets.
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1474 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1475 our own stack frame instead of the caller's.
1476 (__socket): Use symbolic stack frame offsets.
1477
122b66de
UW
14782013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1479 Alan Modra <amodra@gmail.com>
1480
1481 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1482 Define.
1483 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1484 PPC64_LOCAL_ENTRY_OFFSET): Define.
1485 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1486 New function.
1487 (elf_machine_fixup_plt): Call it.
1488 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1489 reloc arguments.
1490 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
1491 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1492 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
1493 r2 before calling target.
1494
696caf1d
UW
14952013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1496 Alan Modra <amodra@gmail.com>
1497
1498 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1499 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1500 versions of macros to support ELFv2 ABI.
1501 (LOCALENTRY): New macro.
1502 (ENTRY, EALIGN): Use it.
1503 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1504 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1505 fall through into ENTRY entry point.
1506 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1507 Only define if _CALL_ELF != 2.
1508
1509 (elf_machine_matches_host): Verify ABI version matches.
1510 (RTLD_START): Use LOCALENTRY.
1511 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1512 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1513 (PLT_ENTRY_WORDS): New macro.
1514 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1515 (elf_machine_runtime_setup): Support ELFv2 ABI.
1516 (elf_machine_fixup_plt): Likewise.
1517 (elf_machine_plt_conflict): Likewise.
1518 (resolve_ifunc): Likewise.
1519 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1520 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1521 Likewise.
1522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1523 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1525 (makecontext): Support ELFv2 ABI.
1526 * elf/elf.h (EF_PPC64_ABI): Define.
1527
d31beafa
UW
15282013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1529
1530 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1531 New assembler macro.
1532 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1533 [ASSEMBLER] (ENTRY): ... but instead here ...
1534 [ASSEMBLER] (EALIGN): ... and here.
1535 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1536 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1537 [!ASSEMBLER] (ENTRY_2): Use it.
1538 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1539 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1540 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1541 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1542 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1544 Use PPC64_LOAD_FUNCPTR.
1545
b525166b
UW
15462013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1547
1548 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1549
7ec07d9a
AM
15502013-12-04 Alan Modra <amodra@gmail.com>
1551
1552 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1553 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1554 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1555 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1556
1557 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1558 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1559 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1560 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1561 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1562 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1563
5162e7dd
UW
15642013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1565
1566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1567 (__makecontext): Fix incorrect CFI when backtracing out of
1568 context created via makecontext.
1569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1570 (__setcontext): Fix incorrect CFI during switch to new context.
1571 (__novec_setcontext): Likewise.
1572
19e3372b
OB
15732013-12-04 Ondřej Bílka <neleai@seznam.cz>
1574
1575 [BZ #4772]
1576 * time/strptime_l.c (__strptime_internal): Allow modifiers
1577 in strptime.
1578 * time/tst-strptime.c (day_tests): Add testcase.
1579
1580
ecaf142d
SP
15812013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1582
1583 * scripts/bench.pl: Skip over blank lines.
1584
fbf964ae
PE
15852013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1586
1587 [BZ #926]
1588 * manual/time.texi (Calendar Time): Clarify what timezone functions
1589 use.
1590
fa60a674
AZ
15912013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1592
1593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1594
d674f0ef
OB
15952013-12-04 Ondřej Bílka <neleai@seznam.cz>
1596
1597 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1598 implementation.
1599 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1600 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1601 * debug/memset_chk.c (__memset_chk): Likewise.
1602 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1603 * debug/strncpy_chk.c: Likewise.
1604
17dea188
JM
16052013-12-03 Joseph Myers <joseph@codesourcery.com>
1606
749008ff
JM
1607 [BZ #15268]
1608 [BZ #15425]
1609 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1610 (__ieee754_exp): For possibly underflowing results, check size of
1611 result and force underflow exception if required.
1612 * math/auto-libm-test-in: Add more tests of exp.
1613 * math/auto-libm-test-out: Regenerated.
1614 * sysdeps/i386/fpu/libm-test-ulps: Update.
1615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1616
17dea188
JM
1617 [BZ #16283]
1618 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1619 * math/w_exp2f.c (__exp2f): Likewise.
1620 * math/w_exp2l.c (__exp2l): Likewise.
1621 * math/auto-libm-test-in: Do not allow missing errno on exp2
1622 underflow.
1623 * math/auto-libm-test-out: Regenerated.
1624
b20de2c3
OB
16252013-12-03 Ondřej Bílka <neleai@seznam.cz>
1626
1627 [BZ #16274]
1628 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1629 handle filename validation.
1630 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1631 (do_open): Delete.
1632
d8e2dbe3
JM
16332013-12-03 Joseph Myers <joseph@codesourcery.com>
1634
34e16df5
JM
1635 [BZ #6786]
1636 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1637 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1638 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1639 <float.h>.
1640 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1641 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1642 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1643 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1644 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1645 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1646 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1647 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1648 Add more erfc tests.
1649 * math/auto-libm-test-out: Regenerated.
1650 * sysdeps/i386/fpu/libm-test-ulps: Update.
1651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1652
d8e2dbe3
JM
1653 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1654 exp2, expm1, j0 and j1.
1655 * math/auto-libm-test-out: Regenerated.
1656 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1657 (erfc_test_data): Likewise.
1658 (exp_test_data): Likewise.
1659 (exp_tonearest_test_data): Likewise.
1660 (exp_towardzero_test_data): Likewise.
1661 (exp_downward_test_data): Likewise.
1662 (exp_upward_test_data): Likewise.
1663 (exp10_test_data): Likewise.
1664 (exp2_test_data): Likewise.
1665 (expm1_test_data): Likewise.
1666 (j0_test_data): Likewise.
1667 (j1_test_data): Likewise.
1668 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1669 (input_flag_type): Add flag_xfail_rounding.
1670 (input_flags): Add xfail-rounding.
1671 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1672 (output_for_one_input_case): Handle flag_xfail_rounding.
1673 * sysdeps/i386/fpu/libm-test-ulps: Update.
1674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1675
18d14251
AJ
16762013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1677
3d2e6075 1678 [BZ #16289]
18d14251
AJ
1679 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1680 division by 0.
1681
520d437b
SP
16822013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1683
1684 [BZ #16195]
1685 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1686 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1687 (STAP_PROBE0): New macro.
1688 (STAP_PROBE1): Likewise.
1689 (STAP_PROBE2): Likewise.
1690 (STAP_PROBE3): Likewise.
1691 (STAP_PROBE4): Likewise.
1692
416e0145
OB
16932013-12-02 Ondřej Bílka <neleai@seznam.cz>
1694
1695 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1696
9d17796a
SE
16972013-12-02 Steve Ellcey <sellcey@mips.com>
1698
1699 * benchtests/Makefile (bench): Add sqrt.
1700 (LDLIBS-bench-sqrt): New.
1701 * benchtests/sqrt-input: New.
1702
f524d6a8
PS
17032013-12-02 Pavel Simerda <psimerda@redhat.com>
1704
639a0ef8
PS
1705 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1706 (GAIH_EAI): Likewise.
1707 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1708 (gaih_inet): Likewise.
1709 (getaddrinfo): Don't use GAIH_EAI.
1710
f524d6a8
PS
1711 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1712 (struct gaih): Remove definition.
1713
df3aedaf
SP
17142013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1715
1716 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1717 Use HERRNOP directly.
1718
1ab19dec
AZ
17192013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1720
b42ad38d 1721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 1722
176b0c79
JM
17232013-11-30 Joseph Myers <joseph@codesourcery.com>
1724
1725 * math/gen-auto-libm-tests.c (test_functions): Add more
1726 single-argument functions.
1727 (special_fill_pi_2): New function.
1728 (special_fill_minus_pi_2): Likewise.
1729 (special_fill_pi_6): Likewise.
1730 (special_fill_minus_pi_6): Likewise.
1731 (special_fill_pi_3): Likewise.
1732 (special_fill_2pi_3): Likewise.
1733 (special_fill_e): Likewise.
1734 (special_fill_1_e): Likewise.
1735 (special_fill_e_minus_1): Likewise.
1736 (special_real_inputs): Add more special inputs.
1737 (output_for_one_input_case): Do not require ERANGE on underflow to
1738 zero if round-to-nearest result does not underflow to zero, unless
1739 exact results required.
1740 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1741 atan, atanh, cbrt, cos and cosh.
1742 * math/auto-libm-test-out: Regenerated.
1743 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1744 (acos_tonearest_test_data): Likewise.
1745 (acos_towardzero_test_data): Likewise.
1746 (acos_downward_test_data): Likewise.
1747 (acos_upward_test_data): Likewise.
1748 (acosh_test_data): Likewise.
1749 (asin_test_data): Likewise.
1750 (asin_tonearest_test_data): Likewise.
1751 (asin_towardzero_test_data): Likewise.
1752 (asin_upward_test_data): Likewise.
1753 (asinh_test_data): Likewise.
1754 (atan_test_data): Likewise.
1755 (atanh_test_data): Likewise.
1756 (cbrt_test_data): Likewise.
1757 (cos_test_data): Likewise.
1758 (cos_tonearest_test_data): Likewise.
1759 (cos_towardzero_test_data): Likewise.
1760 (cos_downward_test_data): Likewise.
1761 (cos_upward_test_data): Likewise.
1762 (cosh_test_data): Likewise.
1763 (cosh_tonearest_test_data): Likewise.
1764 (cosh_towardzero_test_data): Likewise.
1765 (cosh_downward_test_data): Likewise.
1766 (cosh_upward_test_data): Likewise.
1767 * sysdeps/i386/fpu/libm-test-ulps: Update.
1768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1769
ffb536d0
JM
17702013-11-29 Joseph Myers <joseph@codesourcery.com>
1771
2a77a467
JM
1772 [BZ #6787]
1773 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1774 * math/w_exp10f.c (__exp10f): Likewise.
1775 * math/w_exp10l.c (__exp10l): Likewise.
1776 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1777 errno settings in existing tests.
1778
ea3bc4e8
JM
1779 [BZ #14032]
1780 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1781 precision control set to double precision.
1782 * sysdeps/i386/fpu/w_sqrt.c: New file.
1783 * math/auto-libm-test-in: Add more tests.
1784 * math/auto-libm-test-out: Update.
1785
0712c9d8
JM
1786 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1787 (sqrt_test_tonearest): New function.
1788 (sqrt_towardzero_test_data): New variable.
1789 (sqrt_test_towardzero): New function.
1790 (sqrt_downward_test_data): New variable.
1791 (sqrt_test_downward): New function.
1792 (sqrt_upward_test_data): New variable.
1793 (sqrt_test_upward): New function.
1794 (main): Call the new functions.
1795
ffb536d0
JM
1796 * math/gen-auto-libm-tests.c: New file.
1797 * math/auto-libm-test-in: Likewise.
1798 * math/auto-libm-test-out: New generated file.
1799 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1800 variables.
1801 (%beautify): Add generated representations of zero.
1802 (top level): Set $auto_input and call parse_auto_input.
1803 (beautify): Remove trailing "f" from hex float constants.
1804 (parse_args): Handle XFAIL_TEST.
1805 (convert_condition): New function.
1806 (or_value): Likewise.
1807 (or_cond_value): Likewise.
1808 (generate_testfile): Handle AUTO_TESTS_* lines.
1809 (parse_auto_input): New function.
1810 * math/libm-test.inc (XFAIL_TEST): New macro.
1811 (ERRNO_UNCHANGED): Update value.
1812 (ERRNO_EDOM): Likewise.
1813 (ERRNO_ERANGE): Likewise.
1814 (IGNORE_RESULT): Likewise.
1815 (TEST_COND_flt_32): New macro.
1816 (TEST_COND_dbl_64): Likewise.
1817 (TEST_COND_ldbl_96_intel): Likewise.
1818 (TEST_COND_ldbl_96_m68k): Likewise.
1819 (TEST_COND_ldbl_128): Likewise.
1820 (TEST_COND_ldbl_128ibm): Likewise.
1821 (TEST_COND_long32): Likewise.
1822 (TEST_COND_long64): Likewise.
1823 (TEST_COND_before_rounding): Likewise.
1824 (TEST_COND_after_rounding): Likewise.
1825 (enable_test): Handle XFAIL_TEST flag.
1826 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1827 with finite results.
1828 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1829 auto-libm-test-out.
1830
acd98a8e
AK
18312013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1832 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1833
1834 [BZ #16214]
1835 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1836 __tls_get_addr_internal instead of __tls_get_offset in order to
1837 avoid GOT pointer dependency. Make rtld export
1838 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1839 __tls_get_addr since we are a __tls_get_offset platform.
1840 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1841 GOT pointer being set up before.
1842 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1843
3c1c46a6
JM
18442013-11-28 Joseph Myers <joseph@codesourcery.com>
1845
7475aef5
JM
1846 * manual/math.texi (Errors in Math Functions): Document accuracy
1847 goals.
1848
8bca7cd8
JM
1849 [BZ #15004]
1850 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1851 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1852 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1853 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1854 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1855 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1856 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1857 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1858 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1859 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1860 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1861 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1862 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1863 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1864 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1865 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1866
91a1f3fe
JM
1867 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1868 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1869 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1870 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1871 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1872 Likewise.
1873 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1874 Likewise.
1875 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1876 Likewise.
1877 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1878 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1879 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1880 atomic-feupdateenv and flt-rounds.
1881 * sysdeps/powerpc/nofpu/Versions (libc): Add
1882 __atomic_feholdexcept, __atomic_feclearexcept,
1883 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1884 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1885 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1886 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1887 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1888 here.
1889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1890 Update.
1891
c5df7609
JM
1892 * manual/arith.texi (FP Exceptions): Document that exceptions may
1893 not be raised when matherr is used.
1894 (Math Error Reporting): Document overflow in directed rounding
1895 modes. Document that errno may not be set when finite values are
1896 returned on overflow. Document intent to set errno on underflow
1897 only for underflow to zero.
1898
3c1c46a6
JM
1899 [BZ #16271]
1900 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1901 round-to-nearest then adjust result for other rounding modes.
1902 * include/fenv.h (fegetround): Use libm_hidden_proto.
1903 * math/fegetround.c (fegetround): Use libm_hidden_def.
1904 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1905 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1906 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1907 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1908 Likewise.
1909 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1910 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1911 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1912 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1913
5a4c6d53
SP
19142013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1915
1916 [BZ #16077]
1917 * nss/Versions (libnss_files): Add
1918 _nss_files_gethostbyname3_r.
1919 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1920 New function.
1921 (HOST_DB_LOOKUP): Remove macro.
1922 (_nss_files_gethostbyname_r): Implement function without the
1923 HOST_DB_LOOKUP macro.
1924 (_nss_files_gethostbyname2_r): Likewise.
1925
897b98ba
OB
19262013-11-28 Ondřej Bílka <neleai@seznam.cz>
1927
1928 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1929
6f476861
UB
19302013-11-26 Uros Bizjak <ubizjak@gmail.com>
1931
1932 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1933 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1934 warning.
1935
bd12ab55
AZ
19362013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1937
1938 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1939 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1940 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1941 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1942 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1943 __fe_nomask_env_priv and attribute_hidden.
1944 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1945 (libc_feupdateenv_test_ppc): Likewise.
1946 (libc_feresetround_ppc): Likewise.
1947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1948 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1949 compat_symbol macro.
1950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1951 (__fe_nomask_env): Likewise.
1952 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1953
52bb6543
OB
19542013-11-26 Ondřej Bílka <neleai@seznam.cz>
1955
1956 * string/Makefile: Remove ifunc tests.
1957 * string/test-string.h: Define TEST_IFUNC.
1958 * string/test-bcopy-ifunc.c: Remove.
1959 * string/test-bzero-ifunc.c: Likewise.
1960 * string/test-memccpy-ifunc.c: Likewise.
1961 * string/test-memchr-ifunc.c: Likewise.
1962 * string/test-memcmp-ifunc.c: Likewise.
1963 * string/test-memcpy-ifunc.c: Likewise.
1964 * string/test-memmem-ifunc.c: Likewise.
1965 * string/test-memmove-ifunc.c: Likewise.
1966 * string/test-mempcpy-ifunc.c: Likewise.
1967 * string/test-memrchr-ifunc.c: Likewise.
1968 * string/test-memset-ifunc.c: Likewise.
1969 * string/test-rawmemchr-ifunc.c: Likewise.
1970 * string/test-stpcpy-ifunc.c: Likewise.
1971 * string/test-stpncpy-ifunc.c: Likewise.
1972 * string/test-strcasecmp-ifunc.c: Likewise.
1973 * string/test-strcasestr-ifunc.c: Likewise.
1974 * string/test-strcat-ifunc.c: Likewise.
1975 * string/test-strchr-ifunc.c: Likewise.
1976 * string/test-strchrnul-ifunc.c: Likewise.
1977 * string/test-strcmp-ifunc.c: Likewise.
1978 * string/test-strcpy-ifunc.c: Likewise.
1979 * string/test-strcspn-ifunc.c: Likewise.
1980 * string/test-strlen-ifunc.c: Likewise.
1981 * string/test-strncasecmp-ifunc.c: Likewise.
1982 * string/test-strncat-ifunc.c: Likewise.
1983 * string/test-strncmp-ifunc.c: Likewise.
1984 * string/test-strncpy-ifunc.c: Likewise.
1985 * string/test-strnlen-ifunc.c: Likewise.
1986 * string/test-strpbrk-ifunc.c: Likewise.
1987 * string/test-strrchr-ifunc.c: Likewise.
1988 * string/test-strspn-ifunc.c: Likewise.
1989 * string/test-strstr-ifunc.c: Likewise.
1990
ab260039 19912013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
1992
1993 * benchtests/Makefile: Remove ifunc tests.
1994 * benchtests/bench-string.h: Define TEST_IFUNC.
1995 * benchtests/bench-bcopy-ifunc.c: Remove.
1996 * benchtests/bench-bzero-ifunc.c: Likewise.
1997 * benchtests/bench-memccpy-ifunc.c: Likewise.
1998 * benchtests/bench-memchr-ifunc.c: Likewise.
1999 * benchtests/bench-memcmp-ifunc.c: Likewise.
2000 * benchtests/bench-memcpy-ifunc.c: Likewise.
2001 * benchtests/bench-memmem-ifunc.c: Likewise.
2002 * benchtests/bench-memmove-ifunc.c: Likewise.
2003 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2004 * benchtests/bench-memrchr-ifunc.c: Likewise.
2005 * benchtests/bench-memset-ifunc.c: Likewise.
2006 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2007 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2008 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2009 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2010 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2011 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2012 * benchtests/bench-strcat-ifunc.c: Likewise.
2013 * benchtests/bench-strchr-ifunc.c: Likewise.
2014 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2015 * benchtests/bench-strcmp-ifunc.c: Likewise.
2016 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2017 * benchtests/bench-strcpy-ifunc.c: Likewise.
2018 * benchtests/bench-strcspn-ifunc.c: Likewise.
2019 * benchtests/bench-strlen-ifunc.c: Likewise.
2020 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2021 * benchtests/bench-strncat-ifunc.c: Likewise.
2022 * benchtests/bench-strncmp-ifunc.c: Likewise.
2023 * benchtests/bench-strncpy-ifunc.c: Likewise.
2024 * benchtests/bench-strnlen-ifunc.c: Likewise.
2025 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2026 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 2027 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
2028 * benchtests/bench-strspn-ifunc.c: Likewise.
2029 * benchtests/bench-strstr-ifunc.c: Likewise.
2030
20312013-11-26 Ondřej Bílka <neleai@seznam.cz>
2032
ab260039
OB
2033 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2034
d1d9eaf4 20352013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 2036
d1d9eaf4
OB
2037 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2038 * rt/aio.h: Likewise.
2039 * sysdeps/gnu/bits/utmp.h: Likewise.
2040 * sysdeps/gnu/bits/utmpx.h: Likewise.
2041 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2042 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2043 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2044 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2045 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2046 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2047 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2048 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2049 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2050 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2051 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2052 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2053 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2055 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2056 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2057 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2058 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2059 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2060 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2061 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2062 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2063 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2064 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2065 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2066 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2067 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2068 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2069 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2070 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2071 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2072 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2073 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2074 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2075 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2076 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2077 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2078 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2079 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2080 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2081 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2082 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2083
a7624ed9
CD
20842013-11-25 Carlos O'Donell <carlos@redhat.com>
2085
2086 [BZ #16245]
2087 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2088 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2089
63cfe52b
JM
20902013-11-25 Joseph Myers <joseph@codesourcery.com>
2091
2092 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2093 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2094 Likewise.
2095
41e8926a
AZ
20962013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2097
2098 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2099 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2100 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2101 (__fesetround): Remove define.
2102 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2103 rounding and exceptions handling.
2104 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2105 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2106 (__fe_nomask_env): Likewise.
2107 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2108 __fegetround instead of fegetround.
2109 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2110 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2111
6851bd4d
RM
21122013-11-21 Roland McGrath <roland@hack.frob.com>
2113
070906ff
RM
2114 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2115 it's there.
2116
6851bd4d
RM
2117 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2118
84ae135d
MI
21192013-11-21 Meador Inge <meadori@codesourcery.com>
2120
2121 [BZ #11157]
2122 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2123 (encrypt_r): Likewise.
2124 * malloc/obstack.h (obstack_free): Likewise.
2125 * posix/unistd.h (encrypt): Likewise.
2126
daf75146
GM
21272013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2128
2129 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2130 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2131 DL_CALL_DT_FINI() that call the functions directly.
2132 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2133 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2134 * elf/dl-fini.c: Likewise.
2135
10ad46bc
OB
21362013-11-20 Ondřej Bílka <neleai@seznam.cz>
2137
2138 * malloc/hooks.c (memalign_check): Add alignment rounding.
2139 * malloc/malloc.c (_mid_memalign): New function.
2140 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2141 Implement by calling _mid_memalign.
2142 * manual/probes.texi (Memory Allocation Probes): Remove
2143 memory_valloc_retry and memory_pvalloc_retry.
2144
f3fd2628
SP
21452013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2146
4712799f
SP
2147 * locale/programs/locarchive.c (open_archive): Add const
2148 qualifier to ARCHIVEFNAME and copy default fname to
2149 DEFAULT_FNAME.
2150
0417b20f
SP
2151 [BZ #15601]
2152 * libio/tst-widetext.input: Rename Oriya to Odia.
2153 * locale/iso-639.def: Likewise.
2154
f3fd2628
SP
2155 * manual/probes.texi (Mathematical Function Probes): Add
2156 documentation for sin, cos, asin and acos probes.
2157 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2158 (__sin32): Add slowasin probe.
2159 (__cos32): Add slowacos probe.
2160 (__mpsin): Add slowsin probe.
2161 (__mpcos): Add slowcos probe.
2162
73c1ce4f
JM
21632013-11-19 Joseph Myers <joseph@codesourcery.com>
2164
2165 [BZ #15483]
2166 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2167 thread-local __sim_exceptions_thread and global
2168 __sim_exceptions_global.
2169 (__sim_disabled_exceptions): Change to thread-local
2170 __sim_disabled_exceptions_thread and global
2171 __sim_disabled_exceptions_global.
2172 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2173 and global __sim_round_mode_global.
2174 (__simulate_exceptions): Use thread-local floating-point state and
2175 set global state from it as needed.
2176 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2177 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2178 __sim_round_mode_thread.
2179 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2180 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2181 and global __sim_exceptions_global.
2182 (__sim_disabled_exceptions): Change to thread-local
2183 __sim_disabled_exceptions_thread and global
2184 __sim_disabled_exceptions_global.
2185 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2186 and global __sim_round_mode_global.
2187 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2188 (SIM_SET_GLOBAL): Likewise.
2189 * sysdeps/powerpc/soft-fp/sfp-machine.h
2190 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2191 __sim_round_mode_thread.
2192 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2193 __sim_disabled_exceptions_thread.
2194 (__sim_exceptions): Change to __sim_exceptions_thread.
2195 (__sim_disabled_exceptions): Change to
2196 __sim_disabled_exceptions_thread.
2197 (__sim_round_mode): Change to __sim_round_mode_thread.
2198 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2199 thread-local floating-point state and set global state from it as
2200 needed.
2201 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2202 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2203 (__sim_disabled_exceptions): Remove extern declaration.
2204 (feenableexcept): Use thread-local floating-point state and set
2205 global state from it as needed.
2206 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2207 extern declaration.
2208 (__sim_disabled_exceptions): Likewise.
2209 (__sim_round_mode): Likewise.
2210 (__fegetenv): Use thread-local floating-point state.
2211 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2212 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2213 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2214 floating-point state and set global state from it as needed.
2215 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2216 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2217 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2218 Likewise.
2219 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2220 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2221 Likewise.
2222 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2223 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2224 Use __sim_round_mode_thread.
2225 * math/test-fenv-tls.c: New file.
2226 * math/Makefile (tests): Add test-fenv-tls.
2227 ($(objpfx)test-fenv-tls): Depend on
2228 $(common-objpfx)nptl/libpthread.so.
2229
b5449b12
AS
22302013-11-19 Andreas Schwab <schwab@suse.de>
2231
2232 * locale/programs/locale.c (show_info): Decode wordarray elements.
2233 * locale/categories.def (LC_MONETARY): Add element for
2234 _NL_MONETARY_CRNCYSTR.
2235 * locale/C-monetary.c (conversion_rate): New variable.
2236 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2237 element.
2238
e186536b
CM
22392013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2240
2241 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2242 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2243
5c349950
PP
22442013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2245
2246 * elf/Makefile (tst-auxv): New test.
2247 * elf/tst-auxv.c: New
2248 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2249
699df45b
JM
22502013-11-18 Joseph Myers <joseph@codesourcery.com>
2251
2252 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2253 (hidden_proto): Caller changed.
2254 (hidden_tls_proto): New macro.
2255 (libc_hidden_tls_proto): Likewise.
2256 (rtld_hidden_tls_proto): Likewise.
2257 (libm_hidden_tls_proto): Likewise.
2258 (libresolv_hidden_tls_proto): Likewise.
2259 (librt_hidden_tls_proto): Likewise.
2260 (libdl_hidden_tls_proto): Likewise.
2261 (libnss_files_hidden_tls_proto): Likewise.
2262 (libnsl_hidden_tls_proto): Likewise.
2263 (libnss_nisplus_hidden_tls_proto): Likewise.
2264 (libutil_hidden_tls_proto): Likewise.
2265
b7589107
OB
22662013-11-18 Ondřej Bílka <neleai@seznam.cz>
2267
2268 [BZ #10253]
2269 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2270 (decompose_rpath): Defer expansion to fillin_rpath.
2271 (_dl_init_paths): Pass linkmap to fillin_rpath.
2272
250c23bd
RS
22732013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2274
2275 * benchtests/Makefile: Add strsep.
2276 * benchtests/bench-strsep.c: New file: strsep benchtest.
2277 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2278
a7931fcf
AS
22792013-11-18 Andreas Schwab <schwab@suse.de>
2280
2281 * locale/programs/locale.c (show_info) [case byte]: Check for
2282 '\377' instead of '\177'.
2283 * locale/C-monetary.c (not_available): Always use "\377".
2284 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2285 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2286 detect unavailable sign_posn locale elements.
2287 * locale/localeconv.c (__localeconv): For grouping and
2288 mon_grouping handle "\177" and "\377" like no grouping.
2289 (INT_ELEM): New macro. Use it to set all numeric members.
2290 * locale/programs/ld-monetary.c (monetary_read)
2291 <tok_mon_grouping>: Normalize single -1 to the empty string.
2292 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2293 Likewise.
2294
728dab0e
OB
22952013-11-07 Ondřej Bílka <neleai@seznam.cz>
2296
2297 [BZ #16055]
2298 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2299 when we match (nil).
2300 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2301
66294491
JM
23022013-11-16 Joseph Myers <joseph@codesourcery.com>
2303
ce665817
JM
2304 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2305 (NO_TEST_INLINE): Update value.
2306 (ERRNO_UNCHANGED): Likewise.
2307 (ERRNO_EDOM): Likewise.
2308 (ERRNO_ERANGE): Likewise.
2309 (IGNORE_RESULT): Likewise.
2310 (check_float_internal): Check signs of NaN results if
2311 TEST_NAN_SIGN used.
2312 (check_complex): Pass TEST_NAN_SIGN flag through to second
2313 check_float_internal call.
2314 (copysign_test_data): Add tests with quiet NaNs as second
2315 argument. Use TEST_NAN_SIGN.
2316 (fabs_test_data): Add test of negative quiet NaN argument. Use
2317 TEST_NAN_SIGN.
2318 (signbit_test_data): Add tests of quiet NaN argument.
2319 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2320
ee1466a9
JM
2321 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2322 $ignore_result.
2323 (parse_args): Handle function results specified as IGNORE.
2324 * math/libm-test.inc (IGNORE_RESULT): New macro.
2325 (check_float_internal): Do not check numerical result if flag
2326 IGNORE_RESULT set.
2327 (check_complex): Pass through IGNORE_RESULT to second
2328 check_float_internal call.
2329 (check_int): Do not check numerical result if flag IGNORE_RESULT
2330 set.
2331 (check_long): Likewise.
2332 (check_bool): Likewise.
2333 (check_longlong): Likewise.
2334 (lrint_test_data): Add tests of infinite and NaN arguments.
2335 (lrint_tonearest_test_data): Likewise.
2336 (lrint_towardzero_test_data): Likewise.
2337 (lrint_downward_test_data): Likewise.
2338 (lrint_upward_test_data): Likewise.
2339 (llrint_test_data): Likewise.
2340 (llrint_tonearest_test_data): Likewise.
2341 (llrint_towardzero_test_data): Likewise.
2342 (llrint_downward_test_data): Likewise.
2343 (llrint_upward_test_data): Likewise.
2344 (lround_test_data): Likewise.
2345 (llround_test_data): Likewise.
2346
14407b7e
JM
2347 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2348 (ERRNO_UNCHANGED): Update value.
2349 (ERRNO_EDOM): Likewise.
2350 (ERRNO_ERANGE): Likewise.
2351 (NO_TEST_INLINE_FLOAT): New macro.
2352 (NO_TEST_INLINE_DOUBLE): Likewise.
2353 (enable_test): New function.
2354 (RUN_TEST_f_f): Check enable_test before running test.
2355 (RUN_TEST_2_f): Likewise.
2356 (RUN_TEST_fff_f): Likewise.
2357 (RUN_TEST_c_f): Likewise.
2358 (RUN_TEST_f_f1): Likewise.
2359 (RUN_TEST_fF_f1): Likewise.
2360 (RUN_TEST_fI_f1): Likewise.
2361 (RUN_TEST_ffI_f1): Likewise.
2362 (RUN_TEST_c_c): Likewise.
2363 (RUN_TEST_cc_c): Likewise.
2364 (RUN_TEST_f_i): Likewise.
2365 (RUN_TEST_f_i_tg): Likewise.
2366 (RUN_TEST_ff_i_tg): Likewise.
2367 (RUN_TEST_f_b): Likewise.
2368 (RUN_TEST_f_b_tg): Likewise.
2369 (RUN_TEST_f_l): Likewise.
2370 (RUN_TEST_f_L): Likewise.
2371 (RUN_TEST_fFF_11): Likewise.
2372 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2373 conditionals.
2374 (cosh_test_data): Likewise.
2375 (exp_test_data): Likewise.
2376 (expm1_test_data): Likewise.
2377 (hypot_test_data): Likewise.
2378 (pow_test_data): Likewise.
2379 (sinh_test_data): Likewise.
2380 (tanh_test_data): Likewise.
2381 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2382 flags argument.
2383
ca07f197
JM
2384 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2385 tests with quiet NaN input and output.
2386 (acosh_test_data): Likewise.
2387 (asin_test_data): Likewise.
2388 (asinh_test_data): Likewise.
2389 (atan_test_data): Likewise.
2390 (atanh_test_data): Likewise.
2391 (atan2_test_data): Likewise.
2392 (cbrt_test_data): Likewise.
2393 (cos_test_data): Likewise.
2394 (cosh_test_data): Likewise.
2395 (erf_test_data): Likewise.
2396 (erfc_test_data): Likewise.
2397 (exp_test_data): Likewise.
2398 (exp10_test_data): Likewise.
2399 (exp2_test_data): Likewise.
2400 (expm1_test_data): Likewise.
2401 (hypot_test_data): Likewise.
2402 (j0_test_data): Likewise.
2403 (j1_test_data): Likewise.
2404 (jn_test_data): Likewise.
2405 (lgamma_test_data): Likewise.
2406 (log_test_data): Likewise.
2407 (log10_test_data): Likewise.
2408 (log1p_test_data): Likewise.
2409 (log2_test_data): Likewise.
2410 (pow_test_data): Likewise.
2411 (scalb_test_data): Likewise.
2412 (sin_test_data): Likewise.
2413 (sincos_test_data): Likewise.
2414 (sinh_test_data): Likewise.
2415 (tan_test_data): Likewise.
2416 (tanh_test_data): Likewise.
2417 (tgamma_test_data): Likewise.
2418 (y0_test_data): Likewise.
2419 (y1_test_data): Likewise.
2420 (yn_test_data): Likewise.
2421
66294491
JM
2422 [BZ #16167]
2423 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2424 argument being NaN and avoid computations with second argument in
2425 that case.
2426 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2427 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2428 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2429
1820b143
CL
24302013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2431
2432 * locale/iso-639.def: Add Chitwani Tharu (the).
2433
714bd261
AS
24342013-11-14 Andreas Schwab <schwab@suse.de>
2435
2436 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2437 word instead of empty string.
2438
7ab44563
AZ
24392013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2440
2441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2442 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2444 (__fe_nomask_env): Likewise.
2445
e8470ea2
SE
24462013-11-13 Steve Ellcey <sellcey@mips.com>
2447
2448 * benchtests/bench-timing.h: Include time.h.
2449
17c1d9f0
L
24502013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2451
2452 [BZ #15997]
2453 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2454 to 3.4.0 for x32.
2455 * sysdeps/unix/sysv/linux/configure: Regenerated.
2456
9310c284
JM
24572013-11-13 Joseph Myers <joseph@codesourcery.com>
2458
2459 [BZ #16151]
2460 * stdlib/strtod_l.c (round_and_return): Do not consider
2461 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2462 exponent one less than half the least subnormal exponent.
2463 * stdlib/test-strtod-round-data: Add more tests.
2464 * stdlib/tst-strtod-round.c (tests): Regenerated.
2465
7a2ad8cf
AZ
24662013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2467
2468 [BZ #14143]
2469 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2470 (__fe_mask_env): Likewise.
2471 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2472 libm_hidden_proto and add function prototype.
2473 (__fe_mask_env): Add function prototype.
2474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2475 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2477 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2479 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2480
50727aa7
MS
24812013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2482
b2f386c1 2483 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
2484 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2485
a615be46
MS
24862013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2487
2488 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2489 of htab_find_slot().
2490
7ddace62
DM
24912013-11-11 David S. Miller <davem@davemloft.net>
2492
2493 [BZ #16150]
2494 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2495 symbol in the non-vis3 case in static builds.
2496 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2497 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2498 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2499 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2500
9182aa67
JK
25012013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2502
2503 [BZ #387]
2504 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2505 it is empty.
2506
450a2e2d
AZ
25072013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2508
b2f386c1
SP
2509 * benchtests/Makefile: Add bench-strtod.
2510 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 2511
8ec3f656
AS
25122013-11-11 Andreas Schwab <schwab@suse.de>
2513
2514 [BZ #16153]
2515 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2516 terminating NUL in key length.
2517
76a9b998
AZ
25182013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2519
2520 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2521 Add artificial ODP entry for vDSO symbol for PPC64.
2522 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2523 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2524
e4368156
OB
25252013-11-07 Ondřej Bílka <neleai@seznam.cz>
2526
2527 [BZ #15374]
2528 * nss/getent.c (services_keys): Recognize services starting with digit.
2529
8d6bb57c
DM
25302013-11-06 David S. Miller <davem@davemloft.net>
2531
2532 [BZ #15985]
2533 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2534 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2535
e256c421
WN
25362013-11-06 Will Newton <will.newton@linaro.org>
2537
2538 * manual/memory.texi (Malloc Examples): Remove register
2539 keyword from examples.
2540
f6e12daa 25412013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 2542
f6e12daa 2543 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 2544
9d880655
AS
25452013-11-04 Joseph Myers <joseph@codesourcery.com>
2546
2547 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2548 depending on [__GCC_IEC_559 > 0].
2549 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2550 depending on [__GCC_IEC_559_COMPLEX > 0].
2551
ae129d3c
CL
25522013-11-03 Chris Leonard <cjl@sugarlabs.org>
2553
2554 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2555 to iso-639.def.
2556
4a15c2a4 25572013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
2558
2559 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2560
8b35e35d
OB
25612013-11-01 Ondřej Bílka <neleai@seznam.cz>
2562
2563 [BZ #16112]
2564 * malloc/malloc (malloc_info): Do not handle first bin as
2565 special case.
2566
1d70fd6c
CL
25672013-11-01 Chris Leonard <cjl@sugarlabs.org>
2568
2569 * locale/iso-639.def: Add Central Nahuatl (nhn).
2570
8c5c2600
BH
25712013-11-01 Bruno Haible <bruno@clisp.org>
2572
2573 [BZ #7003]
2574 * manual/math.texi (BSD Random): Specify range upper bound as
2575 in POSIX.
2576
da5579c2
CL
25772013-10-31 Chris Leonard <cjl@sugarlabs.org>
2578
2579 * locale/iso-639.def: Add Meadow Mari (mhr).
2580
5d30d853
OB
25812013-10-31 Ondřej Bílka <neleai@seznam.cz>
2582
2583 [BZ #14752], [BZ #15763]
2584 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2585 Validate name.
2586 * rt/tst_shm.c: Add test for escaping directory.
2587
a4966c61
AS
25882013-10-31 Andreas Schwab <schwab@suse.de>
2589
8a43e768 2590 [BZ #15917]
a4966c61
AS
2591 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2592 followed by 'x' as part of digit sequence.
2593 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2594
28d708c4
MAP
25952013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2596
2597 [BZ #16037]
2598 * configure.ac: allow GNU Make 4.0 and greater.
2599 * configure: Regenerated.
2600
a56ee40b
WN
26012013-10-30 Will Newton <will.newton@linaro.org>
2602
2603 [BZ #16038]
2604 * malloc/hooks.c (memalign_check): Limit alignment to the
2605 maximum representable power of two.
2606 * malloc/malloc.c (__libc_memalign): Likewise.
2607 * malloc/tst-memalign.c (do_test): Add test for very
2608 large alignment values.
2609 * malloc/tst-posix_memalign.c (do_test): Likewise.
2610
c6e4925d
OB
26112013-10-30 Ondřej Bílka <neleai@seznam.cz>
2612
2613 [BZ #11087]
2614 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2615 (munmap_chunk): Likewise.
2616 (mremap_chunk): Likewise.
2617
26182013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 2619
8a43e768 2620 [BZ #15799]
bbea82f7
OB
2621 * stdlib/div.c (div): Remove obsolete code.
2622 * stdlib/ldiv.c (ldiv): Likewise.
2623 * stdlib/lldiv.c (lldiv): Likewise.
2624
977f4b31
SP
26252013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2626
2627 [BZ #16071]
2628 * nss/nss_files/files-XXX.c (get_contents_ret): New
2629 enumerator.
2630 (get_contents): New function.
2631 (internal_getent): Use it. Expand size of LINEBUFLEN.
2632
cb8a6dbd
MF
26332013-10-30 Mike Frysinger <vapier@gentoo.org>
2634
2635 * configure.in: Moved to ...
2636 * configure.ac: ... here. Change reference to configure.in
2637 to configure.ac.
2638 * sysdeps/arm/preconfigure.ac: ... here.
2639 configure.in to configure.ac.
2640 * sysdeps/gnu/configure.in: Moved to ...
2641 * sysdeps/gnu/configure.ac: ... here.
2642 * sysdeps/i386/configure.in: Moved to ...
2643 * sysdeps/i386/configure.ac: ... here.
2644 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2645 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2646 * sysdeps/mach/configure.in: Moved to ...
2647 * sysdeps/mach/configure.ac: ... here.
2648 * sysdeps/mach/hurd/configure.in: Moved to ...
2649 * sysdeps/mach/hurd/configure.ac: ... here.
2650 * sysdeps/powerpc/configure.in: Moved to ...
2651 * sysdeps/powerpc/configure.ac: ... here.
2652 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2653 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2654 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2655 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2656 * sysdeps/s390/s390-32/configure.in: Moved to ...
2657 * sysdeps/s390/s390-32/configure.ac: ... here.
2658 * sysdeps/s390/s390-64/configure.in: Moved to ...
2659 * sysdeps/s390/s390-64/configure.ac: ... here.
2660 * sysdeps/sh/configure.in: Moved to ...
2661 * sysdeps/sh/configure.ac: ... here.
2662 * sysdeps/sparc/configure.in: Moved to ...
2663 * sysdeps/sparc/configure.ac: ... here.
2664 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2665 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2666 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2667 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2668 * sysdeps/x86_64/configure.in: Moved to ...
2669 * sysdeps/x86_64/configure.ac: ... here.
2670 * sysdeps/x86_64/preconfigure.in: Moved to ...
2671 * sysdeps/x86_64/preconfigure.ac: ... here.
2672 * aclocal.m4: Change reference to configure.in to configure.ac.
2673 * config.h.in: Likewise.
2674 * manual/install.texi: Likewise.
2675 * manual/maint.texi: Likewise.
2676 * Makefile: Likewise.
2677 * malloc/Makefile: Likewise.
2678 * nscd/Makefile: Likewise.
2679 * Makeconfig: Change reference to configure.in and
2680 preconfigure.in to configure.ac and preconfigure.ac
2681 respectively.
2682 * INSTALL: Regenerated.
2683 * configure: Likewise.
2684 * sysdeps/gnu/configure: Likewise.
2685 * sysdeps/i386/configure: Likewise.
2686 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2687 * sysdeps/mach/configure: Likewise.
2688 * sysdeps/mach/hurd/configure: Likewise.
2689 * sysdeps/powerpc/configure: Likewise.
2690 * sysdeps/powerpc/powerpc32/configure: Likewise.
2691 * sysdeps/powerpc/powerpc64/configure: Likewise.
2692 * sysdeps/s390/s390-32/configure: Likewise.
2693 * sysdeps/s390/s390-64/configure: Likewise.
2694 * sysdeps/sh/configure: Likewise.
2695 * sysdeps/sparc/configure: Likewise.
2696 * sysdeps/unix/sysv/linux/configure: Likewise.
2697 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2698 * sysdeps/x86_64/configure: Likewise.
2699 * sysdeps/x86_64/preconfigure: Likewise.
2700
36a4953a
AS
27012013-10-29 Andreas Schwab <schwab@suse.de>
2702
2703 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2704
c79a1204
SP
27052013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2706
dfa1b402
SP
2707 * benchtests/pow-inputs: Add new inputs.
2708
54f73d9c
SP
2709 * benchtests/exp-inputs: Add new inputs.
2710
c79a1204
SP
2711 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2712 conditional check for return value.
2713 (__cos32): Likewise.
2714
67beb545 27152013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
2716
2717 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2718 to provide a boost for large inputs with word alignment.
2719 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2720 implementation based on optimized PPC64 strcpy.
2721 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2722 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2723 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2724 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2725
151659f6
OB
27262013-10-25 Ondřej Bílka <neleai@seznam.cz>
2727
482a077e 2728 [BZ #2801]
151659f6
OB
2729 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2730
10b0f26b
OB
27312013-10-25 Ondřej Bílka <neleai@seznam.cz>
2732
2733 [BZ #14876]
2734 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2735 * time/tst-strptime.c (day_tests): Add testcase.
2736
ca42d35e
OB
27372013-10-25 Ondřej Bílka <neleai@seznam.cz>
2738
482a077e 2739 [BZ #14029]
ca42d35e
OB
2740 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2741
52e6d801
FB
27422013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2743
2744 [BZ #16074]
2745 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2746 MAP_FAILED on error.
2747
7cbcdb36
SP
27482013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2749
2750 [BZ #16072]
2751 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2752 heap for large requests.
2753
894f3f10
AM
27542013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2755
2756 [BZ #9954]
2757 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2758 result if the result has no associated interface.
2759 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2760 interface for all 127.X.Y.Z addresses.
2761
b85545a6
CL
27622013-10-24 Chris Leonard <cjl@sugarlabs.org>
2763
2764 * locale/iso-639.def: Add Ligurian (lij)
2765
d1f23d46
OB
27662013-10-21 Ondřej Bílka <neleai@seznam.cz>
2767
2768 [BZ #15825]
2769 * sunrpc/rpc_main.c: Document rpcgen -5.
2770
4db5b08f
MS
27712013-10-19 Michael Stahl <mstahl@redhat.com>
2772
2773 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2774
a471e96a
OB
27752013-10-19 Ondřej Bílka <neleai@seznam.cz>
2776
d1f23d46 2777 [BZ #10278]
a471e96a
OB
2778 * posix/glob.c: Match only directories when trailing slash is present.
2779 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2780 (main): Add testcase.
2781
45c30c61
OB
27822013-10-19 Ondřej Bílka <neleai@seznam.cz>
2783
2784 [BZ #15670]
2785 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2786
484c12fb
CD
27872013-10-18 Carlos O'Donell <carlos@redhat.com>
2788
3d7dc513
CD
2789 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2790 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2791 AUTH_DES and cindex for FIPS 140-2.
2792 (DES Encryption): Add cindex FIPS 46-3.
2793
484c12fb
CD
2794 * locale/locarchive.h (struct locarhandle): Add fname.
2795 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2796 if an optional argument was specified to --list-archive,
2797 otherwise NULL.
2798 * locale/programs/locarchive.c (show_archive_content): Take new
2799 argument fname and pass it via ah.fname to open_archive.
2800 * locale/programs/localedef.h: Update decl.
2801 (open_archive): If AH->fname is non-null, open that file
2802 rather than the default file name, and don't ignore ENOENT.
2803 (create_archive): Set AH.fname to NULL.
2804 (delete_locales_from_archive): Likewise.
2805 (add_locales_to_archive): Likewise.
2806 * locale/programs/locfile.c (write_all_categories): Likewise.
2807
3c8325fb
JM
28082013-10-18 Joseph Myers <joseph@codesourcery.com>
2809 Aldy Hernandez <aldyh@redhat.com>
2810
2811 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2812 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2813 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2814 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2815 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2816 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2817 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2818 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2819 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2820 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2821 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2822 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2823 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2824 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2825 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2826 Likewise.
2827 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2828 Likewise.
2829 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2830 Likewise.
2831 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2832 Likewise.
2833 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2834 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2835 Likewise.
2836 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2837 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2838 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2839 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2840 Likewise.
2841 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2842 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2843 * sysdeps/powerpc/preconfigure: Likewise.
2844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2845 Likewise.
2846 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2847 Replace contents of file by #include of <fenv_libc.h>.
2848 * sysdeps/powerpc/soft-fp/sfp-machine.h
2849 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2850 and <sys/prctl.h>.
2851 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2852 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2853 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2854 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2855 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2856 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2858 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2859 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2860 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2861 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2862 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2864 Allow copysignl PLT reference to be missing.
2865
5abe0682
RS
28662013-10-18 Richard Sandiford <richard@codesourcery.com>
2867 Joseph Myers <joseph@codesourcery.com
2868
2869 [BZ #15948]
2870 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2871 single character.
2872 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2873
c7738d08
SP
28742013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2875
2876 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2877 * elf/tst-tls1.c: Likewise.
2878 * elf/tst-tls10.h: Likewise.
2879 * elf/tst-tls14.c: Likewise.
2880 * elf/tst-tls2.c: Likewise.
2881 * elf/tst-tls3.c: Likewise.
2882 * elf/tst-tls4.c: Likewise.
2883 * elf/tst-tls5.c: Likewise.
2884 * elf/tst-tls6.c: Likewise.
2885 * elf/tst-tls7.c: Likewise.
2886 * elf/tst-tls8.c: Likewise.
2887 * elf/tst-tls9.c: Likewise.
2888 * elf/tst-tlsmod1.c: Likewise.
2889 * elf/tst-tlsmod13.c: Likewise.
2890 * elf/tst-tlsmod13a.c: Likewise.
2891 * elf/tst-tlsmod14a.c: Likewise.
2892 * elf/tst-tlsmod16a.c: Likewise.
2893 * elf/tst-tlsmod16b.c: Likewise.
2894 * elf/tst-tlsmod2.c: Likewise.
2895 * elf/tst-tlsmod3.c: Likewise.
2896 * elf/tst-tlsmod4.c: Likewise.
2897 * elf/tst-tlsmod5.c: Likewise.
2898 * elf/tst-tlsmod6.c: Likewise.
2899
0bfcf2c7
OB
29002013-10-18 Ondřej Bílka <neleai@seznam.cz>
2901
2902 [BZ #12486]
2903 * malloc/malloc.c: remove checks for statistics.
2904
264aad1e
OB
29052013-10-17 Ondřej Bílka <neleai@seznam.cz>
2906
2907 [BZ #15277]
2908 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2909 * inet/tst-network.c: Add testcase.
2910
b957ced8
AS
29112013-10-17 Andreas Schwab <schwab@suse.de>
2912
2913 [BZ #15218]
2914 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2915 to determine canonical name.
2916
c5d5d574
OB
29172013-10-17 Ondřej Bílka <neleai@seznam.cz>
2918
2919 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2920 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2921 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2922 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2923 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2924 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2925 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2926 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2927 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2928 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2929 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2930 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2931 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2932 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2933 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2934 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2935 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2936 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2937 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2938 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2939 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2940 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2941 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2942 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2943 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2944 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2945 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2946 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2947 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2948 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2949 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2950 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2951 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2952 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2953 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2954 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2955 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2956 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2957 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2958 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2959 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2960 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2961 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2962 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2963 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2964 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2965 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2966 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2967 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2968 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2969 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2970 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2971 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2972 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2973 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2974 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2975 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2976 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2977
e5c2c2d0
JM
29782013-10-17 Joseph Myers <joseph@codesourcery.com>
2979
2980 [BZ #16041]
2981 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2982 make result into a quiet NaN.
2983
51ca9e29
JM
29842013-10-16 Joseph Myers <joseph@codesourcery.com>
2985
2986 * soft-fp/adddf3.c: Fix horizontal whitespace.
2987 * soft-fp/addsf3.c: Likewise.
2988 * soft-fp/addtf3.c: Likewise.
2989 * soft-fp/divdf3.c: Likewise.
2990 * soft-fp/divsf3.c: Likewise.
2991 * soft-fp/divtf3.c: Likewise.
2992 * soft-fp/double.h: Likewise.
2993 * soft-fp/eqdf2.c: Likewise.
2994 * soft-fp/eqsf2.c: Likewise.
2995 * soft-fp/eqtf2.c: Likewise.
2996 * soft-fp/extenddftf2.c: Likewise.
2997 * soft-fp/extended.h: Likewise.
2998 * soft-fp/extendsfdf2.c: Likewise.
2999 * soft-fp/extendsftf2.c: Likewise.
3000 * soft-fp/extendxftf2.c: Likewise.
3001 * soft-fp/fixdfdi.c: Likewise.
3002 * soft-fp/fixdfsi.c: Likewise.
3003 * soft-fp/fixdfti.c: Likewise.
3004 * soft-fp/fixsfdi.c: Likewise.
3005 * soft-fp/fixsfsi.c: Likewise.
3006 * soft-fp/fixsfti.c: Likewise.
3007 * soft-fp/fixtfdi.c: Likewise.
3008 * soft-fp/fixtfsi.c: Likewise.
3009 * soft-fp/fixtfti.c: Likewise.
3010 * soft-fp/fixunsdfdi.c: Likewise.
3011 * soft-fp/fixunsdfsi.c: Likewise.
3012 * soft-fp/fixunsdfti.c: Likewise.
3013 * soft-fp/fixunssfdi.c: Likewise.
3014 * soft-fp/fixunssfsi.c: Likewise.
3015 * soft-fp/fixunssfti.c: Likewise.
3016 * soft-fp/fixunstfdi.c: Likewise.
3017 * soft-fp/fixunstfsi.c: Likewise.
3018 * soft-fp/fixunstfti.c: Likewise.
3019 * soft-fp/floatdidf.c: Likewise.
3020 * soft-fp/floatdisf.c: Likewise.
3021 * soft-fp/floatditf.c: Likewise.
3022 * soft-fp/floatsidf.c: Likewise.
3023 * soft-fp/floatsisf.c: Likewise.
3024 * soft-fp/floatsitf.c: Likewise.
3025 * soft-fp/floattidf.c: Likewise.
3026 * soft-fp/floattisf.c: Likewise.
3027 * soft-fp/floattitf.c: Likewise.
3028 * soft-fp/floatundidf.c: Likewise.
3029 * soft-fp/floatundisf.c: Likewise.
3030 * soft-fp/floatunditf.c: Likewise.
3031 * soft-fp/floatunsidf.c: Likewise.
3032 * soft-fp/floatunsisf.c: Likewise.
3033 * soft-fp/floatunsitf.c: Likewise.
3034 * soft-fp/floatuntidf.c: Likewise.
3035 * soft-fp/floatuntisf.c: Likewise.
3036 * soft-fp/floatuntitf.c: Likewise.
3037 * soft-fp/fmadf4.c: Likewise.
3038 * soft-fp/fmasf4.c: Likewise.
3039 * soft-fp/fmatf4.c: Likewise.
3040 * soft-fp/gedf2.c: Likewise.
3041 * soft-fp/gesf2.c: Likewise.
3042 * soft-fp/getf2.c: Likewise.
3043 * soft-fp/ledf2.c: Likewise.
3044 * soft-fp/lesf2.c: Likewise.
3045 * soft-fp/letf2.c: Likewise.
3046 * soft-fp/muldf3.c: Likewise.
3047 * soft-fp/mulsf3.c: Likewise.
3048 * soft-fp/multf3.c: Likewise.
3049 * soft-fp/negdf2.c: Likewise.
3050 * soft-fp/negsf2.c: Likewise.
3051 * soft-fp/negtf2.c: Likewise.
3052 * soft-fp/op-1.h: Likewise.
3053 * soft-fp/op-2.h: Likewise.
3054 * soft-fp/op-4.h: Likewise.
3055 * soft-fp/op-8.h: Likewise.
3056 * soft-fp/op-common.h: Likewise.
3057 * soft-fp/quad.h: Likewise.
3058 * soft-fp/single.h: Likewise.
3059 * soft-fp/soft-fp.h: Likewise.
3060 * soft-fp/sqrtdf2.c: Likewise.
3061 * soft-fp/sqrtsf2.c: Likewise.
3062 * soft-fp/sqrttf2.c: Likewise.
3063 * soft-fp/subdf3.c: Likewise.
3064 * soft-fp/subsf3.c: Likewise.
3065 * soft-fp/subtf3.c: Likewise.
3066 * soft-fp/truncdfsf2.c: Likewise.
3067 * soft-fp/trunctfdf2.c: Likewise.
3068 * soft-fp/trunctfsf2.c: Likewise.
3069 * soft-fp/trunctfxf2.c: Likewise.
3070 * soft-fp/unorddf2.c: Likewise.
3071 * soft-fp/unordsf2.c: Likewise.
3072 * soft-fp/unordtf2.c: Likewise.
3073
9ebb0332
JM
30742013-10-15 Joseph Myers <joseph@codesourcery.com>
3075
3076 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3077 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3078
4b1a6d8b
OB
30792013-10-15 Ondřej Bílka <neleai@seznam.cz>
3080
3081 * elf/dl-libc.c: Clear initfini list after freeing.
3082
1e145589
JM
30832013-10-14 Joseph Myers <joseph@codesourcery.com>
3084
3085 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3086 * soft-fp/addsf3.c: Likewise.
3087 * soft-fp/addtf3.c: Likewise.
3088 * soft-fp/divdf3.c: Likewise.
3089 * soft-fp/divsf3.c: Likewise.
3090 * soft-fp/divtf3.c: Likewise.
3091 * soft-fp/double.h: Likewise.
3092 * soft-fp/eqdf2.c: Likewise.
3093 * soft-fp/eqsf2.c: Likewise.
3094 * soft-fp/eqtf2.c: Likewise.
3095 * soft-fp/extenddftf2.c: Likewise.
3096 * soft-fp/extended.h: Likewise.
3097 * soft-fp/extendsfdf2.c: Likewise.
3098 * soft-fp/extendsftf2.c: Likewise.
3099 * soft-fp/extendxftf2.c: Likewise.
3100 * soft-fp/fixdfdi.c: Likewise.
3101 * soft-fp/fixdfsi.c: Likewise.
3102 * soft-fp/fixdfti.c: Likewise.
3103 * soft-fp/fixsfdi.c: Likewise.
3104 * soft-fp/fixsfsi.c: Likewise.
3105 * soft-fp/fixsfti.c: Likewise.
3106 * soft-fp/fixtfdi.c: Likewise.
3107 * soft-fp/fixtfsi.c: Likewise.
3108 * soft-fp/fixtfti.c: Likewise.
3109 * soft-fp/fixunsdfdi.c: Likewise.
3110 * soft-fp/fixunsdfsi.c: Likewise.
3111 * soft-fp/fixunsdfti.c: Likewise.
3112 * soft-fp/fixunssfdi.c: Likewise.
3113 * soft-fp/fixunssfsi.c: Likewise.
3114 * soft-fp/fixunssfti.c: Likewise.
3115 * soft-fp/fixunstfdi.c: Likewise.
3116 * soft-fp/fixunstfsi.c: Likewise.
3117 * soft-fp/fixunstfti.c: Likewise.
3118 * soft-fp/floatdidf.c: Likewise.
3119 * soft-fp/floatdisf.c: Likewise.
3120 * soft-fp/floatditf.c: Likewise.
3121 * soft-fp/floatsidf.c: Likewise.
3122 * soft-fp/floatsisf.c: Likewise.
3123 * soft-fp/floatsitf.c: Likewise.
3124 * soft-fp/floattidf.c: Likewise.
3125 * soft-fp/floattisf.c: Likewise.
3126 * soft-fp/floattitf.c: Likewise.
3127 * soft-fp/floatundidf.c: Likewise.
3128 * soft-fp/floatundisf.c: Likewise.
3129 * soft-fp/floatunsidf.c: Likewise.
3130 * soft-fp/floatunsisf.c: Likewise.
3131 * soft-fp/floatuntidf.c: Likewise.
3132 * soft-fp/floatuntisf.c: Likewise.
3133 * soft-fp/floatuntitf.c: Likewise.
3134 * soft-fp/fmadf4.c: Likewise.
3135 * soft-fp/fmasf4.c: Likewise.
3136 * soft-fp/fmatf4.c: Likewise.
3137 * soft-fp/gedf2.c: Likewise.
3138 * soft-fp/gesf2.c: Likewise.
3139 * soft-fp/getf2.c: Likewise.
3140 * soft-fp/ledf2.c: Likewise.
3141 * soft-fp/lesf2.c: Likewise.
3142 * soft-fp/letf2.c: Likewise.
3143 * soft-fp/muldf3.c: Likewise.
3144 * soft-fp/mulsf3.c: Likewise.
3145 * soft-fp/multf3.c: Likewise.
3146 * soft-fp/negdf2.c: Likewise.
3147 * soft-fp/negsf2.c: Likewise.
3148 * soft-fp/negtf2.c: Likewise.
3149 * soft-fp/op-1.h: Likewise.
3150 * soft-fp/op-2.h: Likewise.
3151 * soft-fp/op-4.h: Likewise.
3152 * soft-fp/op-8.h: Likewise.
3153 * soft-fp/op-common.h: Likewise.
3154 * soft-fp/quad.h: Likewise.
3155 * soft-fp/single.h: Likewise.
3156 * soft-fp/soft-fp.h: Likewise.
3157 * soft-fp/sqrtdf2.c: Likewise.
3158 * soft-fp/sqrtsf2.c: Likewise.
3159 * soft-fp/sqrttf2.c: Likewise.
3160 * soft-fp/subdf3.c: Likewise.
3161 * soft-fp/subsf3.c: Likewise.
3162 * soft-fp/subtf3.c: Likewise.
3163 * soft-fp/truncdfsf2.c: Likewise.
3164 * soft-fp/trunctfdf2.c: Likewise.
3165 * soft-fp/trunctfsf2.c: Likewise.
3166 * soft-fp/trunctfxf2.c: Likewise.
3167 * soft-fp/unorddf2.c: Likewise.
3168 * soft-fp/unordsf2.c: Likewise.
3169 * soft-fp/unordtf2.c: Likewise.
3170
17c48a60
OB
31712013-10-14 Ondřej Bílka <neleai@seznam.cz>
3172
3173 [BZ #15672]
3174 * misc/error.c (error_tail): Fix possible buffer overflow.
3175
cabba934
OB
31762013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3177
3178 [BZ #13028]
3179 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3180 address.
3181
94bf958a
PM
31822013-10-14 P. J. McDermott <pj@pehjota.net>
3183
3184 [BZ #832]
3185 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3186 testing pipefail option.
3187
71b4dea7
JM
31882013-10-12 Joseph Myers <joseph@codesourcery.com>
3189
3190 * soft-fp/double.h: Indent preprocessor directives inside #if.
3191 * soft-fp/extended.h: Likewise.
3192 * soft-fp/op-2.h: Likewise.
3193 * soft-fp/op-4.h: Likewise.
3194 * soft-fp/op-common.h: Likewise.
3195 * soft-fp/quad.h: Likewise.
3196 * soft-fp/single.h: Likewise.
3197 * soft-fp/soft-fp.h: Likewise.
3198
55602758
YC
31992013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3200
3201 * iconv/iconv_prog.c: Fix typos.
3202 * stdio-common/psiginfo-data.h: Likewise.
3203
9cd83302
RT
32042013-10-12 Reuben Thomas <rrt@sc3d.org>
3205
3206 [BZ #15764]
3207 * locale/setlocale.c: Fix typo.
3208
99fd9f47
JM
32092013-10-12 Joseph Myers <joseph@codesourcery.com>
3210
b7ea74f0
JM
3211 [BZ #16036]
3212 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3213 signaling NaN arguments.
3214 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3215 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3216
8a509447
JM
3217 [BZ #14910]
3218 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3219 unordered operands.
3220 * soft-fp/gesf2.c (__gesf2): Likewise.
3221 * soft-fp/getf2.c (__getf2): Likewise.
3222 * soft-fp/ledf2.c (__ledf2): Likewise.
3223 * soft-fp/lesf2.c (__lesf2): Likewise.
3224 * soft-fp/letf2.c (__letf2): Likewise.
3225
98998e9f
JM
3226 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3227 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3228 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3229 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3230 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3231 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3232 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3233 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3234 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3235 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3236 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3237 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3238 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3239 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3240 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3241 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3242 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3243 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3244 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3245 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3246 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3247 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3248 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3249 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3250 * soft-fp/floattidf.c (__floattidf): Likewise.
3251 * soft-fp/floattisf.c (__floattisf): Likewise.
3252 * soft-fp/floattitf.c (__floattitf): Likewise.
3253 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3254 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3255 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3256 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3257 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3258 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3259 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3260 * soft-fp/gesf2.c (__gesf2): Likewise.
3261 * soft-fp/getf2.c (__getf2): Likewise.
3262 * soft-fp/ledf2.c (__ledf2): Likewise.
3263 * soft-fp/lesf2.c (__lesf2): Likewise.
3264 * soft-fp/letf2.c (__letf2): Likewise.
3265
8edc4a11
JM
3266 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3267 Undefine and redefine.
3268 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3269 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3270 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3271 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3272 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3273 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3274 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3275 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3276 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3277 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3278 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3279 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3280 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3281 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3282 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3283
8399acaf
JM
3284 [BZ #16032]
3285 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3286 without decrementing exponent if mantissa >= that for the
3287 denominator, not >.
3288 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3289 denominator, not >. Decrement exponent in < case instead of
3290 incrementing in >= case.
3291 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3292 without decrementing exponent if mantissa >= that for the
3293 denominator, not >.
3294
99fd9f47
JM
3295 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3296 computing saturated result for unsigned overflow.
3297
10e1cf6b
SP
32982013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3299 Jeff Law <law@redhat.com>
3300
3301 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3302 (atan2Mp): Add systemtap probe marker.
3303 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3304 (__ieee754_log): Add systemtap probe marker.
3305 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3306 (atanMp): Add systemtap probe marker.
3307 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3308 (tanMp): Add systemtap probe marker.
3309 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3310 (__slowexp): Add systemtap probe marker.
3311 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3312 (__slowpow): Add systemtap probe marker.
3313 * manual/probes.texi: Document probes.
3314
3d110c7c
EB
33152013-10-11 Eric Biggers <ebiggers3@gmail.com>
3316
3317 [BZ #15362]
3318 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3319 written.
3320 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3321 written.
3322 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3323 written to buffer but not flushed.
3324 * libio/iofwrite_u.c: Likewise.
3325 * libio/iopadn.c: Return bytes returned even if EOF was
3326 encountered.
3327 * libio/iowpadn.c: Likewise.
3328 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3329 if _IO_padn does not write the whole buffer.
3330 [!COMPILE_WPRINTF] (PAD): Likewise.
3331
75b4202a
DM
33322013-10-10 David S. Miller <davem@davemloft.net>
3333
3334 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3335 directory block.
3336
6c6352e6
JM
33372013-10-10 Joseph Myers <joseph@codesourcery.com>
3338
33b853c3
JM
3339 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3340 instead of FSF address.
3341 * soft-fp/fixdfti.c: Likewise.
3342 * soft-fp/fixsfti.c: Likewise.
3343 * soft-fp/fixtfti.c: Likewise.
3344 * soft-fp/fixunsdfti.c: Likewise.
3345 * soft-fp/fixunssfti.c: Likewise.
3346 * soft-fp/fixunstfti.c: Likewise.
3347 * soft-fp/floattidf.c: Likewise.
3348 * soft-fp/floattisf.c: Likewise.
3349 * soft-fp/floattitf.c: Likewise.
3350 * soft-fp/floatuntidf.c: Likewise.
3351 * soft-fp/floatuntisf.c: Likewise.
3352 * soft-fp/floatuntitf.c: Likewise.
3353 * soft-fp/trunctfxf2.c: Likewise.
3354
6c6352e6
JM
3355 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3356 * soft-fp/fixdfti.c: Likewise.
3357 * soft-fp/fixsfti.c: Likewise.
3358 * soft-fp/fixtfti.c: Likewise.
3359 * soft-fp/fixunsdfti.c: Likewise.
3360 * soft-fp/fixunssfti.c: Likewise.
3361 * soft-fp/fixunstfti.c: Likewise.
3362 * soft-fp/floattidf.c: Likewise.
3363 * soft-fp/floattisf.c: Likewise.
3364 * soft-fp/floattitf.c: Likewise.
3365 * soft-fp/floatuntidf.c: Likewise.
3366 * soft-fp/floatuntisf.c: Likewise.
3367 * soft-fp/floatuntitf.c: Likewise.
3368 * soft-fp/trunctfxf2.c: Likewise.
3369
3bf78b71
DM
33702013-10-10 David S. Miller <davem@davemloft.net>
3371
3372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3373
6f10289e
JM
33742013-10-10 Joseph Myers <joseph@codsourcery.com>
3375
bd878fc0
JM
3376 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3377 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3378 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3379 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3380 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3381 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3382 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3383
6f10289e
JM
3384 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3385 for NaNs before doing comparisons on argument.
3386 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3387 Likewise.
3388
321e2684
WN
33892013-10-10 Will Newton <will.newton@linaro.org>
3390
3391 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3392 passed to _int_memalign does not overflow.
3393
40fefba1
TR
33942013-10-10 Torvald Riegel <triegel@redhat.com>
3395
3396 * scripts/bench.pl: Add include-sources directive.
3397 * benchtests/README: Update documentation.
3398
2ae21ed2
JM
33992013-10-10 Joseph Myers <joseph@codesourcery.com>
3400
dcc2dd3f
JM
3401 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3402 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3403 instead of FP_INIT_ROUNDMODE.
3404 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3405 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3406
2ae21ed2
JM
3407 [BZ #16034]
3408 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3409 copy class of input value.
3410 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3411 not handle exceptions.
3412 * soft-fp/negsf2.c (__negsf2): Likewise.
3413 * soft-fp/negtf2.c (__negtf2): Likewise.
3414 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3415
cb8f9562
JM
34162013-10-09 Joseph Myers <joseph@codesourcery.com>
3417
3418 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3419 semicolon. From Linux kernel.
3420
5b60c59d
AB
34212013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3422
3423 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3424
b86835ca
YC
34252013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3426
3427 [BZ #156]
3428 * manual/socket.texi: Added statement about buffer
3429 for gethostbyname2_r.
3430
e7044ea7
OB
34312013-10-08 Ondřej Bílka <neleai@seznam.cz>
3432
3433 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3434 Use .p2align directive instead, throughout.
3435 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3436 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3437 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3438 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3439 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3440 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3441 * sysdeps/x86_64/strchr.S: Likewise.
3442 * sysdeps/x86_64/strrchr.S: Likewise.
3443
09544cbc
SP
34442013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3445
88576635
SP
3446 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3447
e7b2d1dd
SP
3448 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3449
09544cbc
SP
3450 * sysdeps/generic/math_private.h (__mpsin1): Remove
3451 declaration.
3452 (__mpcos1): Likewise.
3453 (__mpsin): New argument __range_reduce.
3454 (__mpcos): Likewise.
3455 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3456 (slow): Use __mpsin and __mpcos.
3457 (slow1): Likewise.
3458 (slow2): Likewise.
3459 (sloww): Likewise.
3460 (sloww1): Likewise.
3461 (sloww2): Likewise.
3462 (bsloww): Likewise.
3463 (bsloww1): Likewise.
3464 (bsloww2): Likewise.
3465 (cslow2): Likewise.
3466 (csloww): Likewise.
3467 (csloww1): Likewise.
3468 (csloww2): Likewise.
3469 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3470 range_reduce. Merge in __mpsin1.
3471 (__mpcos): Likewise.
3472 (__mpsin1): Remove.
3473 (__mpcos1): Likewise.
3474
7602d070
JM
34752013-10-07 Joseph Myers <joseph@codesourcery.com>
3476
3477 * locale/loadlocale.c (_nl_intern_locale_data): Use
3478 LOCFILE_ALIGNED_P.
3479 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3480 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3481 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3482 obstack data is appropriately aligned.
3483 (obstack_int32_grow_fast): Likewise.
3484 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3485 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3486 (add_locale_uint32_array): Likewise.
3487
a357259b
SP
34882013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3489
3490 * benchtests/Makefile: Remove ARGLIST and RET variables.
3491 ($(objpfx)bench-%.c): Pass only function name to the script.
3492 * benchtests/README: Update documentation.
3493 * benchtests/acos-inputs: Add new directives.
3494 * benchtests/acosh-inputs: Likewise.
3495 * benchtests/asin-inputs: Likewise.
3496 * benchtests/asinh-inputs: Likewise.
3497 * benchtests/atan-inputs: Likewise.
3498 * benchtests/atanh-inputs: Likewise.
3499 * benchtests/cos-inputs: Likewise.
3500 * benchtests/cosh-inputs: Likewise.
3501 * benchtests/exp-inputs: Likewise.
3502 * benchtests/log-inputs: Likewise.
3503 * benchtests/pow-inputs: Likewise.
3504 * benchtests/rint-inputs: Likewise.
3505 * benchtests/sin-inputs: Likewise.
3506 * benchtests/sinh-inputs: Likewise.
3507 * benchtests/tan-inputs: Likewise.
3508 * benchtests/tanh-inputs: Likewise.
3509 * scripts/bench.pl: Add support for new directives.
3510
9ec1b13d
AM
35112013-10-07 Alan Modra <amodra@gmail.com>
3512
3513 * README: Fix careless merge.
3514
8b7d57cd
AM
35152013-10-05 Alan Modra <amodra@gmail.com>
3516
3517 * NEWS: Mention powerpc64le support and bugs fixed.
3518 * README: Both big-endian and little-endian powerpc64 supported.
3519
7b7bab13
ST
35202013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3521
3522 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3523 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3524 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3525 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3526
d39baad1
RA
35272013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3528
3529 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3530 match prototype.
3531
cd78f7e7
JM
35322013-10-04 Joseph Myers <joseph@codesourcery.com>
3533
29d73d86
JM
3534 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3535 Move -mhard-float appending from
3536 ports/sysdeps/powerpc/powerpc32/Makefile.
3537 [$(with-fp) = yes] (ASFLAGS): Likewise.
3538 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3539 * sysdeps/powerpc/nofpu: Move directory from
3540 ports/sysdeps/powerpc/nofpu.
3541 * sysdeps/powerpc/soft-fp: Move directory from
3542 ports/sysdeps/powerpc/soft-fp.
3543 * sysdeps/powerpc/powerpc32/405: Move directory from
3544 ports/sysdeps/powerpc/powerpc32/405.
3545 * sysdeps/powerpc/powerpc32/440: Move directory from
3546 ports/sysdeps/powerpc/powerpc32/440.
3547 * sysdeps/powerpc/powerpc32/464: Move directory from
3548 ports/sysdeps/powerpc/powerpc32/464.
3549 * sysdeps/powerpc/powerpc32/476: Move directory from
3550 ports/sysdeps/powerpc/powerpc32/476.
3551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3552 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3554 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3556 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3558 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3560 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3561 * README: Update for powerpc-*-linux-gnu software floating point
3562 support in libc.
3563
e246b347
JM
3564 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3565 case to powerpc/powerpc32*.
3566 * sysdeps/unix/sysv/linux/configure: Regenerated.
3567
89c2003e
JM
3568 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3569 (_FPU_MASK_OM): Define as 0x04.
3570 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3571 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3572 0x00c10080.
3573 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3574 0x0000003c.
3575 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3576
cd78f7e7
JM
3577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3578 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3579 getcontext_e500.
3580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3581 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3582 setcontext_e500.
3583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3584 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3585 and setcontext_e500.
3586
c755294d
CL
35872013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3588
3589 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3590
e16d221c
SP
35912013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3592
3593 * manual/threads.texi (Default Thread Attributes): Fix typo.
3594
215c7d43
WN
35952013-10-04 Will Newton <will.newton@linaro.org>
3596
3597 * malloc/Makefile: Add tst-memalign.
3598 * malloc/tst-memalign.c: New file.
3599
27d0461b
WN
3600 * malloc/tst-posix_memalign.c: Add comments.
3601 (do_test): Add comments and call free on all potentially
3602 allocated pointers. Add space after cast.
3603
1bc92709
WN
3604 * malloc/tst-pvalloc.c: Add comments.
3605 (do_test): Add comments and call free on all potentially
3606 allocated pointers. Remove duplicate check for NULL pointer.
3607 Add space after cast.
3608
66a9be9d
WN
3609 * malloc/tst-valloc.c: Add comments.
3610 (do_test): Add comments and call free on all potentially
3611 allocated pointers. Remove duplicate check for NULL pointer.
3612 Add space after cast.
3613
4cb81307
AM
36142013-10-04 Alan Modra <amodra@gmail.com>
3615
3616 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3617 Use stdint types in rather than __attribute__((mode())).
3618 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3619
f8e3e9f3
AM
36202013-10-04 Alan Modra <amodra@gmail.com>
3621
3622 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3623 Correct handling of unaligned relocs for little-endian.
3624 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3625
8f9ebb08
AM
36262013-10-04 Alan Modra <amodra@gmail.com>
3627
3628 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3629 * configure: Regenerate.
3630 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3631 * shlib-versions: Likewise.
3632
0edf96c2
AM
36332013-10-04 Alan Modra <amodra@gmail.com>
3634
3635 * string/tester.c (test_memrchr): Increment reported test cycle.
3636
e0f7a380
AM
36372013-10-04 Alan Modra <amodra@gmail.com>
3638
3639 * string/test-memcpy.c (do_one_test): When reporting errors, print
3640 string address and don't overrun end of string.
3641
466b0393
AM
36422013-10-04 Alan Modra <amodra@gmail.com>
3643
3644 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3645 insrdi. Make better use of reg selection to speed exit slightly.
3646 Schedule entry path a little better. Remove useless "are we done"
3647 checks on entry to main loop. Handle wrapping around zero address.
3648 Correct main loop count. Handle single left-over word from main
3649 loop inline rather than by using loop_small. Remove extra word
3650 case in loop_small caused by wrong loop count. Add little-endian
3651 support.
3652 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3653 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3654 cache hint.
3655 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3656 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3657 support. Avoid rlwimi.
3658 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3659
3be87c77
AM
36602013-10-04 Alan Modra <amodra@gmail.com>
3661
3662 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 3663 insrdi. Formatting.
3be87c77
AM
3664 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3665 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3666 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3667 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3668 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3669 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3670
759cfef3
AM
36712013-10-04 Alan Modra <amodra@gmail.com>
3672
3673 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3674 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3675 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3676 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3677 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3678 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3679 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3680 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3681 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3682 use of regs. Use power7 mtocrf. Tidy function tails.
3683
fe6e95d7
AM
36842013-10-04 Alan Modra <amodra@gmail.com>
3685
3686 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3687 Formatting. Consistently use rXXX register defines or rN defines.
3688 Use early exit labels that avoid restoring unused non-volatile regs.
3689 Make cr field use more consistent with rWORDn compares. Rename
3690 regs used as shift registers for unaligned loop, using rN defines
3691 for short lifetime/multiple use regs.
3692 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3693 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3694 addi 1,1,64 to pop stack frame. Simplify return value code.
3695 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3696
664318c3
AM
36972013-10-04 Alan Modra <amodra@gmail.com>
3698
3699 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3700 support. Correct typos, formatting. Optimize tail. Use insrdi
3701 rather than rlwimi.
3702 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3703 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3704 little-endian support. Correct typos.
3705 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3706 rather than rlwimi.
3707 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3708 in loop and entry code to keep "and." results.
3709 (strchr): Add little-endian support. Comment. Move cntlzd
3710 earlier in tail.
3711 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3712
43b84013
AM
37132013-10-04 Alan Modra <amodra@gmail.com>
3714
3715 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3716 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3717 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3718 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3719
8a7413f9
AM
37202013-10-04 Alan Modra <amodra@gmail.com>
3721
3722 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3723 (rTMP): Define as r11.
3724 (strcmp): Add little-endian support. Optimise tail.
3725 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3726 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3727 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3728 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3729 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3730 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3731 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3732
33ee81de
AM
37332013-10-04 Alan Modra <amodra@gmail.com>
3734
3735 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3736 little-endian support. Remove unnecessary "are we done" tests.
3737 Handle "s" wrapping around zero and extremely large "size".
3738 Correct main loop count. Handle single left-over word from main
3739 loop inline rather than by using small_loop. Correct comments.
3740 Delete "zero" tail, use "end_max" instead.
3741 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3742
db9b4570
AM
37432013-10-04 Alan Modra <amodra@gmail.com>
3744
3745 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3746 support. Don't branch over align.
3747 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3748 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3749 support. Rearrange tmp reg use to suit. Comment.
3750 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3751
f7c399cf
AM
37522013-10-04 Alan Modra <amodra@gmail.com>
3753
3754 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3755
0b2c2ace
AM
37562013-10-04 Alan Modra <amodra@gmail.com>
3757
3758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3759 conditional form of branch and link when obtaining pc.
3760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3761
02f04a6c
AM
37622013-10-04 Alan Modra <amodra@gmail.com>
3763
3764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3765 HIWORD/LOWORD.
3766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3768
9b874b2f
AM
37692013-10-04 Alan Modra <amodra@gmail.com>
3770
3771 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3772 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3773 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3774 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3775 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3776 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3777 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3778 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3779 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3780 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3781
be1e5d31
AB
37822013-10-04 Anton Blanchard <anton@au1.ibm.com>
3783 Alistair Popple <alistair@ozlabs.au.ibm.com>
3784 Alan Modra <amodra@gmail.com>
3785
3786 [BZ #15723]
3787 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3788 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3789 _dl_hwcap access for little-endian.
3790 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3791 destroy vmx regs when saving unaligned.
3792 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3793 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3794 destroy vmx regs when saving unaligned.
3795
fef13a78
AM
37962013-10-04 Alan Modra <amodra@gmail.com>
3797
3798 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3799 Don't use a union to pack hi/low value.
3800
76a66d51
AB
38012013-10-04 Anton Blanchard <anton@au1.ibm.com>
3802
3803 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3804 for little-endian.
3805 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3806 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3807 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3808 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3809 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3810
6a31fe7f
AM
38112013-10-04 Alan Modra <amodra@gmail.com>
3812
3813 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3814 constants to usual value for .cst8 section, and remove redundant
3815 high address load.
3816 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3817 constant for 0x1p52. Load little-endian words of double from
3818 correct stack offsets.
3819
7b88401f
AM
38202013-10-04 Alan Modra <amodra@gmail.com>
3821
3822 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3823 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3824 words of double from correct stack offsets.
3825 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3826 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3827 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3828 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3829 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3830 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3831 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3832 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3833 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3834 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3835 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3836 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3837 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3838 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3839 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3840 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3841 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3842
9c008155
AM
38432013-10-04 Alan Modra <amodra@gmail.com>
3844
3845 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3846 64-bit int/double union.
3847 (_FPU_SETCW): Likewise.
3848 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3849 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3850
da13146d
AM
38512013-10-04 Alan Modra <amodra@gmail.com>
3852
3853 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3854 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3855
603e8410
AM
38562013-10-04 Alan Modra <amodra@gmail.com>
3857
3858 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3859 use vector int constants.
3860 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3861
4a28b3ca
AB
38622013-10-04 Anton Blanchard <anton@au1.ibm.com>
3863
3864 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3865 array with long long.
3866 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3867 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3868 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3869 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3870 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3871 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3872 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3873 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3874 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3875 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3876 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3877 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3878 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3879
2ca85d2b
AB
38802013-10-04 Anton Blanchard <anton@au1.ibm.com>
3881
3882 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3883 (__signbit): Likewise. Correct for little-endian.
3884 (__signbitl): Call __signbit.
3885 (lrint): Correct for little-endian.
3886 (lrintf): Call lrint.
3887
62a728ae
AM
38882013-10-04 Alan Modra <amodra@gmail.com>
3889
3890 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3891 union 32-bit int array member with 64-bit int array.
3892 (t515, tm256): Double rather than long double.
3893 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3894
32c301df
AM
38952013-10-04 Alan Modra <amodra@gmail.com>
3896
3897 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3898 Delete.
3899 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3900 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3901 version of math_ldbl.h.
3902
650ef4bd
AM
39032013-10-04 Alan Modra <amodra@gmail.com>
3904
3905 [BZ #15734], [BZ #15735]
3906 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3907 all uses of ieee875 long double macros and unions. Simplify test
3908 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3909 ldbl_extract_mantissa value for ix,iy exponents. Properly
3910 normalize after ldbl_extract_mantissa, and don't add hidden bit
3911 already handled. Don't treat low word of ieee854 mantissa like
3912 low word of IBM long double and mask off bit when testing for
3913 zero.
3914 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3915 all uses of ieee875 long double macros and unions. Simplify tests
3916 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3917 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3918 two1022, instead use their values. Recognise that tests for large
3919 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3920 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3921 Rewrite all uses of ieee875 long double macros and unions. Simplify
3922 test for 0.0L and nan. Correct negation.
3923 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3924 ieee875 long double macros and unions. Correct output for large
3925 magnitude x. Correct absolute value calculation.
3926 (__erfcl): Likewise.
3927 * math/libm-test.inc: Add tests for errors discovered in IBM long
3928 double versions of fmodl, remainderl, erfl and erfcl.
3929
765714ca
AM
39302013-10-04 Alan Modra <amodra@gmail.com>
3931
3932 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3933 all uses of ieee854 long double macros and unions. Simplify tests
3934 for long doubles that are fully specified by the high double.
3935 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3936 Likewise.
3937 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3938 Remove dead code too.
3939 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3940 (__ieee754_ynl): Likewise.
3941 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3942 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3943 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3944 Remove dead code too.
3945 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3946 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3947 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3948 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3949 Simplify.
3950 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3951 Simplify.
3952 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3953 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3954 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3955 Comment on variable precision.
3956 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3957 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3958 Likewise.
3959 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3960 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3961 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3962 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3963 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3964
4ebd120c
AM
39652013-10-04 Alan Modra <amodra@gmail.com>
3966
3967 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3968 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3969 all uses of ieee854 long double macros and unions.
3970 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3971 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3972 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3973 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3974 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3975 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3976 Likewise.
3977 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3978 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3979 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3980 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3981 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3982 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3983 Simplify sign and nan test too.
3984 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3985 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3986 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3987 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3988 Likewise.
3989 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3990 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3991 Likewise.
3992 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3993 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3994 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3995 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3996 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3997 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3998
1b6adf88
AM
39992013-10-04 Alan Modra <amodra@gmail.com>
4000
4001 * stdio-common/printf_size.c (__printf_size): Don't use
4002 union ieee854_long_double in fpnum union.
4003 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4004 signbit macro to retrieve sign from long double.
4005 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4006 retrieve sign from long double.
4007 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4008 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4009 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4010 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4011 * math/test-misc.c (main): Don't use union ieee854_long_double.
4012
4cf69995
AM
40132013-10-04 Alan Modra <amodra@gmail.com>
4014
4015 [BZ #15680]
4016 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4017 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4018 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4019 calculation. Remove unnecessary test for denormal exponent.
4020 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4021 Correct handling of denormals. Avoid undefined shift behaviour.
4022 Correct normalisation of low mantissa when low double is denormal.
4023 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4024 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4025 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4026 Correct normalisation of low mantissa. Test for overflow of high
4027 mantissa and normalise.
4028 (ldbl_nearbyint): Use more readable constant for two52.
4029 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4030 (__mpn_construct_long_double): Fix test for overflow of high
4031 mantissa and correct normalisation. Avoid undefined shift.
4032
9605ca6c
AM
40332013-10-04 Alan Modra <amodra@gmail.com>
4034
4035 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4036 (union ibm_extended_long_double): Define as an array of ieee754_double.
4037 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4038 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4039 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4040 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4041 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4042 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4043 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4044 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4045 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4046 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4047 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4048
975569d0
JM
40492013-10-03 Joseph Myers <joseph@codesourcery.com>
4050
d3d23756
JM
4051 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4052 page size instead of calling getpagesize.
4053
975569d0
JM
4054 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4055 (LOCFILE_ALIGN_MASK): Likewise.
4056 (LOCFILE_ALIGN_UP): Likewise.
4057 (LOCFILE_ALIGNED_P): Likewise.
4058 * locale/programs/ld-collate.c (collate_output): Use the new
4059 macros instead of __alignof__ (int32_t).
4060 * locale/weight.h (findidx): Likewise.
4061
b1fe1f2b
OB
40622013-10-03 Ondřej Bílka <neleai@seznam.cz>
4063
4064 [BZ #431]
4065 * manual/string.texi: Fix strncat and wcsncat.
4066
5f855e35
BM
40672013-10-03 Brooks Moses <bmoses@google.com>
4068
4069 [BZ #15915]
4070 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4071 * Makerules: ...here, and adjust associated comments.
4072
3cef6009
WN
40732013-10-02 Will Newton <will.newton@linaro.org>
4074
4075 * malloc/Makefile: Add tst-pvalloc.
4076 * malloc/tst-pvalloc.c: New file.
4077
7815420b
WN
40782013-10-02 Will Newton <will.newton@linaro.org>
4079
4080 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4081 improve test coverage.
4082
4868b204
WN
40832013-10-02 Will Newton <will.newton@linaro.org>
4084
4085 * malloc/Makefile: Add tst-posix_memalign.
4086 * malloc/tst-posix_memalign.c: New file.
4087
29c793b3
EB
40882013-10-01 Eric Blake <eblake@redhat.com>
4089
4090 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4091 Use __THROWNL rather than __THROW on static functions.
4092
fd967522
PM
40932013-09-30 Petr Machata <pmachata@redhat.com>
4094
4095 * elf/elf.h (R_AARCH64_ABS16): New macro.
4096 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4097 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4098 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4099 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4100 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4101 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4102 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4103 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4104 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4105 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4106 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4107 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4108 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4109 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4110 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4111 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4112 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4113 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4114 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4115 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4116 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4117 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4118 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4119 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4120 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4121 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4122 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4123 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4124 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4125 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4126 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4127 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4128 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4129 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4130 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4131 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4132 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4133 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4134 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4135 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4136 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4137 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4138 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4139 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4140 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4141 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4142 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4143 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4144 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4145 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4146 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4147 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4148 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4149 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4150 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4151 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4152 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4153 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4154 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4155 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4156 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4157 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4158 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4159 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4160 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4161 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4162 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4163 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4164 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4165 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4166 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4167 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4168 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4169 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4170 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4171 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4172 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4173 (R_AARCH64_TLSDESC_LDR): Likewise.
4174 (R_AARCH64_TLSDESC_ADD): Likewise.
4175 (R_AARCH64_TLSDESC_CALL): Likewise.
4176
b2179107
AS
41772013-09-30 Andreas Schwab <schwab@suse.de>
4178
4179 [BZ #15048]
4180 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4181 the nss database lookup.
4182 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4184
47f28d0a
MF
41852013-09-28 Mike Frysinger <vapier@gentoo.org>
4186
4187 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4188
41892013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
4190
4191 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4192 ${Bash-specific parameter/pattern/string} parameter expansion.
4193 * sysdeps/unix/make-syscalls.sh: Likewise.
4194
f4518a17
KK
41952013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4196
4197 * sysdeps/sh/stackguard-macros.h: New file.
4198
dc1a95c7
OB
41992013-09-26 Ondřej Bílka <neleai@seznam.cz>
4200
4201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4202 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4203 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4204 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4205 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4206 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4207
5ebbff8f
AZ
42082013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4209
4210 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4211 Fix thread ID register.
4212
4fd2cf9f
JM
42132013-09-25 Joseph Myers <joseph@codesourcery.com>
4214
4215 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4216 [POSIX || UNIX98]: Require rather than permitting all symbols from
4217 <time.h>.
4218 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4219 element of struct sched_param.
4220 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4221 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4222 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4223 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4224 constant.
4225
12c22bc4
OL
42262013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4227
4228 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4229 argument calculation.
4230
a03d8ea7
JM
42312013-09-24 Joseph Myers <joseph@codesourcery.com>
4232
4233 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4234 Expect macro.
4235 [POSIX] (pthread_attr_t): Do not require type.
4236 [POSIX] (pthread_cond_t): Likewise.
4237 [POSIX] (pthread_condattr_t): Likewise.
4238 [POSIX] (pthread_key_t): Likewise.
4239 [POSIX] (pthread_mutex_t): Likewise.
4240 [POSIX] (pthread_mutexattr_t): Likewise.
4241 [POSIX] (pthread_once_t): Likewise.
4242 [POSIX] (pthread_t): Likewise.
4243 [POSIX-based standards] (pthread_atfork): Expect function.
4244
6055173a
JM
42452013-09-24 Joseph Myers <joseph@codesourcery.com>
4246 Richard Sandiford <richard@codesourcery.com>
4247
4248 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4249 (swap_endianness_p): New extern variable.
4250 (set_big_endian): New inline function.
4251 (maybe_swap_uint32): Likewise.
4252 (maybe_swap_uint32_array): Likewise.
4253 (maybe_swap_uint32_obstack): Likewise.
4254 * locale/programs/locfile.c: Include <stdbool.h>.
4255 (swap_endianness_p): New variable.
4256 (add_locale_uint32): Call maybe_swap_uint32.
4257 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4258 (write_locale_data): Call maybe_swap_uint32_array.
4259 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4260 maybe_swap_uint32.
4261 (obstack_int32_grow_fast): Likewise.
4262 (output_weightwc): Call maybe_swap_uint32_obstack.
4263 (collate_output): Likewise.
4264 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4265 (OPT_LITTLE_ENDIAN): Likewise.
4266 (options): Add --little-endian and --big-endian options.
4267 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4268 * locale/programs/locarchive.c: Include "locfile.h".
4269 (GET): New macro.
4270 (SET): Likewise.
4271 (INC): Likewise.
4272 (create_archive): Use the new macros to access fields of
4273 structures directly mapped from or written to locale archives.
4274 (oldlocrecentcmp): Likewise.
4275 (enlarge_archive): Likewise.
4276 (insert_name): Likewise.
4277 (add_alias): Likewise.
4278 (add_locale): Likewise.
4279 (delete_locales_from_archive): Likewise.
4280 (show_archive_content): Likewise.
4281 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4282 locale data.
4283
39bf0bb4
RM
42842013-09-24 Roland McGrath <roland@hack.frob.com>
4285
4286 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4287 http://www.gnu.org/doc/freemanuals.texi.
4288 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4289
f02eed10
WN
42902013-09-24 Will Newton <will.newton@linaro.org>
4291
4292 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4293 macro.
4294
a3a6c312
JM
42952013-09-23 Joseph Myers <joseph@codesourcery.com>
4296
4297 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4298 unsigned char.
4299
107375ac
MR
43002013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4301
4302 * manual/threads.texi (POSIX Threads): Fix a typo.
4303
141f3a77
SP
43042013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4305
303e567a
SP
4306 [BZ #14547]
4307 * string/tst-strcoll-overflow.c: New test case.
4308 * string/Makefile (xtests): Add tst-strcoll-overflow.
4309 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4310 cache if string sizes may cause integer overflow.
4311
141f3a77
SP
4312 [BZ #14547]
4313 * string/strcoll_l.c (coll_seq): New members rule, idx,
4314 save_idx and back_us.
4315 (get_next_seq_nocache): New function.
4316 (do_compare_nocache): New function.
4317 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4318 when malloc fails.
4319
c61b4d41
CD
43202013-09-23 Carlos O'Donell <carlos@redhat.com>
4321
0b1f8e35
CD
4322 [BZ #15754]
4323 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4324 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4325 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4326
c61b4d41
CD
4327 [BZ #15754]
4328 * elf/Makefile (tests): Add tst-ptrguard1.
4329 (tests-static): Add tst-ptrguard1-static.
4330 (tst-ptrguard1-ARGS): Define.
4331 (tst-ptrguard1-static-ARGS): Define.
4332 * elf/tst-ptrguard1.c: New file.
4333 * elf/tst-ptrguard1-static.c: New file.
4334 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4335 * sysdeps/i386/stackguard-macros.h: Likewise.
4336 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4337 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4338 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4339 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4340 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4341 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4342
43432013-09-23 Hector Marco <hecmargi@upv.es>
4344 Ismael Ripoll <iripoll@disca.upv.es>
4345 Carlos O'Donell <carlos@redhat.com>
4346
4347 [BZ #15754]
4348 * sysdeps/generic/stackguard-macros.h: Define
4349 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4350 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4351 Define __pointer_chk_guard_local.
4352 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4353 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4354
f5f4e7b4
VV
43552013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4356
4357 [BZ #15859]
4358 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4359
5bb43a43
AS
43602013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4361
4362 * include/string.h (__ffs): Declare as hidden.
4363 * string/ffs.c (__ffs): Define as hidden.
4364 * sysdeps/i386/ffs.c (__ffs): Likewise.
4365 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4366 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4367 * sysdeps/s390/ffs.c (__ffs): Likewise.
4368 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4369
3ea5be54
AO
43702013-09-20 Alexandre Oliva <aoliva@redhat.com>
4371
ffb89e53
AO
4372 * NEWS: Mention malloc probes.
4373
322dea08
AO
4374 * malloc/arena.c (new_heap): New memory_heap_new probe.
4375 (grow_heap): New memory_heap_more probe.
4376 (shrink_heap): New memory_heap_less probe.
4377 (heap_trim): New memory_heap_free probe.
4378 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4379 (systrim): New memory_sbrk_less probe.
4380 * manual/probes.texi: Document them.
4381
655673f3
AO
4382 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4383 * manual/probes.texi: Document it.
4384
35fed6f1
AO
4385 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4386 (__libc_realloc): Add memory_realloc_retry probe.
4387 (__libc_memalign): Add memory_memalign_retry probe.
4388 (__libc_valloc): Add memory_valloc_retry probe.
4389 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4390 (__libc_calloc): Add memory_calloc_retry probe.
4391 * manual/probes.texi: Document them.
4392
6999d38c
AO
4393 * malloc/arena.c (get_free_list): Add probe
4394 memory_arena_reuse_free_list.
4395 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4396 and memory_arena_reuse.
4397 (arena_get2) [!PER_THREAD]: Likewise.
4398 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4399 memory_arena_reuse_realloc.
4400 * manual/probes.texi: Document them.
4401
0653427f
AO
4402 * malloc/malloc.c (__libc_free): Add
4403 memory_mallopt_free_dyn_thresholds probe.
4404 (__libc_mallopt): Add multiple memory_mallopt probes.
4405 * manual/probes.texi: Document them.
4406
3ea5be54
AO
4407 * malloc/malloc.c: Include stap-probe.h.
4408 (__libc_mallopt): Add memory_mallopt probe.
4409 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4410 * manual/probes.texi: New.
4411 * manual/Makefile (chapters): Add probes.
4412 * manual/threads.texi: Set next node.
4413
e35696c3 44142013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 4415
e35696c3
CL
4416 [BZ #15963, #13985]
4417 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4418 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4419 Add `Chinese' to `nan' entry name.
4420
4aafb73c
SP
44212013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4422
4423 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4424 (POLYNOMIAL): Likewise.
4425 (TAYLOR_SINCOS): Likewise.
4426 (TAYLOR_SLOW): Likewise.
4427 (__sin): Use TAYLOR_SINCOS.
4428 (__cos): Likewise.
4429 (slow): Use TAYLOR_SLOW.
4430 (sloww): Likewise.
4431 (bsloww): Likewise.
4432 (csloww): Likewise.
4433
d84f25c7
LD
44342013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4435
4436 * stdlib/strtod_l.c: Fix buffer overrun.
4437
5eea0404
SP
44382013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4439
7849ff93
SP
4440 * benchtests/Makefile (bench): Add sincos.
4441 * benchtests/bench-sincos.c: New file.
4442
cfa3c886
SP
4443 * math/libm-test.inc (cos_test_data): New test inputs.
4444 (sin_test_data): Likewise.
4445
b348e1e3
SP
4446 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4447 macro.
4448 (__sin): Use it.
4449 (__cos): Likewise.
4450 (slow1): Likewise.
4451 (slow2): Likewise.
4452 (sloww1): Likewise.
4453 (sloww2): Likewise.
4454 (bsloww1): Likewise.
4455 (bsloww2): Likewise.
4456 (cslow2): Likewise.
4457 (csloww1): Likewise.
4458 (csloww2): Likewise.
4459
6cce25f8
SP
4460 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4461 function.
4462 (__sin): Use it.
4463 (__cos): Likewise.
4464
5eea0404
SP
4465 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4466 gotos.
4467 (__cos): Likewise.
4468
9c21573c
MR
44692013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4470
4471 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4472 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4473 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4474 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4475 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4476 * elf/cache.c (print_entry): Handle the new cache flags.
4477
24d22e65
JM
44782013-09-18 Joseph Myers <joseph@codesourcery.com>
4479 Aldy Hernandez <aldyh@redhat.com>
4480
4481 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4482 Change condition to [_SOFT_FLOAT].
4483 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4484 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4485 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4486 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4487 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4488 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4489 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4490 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4491 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4492 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4493 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4494 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4495 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4496 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4497 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4498 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4499 declaration.
4500
d13ef066
JM
45012013-09-18 Joseph Myers <joseph@codesourcery.com>
4502
2e071de0
JM
4503 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4504 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4505 (__longjmp): Use LOAD_GP to load saved GPRs.
4506 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4507 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4508 (__sigsetjmp): Use SAVE_GP to save GPRs.
4509
d13ef066
JM
4510 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4511 Do not append -msoft-float.
4512 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4513
97a0650b
SP
45142013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4515
4516 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4517
11ca09e9
JM
45182013-09-17 Joseph Myers <joseph@codesourcery.com>
4519
4520 [BZ #15966]
4521 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4522 (_FPU_GETCW): Use initial "__" on variable and field names but not
4523 on macro parameter name.
4524 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4525 parentheses around reference to macro parameter.
4526
08ffcf34
RS
45272013-09-13 Richard Sandiford <richard@codesourcery.com>
4528
4529 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4530 prototype.
4531 (ctype_startup): Use uint32_t in cast and sizeof for
4532 ctype->charnames.
4533
ae7080d3
JL
45342013-09-11 Jia Liu <proljc@gmail.com>
4535
4536 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4537 __daddr_t_defined.
4538 [__FreeBSD__]: Likewise.
4539
5905e7b3
OB
45402013-09-11 Ondřej Bílka <neleai@seznam.cz>
4541
4542 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4543 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4544 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4545 (strchr): Remove __strchr_sse42 ifunc selection.
4546 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4547 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4548
b987c776
WN
45492013-09-11 Will Newton <will.newton@linaro.org>
4550
4551 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4552 parameter to RES. Remove hardcoded 1000 value.
4553 * benchtests/bench-skeleton.c (main): Pass RES parameter
4554 to TIMING_INIT and multiply result by 1000.
4555
ddf985af
AZ
45562013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4557
4558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4559
ffdd3181
AS
45602013-09-11 Andreas Schwab <schwab@suse.de>
4561
4562 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4563 if not defined.
4564 (O_TMPFILE) [__USE_GNU]: Define.
4565 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4566 Define.
4567
b73ed247
WN
45682013-09-11 Will Newton <will.newton@linaro.org>
4569
4570 [BZ #15857]
4571 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4572 does not overflow.
4573
55e17aad
WN
45742013-09-11 Will Newton <will.newton@linaro.org>
4575
4576 [BZ #15856]
4577 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4578 does not overflow.
4579
1159a193
WN
45802013-09-11 Will Newton <will.newton@linaro.org>
4581
4582 [BZ #15855]
4583 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4584 does not overflow.
4585
5905e7b3 45862013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
4587
4588 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4589 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4590 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4591 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4592 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4593
cdfc721b
AM
45942013-09-10 Allan McRae <allan@archlinux.org>
4595
aa04af00
AM
4596 [BZ #15748]
4597 * manual/arith.texi (Parsing of Floats): Clarify
4598 cross-reference.
4599
cdfc721b
AM
4600 [BZ #15849]
4601 * manual/install.texi (Running make install): Mention
4602 --enable-pt-chown.
4603 * INSTALL: Regenerated.
4604
95e7cf29
MR
46052013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4606
4607 * csu/init-first.c (_init): Remove the !SHARED condition around
4608 FPU control word initialization.
4609 * elf/dl-support.c (_dl_fpu_control): New variable.
4610 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4611 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4612 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4613 * math/test-fpucw-static.c: New file.
4614 * math/test-fpucw-ieee.c: New file.
4615 * math/test-fpucw-ieee-static.c: New file.
4616 * math/Makefile (tests): Add `test-fpucw-ieee' and
4617 `$(tests-static)'.
4618 (tests-static): New variable.
4619 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4620 dependency to...
4621 [($(build-shared),yes)]
4622 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4623 ... this.
4624 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4625 New dependency.
4626
83e43bf0
AM
46272013-09-09 Allan McRae <allan@archlinux.org>
4628
a9f5ce09
AM
4629 [BZ #15939]
4630 * manual/string.texi (Collation Functions): Fix typo in
4631 strcoll example.
4632 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4633
34829bc2
AM
4634 [BZ #15893]
4635 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4636
3932737d
AM
4637 [BZ #15892]
4638 * libio/memstream.c (open_memstream): Fix memory leak.
4639 * libio/wmemstream.c (open_wmemstream): Likewise.
4640
83e43bf0
AM
4641 [BZ #15895]
4642 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4643
0c66b8e9
WN
46442013-09-09 Will Newton <will.newton@linaro.org>
4645
4646 * malloc/Makefile: Add tst-realloc to tests.
4647 * malloc/tst-realloc.c: New file.
4648
f6b00fd1
AM
46492013-09-09 Allan McRae <allan@archlinux.org>
4650
4651 [BZ #15844]
4652 * COPYING: Update from GNU website to fix FSF address.
4653 * COPYING.LIB: Likewise.
4654
eec55e16
DM
46552013-09-06 David S. Miller <davem@davemloft.net>
4656
4657 * po/zh_TW.po: Update Chinese (traditional) translation from
4658 translation project.
4659
1ecbb381
RS
46602013-09-06 Richard Sandiford <richard@codesourcery.com>
4661 Joseph Myers <joseph@codesourcery.com>
4662
4663 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4664 "localeinfo.h".
4665 (obstack_chunk_alloc): New macro.
4666 (obstack_chunk_free): Likewise.
4667 (record_offset): New function.
4668 (init_locale_data): Likewise.
4669 (align_locale_data): Likewise.
4670 (add_locale_empty): Likewise.
4671 (add_locale_raw_data): Likewise.
4672 (add_locale_raw_obstack): Likewise.
4673 (add_locale_string): Likewise.
4674 (add_locale_wstring): Likewise.
4675 (add_locale_uint32): Likewise.
4676 (add_locale_uint32_array): Likewise.
4677 (add_locale_char): Likewise.
4678 (start_locale_structure): Likewise.
4679 (end_locale_structure): Likewise.
4680 (start_locale_prelude): Likewise.
4681 (end_locale_prelude): Likewise.
4682 (write_locale_data): Take locale_file structure rather than an
4683 iovec.
4684 * locale/programs/locfile.h: Include "obstack.h".
4685 (struct locale_file): Change to store locale file contents instead
4686 of header.
4687 (init_locale_data): New prototype.
4688 (align_locale_data): Likewise.
4689 (add_locale_empty): Likewise.
4690 (add_locale_raw_data): Likewise.
4691 (add_locale_raw_obstack): Likewise.
4692 (add_locale_string): Likewise.
4693 (add_locale_wstring): Likewise.
4694 (add_locale_uint32): Likewise.
4695 (add_locale_uint32_array): Likewise.
4696 (add_locale_char): Likewise.
4697 (start_locale_structure): Likewise.
4698 (end_locale_structure): Likewise.
4699 (start_locale_prelude): Likewise.
4700 (end_locale_prelude): Likewise.
4701 (write_locale_data): Update prototype.
4702 * locale/programs/3level.h (struct TABLE): Remove result field.
4703 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4704 Use new locale_file interface.
4705 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4706 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4707 * locale/programs/ld-address.c (address_output): Use new
4708 locale_file interface.
4709 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4710 NO_ADD_LOCALE.
4711 (collate_finish): Don't call collseq_table_finalize.
4712 (collate_output): Use new locale_file interface.
4713 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4714 in file.
4715 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4716 (TABLE): Move defines earlier in file.
4717 (ELEMENT): Likewise.
4718 (DEFAULT): Likewise.
4719 (wctrans_table_add): Move macro and inline function earlier in
4720 file.
4721 (struct wctype_table): Move type earlier in file.
4722 (add_locale_wctype_table): New static prototype.
4723 (struct locale_ctype_t): Use logical types instead of struct iovec
4724 pointers for members.
4725 (ctype_output): Use new locale_file interface.
4726 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4727 new locale_file interface.
4728 (allocate_arrays): Update for use of new locale_file interface.
4729 * locale/programs/ld-identification.c (identification_output): Use
4730 new locale_file interface.
4731 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4732 * locale/programs/ld-messages.c (messages_output): Likewise.
4733 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4734 * locale/programs/ld-name.c (name_output): Likewise.
4735 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4736 * locale/programs/ld-paper.c (paper_output): Likewise.
4737 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4738 * locale/programs/ld-time.c (time_output): Likewise.
4739
e029e2e5
AZ
47402013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4741
4742 * benchtests/Makefile: Add memrchr benchmark.
4743 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4744 benchmark as memrchr.
4745 * benchtests/bench-memrchr-ifunc.c: New file.
4746 * benchtests/bench-memrchr.c: New file.
4747
bbf6e8e4
WN
47482013-09-06 Will Newton <will.newton@linaro.org>
4749
4750 * benchtests/Makefile (string-bench): Add memcpy.
4751
6c82a2f8
CD
47522013-09-05 Carlos O'Donell <carlos@redhat.com>
4753 Cong Wang <amwang@redhat.com>
4754
4755 * sysdeps/unix/sysv/linux/bits/in.h
4756 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4757 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4758 before __USE_KERNEL_IPV6_DEFS uses.
4759 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4760 IPPROTO_BEETPH.
4761 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4762 sockaddr_in6, or ipv6_mreq.
4763
5430fc65
AZ
47642013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4765
4766 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4767 memory access for final bytes in some large inputs.
4768 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4769
4660856c
AZ
47702013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4771
4772 * string/test-memrchr.c: New file.
4773 * string/test-memrchr-ifunc.c: New file.
4774 * string/Makefile: Add new memrchr testcase.
4775
bb8ea713
MF
47762013-09-05 Mike Frysinger <vapier@gentoo.org>
4777
4778 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4779 fanotify_init returns EPERM.
4780
b92a20b5
JM
47812013-09-04 Joseph Myers <joseph@codesourcery.com>
4782
4783 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4784 errors.
4785 (top level): Treat second token from macro or constant entries for
4786 allowed headers as allowed.
4787 * include/complex.h: Condition internal declarations on
4788 [!_ISOMAC].
4789 * include/fenv.h: Condition include of <stdbool.h> and internal
4790 declarations on [!_ISOMAC].
7447ccd9
CL
4791
47922013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4793
3e181dda 4794 [BZ #15923]
7447ccd9
CL
4795 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4796
3f2e46a4
JM
47972013-09-04 Joseph Myers <joseph@codesourcery.com>
4798
4799 * configure.in (--enable-versioning): Remove configure option.
4800 (libc_cv_asm_symver_directive): Remove configure test.
4801 (libc_cv_ld_version_script_option): Likewise.
4802 (VERSIONING): Remove variable and AC_SUBST.
4803 (DO_VERSIONING): Remove AC_DEFINE.
4804 * configure: Regenerated.
4805 * config.h.in (DO_VERSIONING): Remove macro.
4806 * Makerules [$(versioning) = yes]: Change conditionals to
4807 [$(build-shared) = yes].
4808 * config.make.in (versioning): Remove variable.
4809 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4810 [$(build-shared) = yes].
4811 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4812 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4813 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4814 [$(build-shared) = yes].
4815 * extra-lib.mk [$(versioning) = yes]: Likewise.
4816 * hurd/Makefile [$(versioning) = yes]: Likewise.
4817 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4818 [SHARED].
4819 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4820 [SHARED].
4821 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4822 [SHARED && !NO_HIDDEN].
4823 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4824 [SHARED].
4825 [SHARED && DO_VERSIONING]: Likewise..
4826 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4827 [$(build-shared) = yes].
4828 * manual/install.texi (--disable-versioning): Remove
4829 documentation.
4830 * INSTALL: Regenerated.
4831 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4832 to [SHARED].
4833 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4834 [$(build-shared) = yes].
4835 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4836 * sysdeps/i386/i686/multiarch/strstr-c.c
4837 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4838 [SHARED && !NO_HIDDEN].
4839 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4840 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4841 * sysdeps/powerpc/powerpc32/dl-machine.c
4842 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4843 * sysdeps/powerpc/powerpc32/sysdep.h
4844 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4845 to [SHARED && PIC && !NO_HIDDEN].
4846 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4847 conditional to [SHARED].
4848
44558701
WN
48492013-09-04 Will Newton <will.newton@linaro.org>
4850
4851 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4852 * benchtests/bench-string.h: Include bench-timing.h instead
4853 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4854 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4855 call to HP_TIMING_DIFF_INIT.
4856 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4857 instead of hp-timing.h macros.
4858 * benchtests/bench-memchr.c: Likewise.
4859 * benchtests/bench-memcmp.c: Likewise.
4860 * benchtests/bench-memcpy.c: Likewise.
4861 * benchtests/bench-memmem.c: Likewise.
4862 * benchtests/bench-memmove.c: Likewise.
4863 * benchtests/bench-memset.c: Likewise.
4864 * benchtests/bench-rawmemchr.c: Likewise.
4865 * benchtests/bench-strcasecmp.c: Likewise.
4866 * benchtests/bench-strcasestr.c: Likewise.
4867 * benchtests/bench-strcat.c: Likewise.
4868 * benchtests/bench-strchr.c: Likewise.
4869 * benchtests/bench-strcmp.c: Likewise.
4870 * benchtests/bench-strcpy.c: Likewise.
4871 * benchtests/bench-strcpy_chk.c: Likewise.
4872 * benchtests/bench-strlen.c: Likewise.
4873 * benchtests/bench-strncasecmp.c: Likewise.
4874 * benchtests/bench-strncat.c: Likewise.
4875 * benchtests/bench-strncmp.c: Likewise.
4876 * benchtests/bench-strncpy.c: Likewise.
4877 * benchtests/bench-strnlen.c: Likewise.
4878 * benchtests/bench-strpbrk.c: Likewise.
4879 * benchtests/bench-strrchr.c: Likewise.
4880 * benchtests/bench-strspn.c: Likewise.
4881 * benchtests/bench-strstr.c: Likewise.
4882
cae16d66
WN
48832013-09-04 Will Newton <will.newton@linaro.org>
4884
4885 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4886
ffa3cd7f
JM
48872013-09-03 Joseph Myers <joseph@codesourcery.com>
4888
4889 [BZ #15427]
4890 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4891 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4892 * math/libm-test.inc (lgamma_test_data): Add more tests.
4893 * sysdeps/i386/fpu/libm-test-ulps: Update.
4894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4895
8f02859f
OB
48962013-09-03 Ondřej Bílka <neleai@seznam.cz>
4897
4898 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4899 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4900 Add ifunc.
4901 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4902 Add strcmp-sse2-unaligned
4903 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4904
18d43716
MF
49052013-09-02 Mike Frysinger <vapier@gentoo.org>
4906
4907 * Versions.def (libc): Add GLIBC_2.19.
4908
ac444012
MF
49092013-09-02 Mike Frysinger <vapier@gentoo.org>
4910
4911 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4912 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4913
b7835e32
JM
49142013-09-02 Joseph Myers <joseph@codesourcery.com>
4915
4916 [BZ #14155]
4917 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4918 intermediate calculations in recurrence.
4919 (__ieee754_ynf): Likewise.
4920 * math/libm-test.inc (jn_test_data): Do not allow spurious
4921 underflow exception. Add more tests.
4922 (yn_test_data): Add more tests.
4923 * sysdeps/i386/fpu/libm-test-ulps: Update.
4924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4925
8220f4f0
OB
49262013-09-02 Ondřej Bílka <neleai@seznam.cz>
4927
4928 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4929
f24a6d08
OB
49302013-08-30 Ondřej Bílka <neleai@seznam.cz>
4931
4932 * csu/init-first.c: Fix then/than typos.
4933 * locale/programs/ld-collate.c: Likewise.
4934 * locale/programs/linereader.h: Likewise.
4935 * manual/charset.texi: Likewise.
4936 * manual/filesys.texi: Likewise.
4937 * manual/stdio.texi: Likewise.
4938 * manual/string.texi: Likewise.
4939 * stdlib/fmtmsg.c: Likewise.
4940 * sysdeps/i386/stpncpy.S: Likewise.
4941 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4942 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4943 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4944 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4945
382466e0
OB
49462013-08-30 Ondřej Bílka <neleai@seznam.cz>
4947
4948 * elf/dl-open.c: Fix typos.
4949 * iconvdata/gbbig5.c: Likewise.
4950 * iconvdata/iso-2022-jp.c: Likewise.
4951 * iconv/gconv_int.h: Likewise.
4952 * iconv/loop.c: Likewise.
4953 * nis/rpcsvc/nis.h: Likewise.
4954 * resolv/ns_name.c: Likewise.
4955 * stdio-common/vfscanf.c: Likewise.
4956 * streams/stropts.h: Likewise.
4957 * sunrpc/rpc_thread.c: Likewise.
4958 * sysdeps/i386/strpbrk.S: Likewise.
4959 * sysdeps/ieee754/k_standard.c: Likewise.
4960 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4961 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4962 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4963 * sysdeps/mach/hurd/profil.c: Likewise.
4964 * sysdeps/s390/dl-procinfo.h: Likewise.
4965 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4966 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4967 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4968 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4969 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4970
0186c6e9
OB
49712013-08-30 Ondřej Bílka <neleai@seznam.cz>
4972
4973 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4974 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4975
d4e16af1
OB
49762013-08-29 Ondřej Bílka <neleai@seznam.cz>
4977
4978 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4979 aix specific files.
4980 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4981 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4982 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4983 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4984 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4985 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4986 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4987 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4988
88335980
TS
49892013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4990 Roland McGrath <roland@hack.frob.com>
4991
4992 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4993 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4994
ed479b02
ST
49952013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4996
4997 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4998 __executable_start symbol instead of _start.
4999
f1cc4c86
TS
50002013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5001
d821f07c
TS
5002 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5003 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5004 Move macros to...
5005 * sysdeps/gnu/ldsodefs.h: ... this new file.
5006
c54290cf
TS
5007 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5008 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5009 instead of ELFOSABI_LINUX.
5010
0007fc9b 5011 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
5012 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5013 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5014 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5015 Likewise.
5016 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5017 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5018 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5019 Likewise.
5020 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5021 (ibm_extended_long_double): Add ieee_nan member.
5022 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5023 (do_test): New function.
5024
f1cc4c86
TS
5025 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5026 TEST_TRUNC.
5027 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5028 functions, renamed from truncdfsf_test, trunctfsf_test,
5029 trunctfdf_test.
5030 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5031 functions.
5032 (do_test): Run all these.
5033
6f65e668
OB
50342013-08-29 Ondřej Bílka <neleai@seznam.cz>
5035
5036 * argp/argp-help.c: Fix typos.
5037 * argp/argp-parse.c: Likewise.
5038 * debug/backtracesyms.c: Likewise.
5039 * elf/elf.h: Likewise.
5040 * malloc/malloc.c: Likewise.
5041 * nis/nis_print.c: Likewise.
5042 * resolv/res_comp.c: Likewise.
5043 * stdlib/stdlib.h: Likewise.
5044 * sunrpc/clnt_tcp.c: Likewise.
5045 * sunrpc/clnt_udp.c: Likewise.
5046 * sunrpc/clnt_unix.c: Likewise.
5047 * sysdeps/unix/bsd/ptsname.c: Likewise.
5048 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5049 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
5050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5051 Likewise.
5052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5053 Likewise.
5054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5055 Likewise.
6f65e668
OB
5056 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5057
3a309239
SP
50582013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5059
5060 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5062
3b813b29
MF
50632013-08-27 Mike Frysinger <vapier@gentoo.org>
5064
5065 [BZ #15897]
5066 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5067 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5068 ($(objpfx)bug-dl-leaf): New rule.
5069 ($(objpfx)bug-dl-leaf.so): Likewise.
5070 ($(objpfx)bug-dl-leaf.out): Likewise.
5071 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5072 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5073 * dlfcn/bug-dl-leaf.c: New test.
5074 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5075 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5076 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5077 (dlclose): Likewise.
5078 (dlmopen): Likewise.
5079
8cc3269f
RM
50802013-08-27 Roland McGrath <roland@hack.frob.com>
5081
7f9d0034
RM
5082 * include/netdb.h [!_ISOMAC]:
5083 Don't include <tls.h>.
5084 (h_errno, __libc_h_errno): Move declaration and macros out of
5085 [_LIBC_REENTRANT].
5086
fb431262
RM
5087 * include/resolv.h [_RESOLV_H_]:
5088 Don't include <tls.h>.
5089 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5090 * resolv/res_libc.c: Don't include <tls.h>.
5091 (_res): Use __attribute__ ((nocommon)) in place of
5092 __attribute__ ((section (".bss"))).
5093
bd81123a
RM
5094 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5095 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5096
c4e42566
RM
5097 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5098
f890a59b
RM
5099 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5100 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5101
5102 * resolv/res_mkquery.c: Include <sys/time.h>.
5103
5d1f0a09
RM
5104 * inet/ifreq.c: Moved to ...
5105 * sysdeps/unix/ifreq.c: ... here.
5106 * inet/ifreq.c: New file, true stub version.
5107
6fcf28b3
RM
5108 * socket/sa_len.c: New file.
5109 * socket/Makefile (aux): Add it.
5110 * sysdeps/unix/sysv/linux/Makefile
5111 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5112 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5113 and #include <socket/sa_len.c>.
5114 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5115 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5116
e041fb8b
RM
5117 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5118 * bits/socket.h: ... here.
5119
8cc3269f
RM
5120 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5121 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5122 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5123
5d228a43
AS
51242013-08-27 Andreas Schwab <schwab@suse.de>
5125
45b8accc
AS
5126 [BZ #15736]
5127 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5128 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5129 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5130 * string/test-strcasecmp.c (test_main): Run tests in several
5131 locales.
5132 * string/test-strncasecmp.c (test_main): Likewise.
5133
5d228a43
AS
5134 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5135 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5136 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5137 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5138 (__strncasecmp_ssse3) [PIC]: Likewise.
5139
59d112a4
RM
51402013-08-26 Roland McGrath <roland@hack.frob.com>
5141
53234cc3
RM
5142 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5143
59d112a4
RM
5144 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5145 instead of explicitly declaring xdecrypt.
5146 * nis/nss_nis/nis-publickey.c: Likewise.
5147
595aba70
SP
51482013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5149
5150 [BZ #15890]
5151 * nscd/aicache.c: Include res_hconf.h.
5152 (addhstaiX): Initialize res_hconf.
5153
ffabd393
AS
51542013-08-26 Andreas Schwab <schwab@suse.de>
5155
5156 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5157 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5158
e0a69f5c
SP
51592013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5160
5161 * nscd/aicache.c (addhstaiX): Fix indentation.
5162
8c12f01d
MF
51632013-08-25 Mike Frysinger <vapier@gentoo.org>
5164
5165 * configure.ac: Quote $build_pt_chown test.
5166 * configure: Regenerated.
5167
8fe89494
JM
51682013-08-23 Joseph Myers <joseph@codesourcery.com>
5169
5170 [BZ #15532]
5171 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5172 * math/s_cexpf.c (__cexpf): Likewise.
5173 * math/s_cexpl.c (__cexpl): Likewise.
5174 * math/libm-test.inc (cexp_test_data): Correct expected return
5175 value for NaN + i0. Add another test.
5176
75b181d6
DM
51772013-08-22 David S. Miller <davem@davemloft.net>
5178
5179 * po/ca.po: Update Catalan translation from translation project.
936241e4 5180 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 5181
acd06bb1
JM
51822013-08-21 Joseph Myers <joseph@codesourcery.com>
5183
5184 [BZ #15797]
5185 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5186 is infinite, not alongside NaN test.
5187 * math/s_fdimf.c (__fdimf): Likewise.
5188 * math/s_fdiml.c (__fdiml): Likewise.
5189 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5190 errno is unchanged.
5191
c0c3f78a
OB
51922013-08-21 Ondřej Bílka <neleai@seznam.cz>
5193
5194 * argp/argp-help.c: Fix typos.
5195 * crypt/speeds.c: Likewise.
5196 * csu/check_fds.c: Likewise.
5197 * elf/dl-load.c: Likewise.
5198 * elf/dl-open.c: Likewise.
5199 * elf/reldep3.c: Likewise.
5200 * elf/reldep.c: Likewise.
5201 * elf/sprof.c: Likewise.
5202 * iconv/iconv_charmap.c: Likewise.
5203 * iconv/skeleton.c: Likewise.
5204 * iconv/strtab.c: Likewise.
5205 * io/lockf64.c: Likewise.
5206 * libio/libioP.h: Likewise.
5207 * resolv/gai_notify.c: Likewise.
5208 * resolv/ns_name.c: Likewise.
5209 * resolv/ns_samedomain.c: Likewise.
5210 * resolv/res_send.c: Likewise.
5211 * stdlib/random.c: Likewise.
5212 * sunrpc/rpc/xdr.h: Likewise.
5213 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5214 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5215 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5216 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5217 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5218 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5219 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5220 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5221 * sysdeps/mach/hurd/check_fds.c: Likewise.
5222 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5223 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5224 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5225 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5226 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5227 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5228 * sysdeps/pthread/aio_notify.c: Likewise.
5229 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5230 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5231 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5232 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5233 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5234
46ed1038
LD
52352013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5236
5237 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5238 version if bit_Slow_SSE4_2 is set.
5239 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5240 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5241
d400dcac
AZ
52422013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5243
5244 [BZ #15867]
5245 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5246 trampoline stack frame information.
5247 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5248 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5249 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5250 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5251 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5252 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5253 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5254 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5255 sa_flags value.
5256 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5257 interrupting a syscall and set with option SA_SIGINFO.
5258
42c8fdd8
JM
52592013-08-20 Joseph Myers <joseph@codesourcery.com>
5260
c980f2f4
JM
5261 [BZ #15531]
5262 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5263 argument is infinite.
5264 * math/s_cprojf.c (__cprojf): Likewise.
5265 * math/s_cprojl.c (__cprojl): Likewise.
5266 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5267 * math/libm-test.inc (cproj_test_data): Add more tests.
5268
0716c4fc
JM
5269 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5270
42c8fdd8
JM
5271 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5272 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5273 size. Use __ffs to determine corresponding shift.
5274
b31469d0
JM
52752013-08-20 Joseph Myers <joseph@codesourcery.com>
5276 Roland McGrath <roland@hack.frob.com>
5277
5278 * Makefile (INSTALL): Remove trailing blank lines from output of
5279 makeinfo.
5280
4e39af6e
AK
52812013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5282
5283 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5284 Align 32 bit compat elf_greg to 8 bytes.
5285
f315524e
AA
52862013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5287
5288 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5289
1326ba1a
SP
52902013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5291
5292 * string/strcoll_l.c (coll_seq): New structure.
5293 (get_next_seq_cached): New function.
5294 (get_next_seq): New function.
5295 (do_compare): New function.
5296 (STRCOLL): Use GNU style definition. Simplify implementation
5297 by using get_next_seq, get_next_seq_cached and do_compare.
5298
91ce4085
FW
52992013-08-16 Florian Weimer <fweimer@redhat.com>
5300
5301 [BZ #14699]
5302 CVE-2013-4237
5303 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5304 member.
5305 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5306 member.
5307 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5308 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5309 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5310 conditional.
5311 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5312 GETDENTS_64BIT_ALIGNED.
5313 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5314 * manual/filesys.texi (Reading/Closing Directory): Document
5315 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5316 strongly.
5317 * manual/conf.texi (Limits for Files): Add portability note to
5318 NAME_MAX, PATH_MAX.
5319 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5320
ca0a6bc4
AS
53212013-08-13 Andreas Schwab <schwab@suse.de>
5322
5323 [BZ #15749]
5324 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5325 of fabs.
5326 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5327 LDBL_MAX_EXP >= 16384]: Add tests for it.
5328
6c1fd795
DM
53292013-08-12 David S. Miller <davem@davemloft.net>
5330
5331 * version.h (RELEASE): Set to "development".
5332 (VERSION): Set to "2.18.90".
5333 * NEWS: Add 2.19 section.
5334
31ad488d
DM
53352013-08-03 David S. Miller <davem@davemloft.net>
5336
5337 * po/ko.po: Update Korean translation from translation project.
5338
db24e684
DM
53392013-08-01 David S. Miller <davem@davemloft.net>
5340
5341 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5342 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5343 Bilka.
5344
f723285b
DM
53452013-07-30 David S. Miller <davem@davemloft.net>
5346
5347 * po/fr.po: Update French translation from translation project.
5348
3cbc52db
DM
53492013-07-28 David S. Miller <davem@davemloft.net>
5350
30bbc0cc
DM
5351 * po/cs.po: Update Czech translation from translation project.
5352
3cbc52db
DM
5353 * po/sv.po: Update Swedish translation from translation project.
5354
d492e6d0
DM
53552013-07-27 David S. Miller <davem@davemloft.net>
5356
f1a7f492
DM
5357 * po/eo.po: Update Esperanto translation from translation project.
5358
90e62a4a
DM
5359 * po/vi.po: Update Vietnamese translation from translation project.
5360
d492e6d0
DM
5361 * po/de.po: Update German translation from translation project.
5362
d4baa62d
DM
53632013-07-26 David S. Miller <davem@davemloft.net>
5364
641aa7b4
DM
5365 * po/bg.po: Update Bulgarian translation from translation project.
5366
d4baa62d
DM
5367 * po/nl.po: Update Dutch translation from translation project.
5368 * po/pl.po: Update Polish translation from translation project.
5369 * po/ru.po: Update Russian translation from translation project.
5370
61a9dcb9
DM
53712013-07-24 David S. Miller <davem@davemloft.net>
5372
5373 * po/libc.pot: Update.
5374
7b1f8b58
AZ
53752013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5376
5377 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5378 variable page size.
5379 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5380 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5381 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5382
a8fc7a03
AK
53832013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5384
5385 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5386
e4608715
CD
53872013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5388 Andreas Schwab <schwab@suse.de>
5389 Roland McGrath <roland@hack.frob.com>
5390 Joseph Myers <joseph@codesourcery.com>
5391 Carlos O'Donell <carlos@redhat.com>
5392
5393 [BZ #15755]
5394 * config.h.in: Define HAVE_PT_CHOWN.
5395 * config.make.in (build-pt-chown): New variable.
5396 * configure.in (--enable-pt_chown): New configure option.
5397 * configure: Regenerate.
5398 * login/Makefile: Include Makeconfig. Build pt_chown only if
5399 build-pt-chown is enabled.
5400 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5401 pt_chown to fix pty ownership.
5402 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5403 CLOSE_ALL_FDS.
5404 * manual/install.texi (Configuring and compiling): Mention
5405 --enable-pt_chown. Add @findex for grantpt.
5406 * INSTALL: Regenerate.
5407
da2d62df
DM
54082013-07-20 David S. Miller <davem@davemloft.net>
5409
5410 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5411 difference between 32-bit and 64-bit.
5412
d7e06450
CD
54132013-07-15 Carlos O'Donell <carlos@redhat.com>
5414
5415 [BZ #15711]
5416 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5417 Avoid system header dependency with -ffreestanding.
5418 ($(objpfx)bits/syscall%d): Likewise.
5419
f959cfd7
DM
54202013-07-13 David S. Miller <davem@davemloft.net>
5421
5422 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5423 underflows from atanl/atan2l due to bug 15319.
5424 (casinh_test_data): Likewise.
5425
c61f8513
DM
54262013-07-07 David S. Miller <davem@davemloft.net>
5427
5428 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5429
72c90ed0
JA
54302013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5431
5432 * sysdeps/i386/fpu/libm-test-ulps: Update.
5433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5434
52dfbe13
SP
54352013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5436
5437 * configure.in (--enable-lock-elision): Fix message text.
5438 * INSTALL: Regenerate.
5439 * configure: Regenerate.
5440
3f169543
AZ
54412013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5442
5443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5444
521c6785
AJ
54452013-07-03 Andreas Jaeger <aj@suse.de>
5446
5447 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5448 define.
5449 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5450 (ptrace_peeksiginfo_args): Add.
5451 (__ptrace_peeksiginfo_flags): Add.
5452 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5453 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5454 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5455
d2cc15cb
AM
54562013-07-03 Allan McRae <allan@archlinux.org>
5457
5458 * sysdeps/i386/fpu/libm-test-ulps: Update.
5459
3aaeeca7
DM
54602013-07-02 David S. Miller <davem@davemloft.net>
5461
5462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5463
5314ed1a
MT
54642013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5465
5466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5467
67338156
JM
54682013-07-02 Joseph Myers <joseph@codesourcery.com>
5469
5470 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5472
1717da59
AK
54732013-07-02 Andi Kleen <ak@linux.intel.com>
5474
5475 * config.h.in (ENABLE_LOCK_ELISION): Add.
5476 * configure.in (--enable-lock-elision): Add option.
5477 * manual/install.texi: Document --enable lock elision.
5478 * configure: Regenerate
5479 * INSTALL: Regenerate.
5480
1c81621c
L
54812013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5482
5483 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5484 SSE4.2 strcasecmp for libc.a.
5485 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5486
77f01ab5
JM
54872013-07-02 Joseph Myers <joseph@codesourcery.com>
5488
5489 [BZ #13304]
5490 * soft-fp/op-common.h (_FP_FMA): New macro.
5491 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5492 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5493 (_FP_MUL_MEAT_1_imm): ... here.
5494 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5495 (_FP_MUL_MEAT_1_wide): ... here.
5496 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5497 (_FP_MUL_MEAT_1_hard): ... here.
5498 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5499 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5500 (_FP_MUL_MEAT_2_wide): ... here.
5501 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5502 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5503 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5504 (_FP_MUL_MEAT_2_gmp): ... here.
5505 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5506 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5507 (_FP_MUL_MEAT_4_wide): ... here.
5508 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5509 (_FP_MUL_MEAT_4_gmp): ... here.
5510 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5511 (_FP_WFRACBITS_DW_S): Likewise.
5512 (_FP_WFRACXBITS_DW_S): Likewise.
5513 (_FP_HIGHBIT_DW_S): Likewise.
5514 (FP_FMA_S): Likewise.
5515 (_FP_FRAC_HIGH_DW_S): Likewise.
5516 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5517 (_FP_WFRACBITS_DW_D): Likewise.
5518 (_FP_WFRACXBITS_DW_D): Likewise.
5519 (_FP_HIGHBIT_DW_D): Likewise.
5520 (FP_FMA_D): Likewise.
5521 (_FP_FRAC_HIGH_DW_D): Likewise.
5522 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5523 (_FP_WFRACBITS_DW_E): Likewise.
5524 (_FP_WFRACXBITS_DW_E): Likewise.
5525 (_FP_HIGHBIT_DW_E): Likewise.
5526 (FP_FMA_E): Likewise.
5527 (_FP_FRAC_HIGH_DW_E): Likewise.
5528 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5529 (_FP_WFRACBITS_DW_Q): Likewise.
5530 (_FP_WFRACXBITS_DW_Q): Likewise.
5531 (_FP_HIGHBIT_DW_Q): Likewise.
5532 (FP_FMA_Q): Likewise.
5533 (_FP_FRAC_HIGH_DW_Q): Likewise.
5534 * soft-fp/fmasf4.c: New file.
5535 * soft-fp/fmadf4.c: Likewise.
5536 * soft-fp/fmatf4.c: Likewise.
5537
6308fd9a
LD
55382013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5539
5540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5541 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5542 Silvermont.
5543 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5544 macro.
5545 (index_Slow_SSE4_2): Likewise.
5546 (index_Prefer_PMINUB_for_stringop): Likewise.
5547 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5548 bit_Slow_SSE4_2 is set.
5549 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5550 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5551
89cd9569
RA
55522013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5553
5554 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5555 rtld_global._dl_hwcap2.
5556 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5557 POWER8.
5558 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5559 POWER8 feature descriptions defined in _dl_hwcap2.
5560 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5561 string handling for POWER8 feature bits.
5562 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5563 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5564 _dl_powerpc_cap_flags.
5565 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5566 * sysdeps/powerpc/rtld-global-offsets.sym
5567 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5568 _dl_hwcap2 in the rtld_global_ro structure.
5569
1ae8bfe0
RA
55702013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5571
5572 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5573 hardware capabilities in support of AT_HWCAP2.
5574 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5575 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5576 GLRO(dl_hwcap2).
5577 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5578 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5579 explicitly the unknown a_type display mechanism is used.
5580 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5581 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5582 struct member.
5583 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5584 to macro prototype for AT_HWCAP2 support.
5585 * sysdeps/i386/dl-procinfo.h: Likewise.
5586 * sysdeps/s390/dl-procinfo.h: Likewise.
5587 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5588 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5589 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5590 return -1 for unknown a_type display fallback.
5591 * sysdeps/sparc/dl-procinfo.h: Likewise.
5592 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5593 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5594
8fbec010
JM
55952013-06-28 Joseph Myers <joseph@codesourcery.com>
5596
5597 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5598 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5599
0432680e
PY
56002013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5601
5602 [BZ #12492]
5603 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5604 mprotect making __stack_prot writable.
5605
ce61a2ad
NF
56062013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5607 Joseph Myers <joseph@codesourcery.com>
5608
5609 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5610 as being properly aligned.
5611
f91f1c0f
MR
56122013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5613
3d0f5d0c
MR
5614 * dlfcn/modstatic5.c: New file.
5615 * dlfcn/tststatic5.c: New file.
5616 * dlfcn/Makefile (tests): Add tststatic5.
5617 (tests-static): Likewise.
5618 (modules-names): Add modstatic5.
5619 (tststatic5-ENV): New variable.
5620 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5621
f91f1c0f
MR
5622 [BZ #15022]
5623 * elf/dl-support.c (_dl_main_map): New variable.
5624 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5625 (_dl_nns, _dl_load_adds): Set to 1.
5626 (_dl_initial_searchlist): Refer to _dl_main_map.
5627 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5628 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5629 call to _dl_get_origin.
5630 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5631 around call_map.
5632 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5633 * dlfcn/modstatic3.c: New file.
5634 * dlfcn/tststatic3.c: New file.
5635 * dlfcn/tststatic4.c: New file.
5636 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5637 (tests-static): Likewise.
5638 (modules-names): Add modstatic3.
5639 (tststatic3-ENV, tststatic4-ENV): New variables.
5640 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5641 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5642
cbe7d24b
JM
56432013-06-26 Joseph Myers <joseph@codesourcery.com>
5644
5645 * configure.in (CC): Require GCC version 4.4 or later.
5646 * configure: Regenerated.
5647 * manual/install.texi (Tools for Compilation): Update GCC version
5648 requirement.
5649 * INSTALL: Regenerated.
5650
11b8a0e1
LD
56512013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5652
5653 [BZ #15674]
bb5bb87c
L
5654 * string/test-memcmp.c (check2): New.
5655 (main): Call check2.
5656
11b8a0e1
LD
5657 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5658
b0037103
MR
56592013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5660
5661 [BZ #15022]
5662 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5663 over to...
5664 (dl_open_worker) [!SHARED]: ... here.
5665
c18c701d
RA
56662013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5667
5668 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5669
1d17fa5f
RH
56702013-06-25 Richard Henderson <rth@redhat.com>
5671
5672 * locale/programs/locarchive.c: Include <libc-internal.h>
5673
8fcb833a
JM
56742013-06-25 Joseph Myers <joseph@codesourcery.com>
5675
5676 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5677 trailing whitespace removed.
5678
17db6e8d
MF
56792013-06-24 Mike Frysinger <vapier@gentoo.org>
5680
5681 [BZ #10283]
17db6e8d
MF
5682 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5683 * locale/programs/locarchive.c: Include libc-mmap.h.
5684 (prepare_address_space): Take two new outputs (the mmap base and len).
5685 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5686 values.
5687 (create_archive): Declare new mmap base and len values for
5688 prepare_address_space, and store the result in ah.
5689 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5690 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5691 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5692 Declare new mmap base and len values for
5693 prepare_address_space, and store the result in new_ah.
5694 (open_archive): Declare new mmap base and len values for
5695 prepare_address_space, and store the result in ah.
5696 (close_archive): If ah->mmap_base is not NULL, use that and
5697 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5698 * sysdeps/generic/libc-mmap.h: New file.
5699
d605071e
MF
57002013-06-24 Mike Frysinger <vapier@gentoo.org>
5701
5702 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5703 (ALIGN_UP): Likewise.
5704 (PTR_ALIGN_DOWN): Likewise.
5705 (PTR_ALIGN_UP): Likewise.
5706
2f063a6e
RA
57072013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5708
5709 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5710 entry mapped to PPC_PLATFORM_POWER8.
5711 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5712 POWER8.
5713 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5714 (_dl_string_platform): Add case for exporting platform position for
5715 POWER8.
5716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5717 search path to sysdeps/powerpc/powerpc32/power8 directory.
5718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5719 search path to sysdeps/powerpc/powerpc64/power8 directory.
5720 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5721 power7 directories.
5722 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5723 power7 directories.
5724
a31ee4b3
SP
57252013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5726
a74ca98f
SP
5727 * INSTALL: Regenerate.
5728
a31ee4b3
SP
5729 * nscd/connections.c (nscd_init): Fix comment.
5730
695c378f
JM
57312013-06-22 Joseph Myers <joseph@codesourcery.com>
5732
d8412221
JM
5733 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5734
695c378f
JM
5735 [BZ #15667]
5736 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5737 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5738
d1d54715
MR
57392013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5740
5741 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5742 DL_DST_REQ_STATIC.
5743 (DL_DST_REQ_STATIC): Remove macro.
5744
8fdda7af
JM
57452013-06-21 Joseph Myers <joseph@codesourcery.com>
5746
5747 [BZ #7006]
5748 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5749 with a shift of 0 bits.
5750
f3bc5e5a
MR
57512013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5752
5753 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5754 $(tststatic-ENV).
5755
be09e8c9
KK
57562013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5757
5758 [BZ #15655]
5759 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5760
85c2e611
AZ
57612013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5762
5763 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5764 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5765 accepts -fno-tree-loop-distribute-patterns.
5766 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5767 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5768 recursive call.
5769 * string/memset.c (memset): Likewise.
5770 * string/test-memmove.c (simple_memmove): Disable loop transformation
5771 to library calls.
5772 * string/test-memset.c (simple_memset): Likewise.
5773 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5774 * benchtests/bench-memset.c (simple_memset): Likewise.
5775 * configure: Regenerated.
5776
c91e0825
JM
57772013-06-20 Joseph Myers <joseph@codesourcery.com>
5778
b8c792af
JM
5779 * math/test-misc.c (main): Ignore fesetround failure when failures
5780 of subsequent rounding tests would be ignored.
5781
c91e0825
JM
5782 [BZ #15654]
5783 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5784 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5785 * math/fegetenv.c (__fegetenv): Return 0.
5786 * math/fegetexcept.c (fegetexcept): Return 0.
5787 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5788 FE_TONEAREST.
5789 * math/feholdexcpt.c (feholdexcept): Return 0.
5790 * math/fesetenv.c (__fesetenv): Return 0.
5791 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5792 argument FE_TONEAREST.
5793 * math/feupdateenv.c (__feupdateenv): Return 0.
5794 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5795
bfcacbde
RM
57962013-06-18 Roland McGrath <roland@hack.frob.com>
5797
5798 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5799 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5800 ($(objpfx)rtld-%.os rules): Use them.
5801
e55a9b25
AZ
58022013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5803
5804 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5805 fields.
5806
346d65b3
RM
58072013-06-17 Roland McGrath <roland@hack.frob.com>
5808
12086fb4
RM
5809 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5810 length of target pattern, then descending length of dependency pattern.
5811 * configure.in (AWK): Require gawk 3.1.2 or newer.
5812 * manual/install.texi (Tools for Compilation): Say that we do.
5813 * configure: Regenerated.
5814
346d65b3
RM
5815 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5816 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5817 * scripts/sysd-rules.awk: ... this new script.
5818 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5819 than a glob-style pattern.
5820
1a846317
JM
58212013-06-17 Joseph Myers <joseph@codesourcery.com>
5822
5823 * math/test-misc.c (main): Do not treat incorrectly rounded
5824 conversions as failure unless ROUNDING_TESTS passes.
5825
8fc75e6f
JM
58262013-06-15 Joseph Myers <joseph@codesourcery.com>
5827
3711a167
JM
5828 [BZ #15631]
5829 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5830 restore exception state around main square root computation, then
5831 check for inexactness explicitly.
5832
8fc75e6f
JM
5833 * math/libm-test.inc (fma_test_data): Add another test.
5834
61dd6208
SP
58352013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5836
adf23d2c
SP
5837 * manual/threads.texi (Non-POSIX Extensions): New document
5838 node. Document pthread_getattr_default_np and
5839 pthread_setattr_default_np.
5840
61dd6208
SP
5841 * Versions.def (libpthread): Add GLIBC_2.18.
5842 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5844 Likewise.
5845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5846 Likewise.
5847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5848 Likewise.
5849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5850 Likewise.
5851 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5852 Likewise.
5853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5854 Likewise.
5855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5856 Likewise.
5857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5858 Likewise.
5859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5860 Likewise.
5861
d086fc7b
LD
58622013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5863
5864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5865 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5866
747ef469
SP
58672013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5868 H.J. Lu <hjl.tools@gmail.com>
5869
5870 [BZ #15627]
5871 * sysdeps/x86_64/rtld-memset.c: Remove file.
5872 * sysdeps/x86_64/rtld-memset.S: New file.
5873
1b2feed2
JM
58742013-06-14 Joseph Myers <joseph@codesourcery.com>
5875
5876 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5877 (test_in_one_mode): Take arguments for whether the rounding mode
5878 is supported for each floating-point type.
5879 (do_test): Pass new arguments to test_in_one_mode using
5880 ROUNDING_TESTS.
5881
a58ad3f8
RM
58822013-06-13 Roland McGrath <roland@hack.frob.com>
5883
5884 * posix/tst-waitid.c (do_test): Distinguish different instances of
5885 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5886 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5887 before entering the kernel for waitpid.
5888
c204ab28
SP
58892013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5890
5891 * NEWS: Fix note on clock function precision. Text by Roland
5892 McGrath.
5893
f4a29fba
RM
58942013-06-13 Roland McGrath <roland@hack.frob.com>
5895
5896 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5897 it into place only when and if the sanity check passes.
5898
1f24b9ad
JM
58992013-06-13 Joseph Myers <joseph@codesourcery.com>
5900
5901 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5902 output for whether conversion result is exact. Take argument
5903 indicating whether type is IBM long double.
5904 (round_for_all): Change need_exact field to ibm_ld.
5905 * stdlib/tst-strtod-round.c (struct exactness): New type.
5906 (struct test): Change bool ld_ok field to struct exactness exact.
5907 (TEST): Update all definitions for change to field.
5908 (tests): Regenerate array contents.
5909 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5910 field value. Check for IBM long double here.
5911 (do_test): Update calls to test_in_one_mode.
5912
58206c68
SP
59132013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5914
5915 [BZ #12515]
5916 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5917 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5918
2d6f4c5b 59192013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
5920
5921 [BZ #15605]
5922 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5923 generated by the compiler on loop optimizations.
5924 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5925 general definitions.
5926
94f2c076
JM
59272013-06-12 Joseph Myers <joseph@codesourcery.com>
5928
5929 * math/bug-nextafter.c: Include <math-tests.h>.
5930 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5931 the relevant type.
5932 * math/bug-nexttoward.c: Include <math-tests.h>.
5933 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5934 the relevant type.
5935 * math/test-misc.c: Include <math-tests.h>.
5936 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5937 the relevant type.
5938
e0e50a0a
AJ
59392013-06-12 Andreas Jaeger <aj@suse.de>
5940
5941 * po/ia.po: Update Interlingua translation from translation
5942 project.
5943
25061094
SP
59442013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5945
5946 * include/fenv.h: Include stdbool.h.
5947 (struct rm_ctx): New structure.
5948 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5949 Define macro.
5950 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5951 (SET_RESTORE_ROUNDF): Likewise.
5952 (SET_RESTORE_ROUNDL): Likewise.
5953 (SET_RESTORE_ROUND_NOEX): Likewise.
5954 (SET_RESTORE_ROUND_NOEXF): Likewise.
5955 (SET_RESTORE_ROUND_NOEXL): Likewise.
5956 (SET_RESTORE_ROUND_53BIT): Likewise.
5957 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5958 (libc_feresetround_noexf_ctx): Likewise.
5959 (libc_feresetround_noexl_ctx): Likewise.
5960 (libc_feholdsetround_53bit_ctx): Likewise.
5961 (libc_feresetround_53bit_ctx): Likewise.
5962 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5963 (libc_feholdexcept_setround_sse_ctx): New function.
5964 (libc_fesetenv_sse_ctx): Likewise.
5965 (libc_feupdateenv_sse_ctx): Likewise.
5966 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5967 (libc_feholdexcept_setround_387_ctx): Likewise.
5968 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5969 (libc_feholdsetround_387_prec_ctx): Likewise.
5970 (libc_feholdsetround_387_ctx): Likewise.
5971 (libc_feholdsetround_387_53bit_ctx): Likewise.
5972 (libc_feholdsetround_sse_ctx): Likewise.
5973 (libc_feresetround_sse_ctx): Likewise.
5974 (libc_feresetround_387_ctx): Likewise.
5975 (libc_feupdateenv_387_ctx): Likewise.
5976 (libc_feholdexcept_setroundf_ctx): Define macro.
5977 (libc_fesetenvf_ctx): Likewise.
5978 (libc_feupdateenvf_ctx): Likewise.
5979 (libc_feholdsetroundf_ctx): Likewise.
5980 (libc_feresetroundf_ctx): Likewise.
5981 (libc_feholdexcept_setround_ctx): Likewise.
5982 (libc_fesetenv_ctx): Likewise.
5983 (libc_feupdateenv_ctx): Likewise.
5984 (libc_feholdsetround_ctx): Likewise.
5985 (libc_feresetround_ctx): Likewise.
5986 (libc_feholdexcept_setroundl_ctx): Likewise.
5987 (libc_feupdateenvl_ctx): Likewise.
5988 (libc_feholdsetroundl_ctx): Likewise.
5989 (libc_feresetroundl_ctx): Likewise.
5990 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5991 (libc_feresetround_53bit_ctx): Likewise.
5992
59b30555
SP
59932013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5994
5995 * locale/iso-639.def: Convert to UTF-8.
5996
f1d73d30
JM
59972013-06-11 Joseph Myers <joseph@codesourcery.com>
5998
5999 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6000 (EXCEPTION_TESTS_double): Likewise.
6001 (EXCEPTION_TESTS_long_double): Likewise.
6002 (EXCEPTION_TESTS): Likewise.
6003 * math/libm-test.inc (test_exceptions): Only test exceptions if
6004 EXCEPTION_TESTS (FLOAT).
6005
94aca5e7
SP
60062013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6007
6008 * benchtests/Makefile (string-bench): Add strcpy_chk and
6009 stpcpy_chk.
6010 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6011 * benchtests/bench-stpcpy_chk.c: New file.
6012 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6013 * benchtests/bench-strcpy_chk.c: New file.
6014 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6015 code.
6016 (do_test): Likewise.
6017
fac0c5f2
RA
60182013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6019
6020 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6021 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6022 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6023 with tabs where appropriate.
6024 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6025 dl-procinfo.h.
6026 [PPC_PLATFORM_PPC440]: Likewise.
6027 [PPC_PLATFORM_PPC464]: Likewise.
6028 [PPC_PLATFORM_PPC476]: Likewise.
6029 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6030 ppc464, and ppc476 platform strings merging from ports/
6031 dl-procinfo.h.
6032
f22bc486
AS
60332013-06-11 Andreas Schwab <schwab@suse.de>
6034
6035 [BZ #14991]
6036 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6037 (from_ucs4_idx): Regenerate.
6038 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6039 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6040 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6041 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6042 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6043 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6044 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6045 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6046 from FROM_LOOP and TO_LOOP specific macros.
6047 (BODY): Handle combining characters.
6048 * iconvdata/BIG5HKSCS.irreversible: Update.
6049 * iconvdata/BIG5HKSCS.precomposed: New file.
6050 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6051 characters.
6052 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6053
c1f75dc3
SP
60542013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6055
4eacded2
SP
6056 * include/sys/time.h: Fix indentation and add copyright header.
6057
fec799f8
SP
6058 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6059 (do_test): Likewise.
6060 * string/test-memchr.c (do_one_test): Likewise.
6061 (do_test): Likewise.
6062 * string/test-memcmp.c (do_one_test): Likewise.
6063 (do_test): Likewise.
6064 * string/test-memcpy.c (do_one_test): Likewise.
6065 (do_test): Likewise.
6066 * string/test-memmem.c (do_one_test): Likewise.
6067 (do_test): Likewise.
6068 (do_random_tests): Likewise.
6069 * string/test-memmove.c (do_one_test): Likewise.
6070 (do_test): Likewise.
6071 * string/test-memset.c (do_one_test): Likewise.
6072 (do_test): Likewise.
6073 * string/test-rawmemchr.c (do_one_test): Likewise.
6074 (do_test): Likewise.
6075 * string/test-strcasecmp.c (do_one_test): Likewise.
6076 (do_test): Likewise.
6077 * string/test-strcasestr.c (do_one_test): Likewise.
6078 (do_test): Likewise.
6079 * string/test-strcat.c (do_one_test): Likewise.
6080 (do_test): Likewise.
6081 * string/test-strchr.c (do_one_test): Likewise.
6082 (do_test): Likewise.
6083 * string/test-strcmp.c (do_one_test): Likewise.
6084 (do_test): Likewise.
6085 * string/test-strcpy.c (do_one_test): Likewise.
6086 (do_test): Likewise.
6087 * string/test-string.h: Likewise.
6088 (test_init): Likewise.
6089 * string/test-strlen.c (do_one_test): Likewise.
6090 (do_test): Likewise.
6091 * string/test-strncasecmp.c (do_one_test): Likewise.
6092 (do_test): Likewise.
6093 * string/test-strncat.c (do_one_test): Likewise.
6094 (do_test): Likewise.
6095 * string/test-strncmp.c (do_one_test): Likewise.
6096 (do_test_limit): Likewise.
6097 (do_test): Likewise.
6098 * string/test-strncpy.c (do_one_test): Likewise.
6099 (do_test): Likewise.
6100 * string/test-strnlen.c (do_one_test): Likewise.
6101 (do_test): Likewise.
6102 * string/test-strpbrk.c (do_one_test): Likewise.
6103 (do_test): Likewise.
6104 * string/test-strrchr.c (do_one_test): Likewise.
6105 (do_test): Likewise.
6106 * string/test-strspn.c (do_one_test): Likewise.
6107 (do_test): Likewise.
6108 * string/test-strstr.c (do_one_test): Likewise.
6109 (do_test): Likewise.
6110
97020474
SP
6111 * benchtests/Makefile (string-bench): Add string benchmarks.
6112 * benchtests/bench-bcopy-ifunc.c: New file.
6113 * benchtests/bench-bcopy.c: New file.
6114 * benchtests/bench-bzero-ifunc.c: New file.
6115 * benchtests/bench-bzero.c: New file.
6116 * benchtests/bench-memccpy-ifunc.c: New file.
6117 * benchtests/bench-memccpy.c: New file.
6118 * benchtests/bench-memchr-ifunc.c: New file.
6119 * benchtests/bench-memchr.c: New file.
6120 * benchtests/bench-memcmp-ifunc.c: New file.
6121 * benchtests/bench-memcmp.c: New file.
6122 * benchtests/bench-memmem-ifunc.c: New file.
6123 * benchtests/bench-memmem.c: New file.
6124 * benchtests/bench-memmove-ifunc.c: New file.
6125 * benchtests/bench-memmove.c: New file.
6126 * benchtests/bench-mempcpy-ifunc.c: New file.
6127 * benchtests/bench-mempcpy.c: New file.
6128 * benchtests/bench-memset-ifunc.c: New file.
6129 * benchtests/bench-memset.c: New file.
6130 * benchtests/bench-rawmemchr-ifunc.c: New file.
6131 * benchtests/bench-rawmemchr.c: New file.
6132 * benchtests/bench-stpcpy-ifunc.c: New file.
6133 * benchtests/bench-stpcpy.c: New file.
6134 * benchtests/bench-stpncpy-ifunc.c: New file.
6135 * benchtests/bench-stpncpy.c: New file.
6136 * benchtests/bench-strcasecmp-ifunc.c: New file.
6137 * benchtests/bench-strcasecmp.c: New file.
6138 * benchtests/bench-strcasestr-ifunc.c: New file.
6139 * benchtests/bench-strcasestr.c: New file.
6140 * benchtests/bench-strcat-ifunc.c: New file.
6141 * benchtests/bench-strcat.c: New file.
6142 * benchtests/bench-strchr-ifunc.c: New file.
6143 * benchtests/bench-strchr.c: New file.
6144 * benchtests/bench-strchrnul-ifunc.c: New file.
6145 * benchtests/bench-strchrnul.c: New file.
6146 * benchtests/bench-strcmp-ifunc.c: New file.
6147 * benchtests/bench-strcmp.c: New file.
6148 * benchtests/bench-strcpy-ifunc.c: New file.
6149 * benchtests/bench-strcpy.c: New file.
6150 * benchtests/bench-strcspn-ifunc.c: New file.
6151 * benchtests/bench-strcspn.c: New file.
6152 * benchtests/bench-strlen-ifunc.c: New file.
6153 * benchtests/bench-strlen.c: New file.
6154 * benchtests/bench-strncasecmp-ifunc.c: New file.
6155 * benchtests/bench-strncasecmp.c: New file.
6156 * benchtests/bench-strncat-ifunc.c: New file.
6157 * benchtests/bench-strncat.c: New file.
6158 * benchtests/bench-strncmp-ifunc.c: New file.
6159 * benchtests/bench-strncmp.c: New file.
6160 * benchtests/bench-strncpy-ifunc.c: New file.
6161 * benchtests/bench-strncpy.c: New file.
6162 * benchtests/bench-strnlen-ifunc.c: New file.
6163 * benchtests/bench-strnlen.c: New file.
6164 * benchtests/bench-strpbrk-ifunc.c: New file.
6165 * benchtests/bench-strpbrk.c: New file.
6166 * benchtests/bench-strrchr-ifunc.c: New file.
6167 * benchtests/bench-strrchr.c: New file.
6168 * benchtests/bench-strspn-ifunc.c: New file.
6169 * benchtests/bench-strspn.c: New file.
6170 * benchtests/bench-strstr-ifunc.c: New file.
6171 * benchtests/bench-strstr.c: New file.
6172
c1f75dc3
SP
6173 * benchtests/Makefile: Disable parallel execution of targets.
6174 (string-bench): Add memcpy.
6175 (benchset): New variable to store a list of benchmark sets.
6176 (bench-func): Renamed from bench.
6177 (bench-set): New target.
6178 (bench): Depend on bench-func and bench-set.
6179 * benchtests/README: Add section on benchmark sets.
6180 * benchtests/bench-memcpy-ifunc.c: New file.
6181 * benchtests/bench-memcpy.c: New file.
6182 * benchtests/bench-string.h: New file.
6183
50fd745b
AS
61842013-06-11 Andreas Schwab <schwab@suse.de>
6185
6186 [BZ #15577]
6187 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6188 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6189 values in the triple.
6190 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6191 terminator in the group key.
6192
3ee7e9fe
AJ
61932013-06-11 Andreas Jaeger <aj@suse.de>
6194
6195 * po/zh_TW.po: Update Chinese (traditional) translation from
6196 translation project.
6197
89fb6835
SP
61982013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6199
6200 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6201 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6202 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6203 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6204 (clock_getcpuclockid): Likewise.
6205 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6206 Add weak_alias and libc_hidden_def.
6207 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6208 * rt/clock_gettime.c (clock_gettime): Rename to
6209 __clock_gettime. Add weak_alias and libc_hidden_def.
6210 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6211 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6212 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6213 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6214 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6215 Likewise.
6216 * rt/clock_settime.c (clock_settime): Rename to
6217 __clock_settime. Add weak_alias and libc_hidden_def.
6218 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6219
0efa6f8b
JM
62202013-06-10 Joseph Myers <joseph@codesourcery.com>
6221
b8c61b4b
JM
6222 * mach/err_boot.sub: Remove trailing whitespace.
6223 * mach/err_ipc.sub: Likewise.
6224 * mach/err_mach.sub: Likewise.
6225
0efa6f8b
JM
6226 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6227 (ROUNDING_TESTS_double): Likewise.
6228 (ROUNDING_TESTS_long_double): Likewise.
6229 (ROUNDING_TESTS): Likewise.
6230 * math/libm-test.inc: Include <math-tests.h>.
6231 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6232 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6233 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6234 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6235
50b818bf
SP
62362013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6237
6238 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6239 of assigning.
6240
60d2f8f3
JM
62412013-06-08 Joseph Myers <joseph@codesourcery.com>
6242
4902d2c3
JM
6243 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6244 otherwise empty TRANS lines.
6245 * sysdeps/gnu/errlist.c: Regenerated.
6246
60d2f8f3
JM
6247 * catgets/gencat.c (error_print): Use (void) in function
6248 definition.
6249 * crypt/crypt_util.c (__init_des): Likewise.
6250 * crypt/speeds.c (Stop): Likewise.
6251 (main): Likewise.
6252 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6253 * inet/ruserpass.c (token): Likewise.
6254 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6255 * intl/localealias.c (extend_alias_table): Likewise.
6256 * intl/plural-exp.c (init_germanic_plural): Likewise.
6257 * libio/fcloseall.c (__fcloseall): Likewise.
6258 * libio/genops.c (_IO_flush_all): Likewise.
6259 (_IO_flush_all_linebuffered): Likewise.
6260 (_IO_cleanup): Likewise.
6261 (_IO_iter_begin): Likewise.
6262 (_IO_iter_end): Likewise.
6263 (_IO_list_lock): Likewise.
6264 (_IO_list_unlock): Likewise.
6265 (_IO_list_resetlock): Likewise.
6266 * libio/getchar.c (getchar): Likewise.
6267 * libio/getchar_u.c (getchar_unlocked): Likewise.
6268 * libio/getwchar.c (getwchar): Likewise.
6269 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6270 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6271 * login/getpt.c (__getpt): Likewise.
6272 * login/tst-utmp.c (main): Likewise.
6273 * malloc/hooks.c (__malloc_check_init): Likewise.
6274 * malloc/malloc.c (__malloc_stats): Likewise.
6275 * malloc/mtrace.c (tr_break): Likewise.
6276 (mtrace): Likewise.
6277 (muntrace): Likewise.
6278 * misc/fstab.c (endfsent): Likewise.
6279 * misc/getclktck.c (__getclktck): Likewise.
6280 * misc/getdtsz.c (__getdtablesize): Likewise.
6281 * misc/gethostid.c (gethostid): Likewise.
6282 * misc/getpagesize.c (__getpagesize): Likewise.
6283 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6284 (__get_nprocs): Likewise.
6285 (__get_phys_pages): Likewise.
6286 (__get_avphys_pages): Likewise.
6287 * misc/getttyent.c (getttyent): Likewise.
6288 (setttyent): Likewise.
6289 (endttyent): Likewise.
6290 * misc/getusershell.c (getusershell): Likewise.
6291 (endusershell): Likewise.
6292 (setusershell): Likewise.
6293 (initshells): Likewise.
6294 * misc/hsearch.c (__hdestroy): Likewise.
6295 * misc/sync.c (sync): Likewise.
6296 * misc/syslog.c (closelog_internal): Likewise.
6297 (closelog): Likewise.
6298 * misc/ttyslot.c (ttyslot): Likewise.
6299 * misc/vhangup.c (vhangup): Likewise.
6300 * posix/fork.c (__fork): Likewise.
6301 * posix/getegid.c (__getegid): Likewise.
6302 * posix/geteuid.c (__geteuid): Likewise.
6303 * posix/getgid.c (__getgid): Likewise.
6304 * posix/getpid.c (__getpid): Likewise.
6305 * posix/getppid.c (__getppid): Likewise.
6306 * posix/getuid.c (__getuid): Likewise.
6307 * posix/pause.c (pause): Likewise.
6308 * posix/setpgrp.c (setpgrp): Likewise.
6309 * posix/setsid.c (__setsid): Likewise.
6310 * posix/test-vfork.c (noop): Likewise.
6311 * resolv/gethnamaddr.c (_endhtent): Likewise.
6312 (_gethtent): Likewise.
6313 (ht_endhostent): Likewise.
6314 (gethostent): Likewise.
6315 (dns_service): Likewise.
6316 * stdlib/drand48.c (drand48): Likewise.
6317 * stdlib/lrand48.c (lrand48): Likewise.
6318 * stdlib/mrand48.c (mrand48): Likewise.
6319 * stdlib/rand.c (rand): Likewise.
6320 * stdlib/random.c (__random): Likewise.
6321 * stdlib/setenv.c (clearenv): Likewise.
6322 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6323 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6324 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6325 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6326 (__get_nprocs): Likewise.
6327 (__get_phys_pages): Likewise.
6328 (__get_avphys_pages): Likewise.
6329 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6330 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6331 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6332 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6333 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6334 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6335 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6336 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6337 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6338 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6339 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6340 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6341 * sysdeps/posix/clock.c (clock): Likewise.
6342 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6343 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6344 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6345 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6346 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6347 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6348 (__get_nprocs_conf): Likewise.
6349 (__get_phys_pages): Likewise.
6350 (__get_avphys_pages): Likewise.
6351 * time/clock.c (clock): Likewise.
6352 * time/tzset.c (__tzname_max): Likewise.
6353
2e09a79a
JM
63542013-06-07 Joseph Myers <joseph@codesourcery.com>
6355
6356 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6357 (__bswap_32): Do not use "register".
6358 * crypt/crypt.c (_ufc_doit_r): Likewise.
6359 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6360 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6361 * gmon/gmon.c (__monstartup): Likewise.
6362 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6363 * hurd/hurdmalloc.c (more_memory): Likewise.
6364 (malloc): Likewise.
6365 (free): Likewise.
6366 (realloc): Likewise.
6367 (malloc_fork_prepare): Likewise.
6368 (malloc_fork_parent): Likewise.
6369 (malloc_fork_child): Likewise.
6370 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6371 (_svcauth_des): Likewise.
6372 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6373 * inet/inet_net.c (inet_network): Likewise.
6374 * inet/inet_netof.c (inet_netof): Likewise.
6375 * inet/rcmd.c (__validuser2_sa): Likewise.
6376 * io/fts.c (fts_open): Likewise.
6377 (fts_load): Likewise.
6378 (fts_close): Likewise.
6379 (fts_read): Likewise.
6380 (fts_children): Likewise.
6381 (fts_build): Likewise.
6382 (fts_stat): Likewise.
6383 (fts_sort): Likewise.
6384 (fts_alloc): Likewise.
6385 (fts_lfree): Likewise.
6386 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6387 (_IO_file_xsgetn): Likewise.
6388 (_IO_file_xsgetn_mmap): Likewise.
6389 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6390 (_IO_cookie_write): Likewise.
6391 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6392 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6393 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6394 * malloc/obstack.c (_obstack_begin): Likewise.
6395 (_obstack_begin_1): Likewise.
6396 (_obstack_newchunk): Likewise.
6397 (_obstack_allocated_p): Likewise.
6398 (obstack_free): Likewise.
6399 (_obstack_memory_used): Likewise.
6400 * misc/getttyent.c (getttynam): Likewise.
6401 (getttyent): Likewise.
6402 (skip): Likewise.
6403 (value): Likewise.
6404 * misc/getusershell.c (initshells): Likewise.
6405 * misc/syslog.c (__vsyslog_chk): Likewise.
6406 * misc/ttyslot.c (ttyslot): Likewise.
6407 * nis/nis_hash.c (__nis_hash): Likewise.
6408 * posix/fnmatch_loop.c (FCT): Likewise.
6409 * posix/getconf.c (print_all): Likewise.
6410 (main): Likewise.
6411 * posix/getopt.c (exchange): Likewise.
6412 * posix/glob.c (globfree): Likewise.
6413 (prefix_array): Likewise.
6414 (__glob_pattern_type): Likewise.
6415 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6416 (NS_GET32): Likewise.
6417 (NS_PUT16): Likewise.
6418 (NS_PUT32): Likewise.
6419 * resolv/gethnamaddr.c (getanswer): Likewise.
6420 (gethostbyname2): Likewise.
6421 (gethostbyaddr): Likewise.
6422 (_gethtent): Likewise.
6423 (_gethtbyname2): Likewise.
6424 (_gethtbyaddr): Likewise.
6425 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6426 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6427 * resolv/res_init.c (__res_vinit): Likewise.
6428 (net_mask): Likewise.
6429 * resolv/res_mkquery.c (outchar): Likewise.
6430 (PRINT): Likewise.
6431 * stdio-common/printf_fp.c (outchar): Likewise.
6432 (PRINT): Likewise.
6433 * stdio-common/printf_fphex.c (outchar): Likewise.
6434 (PRINT): Likewise.
6435 * stdio-common/printf_size.c (outchar): Likewise.
6436 (PRINT): Likewise.
6437 * stdio-common/test_rdwr.c (main): Likewise.
6438 * stdio-common/tfformat.c (matches): Likewise.
6439 * stdio-common/vfprintf.c (outchar): Likewise.
6440 (printf_unknown): Likewise.
6441 (buffered_vfprintf): Likewise.
6442 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6443 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6444 (ReadFile): Likewise.
6445 * stdlib/qsort.c (SWAP): Likewise.
6446 (_quicksort): Likewise.
6447 * stdlib/setenv.c (__add_to_environ): Likewise.
6448 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6449 * stdlib/strtol_l.c (__strtol_l): Likewise.
6450 * stdlib/tst-strtod.c (main): Likewise.
6451 * stdlib/tst-strtol.c (main): Likewise.
6452 * stdlib/tst-strtoll.c (main): Likewise.
6453 * string/bits/string2.h (__strcmp_cc): Likewise.
6454 (__strcmp_cg): Likewise.
6455 (__strcspn_c1): Likewise.
6456 (__strcspn_c2): Likewise.
6457 (__strcspn_c3): Likewise.
6458 (__strspn_c1): Likewise.
6459 (__strspn_c2): Likewise.
6460 (__strspn_c3): Likewise.
6461 (__strsep_1c): Likewise.
6462 (__strsep_2c): Likewise.
6463 (__strsep_3c): Likewise.
6464 * string/memccpy.c (__memccpy): Likewise.
6465 * string/stpcpy.c (__stpcpy): Likewise.
6466 * string/strcmp.c (strcmp): Likewise.
6467 * string/strrchr.c (strrchr): Likewise.
6468 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6469 Likewise.
6470 * sysdeps/mach/hurd/getcwd.c
6471 (_hurd_canonicalize_directory_name_internal): Likewise.
6472 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6473 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6474 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6475 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6476 Likewise, in both definitions.
6477 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6478 definitions.
6479 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6480 64] (__bswap_64): Likewise.
6481 * time/test_time.c (main): Likewise.
6482 * time/tzfile.c (__tzfile_read): Likewise.
6483 (__tzfile_compute): Likewise.
6484 * time/tzset.c (__tzset_parse_tz): Likewise.
6485 (tzset_internal): Likewise.
6486 (compute_change): Likewise.
6487 * wcsmbs/wcscat.c (__wcscat): Likewise.
6488 * wcsmbs/wcschr.c (wcschr): Likewise.
6489 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6490 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6491 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6492 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6493 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6494 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6495 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6496 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6497 * wcsmbs/wmemset.c (wmemset): Likewise.
6498
9e54314b
JM
64992013-06-06 Joseph Myers <joseph@codesourcery.com>
6500
6501 * scripts/config.guess: Update to version 2013-05-16.
6502 * scripts/config.sub: Update to version 2013-04-24.
6503 * scripts/install-sh: Update to version 2011-11-20.07.
6504 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6505 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6506
350635a5
OB
65072013-06-06 Ondřej Bílka <neleai@seznam.cz>
6508
6509 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6510 * elf/sln.c: Likewise.
6511 * hurd/hurd/ioctl.h: Likewise.
6512 * hurd/hurdmalloc.c: Likewise.
6513 * hurd/xattr.c: Likewise.
6514 * include/shlib-compat.h: Likewise.
6515 * inet/ruserpass.c: Likewise.
6516 * libio/iofgets_u.c: Likewise.
6517 * libio/iofgetws_u.c: Likewise.
6518 * locale/programs/ld-identification.c: Likewise.
6519 * locale/programs/ld-time.c: Likewise.
6520 * mach/msg-destroy.c: Likewise.
6521 * nss/nss_files/files-netgrp.c: Likewise.
6522 * resolv/res_data.c: Likewise.
6523 * soft-fp/op-1.h: Likewise.
6524 * soft-fp/op-2.h: Likewise.
6525 * soft-fp/op-4.h: Likewise.
6526 * soft-fp/op-common.h: Likewise.
6527 * stdio-common/printf_fphex.c: Likewise.
6528 * stdlib/strtod_l.c: Likewise.
6529 * sunrpc/rpc/clnt.h: Likewise.
6530 * sysdeps/generic/framestate.c: Likewise.
6531 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6532 * sysdeps/i386/bsd-setjmp.S: Likewise.
6533 * sysdeps/i386/__longjmp.S: Likewise.
6534 * sysdeps/i386/setjmp.S: Likewise.
6535 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6536 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6537 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6538 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6539 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6540 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6541 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6542 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6543 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6544 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6545 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6546 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6547 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6548 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6549 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6550 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6551 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6552 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6553 * sysdeps/ieee754/support.c: Likewise.
6554 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6555 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6556 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6557 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6558 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6559 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6560 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6561 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6562 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6563 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6564 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6565 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6566 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6567 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6568 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6569 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6570 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6572
44a988af
OB
65732013-06-05 Ondřej Bílka <neleai@seznam.cz>
6574
25506f09 6575 * posix/transbug.c: Remove executable mode.
44a988af 6576
9c84384c
JM
65772013-06-05 Joseph Myers <joseph@codesourcery.com>
6578
6579 * crypt/speeds.c: Remove trailing whitespace.
6580 * dlfcn/default.c: Likewise.
6581 * elf/ifuncdep2.c: Likewise.
6582 * elf/ifuncmain1.c: Likewise.
6583 * elf/ifuncmain1vis.c: Likewise.
6584 * elf/testobj.h: Likewise.
6585 * elf/tst-stackguard1.c: Likewise.
6586 * gmon/sys/gmon.h: Likewise.
6587 * hurd/hurdmsg.c: Likewise.
6588 * hurd/new-fd.c: Likewise.
6589 * hurd/ports-get.c: Likewise.
6590 * iconvdata/ibm1008_420.c: Likewise.
6591 * inet/tst-getni1.c: Likewise.
6592 * inet/tst-getni2.c: Likewise.
6593 * libio/ioungetc.c: Likewise.
6594 * libio/wfiledoalloc.c: Likewise.
6595 * manual/libm-err-tab.pl: Likewise.
6596 * math/w_dremf.c: Likewise.
6597 * misc/ftruncate.c: Likewise.
6598 * posix/bug-glob2.c: Likewise.
6599 * posix/tst-pcre.c: Likewise.
6600 * posix/wait4.c: Likewise.
6601 * resolv/README: Likewise.
6602 * resolv/res_debug.h: Likewise.
6603 * resolv/tst-inet_ntop.c: Likewise.
6604 * setjmp/bug269-setjmp.c: Likewise.
6605 * soft-fp/extended.h: Likewise.
6606 * soft-fp/op-1.h: Likewise.
6607 * soft-fp/op-2.h: Likewise.
6608 * soft-fp/op-4.h: Likewise.
6609 * soft-fp/op-8.h: Likewise.
6610 * soft-fp/testit.c: Likewise.
6611 * stdio-common/bug16.c: Likewise.
6612 * stdlib/random.c: Likewise.
6613 * sunrpc/rpcsvc/rquota.x: Likewise.
6614 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6615 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6616 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6617 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6618 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6619 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6620 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6621 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6622 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6623 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6624 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6625 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6626 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6627 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6628 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6629 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6630 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6631 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6632 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6633 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6634 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6635 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6636 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6637 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6638 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6639 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6640 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6641 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6642 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6643 * sysdeps/ieee754/s_lib_version.c: Likewise.
6644 * sysdeps/mach/hurd/check_fds.c: Likewise.
6645 * sysdeps/mach/hurd/getsockname.c: Likewise.
6646 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6647 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6648 * sysdeps/powerpc/bits/link.h: Likewise.
6649 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6650 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6651 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6652 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6653 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6654 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6655 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6656 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6657 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6658 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6659 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6660 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6661 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6662 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6663 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6664 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6665 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6666 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6667 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6668 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6669 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6670 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6671 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6672 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6673 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6674 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6675 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6676 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6677 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6678 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6679 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6680 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6681 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6682 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6683 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6684 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6685 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6686 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6687 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6688 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6689 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6690 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6691 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6692 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6693 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6694 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6695 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6696 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6697 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6698 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6699 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6700 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6701 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6702 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6703 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6704 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6705 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6706 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6707 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6708 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6709 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6710 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6711 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6712 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6713 * sysdeps/powerpc/sysdep.h: Likewise.
6714 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6715 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6716 * sysdeps/sh/dl-trampoline.S: Likewise.
6717 * sysdeps/sh/memset.S: Likewise.
6718 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6719 * sysdeps/sh/strlen.S: Likewise.
6720 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6721 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6722 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6723 * sysdeps/sparc/sparc32/rem.S: Likewise.
6724 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6725 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6726 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6727 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6728 * sysdeps/sparc/sparc32/urem.S: Likewise.
6729 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6730 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6731 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6732 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6733 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6734 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6735 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6736 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6737 * sysdeps/unix/bsd/times.c: Likewise.
6738 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6739 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6743 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6744 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6745 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6746 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6747 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6748 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6749 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6750 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6751 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6752 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6753 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6754 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6755 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6756 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6757 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6758 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6759 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6760 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6761 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6762 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6763 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6764 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6765 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6766 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6767 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6768 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6769 * sysdeps/x86_64/strcspn.S: Likewise.
6770
869378a5
RA
67712013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6772
6773 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6774 generated file. Regenerate properly from gen-translit.pl.
6775 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6776 locale/C-translit.h.
6777
840e2943
AS
67782013-06-05 Andreas Schwab <schwab@suse.de>
6779
6780 [BZ #15100]
6781 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6782 week as 6 instead of -1.
6783 * time/tst-strptime.c (day_tests): Add test case.
6784
4c60cb0c
SP
67852013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6786
6787 * sysdeps/generic/math_private.h
6788 (libc_feholdexcept_setround_53bit): Replace with
6789 libc_feholdsetround_53bit.
6790 (libc_feupdateenv_53bit): Replace with
6791 libc_feresetround_53bit.
6792 (SET_RESTORE_ROUND_53BIT): Adjust.
6793
d180203e
SP
67942013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6795
96df079a
SP
6796 * string/test-strchrnul.c: Add copyright header.
6797
d180203e
SP
6798 * posix/tst-getaddrinfo4.c: Increase test timeout.
6799
8b0ccb2d
CD
68002013-06-03 Carlos O'Donell <carlos@redhat.com>
6801
6802 [BZ #15536]
6803 * math/libm-test.inc (MAX_EXP): Remove
6804 (MIN_EXP): Define.
6805 (ulp): Use MIN_EXP - MANT_DIG.
6806 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6807
3b3c4d40
CD
68082013-05-31 Carlos O'Donell <carlos@redhat.com>
6809
6810 * po/be.po: Revert last change.
6811 * po/zh_CN.po: Likewise.
6812 * po/header.pot: Likewise.
6813
fab7ce3f
JM
68142013-05-31 Joseph Myers <joseph@codesourcery.com>
6815
6816 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6817 link-libc-deps to empty as target-specific variable.
6818 * Makerules (link-libc-args): New variable.
6819 (libc-for-link): Likewise.
6820 (link-libc-deps): Likewise.
6821 (lib%.so): Depend on $(link-libc-deps). Link with
6822 $(link-libc-args).
6823 (build-module): Link with $(link-libc-args).
6824 (build-module-asneeded): Likewise.
6825 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6826 list of objects.
6827 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6828 target-specific variable.
6829 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6830 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6831 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6832 libc.
6833 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6834 libc and ld.so.
6835 ($(objpfx)libpcprofile.so): Likewise.
6836 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6837 libc_nonshared.a.
6838 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6839 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6840 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6841 $(link-libc-deps).
6842 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6843 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6844 * login/Makefile ($(objpfx)libutil.so): Likewise.
6845 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6846 * math/Makefile ($(objpfx)libm.so): Likewise.
6847 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6848 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6849 variable instead of depending directly on libc.
6850 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6851 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6852 $(link-libc-deps).
6853 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6854 libc.
6855 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6856 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6857 ($(objpfx)libanl.so): Likewise.
6858 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6859 ld.so.
6860 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6861 $(link-libc-deps).
6862 * sysdeps/i386/fpu/Makefile: Remove file.
6863 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6864 ($(objpfx)libm.so): Remove dependency on ld.so.
6865
eca5920c
PF
68662013-05-30 Patsy Franklin <pfrankli@redhat.com>
6867
6868 [BZ # 15553]
6869 * nis/yp_xdr.c (XDRMAXNAME): Define.
6870 (XDRMAXRECORD): Define.
6871 (xdr_domainname): Use XDRMAXNAME.
6872 (xdr_mapname): Likewise.
6873 (xdr_peername): Likewise.
6874 (xdr_keydat): Use XDRMAXRECORD.
6875 (xdr_valdat): Likewise.
6876
68772013-05-30 Jeff Law <law@redhat.com>
96945714
JL
6878
6879 [BZ #14256]
6880 * manual/errno.texi (ESTALE): Update to account for more than
6881 just NFS file systems.
6882 * sysdeps/gnu/errlist.c: Regenerated.
6883
b9375348
SP
68842013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6885
6886 [BZ #15465]
6887 * elf/Makefile (tests): Add tst-null-argv.
6888 (modules-names): Add tst-null-argv-lib.
6889 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6890 (tst-null-argv-ENV): Set environment for tst-null-argv.
6891 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6892 (RTLD_PROGNAME): New macro.
6893 * elf/tst-null-argv.c: New test case.
6894 * elf/tst-null-argv-lib.c: Library for test case.
6895 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6896 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6897 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6898 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6899 * elf/dl-init.c (call_init): Likewise.
6900 (_dl_init): Likewise.
6901 * elf/dl-load.c (print_search_path): Likewise.
6902 (_dl_map_object): Likewise.
6903 * elf/dl-lookup.c (do_lookup_x): Likewise.
6904 (add_dependency): Likewise.
6905 (_dl_lookup_symbol_x): Likewise.
6906 (_dl_debug_bindings): Likewise.
6907 * elf/dl-open.c (_dl_show_scope): Likewise.
6908 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6909 * elf/dl-version.c (match_symbol): Likewise.
6910 (_dl_check_map_versions): Likewise.
6911 * elf/rtld.c (dl_main): Likewise.
6912 (print_unresolved): Use RTLD_PROGNAME.
6913 (print_missing_version): Likewise.
6914 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6915 (elf_machine_rela): Likewise.
6916 * sysdeps/powerpc/powerpc32/dl-machine.c
6917 (__process_machine_rela): Likewise.
6918 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6919 Likewise.
6920 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6921 Likewise.
6922 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6923 Likewise.
6924 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6925 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6926 Likewise.
6927 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6928 Likewise.
6929 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6930
8a9f20c8
CD
69312013-05-28 Carlos O'Donell <carlos@redhat.com>
6932
6933 * po/be.po: Add descriptive title.
6934 * po/zh_CN.po: Likewise.
6935 * po/header.pot: Likewise.
6936
0e60d68e
MF
69372013-05-28 Mike Frysinger <vapier@gentoo.org>
6938
6939 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6940 error message.
6941 (enlarge_archive): Likewise.
6942
56b672e9
BN
69432013-05-28 Ben North <ben@redfrontdoor.org>
6944
6945 * manual/arith.texi (frexp): It is the magnitude of the return
6946 value which lies in [0.5, 1), not the return value itself.
6947
5e056687
AZ
69482013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6949
6950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6951
2b66ef5d
TS
69522013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6953
528c2405
TS
6954 * stdio-common/bug26.c (main): Correct fscanf template.
6955
07b4c13d
TS
6956 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6957 declare _dl_skip_args.
6958
ec9dd97c
TS
6959 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6960 Don't declare.
6961
2b66ef5d
TS
6962 * manual/platform.texi: Add missing @end deftypefun.
6963
4f8dfe27
JM
69642013-05-24 Joseph Myers <joseph@codesourcery.com>
6965
0323d086
JM
6966 [BZ #15529]
6967 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6968 bit of mantissa of 2^16382.
6969 * math/libm-test.inc (hypot_test_data): Add more tests.
6970
dd4259b9
JM
6971 * math/libm-test.inc: Add drem and pow10 to list of tested
6972 functions.
6973 (pow10_test): New function.
6974 (drem_test): Likewise.
6975 (drem_test_tonearest): Likewise.
6976 (drem_test_towardzero): Likewise.
6977 (drem_test_downward): Likewise.
6978 (drem_test_upward): Likewise.
6979 (main): Call the new functions.
6980
4f8dfe27
JM
6981 * math/libm-test.inc (finite_test_data): Remove.
6982 (finite_test): Run tests from isfinite_test_data.
6983 (gamma_test_data): Remove.
6984 (gamma_test): Run tests from lgamma_test_data.
6985 * sysdeps/i386/fpu/libm-test-ulps: Update.
6986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6987
d116b7c4
AZ
69882013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6989
6990 * manual/platform.texi: Add PowerPC PPR function set documentation.
6991 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6992 implementation.
6993
e96e3767
CD
69942013-05-24 Carlos O'Donell <carlos@redhat.com>
6995
6996 * math/libm-test.inc (MAX_EXP): Define.
6997 (ULPDIFF): Define.
6998 (ulp): New function.
6999 (check_float_internal): Use ULPDIFF.
7000 (cpow_test): Disable failing test.
7001 (check_ulp): Test ulp() implemetnation.
7002 (main): Call check_ulp before starting tests.
7003
b679a606
JM
70042013-05-24 Joseph Myers <joseph@codesourcery.com>
7005
e8bdba36
JM
7006 * math/gen-libm-test.pl (generate_testfile): Do not handle
7007 START_DATA and END_DATA.
7008 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7009 END_DATA.
7010 (acos_tonearest_test_data): Likewise.
7011 (acos_towardzero_test_data): Likewise.
7012 (acos_downward_test_data): Likewise.
7013 (acos_upward_test_data): Likewise.
7014 (acosh_test_data): Likewise.
7015 (asin_test_data): Likewise.
7016 (asin_tonearest_test_data): Likewise.
7017 (asin_towardzero_test_data): Likewise.
7018 (asin_downward_test_data): Likewise.
7019 (asin_upward_test_data): Likewise.
7020 (asinh_test_data): Likewise.
7021 (atan_test_data): Likewise.
7022 (atanh_test_data): Likewise.
7023 (atan2_test_data): Likewise.
7024 (cabs_test_data): Likewise.
7025 (cacos_test_data): Likewise.
7026 (cacosh_test_data): Likewise.
7027 (carg_test_data): Likewise.
7028 (casin_test_data): Likewise.
7029 (casinh_test_data): Likewise.
7030 (catan_test_data): Likewise.
7031 (catanh_test_data): Likewise.
7032 (cbrt_test_data): Likewise.
7033 (ccos_test_data): Likewise.
7034 (ccosh_test_data): Likewise.
7035 (ceil_test_data): Likewise.
7036 (cexp_test_data): Likewise.
7037 (cimag_test_data): Likewise.
7038 (clog_test_data): Likewise.
7039 (clog10_test_data): Likewise.
7040 (conj_test_data): Likewise.
7041 (copysign_test_data): Likewise.
7042 (cos_test_data): Likewise.
7043 (cos_tonearest_test_data): Likewise.
7044 (cos_towardzero_test_data): Likewise.
7045 (cos_downward_test_data): Likewise.
7046 (cos_upward_test_data): Likewise.
7047 (cosh_test_data): Likewise.
7048 (cosh_tonearest_test_data): Likewise.
7049 (cosh_towardzero_test_data): Likewise.
7050 (cosh_downward_test_data): Likewise.
7051 (cosh_upward_test_data): Likewise.
7052 (cpow_test_data): Likewise.
7053 (cproj_test_data): Likewise.
7054 (creal_test_data): Likewise.
7055 (csin_test_data): Likewise.
7056 (csinh_test_data): Likewise.
7057 (csqrt_test_data): Likewise.
7058 (ctan_test_data): Likewise.
7059 (ctan_tonearest_test_data): Likewise.
7060 (ctan_towardzero_test_data): Likewise.
7061 (ctan_downward_test_data): Likewise.
7062 (ctan_upward_test_data): Likewise.
7063 (ctanh_test_data): Likewise.
7064 (ctanh_tonearest_test_data): Likewise.
7065 (ctanh_towardzero_test_data): Likewise.
7066 (ctanh_downward_test_data): Likewise.
7067 (ctanh_upward_test_data): Likewise.
7068 (erf_test_data): Likewise.
7069 (erfc_test_data): Likewise.
7070 (exp_test_data): Likewise.
7071 (exp_tonearest_test_data): Likewise.
7072 (exp_towardzero_test_data): Likewise.
7073 (exp_downward_test_data): Likewise.
7074 (exp_upward_test_data): Likewise.
7075 (exp10_test_data): Likewise.
7076 (exp2_test_data): Likewise.
7077 (expm1_test_data): Likewise.
7078 (fabs_test_data): Likewise.
7079 (fdim_test_data): Likewise.
7080 (finite_test_data): Likewise.
7081 (floor_test_data): Likewise.
7082 (fma_test_data): Likewise.
7083 (fma_towardzero_test_data): Likewise.
7084 (fma_downward_test_data): Likewise.
7085 (fma_upward_test_data): Likewise.
7086 (fmax_test_data): Likewise.
7087 (fmin_test_data): Likewise.
7088 (fmod_test_data): Likewise.
7089 (fpclassify_test_data): Likewise.
7090 (frexp_test_data): Likewise.
7091 (gamma_test_data): Likewise.
7092 (hypot_test_data): Likewise.
7093 (ilogb_test_data): Likewise.
7094 (isfinite_test_data): Likewise.
7095 (isgreater_test_data): Likewise.
7096 (isgreaterequal_test_data): Likewise.
7097 (isinf_test_data): Likewise.
7098 (isless_test_data): Likewise.
7099 (islessequal_test_data): Likewise.
7100 (islessgreater_test_data): Likewise.
7101 (isnan_test_data): Likewise.
7102 (isnormal_test_data): Likewise.
7103 (issignaling_test_data): Likewise.
7104 (isunordered_test_data): Likewise.
7105 (j0_test_data): Likewise.
7106 (j1_test_data): Likewise.
7107 (jn_test_data): Likewise.
7108 (ldexp_test_data): Likewise.
7109 (lgamma_test_data): Likewise.
7110 (lrint_test_data): Likewise.
7111 (lrint_tonearest_test_data): Likewise.
7112 (lrint_towardzero_test_data): Likewise.
7113 (lrint_downward_test_data): Likewise.
7114 (lrint_upward_test_data): Likewise.
7115 (llrint_test_data): Likewise.
7116 (llrint_tonearest_test_data): Likewise.
7117 (llrint_towardzero_test_data): Likewise.
7118 (llrint_downward_test_data): Likewise.
7119 (llrint_upward_test_data): Likewise.
7120 (log_test_data): Likewise.
7121 (log10_test_data): Likewise.
7122 (log1p_test_data): Likewise.
7123 (log2_test_data): Likewise.
7124 (logb_test_data): Likewise.
7125 (logb_downward_test_data): Likewise.
7126 (lround_test_data): Likewise.
7127 (llround_test_data): Likewise.
7128 (modf_test_data): Likewise.
7129 (nearbyint_test_data): Likewise.
7130 (nextafter_test_data): Likewise.
7131 (nexttoward_test_data): Likewise.
7132 (pow_test_data): Likewise.
7133 (pow_tonearest_test_data): Likewise.
7134 (pow_towardzero_test_data): Likewise.
7135 (pow_downward_test_data): Likewise.
7136 (pow_upward_test_data): Likewise.
7137 (remainder_test_data): Likewise.
7138 (remainder_tonearest_test_data): Likewise.
7139 (remainder_towardzero_test_data): Likewise.
7140 (remainder_downward_test_data): Likewise.
7141 (remainder_upward_test_data): Likewise.
7142 (remquo_test_data): Likewise.
7143 (rint_test_data): Likewise.
7144 (rint_tonearest_test_data): Likewise.
7145 (rint_towardzero_test_data): Likewise.
7146 (rint_downward_test_data): Likewise.
7147 (rint_upward_test_data): Likewise.
7148 (round_test_data): Likewise.
7149 (scalb_test_data): Likewise.
7150 (scalbn_test_data): Likewise.
7151 (scalbln_test_data): Likewise.
7152 (signbit_test_data): Likewise.
7153 (sin_test_data): Likewise.
7154 (sin_tonearest_test_data): Likewise.
7155 (sin_towardzero_test_data): Likewise.
7156 (sin_downward_test_data): Likewise.
7157 (sin_upward_test_data): Likewise.
7158 (sincos_test_data): Likewise.
7159 (sinh_test_data): Likewise.
7160 (sinh_tonearest_test_data): Likewise.
7161 (sinh_towardzero_test_data): Likewise.
7162 (sinh_downward_test_data): Likewise.
7163 (sinh_upward_test_data): Likewise.
7164 (sqrt_test_data): Likewise.
7165 (tan_test_data): Likewise.
7166 (tan_tonearest_test_data): Likewise.
7167 (tan_towardzero_test_data): Likewise.
7168 (tan_downward_test_data): Likewise.
7169 (tan_upward_test_data): Likewise.
7170 (tanh_test_data): Likewise.
7171 (tgamma_test_data): Likewise.
7172 (trunc_test_data): Likewise.
7173 (y0_test_data): Likewise.
7174 (y1_test_data): Likewise.
7175 (yn_test_data): Likewise.
7176 (significand_test_data): Likewise.
7177
b679a606
JM
7178 * math/gen-libm-test.pl (@functions): Remove variable.
7179 (generate_testfile): Don't handle START and END lines.
7180 * math/libm-test.inc (START): New macro.
7181 (END): Likewise.
7182 (END_COMPLEX): Likewise.
7183 (acos_test): Use END macro without arguments.
7184 (acos_test_tonearest): Likewise.
7185 (acos_test_towardzero): Likewise.
7186 (acos_test_downward): Likewise.
7187 (acos_test_upward): Likewise.
7188 (acosh_test): Likewise.
7189 (asin_test): Likewise.
7190 (asin_test_tonearest): Likewise.
7191 (asin_test_towardzero): Likewise.
7192 (asin_test_downward): Likewise.
7193 (asin_test_upward): Likewise.
7194 (asinh_test): Likewise.
7195 (atan_test): Likewise.
7196 (atanh_test): Likewise.
7197 (atan2_test): Likewise.
7198 (cabs_test): Likewise.
7199 (cacos_test): Use END_COMPLEX macro without arguments.
7200 (cacosh_test): Likewise.
7201 (carg_test): Use END macro without arguments.
7202 (casin_test): Use END_COMPLEX macro without arguments.
7203 (casinh_test): Likewise.
7204 (catan_test): Likewise.
7205 (catanh_test): Likewise.
7206 (cbrt_test): Use END macro without arguments.
7207 (ccos_test): Use END_COMPLEX macro without arguments.
7208 (ccosh_test): Likewise.
7209 (ceil_test): Use END macro without arguments.
7210 (cexp_test): Use END_COMPLEX macro without arguments.
7211 (cimag_test): Use END macro without arguments.
7212 (clog_test): Use END_COMPLEX macro without arguments.
7213 (clog10_test): Likewise.
7214 (conj_test): Likewise.
7215 (copysign_test): Use END macro without arguments.
7216 (cos_test): Likewise.
7217 (cos_test_tonearest): Likewise.
7218 (cos_test_towardzero): Likewise.
7219 (cos_test_downward): Likewise.
7220 (cos_test_upward): Likewise.
7221 (cosh_test): Likewise.
7222 (cosh_test_tonearest): Likewise.
7223 (cosh_test_towardzero): Likewise.
7224 (cosh_test_downward): Likewise.
7225 (cosh_test_upward): Likewise.
7226 (cpow_test): Use END_COMPLEX macro without arguments.
7227 (cproj_test): Likewise.
7228 (creal_test): Use END macro without arguments.
7229 (csin_test): Use END_COMPLEX macro without arguments.
7230 (csinh_test): Likewise.
7231 (csqrt_test): Likewise.
7232 (ctan_test): Likewise.
7233 (ctan_test_tonearest): Likewise.
7234 (ctan_test_towardzero): Likewise.
7235 (ctan_test_downward): Likewise.
7236 (ctan_test_upward): Likewise.
7237 (ctanh_test): Likewise.
7238 (ctanh_test_tonearest): Likewise.
7239 (ctanh_test_towardzero): Likewise.
7240 (ctanh_test_downward): Likewise.
7241 (ctanh_test_upward): Likewise.
7242 (erf_test): Use END macro without arguments.
7243 (erfc_test): Likewise.
7244 (exp_test): Likewise.
7245 (exp_test_tonearest): Likewise.
7246 (exp_test_towardzero): Likewise.
7247 (exp_test_downward): Likewise.
7248 (exp_test_upward): Likewise.
7249 (exp10_test): Likewise.
7250 (exp2_test): Likewise.
7251 (expm1_test): Likewise.
7252 (fabs_test): Likewise.
7253 (fdim_test): Likewise.
7254 (finite_test): Likewise.
7255 (floor_test): Likewise.
7256 (fma_test): Likewise.
7257 (fma_test_towardzero): Likewise.
7258 (fma_test_downward): Likewise.
7259 (fma_test_upward): Likewise.
7260 (fmax_test): Likewise.
7261 (fmin_test): Likewise.
7262 (fmod_test): Likewise.
7263 (fpclassify_test): Likewise.
7264 (frexp_test): Likewise.
7265 (gamma_test): Likewise.
7266 (hypot_test): Likewise.
7267 (ilogb_test): Likewise.
7268 (isfinite_test): Likewise.
7269 (isgreater_test): Likewise.
7270 (isgreaterequal_test): Likewise.
7271 (isinf_test): Likewise.
7272 (isless_test): Likewise.
7273 (islessequal_test): Likewise.
7274 (islessgreater_test): Likewise.
7275 (isnan_test): Likewise.
7276 (isnormal_test): Likewise.
7277 (issignaling_test): Likewise.
7278 (isunordered_test): Likewise.
7279 (j0_test): Likewise.
7280 (j1_test): Likewise.
7281 (jn_test): Likewise.
7282 (ldexp_test): Likewise.
7283 (lgamma_test): Likewise.
7284 (lrint_test): Likewise.
7285 (lrint_test_tonearest): Likewise.
7286 (lrint_test_towardzero): Likewise.
7287 (lrint_test_downward): Likewise.
7288 (lrint_test_upward): Likewise.
7289 (llrint_test): Likewise.
7290 (llrint_test_tonearest): Likewise.
7291 (llrint_test_towardzero): Likewise.
7292 (llrint_test_downward): Likewise.
7293 (llrint_test_upward): Likewise.
7294 (log_test): Likewise.
7295 (log10_test): Likewise.
7296 (log1p_test): Likewise.
7297 (log2_test): Likewise.
7298 (logb_test): Likewise.
7299 (logb_test_downward): Likewise.
7300 (lround_test): Likewise.
7301 (llround_test): Likewise.
7302 (modf_test): Likewise.
7303 (nearbyint_test): Likewise.
7304 (nextafter_test): Likewise.
7305 (nexttoward_test): Likewise.
7306 (pow_test): Likewise.
7307 (pow_test_tonearest): Likewise.
7308 (pow_test_towardzero): Likewise.
7309 (pow_test_downward): Likewise.
7310 (pow_test_upward): Likewise.
7311 (remainder_test): Likewise.
7312 (remainder_test_tonearest): Likewise.
7313 (remainder_test_towardzero): Likewise.
7314 (remainder_test_downward): Likewise.
7315 (remainder_test_upward): Likewise.
7316 (remquo_test): Likewise.
7317 (rint_test): Likewise.
7318 (rint_test_tonearest): Likewise.
7319 (rint_test_towardzero): Likewise.
7320 (rint_test_downward): Likewise.
7321 (rint_test_upward): Likewise.
7322 (round_test): Likewise.
7323 (scalb_test): Likewise.
7324 (scalbn_test): Likewise.
7325 (scalbln_test): Likewise.
7326 (signbit_test): Likewise.
7327 (sin_test): Likewise.
7328 (sin_test_tonearest): Likewise.
7329 (sin_test_towardzero): Likewise.
7330 (sin_test_downward): Likewise.
7331 (sin_test_upward): Likewise.
7332 (sincos_test): Likewise.
7333 (sinh_test): Likewise.
7334 (sinh_test_tonearest): Likewise.
7335 (sinh_test_towardzero): Likewise.
7336 (sinh_test_downward): Likewise.
7337 (sinh_test_upward): Likewise.
7338 (sqrt_test): Likewise.
7339 (tan_test): Likewise.
7340 (tan_test_tonearest): Likewise.
7341 (tan_test_towardzero): Likewise.
7342 (tan_test_downward): Likewise.
7343 (tan_test_upward): Likewise.
7344 (tanh_test): Likewise.
7345 (tgamma_test): Likewise.
7346 (trunc_test): Likewise.
7347 (y0_test): Likewise.
7348 (y1_test): Likewise.
7349 (yn_test): Likewise.
7350 (significand_test): Likewise.
7351
bae143d2
OB
73522013-05-24 Ondřej Bílka <neleai@seznam.cz>
7353
7354 [BZ #15381]
7355 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7356
9323d39b
EM
73572013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7358
d4ea44a0 7359 [BZ #14894]
9323d39b
EM
7360 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7361 __ppc_mdoio and __ppc_mdoom.
7362 * manual/platform.texi: Document new functions __ppc_yield,
7363 __ppc_mdoio and __ppc_mdoom.
7364
13e23af7
CD
73652013-05-22 Carlos O'Donell <carlos@redhat.com>
7366
7367 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7368 (main): Mention "tls" pseudo-hwcap is legacy.
7369 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7370
351fe550
JM
73712013-05-22 Joseph Myers <joseph@codesourcery.com>
7372
7373 * math/gen-libm-test.pl (parse_args): Output only string of
7374 arguments as text for test name, not full call or descriptions of
7375 tests for extra outputs.
7376 (generate_testfile): Do not pass function name to parse_args.
7377 Generate this_func variable from START.
7378 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7379 field to arg_str.
7380 (struct test_ff_f_data): Likewise.
7381 (test_ff_f_data_nexttoward): Likewise.
7382 (struct test_fi_f_data): Likewise.
7383 (struct test_fl_f_data): Likewise.
7384 (struct test_if_f_data): Likewise.
7385 (struct test_fff_f_data): Likewise.
7386 (struct test_c_f_data): Likewise.
7387 (struct test_f_f1_data): Likewise. Remove field extra_name.
7388 (struct test_fF_f1_data): Likewise.
7389 (struct test_ffI_f1_data): Likewise.
7390 (struct test_c_c_data): Rename test_name field to arg_str.
7391 (struct test_cc_c_data): Likewise.
7392 (struct test_f_i_data): Likewise.
7393 (struct test_ff_i_data): Likewise.
7394 (struct test_f_l_data): Likewise.
7395 (struct test_f_L_data): Likewise.
7396 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7397 and extra2_name.
7398 (COMMON_TEST_SETUP): New macro.
7399 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7400 (COMMON_TEST_CLEANUP): Likewise.
7401 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7402 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7403 macros.
7404 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7405 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7406 macros.
7407 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7408 (RUN_TEST_fff_f): Take argument string. Call new setup and
7409 cleanup macros.
7410 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7411 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7412 macros.
7413 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7414 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7415 macros.
7416 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7417 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7418 cleanup macros.
7419 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7420 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7421 cleanup macros.
7422 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7423 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7424 cleanup macros.
7425 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7426 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7427 macros.
7428 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7429 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7430 macros.
7431 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7432 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7433 macros.
7434 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7435 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7436 cleanup macros.
7437 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7438 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7439 cleanup macros.
7440 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7441 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7442 macros.
7443 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7444 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7445 cleanup macros.
7446 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7447 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7448 macros.
7449 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7450 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7451 macros.
7452 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7453 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7454 cleanup macros.
7455 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7456
85118d4d
EBM
74572013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7458
7459 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7460 to _sifields.sigfault.
7461 (si_addr_lsb): Define new macro.
7462 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7463 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7464 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7465
7a44c18f
CD
74662013-05-03 Carlos O'Donell <carlos at redhat.com>
7467
7468 [BZ #15441]
7469 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7470 returns -1.
7471 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7472 null return -1.
7473 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7474 loading the domain.
7475
b50a7181
JM
74762013-05-22 Joseph Myers <joseph@codesourcery.com>
7477
7478 * math/gen-libm-test.pl (parse_args): Do not include expected
7479 result in test name.
7480 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7481 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7482 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7483 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7484 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7486
051063c8
SP
74872013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7488
3ce9e010
SP
7489 * benchtests/Makefile: Sort function entries.
7490
051063c8
SP
7491 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7492 tanh, asinh, acosh, atanh.
7493 * benchtests/acos-inputs: New file.
7494 * benchtests/acosh-inputs: New file.
7495 * benchtests/asin-inputs: New file.
7496 * benchtests/asinh-inputs: New file.
7497 * benchtests/atanh-inputs: New file.
7498 * benchtests/cosh-inputs: New file.
7499 * benchtests/log-inputs: New file.
7500 * benchtests/sinh-inputs: New file.
7501 * benchtests/tanh-inputs: New file.
7502
47c22455
DL
75032013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7504
7505 [BZ #15339]
7506 * posix/tst-getaddrinfo4.c: New test.
7507 * posix/Makefile (tests): Add it.
7508
3d04f5db
SP
75092013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7510
7511 [BZ #15339]
7512 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7513 when no services were used.
7514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7515 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7516
d5dd6189
AS
75172013-05-21 Andreas Schwab <schwab@suse.de>
7518
7519 [BZ #15014]
7520 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7521 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7522 successful.
7523 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7524 redundant variable declarations and reallocation of buffer when
7525 parsing as IPv6 address. Always set NSS status when called from
7526 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7527 buffer too small. Correct computation of needed size.
7528 * nss/Makefile (tests): Add test-digits-dots.
7529 * nss/test-digits-dots.c: New test.
7530
fef94eab
SP
75312013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7532
7533 * benchtests/Makefile: Remove instructions for adding
7534 benchmark tests.
7535 * benchtests/README: New file to explain how to execute and
7536 enhance the benchmark tests.
7537
e39adf43
AS
75382013-05-21 Andreas Schwab <schwab@suse.de>
7539
7540 [BZ #15493]
7541 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7542 * setjmp/tst-sigsetjmp.c: New test.
7543
b2b671b6
OB
75442013-05-20 Ondřej Bílka <neleai@seznam.cz>
7545
7546 * sysdeps/x86_64/memset.S (memset): New implementation.
7547 (__bzero): Likewise.
7548 (__memset_tail): New function.
7549
2d48b41c
OB
75502013-05-20 Ondřej Bílka <neleai@seznam.cz>
7551
7552 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7553 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7554 __memcpy_sse2_unaligned ifunc selection.
7555 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7556 Add memcpy-sse2-unaligned.S.
7557 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7558 Add: __memcpy_sse2_unaligned.
7559
f16cc3eb
JM
75602013-05-19 Joseph Myers <joseph@codesourcery.com>
7561
3e694268
JM
7562 [BZ #15490]
7563 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7564 math_force_eval before restoring floating-point envrionment.
7565 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7566 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7567 Likewise.
7568 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7569 <math_private.h>.
7570 (__nearbyintl): Use math_force_eval before restoring
7571 floating-point environment.
7572 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7573
db62a907
JM
7574 * math/gen-libm-test.pl (special_functions): Remove.
7575 (parse_args): Don't handle TEST_extra. Handle functions with no
7576 return value.
7577 * math/libm-test.inc (struct test_sincos_data): Replace with
7578 struct test_fFF_11_data.
7579 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7580 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7581 (sincos_test_data): Change element type to struct
7582 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7583 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7584 RUN_TEST_LOOP_sincos.
7585 * math/README.libm-test: Don't mention special handling of
7586 individual functions.
7587 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7588 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7589 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7590 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7591 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7593
f16cc3eb
JM
7594 * math/gen-libm-test.pl (get_variable): Remove function.
7595 (parse_args): Don't show pointer parameters to call in test
7596 names. Use "extra output N" in test names for extra outputs
7597 rather than naming variables.
7598
3779b5b6
JM
75992013-05-18 Joseph Myers <joseph@codesourcery.com>
7600
2ee094ff
JM
7601 [BZ #15488]
7602 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7603 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7604 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7605 double tests.
7606 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7607 disable.
7608 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7609 check_long_double.
7610
3779b5b6
JM
7611 * math/gen-libm-test.pl (@tests): Remove variable.
7612 ($count): Likewise.
7613 (new_test): Remove function.
7614 (show_exceptions): New function.
7615 (special_functions): Use show_exceptions instead of new_test.
7616 (parse_args): Likewise.
7617 (generate_testfile): Pass only function name in generated call to
7618 print_max_error or print_complex_max_error.
7619 (get_ulps): Do not handle complex tests specially.
7620 (output_test): Rename to ...
7621 (get_all_ulps_for_test): ... this. Return a string rather than
7622 printing to a file. Require ulps to be present.
7623 (output_ulps): Generate arrays rather than #defines.
7624 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7625 (struct ulp_data): New type.
7626 (BUILD_COMPLEX_ULP): Remove macro.
7627 (compare_ulp_data): New function.
7628 (find_ulps): Likewise.
7629 (find_test_ulps): Likewise.
7630 (find_function_ulps): Likewise.
7631 (find_complex_function_ulps): Likewise.
7632 (print_max_error): Determine allowed ulps using
7633 find_function_ulps.
7634 (print_complex_max_error): Determine allowed ulps using
7635 find_complex_function_ulps.
7636 (check_float_internal): Determine max ulps using find_test_ulps.
7637 (check_float): Do not take max_ulp parameter. Update call to
7638 check_float_internal.
7639 (check_complex): Likewise.
7640 (check_int): Do not take max_ulp parameter.
7641 (check_long): Likewise.
7642 (check_bool): Likewise.
7643 (check_longlong): Likewise.
7644 (struct test_f_f_data): Remove max_ulp field.
7645 (struct test_ff_f_data): Likewise.
7646 (struct test_ff_f_data_nexttoward): Likewise.
7647 (struct test_fi_f_data): Likewise.
7648 (struct test_fl_f_data): Likewise.
7649 (struct test_if_f_data): Likewise.
7650 (struct test_fff_f_data): Likewise.
7651 (struct test_c_f_data): Likewise.
7652 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7653 (struct test_fF_f1_data): Likewise.
7654 (struct test_ffI_f1_data): Likewise.
7655 (struct test_c_c_data): Remove max_ulp field.
7656 (struct test_cc_c_data): Likewise.
7657 (struct test_f_i_data): Likewise.
7658 (struct test_ff_i_data): Likewise.
7659 (struct test_f_l_data): Likewise.
7660 (struct test_f_L_data): Likewise.
7661 (struct test_sincos_data): Likewise.
7662 (RUN_TEST_f_f): Do not handle ulps.
7663 (RUN_TEST_LOOP_f_f): Likewise.
7664 (RUN_TEST_2_f): Likewise.
7665 (RUN_TEST_LOOP_2_f): Likewise.
7666 (RUN_TEST_fff_f): Likewise.
7667 (RUN_TEST_LOOP_fff_f): Likewise.
7668 (RUN_TEST_c_f): Likewise.
7669 (RUN_TEST_LOOP_c_f): Likewise.
7670 (RUN_TEST_f_f1): Likewise.
7671 (RUN_TEST_LOOP_f_f1): Likewise.
7672 (RUN_TEST_fF_f1): Likewise.
7673 (RUN_TEST_LOOP_fF_f1): Likewise.
7674 (RUN_TEST_fI_f1): Likewise.
7675 (RUN_TEST_LOOP_fI_f1): Likewise.
7676 (RUN_TEST_ffI_f1): Likewise.
7677 (RUN_TEST_LOOP_ffI_f1): Likewise.
7678 (RUN_TEST_c_c): Likewise.
7679 (RUN_TEST_LOOP_c_c): Likewise.
7680 (RUN_TEST_cc_c): Likewise.
7681 (RUN_TEST_LOOP_cc_c): Likewise.
7682 (RUN_TEST_f_i): Likewise.
7683 (RUN_TEST_LOOP_f_i): Likewise.
7684 (RUN_TEST_f_i_tg): Likewise.
7685 (RUN_TEST_LOOP_f_i_tg): Likewise.
7686 (RUN_TEST_ff_i_tg): Likewise.
7687 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7688 (RUN_TEST_f_b): Likewise.
7689 (RUN_TEST_LOOP_f_b): Likewise.
7690 (RUN_TEST_f_b_tg): Likewise.
7691 (RUN_TEST_LOOP_f_b_tg): Likewise.
7692 (RUN_TEST_f_l): Likewise.
7693 (RUN_TEST_LOOP_f_l): Likewise.
7694 (RUN_TEST_f_L): Likewise.
7695 (RUN_TEST_LOOP_f_L): Likewise.
7696 (RUN_TEST_sincos): Likewise.
7697 (RUN_TEST_LOOP_sincos): Likewise.
7698
8269107f
JM
76992013-05-17 Joseph Myers <joseph@codesourcery.com>
7700
bb38759d
JM
7701 [BZ #15480]
7702 [BZ #15485]
7703 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7704 main case of finite arguments, set rounding mode to FE_TONEAREST
7705 and discard exceptions.
7706 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7707 exceptions.
7708 (remainder_tonearest_test_data): New variable.
7709 (remainder_test_tonearest): New function.
7710 (remainder_towardzero_test_data): New variable.
7711 (remainder_test_towardzero): New function.
7712 (remainder_downward_test_data): New variable.
7713 (remainder_test_downward): New function.
7714 (remainder_upward_test_data): New variable.
7715 (remainder_test_upward): New function.
7716 (main): Call the new test functions.
7717
a00bdcf0
JM
7718 * math/libm-test.inc (struct test_f_f1_data): Remove field
7719 extra_init.
7720 (struct test_fF_f1_data): Likewise.
7721 (struct test_ffI_f1_data): Likewise.
7722 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7723 based on value of EXTRA_EXPECTED.
7724 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7725 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7726 EXTRA_VAR based on value of EXTRA_EXPECTED.
7727 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7728 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7729 EXTRA_VAR based on value of EXTRA_EXPECTED.
7730 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7731 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7732 EXTRA_VAR based on value of EXTRA_EXPECTED.
7733 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7734 * math/gen-libm-test.pl (parse_args): Don't output initializers
7735 for extra output values.
7736
de407f79
JM
7737 * math/libm-test.inc (check_int): Expect result to be exactly
7738 equal to expected value and do not handle ulps.
7739 (check_long): Likewise.
7740 (check_longlong): Likewise.
7741
8269107f
JM
7742 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7743 exceptions.
7744 (cimag_test_data): Likewise.
7745 (conj_test_data): Likewise.
7746 (copysign_test_data): Likewise.
7747 (cproj_test_data): Likewise.
7748 (creal_test_data): Likewise.
7749 (fabs_test_data): Likewise.
7750 (fdim_test_data): Likewise.
7751 (finite_test_data): Likewise.
7752 (floor_test_data): Likewise.
7753 (fmax_test_data): Likewise.
7754 (fmin_test_data): Likewise.
7755 (fmod_test_data): Likewise.
7756 (fpclassify_test_data): Likewise.
7757 (frexp_test_data): Likewise.
7758 (ilogb_test_data): Likewise.
7759 (isfinite_test_data): Likewise.
7760 (isgreater_test_data): Likewise.
7761 (isgreaterequal_test_data): Likewise.
7762 (isinf_test_data): Likewise.
7763 (isless_test_data): Likewise.
7764 (islessequal_test_data): Likewise.
7765 (islessgreater_test_data): Likewise.
7766 (isnan_test_data): Likewise.
7767 (isnormal_test_data): Likewise.
7768 (issignaling_test_data): Likewise.
7769 (isunordered_test_data): Likewise.
7770 (ldexp_test_data): Likewise.
7771 (lrint_test_data): Likewise.
7772 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7773 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7774 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7775 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7776 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7777 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7778 test input.
7779 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7780 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7781 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7782 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7783 that test input.
7784 (lrint_downward_test_data): Test for "inexact" exceptions.
7785 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7786 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7787 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7788 test input.
7789 (lrint_upward_test_data): Test for "inexact" exceptions.
7790 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7791 test input.
7792 (llrint_test_data): Test for "inexact" exceptions.
7793 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7794 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7795 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7796 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7797 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7798 (llrint_downward_test_data): Test for "inexact" exceptions.
7799 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7800 (llrint_upward_test_data): Test for "inexact" exceptions.
7801 (logb_test_data): Likewise.
7802 (logb_downward_test_data): Likewise.
7803 (nextafter_test_data): Likewise.
7804 (nexttoward_test_data): Likewise.
7805 (remainder_test_data): Likewise.
7806 (remquo_test_data): Likewise.
7807 (scalbn_test_data): Likewise.
7808 (scalbln_test_data): Likewise.
7809 (signbit_test_data): Likewise.
7810 (sqrt_test_data): Likewise.
7811 (significand_test_data): Likewise.
7812
48a18de1
SP
78132013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7814
7815 [BZ #15424]
7816 * benchtests/bench-modf.c (struct args): Mark arg0 as
7817 volatile.
7818 * scripts/bench.pl: Mark members of struct args as volatile.
7819
13d3b41a
AZ
78202013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7821
68191c1d 7822 [BZ # 15497]
13d3b41a
AZ
7823 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7824 negative infinity on POWER6 or lower.
7825 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7826
2848b105
MR
78272013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7828
7829 [BZ #15442]
7830 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7831 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7832 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7833 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7834 (_FP_SETQNAN): New macro.
7835 (_FP_SETQNAN_SEMIRAW): Likewise.
7836 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7837 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7838 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7839 (FP_EXTEND): Use _FP_FRAC_SNANP.
7840 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7841 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7842 into account.
7843 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7844 New macro.
7845 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7846 Likewise.
7847
323e5cb7
JM
78482013-05-16 Joseph Myers <joseph@codesourcery.com>
7849
c58b274f
JM
7850 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7851 with DIVIDE_BY_ZERO_EXCEPTION.
7852 (gamma_test_data): Likewise.
7853 (lgamma_test_data): Likewise.
7854 (log_test_data): Likewise.
7855 (log10_test_data): Likewise.
7856 (log2_test_data): Likewise.
7857 (tgamma_test_data): Likewise.
7858
0ab34904
JM
7859 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7860 (acos_test_tonearest): Likewise.
7861 (acos_test_towardzero): Likewise.
7862 (acos_test_downward): Likewise.
7863 (acos_test_upward): Likewise.
7864 (acosh_test): Likewise.
7865 (asin_test): Likewise.
7866 (asin_test_tonearest): Likewise.
7867 (asin_test_towardzero): Likewise.
7868 (asin_test_downward): Likewise.
7869 (asin_test_upward): Likewise.
7870 (asinh_test): Likewise.
7871 (atan_test): Likewise.
7872 (atanh_test): Likewise.
7873 (atan2_test): Likewise.
7874 (cabs_test): Likewise.
7875 (cacos_test): Likewise.
7876 (cacosh_test): Likewise.
7877 (casin_test): Likewise.
7878 (casinh_test): Likewise.
7879 (catan_test): Likewise.
7880 (catanh_test): Likewise.
7881 (cbrt_test): Likewise.
7882 (ccos_test): Likewise.
7883 (ccosh_test): Likewise.
7884 (cexp_test): Likewise.
7885 (clog_test): Likewise.
7886 (clog10_test): Likewise.
7887 (cos_test): Likewise.
7888 (cos_test_tonearest): Likewise.
7889 (cos_test_towardzero): Likewise.
7890 (cos_test_downward): Likewise.
7891 (cos_test_upward): Likewise.
7892 (cosh_test): Likewise.
7893 (cosh_test_tonearest): Likewise.
7894 (cosh_test_towardzero): Likewise.
7895 (cosh_test_downward): Likewise.
7896 (cosh_test_upward): Likewise.
7897 (cpow_test): Likewise.
7898 (csin_test): Likewise.
7899 (csinh_test): Likewise.
7900 (csqrt_test): Likewise.
7901 (ctan_test): Likewise.
7902 (ctan_test_tonearest): Likewise.
7903 (ctan_test_towardzero): Likewise.
7904 (ctan_test_downward): Likewise.
7905 (ctan_test_upward): Likewise.
7906 (ctanh_test): Likewise.
7907 (ctanh_test_tonearest): Likewise.
7908 (ctanh_test_towardzero): Likewise.
7909 (ctanh_test_downward): Likewise.
7910 (ctanh_test_upward): Likewise.
7911 (erf_test): Likewise.
7912 (erfc_test): Likewise.
7913 (exp_test): Likewise.
7914 (exp_test_tonearest): Likewise.
7915 (exp_test_towardzero): Likewise.
7916 (exp_test_downward): Likewise.
7917 (exp_test_upward): Likewise.
7918 (exp10_test): Likewise.
7919 (exp2_test): Likewise.
7920 (expm1_test): Likewise.
7921 (fmod_test): Likewise.
7922 (gamma_test): Likewise.
7923 (hypot_test): Likewise.
7924 (j0_test): Likewise.
7925 (j1_test): Likewise.
7926 (jn_test): Likewise.
7927 (lgamma_test): Likewise.
7928 (log_test): Likewise.
7929 (log10_test): Likewise.
7930 (log1p_test): Likewise.
7931 (log2_test): Likewise.
7932 (logb_test_downward): Likewise.
7933 (pow_test): Likewise.
7934 (pow_test_tonearest): Likewise.
7935 (pow_test_towardzero): Likewise.
7936 (pow_test_downward): Likewise.
7937 (pow_test_upward): Likewise.
7938 (remainder_test): Likewise.
7939 (remquo_test): Likewise.
7940 (sin_test): Likewise.
7941 (sin_test_tonearest): Likewise.
7942 (sin_test_towardzero): Likewise.
7943 (sin_test_downward): Likewise.
7944 (sin_test_upward): Likewise.
7945 (sincos_test): Likewise.
7946 (sinh_test): Likewise.
7947 (sinh_test_tonearest): Likewise.
7948 (sinh_test_towardzero): Likewise.
7949 (sinh_test_downward): Likewise.
7950 (sinh_test_upward): Likewise.
7951 (sqrt_test): Likewise.
7952 (tan_test): Likewise.
7953 (tan_test_tonearest): Likewise.
7954 (tan_test_towardzero): Likewise.
7955 (tan_test_downward): Likewise.
7956 (tan_test_upward): Likewise.
7957 (tanh_test): Likewise.
7958 (tgamma_test): Likewise.
7959 (y0_test): Likewise.
7960 (y1_test): Likewise.
7961 (yn_test): Likewise.
7962
323e5cb7
JM
7963 * math/gen-libm-test.pl (adjust_arg): Remove function.
7964 (special_function): Remove argument $in_func. Only handle
7965 generating output for tables of tests, not inside functions.
7966 (parse_args): Likewise.
7967 (generate_testfile): Remove variable $in_func. Update call to
7968 parse_args.
7969 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7970 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7971 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7972 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7973 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7974 (MAX_VALUE_INIT): Rename macro to max_value.
7975 (MIN_VALUE_INIT): Rename macro to min_value.
7976 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7977 (plus_zero): Remove variable.
7978 (minus_zero): Likewise.
7979 (plus_infty): Likewise.
7980 (minus_infty): Likewise.
7981 (qnan_value): Likewise.
7982 (max_value): Likewise.
7983 (min_value): Likewise.
7984 (min_subnorm_value): Likewise.
7985
e054f494
RA
79862013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7987
7988 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7989 uint64_t or uint32_t usage.
7990 * crypt/sha256-block.c: Likewise.
7991 * crypt/sha256-crypt.c: Likewise.
7992 * crypt/sha256.c: Likewise.
7993 * crypt/sha512-block.c: Likewise.
7994 * crypt/sha512-crypt.c: Likewise.
7995 * crypt/sha512.c: Likewise.
7996 * debug/backtrace-tst.c: Likewise.
7997 * debug/pcprofiledump.c: Likewise.
7998 * elf/cache.c: Likewise.
7999 * elf/dl-cache.c: Likewise.
8000 * elf/dl-misc.c: Likewise.
8001 * elf/dl-profile.c: Likewise.
8002 * elf/dl-support.c: Likewise.
8003 * elf/ldconfig.c: Likewise.
8004 * elf/sprof.c: Likewise.
8005 * iconv/dummy-repertoire.c: Likewise.
8006 * iconv/iconv_charmap.c: Likewise.
8007 * iconv/skeleton.c: Likewise.
8008 * iconvdata/8bit-generic.c: Likewise.
8009 * iconvdata/cp737.h: Likewise.
8010 * iconvdata/cp775.h: Likewise.
8011 * iconvdata/ibm1008.h: Likewise.
8012 * iconvdata/ibm1025.h: Likewise.
8013 * iconvdata/ibm1046.h: Likewise.
8014 * iconvdata/ibm1097.h: Likewise.
8015 * iconvdata/ibm1112.h: Likewise.
8016 * iconvdata/ibm1122.h: Likewise.
8017 * iconvdata/ibm1123.h: Likewise.
8018 * iconvdata/ibm1124.h: Likewise.
8019 * iconvdata/ibm1129.h: Likewise.
8020 * iconvdata/ibm1130.h: Likewise.
8021 * iconvdata/ibm1132.h: Likewise.
8022 * iconvdata/ibm1133.h: Likewise.
8023 * iconvdata/ibm1137.h: Likewise.
8024 * iconvdata/ibm1140.h: Likewise.
8025 * iconvdata/ibm1141.h: Likewise.
8026 * iconvdata/ibm1142.h: Likewise.
8027 * iconvdata/ibm1143.h: Likewise.
8028 * iconvdata/ibm1144.h: Likewise.
8029 * iconvdata/ibm1145.h: Likewise.
8030 * iconvdata/ibm1146.h: Likewise.
8031 * iconvdata/ibm1147.h: Likewise.
8032 * iconvdata/ibm1148.h: Likewise.
8033 * iconvdata/ibm1149.h: Likewise.
8034 * iconvdata/ibm1153.h: Likewise.
8035 * iconvdata/ibm1154.h: Likewise.
8036 * iconvdata/ibm1155.h: Likewise.
8037 * iconvdata/ibm1156.h: Likewise.
8038 * iconvdata/ibm1157.h: Likewise.
8039 * iconvdata/ibm1158.h: Likewise.
8040 * iconvdata/ibm1160.h: Likewise.
8041 * iconvdata/ibm1161.h: Likewise.
8042 * iconvdata/ibm1162.h: Likewise.
8043 * iconvdata/ibm1163.h: Likewise.
8044 * iconvdata/ibm1164.h: Likewise.
8045 * iconvdata/ibm1166.h: Likewise.
8046 * iconvdata/ibm1167.h: Likewise.
8047 * iconvdata/ibm12712.h: Likewise.
8048 * iconvdata/ibm1390.h: Likewise.
8049 * iconvdata/ibm1399.h: Likewise.
8050 * iconvdata/ibm16804.h: Likewise.
8051 * iconvdata/ibm4517.h: Likewise.
8052 * iconvdata/ibm4899.h: Likewise.
8053 * iconvdata/ibm4909.h: Likewise.
8054 * iconvdata/ibm4971.h: Likewise.
8055 * iconvdata/ibm5347.h: Likewise.
8056 * iconvdata/ibm803.h: Likewise.
8057 * iconvdata/ibm856.h: Likewise.
8058 * iconvdata/ibm901.h: Likewise.
8059 * iconvdata/ibm902.h: Likewise.
8060 * iconvdata/ibm9030.h: Likewise.
8061 * iconvdata/ibm9066.h: Likewise.
8062 * iconvdata/ibm921.h: Likewise.
8063 * iconvdata/ibm922.h: Likewise.
8064 * iconvdata/ibm9448.h: Likewise.
8065 * iconvdata/isiri-3342.h: Likewise.
8066 * iconvdata/jis0201.h: Likewise.
8067 * include/link.h: Likewise.
8068 * include/netdb.h: Likewise.
8069 * inet/check_native.c: Likewise.
8070 * inet/check_pf.c: Likewise.
8071 * inet/getipv4sourcefilter.c: Likewise.
8072 * inet/getnameinfo.c: Likewise.
8073 * inet/getsourcefilter.c: Likewise.
8074 * inet/htonl.c: Likewise.
8075 * inet/setipv4sourcefilter.c: Likewise.
8076 * inet/setsourcefilter.c: Likewise.
8077 * inet/test-inet6_opt.c: Likewise.
8078 * inet/tst-network.c: Likewise.
8079 * locale/C-collate.c: Likewise.
8080 * locale/C-ctype.c: Likewise.
8081 * locale/C-time.c: Likewise.
8082 * locale/C-translit.h: Likewise.
8083 * locale/loadarchive.c: Likewise.
8084 * locale/programs/3level.h: Likewise.
8085 * locale/programs/charmap.c: Likewise.
8086 * locale/programs/charmap.h: Likewise.
8087 * locale/programs/ld-address.c: Likewise.
8088 * locale/programs/ld-collate.c: Likewise.
8089 * locale/programs/ld-ctype.c: Likewise.
8090 * locale/programs/ld-identification.c: Likewise.
8091 * locale/programs/ld-measurement.c: Likewise.
8092 * locale/programs/ld-messages.c: Likewise.
8093 * locale/programs/ld-monetary.c: Likewise.
8094 * locale/programs/ld-name.c: Likewise.
8095 * locale/programs/ld-numeric.c: Likewise.
8096 * locale/programs/ld-paper.c: Likewise.
8097 * locale/programs/ld-telephone.c: Likewise.
8098 * locale/programs/ld-time.c: Likewise.
8099 * locale/programs/linereader.c: Likewise.
8100 * locale/programs/locale.c: Likewise.
8101 * locale/programs/locarchive.c: Likewise.
8102 * locale/programs/locfile.h: Likewise.
8103 * locale/programs/repertoire.c: Likewise.
8104 * locale/programs/simple-hash.c: Likewise.
8105 * locale/programs/simple-hash.h: Likewise.
8106 * malloc/memusage.c: Likewise.
8107 * malloc/memusagestat.c: Likewise.
8108 * nis/nis_defaults.c: Likewise.
8109 * nis/nis_hash.c: Likewise.
8110 * nis/nis_print.c: Likewise.
8111 * nis/nis_xdr.c: Likewise.
8112 * nscd/connections.c: Likewise.
8113 * nscd/hstcache.c: Likewise.
8114 * nscd/nscd_gethst_r.c: Likewise.
8115 * nscd/nscd_getserv_r.c: Likewise.
8116 * nscd/nscd_helper.c: Likewise.
8117 * nscd/servicescache.c: Likewise.
8118 * nss/makedb.c: Likewise.
8119 * nss/nss_db/db-XXX.c: Likewise.
8120 * nss/nss_db/db-initgroups.c: Likewise.
8121 * nss/nss_db/db-netgrp.c: Likewise.
8122 * nss/nss_files/files-network.c: Likewise.
8123 * nss/nss_files/files-parse.c: Likewise.
8124 * posix/bug-regex5.c: Likewise.
8125 * posix/fnmatch_loop.c: Likewise.
8126 * posix/regcomp.c: Likewise.
8127 * posix/regexec.c: Likewise.
8128 * posix/tst-rfc3484-2.c: Likewise.
8129 * posix/tst-rfc3484-3.c: Likewise.
8130 * posix/tst-rfc3484.c: Likewise.
8131 * resolv/nss_dns/dns-canon.c: Likewise.
8132 * resolv/nss_dns/dns-network.c: Likewise.
8133 * resolv/res_init.c: Likewise.
8134 * resolv/res_mkquery.c: Likewise.
8135 * resolv/tst-aton.c: Likewise.
8136 * stdlib/cxa_atexit.c: Likewise.
8137 * stdlib/cxa_finalize.c: Likewise.
8138 * stdlib/gen-fpioconst.c: Likewise.
8139 * stdlib/strtol_l.c: Likewise.
8140 * string/tst-endian.c: Likewise.
8141 * sunrpc/auth_des.c: Likewise.
8142 * sunrpc/clnt_udp.c: Likewise.
8143 * sunrpc/rtime.c: Likewise.
8144 * sunrpc/svcauth_des.c: Likewise.
8145 * sunrpc/xdr.c: Likewise.
8146 * sunrpc/xdr_intXX_t.c: Likewise.
8147 * sunrpc/xdr_rec.c: Likewise.
8148 * sysdeps/generic/ldconfig.h: Likewise.
8149 * sysdeps/generic/ldsodefs.h: Likewise.
8150 * sysdeps/generic/memusage.h: Likewise.
8151 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8152 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8153 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8154 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8155 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8156 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8157 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8158 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8159 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8160 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8161 * sysdeps/posix/getaddrinfo.c: Likewise.
8162 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8163 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8164 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8165 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8166 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8167 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8168 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8169 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8170 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8171 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8172 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8173 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8174 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8175 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8176 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8177 * sysdeps/x86_64/dl-tls.h: Likewise.
8178 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8179 * time/alt_digit.c: Likewise.
8180 * time/era.c: Likewise.
8181 * wcsmbs/tst-c16c32-1.c: Likewise.
8182
8c75f674
JM
81832013-05-16 Joseph Myers <joseph@codesourcery.com>
8184
8185 * math/libm-test.inc (struct test_sincos_data): New type.
8186 (RUN_TEST_LOOP_sincos): New macro.
8187 (sincos_test_data): New variable.
8188 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8189
e6e49e59
RH
81902013-05-16 Richard Henderson <rth@redhat.com>
8191
8192 * math/atest-exp2.c (LIMB64): New macro.
8193 (CONSTSZ): New macro.
8194 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8195 (hexdig): Move ...
8196 (print_mpn_fp): ... to function scope.
8197 (read_mpn_hex): Remove.
8198 (get_log2): Remove.
8199 (exp2_mpn): Use mp_log2.
8200 (main): Use mp_exp1.
8201
15c7c18d
JM
82022013-05-16 Joseph Myers <joseph@codesourcery.com>
8203
105a07df
JM
8204 * math/libm-test.inc: Remove comment about not testing "inexact"
8205 exceptions.
8206 (INEXACT_EXCEPTION): New macro.
8207 (NO_INEXACT_EXCEPTION): Likewise.
8208 (INVALID_EXCEPTION_OK): Update value.
8209 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8210 (OVERFLOW_EXCEPTION_OK): Likewise.
8211 (UNDERFLOW_EXCEPTION_OK): Likewise.
8212 (IGNORE_ZERO_INF_SIGN): Likewise.
8213 (ERRNO_UNCHANGED): Likewise.
8214 (ERRNO_EDOM): Likewise.
8215 (ERRNO_ERANGE): Likewise.
8216 (test_exceptions): Handle testing "inexact" exceptions.
8217 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8218 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8219 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8220 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8221 INEXACT_EXCEPTION.
8222 (rint_towardzero_test_data): Likewise.
8223 (rint_downward_test_data): Likewise.
8224 (rint_upward_test_data): Likewise.
8225
e9eee333
JM
8226 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8227 with OVERFLOW_EXCEPTION.
8228 (exp10_test_data): Likewise.
8229 (exp2_test_data): Likewise.
8230 (expm1_test_data): Likewise.
8231 (lgamma_test_data): Likewise.
8232 (pow_test_data): Likewise.
8233 (tgamma_test_data): Likewise.
8234 (yn_test_data): Remove duplicate test of overflow.
8235
1c38ff73
JM
8236 * math/libm-test.inc (struct test_cc_c_data): New type.
8237 (RUN_TEST_LOOP_cc_c): New macro.
8238 (cpow_test_data): New variable.
8239 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8240
15c7c18d
JM
8241 * math/libm-test.inc (struct test_f_L_data): New type.
8242 (RUN_TEST_LOOP_f_L): New macro.
8243 (llrint_test_data): New variable.
8244 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8245 (llrint_tonearest_test_data): New variable.
8246 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8247 (llrint_towardzero_test_data): New variable.
8248 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8249 (llrint_downward_test_data): New variable.
8250 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8251 (llrint_upward_test_data): New variable.
8252 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8253 (llround_test_data): New variable.
8254 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8255
f137ff13
PC
82562013-05-13 Peter Collingbourne <pcc@google.com>
8257
8258 * math/atest-exp2.c (get_log2): Remove const attribute.
8259
3608cb24
JM
82602013-05-15 Joseph Myers <joseph@codesourcery.com>
8261
8262 * math/libm-test.inc (struct test_f_l_data): New type.
8263 (RUN_TEST_LOOP_f_l): New macro.
8264 (lrint_test_data): New variable.
8265 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8266 (lrint_tonearest_test_data): New variable.
8267 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8268 (lrint_towardzero_test_data): New variable.
8269 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8270 (lrint_downward_test_data): New variable.
8271 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8272 (lrint_upward_test_data): New variable.
8273 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8274 (lround_test_data): New variable.
8275 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8276
39b1f617
PC
82772013-05-15 Peter Collingbourne <pcc@google.com>
8278
1deff3dc
PC
8279 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8280 (EXTRACT_WORDS64) Use where appropriate.
8281 (INSERT_WORDS64) Likewise.
8282
791f3ba0
PC
8283 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8284 constraints with x constraints.
8285 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8286
39b1f617
PC
8287 * malloc/obstack.c (_obstack_compat): Add initializer.
8288
12fba011
EM
82892013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8290
8291 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8292 si_trapno and add si_addr_lsb to _sifields.sigfault.
8293 (si_trapno): Remove macro.
8294 (si_addr_lsb): Define new macro.
8295 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8296
d369f531
JM
82972013-05-15 Joseph Myers <joseph@codesourcery.com>
8298
b861c6c4
JM
8299 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8300 instead of TEST_f_l.
8301 (llrint_test_tonearest): Likewise.
8302 (llrint_test_towardzero): Likewise.
8303 (llrint_test_downward): Likewise.
8304 (llrint_test_upward): Likewise.
8305 (llround_test): Likewise.
8306
7abeee12
JM
8307 * math/libm-test.inc (struct test_f_i_data): Add comment.
8308 (RUN_TEST_LOOP_f_b): New macro.
8309 (RUN_TEST_LOOP_f_b_tg): Likewise.
8310 (finite_test_data): New variable.
8311 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8312 (isfinite_test_data): New variable.
8313 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8314 (isinf_test_data): New variable.
8315 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8316 (isnan_test_data): New variable.
8317 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8318 (isnormal_test_data): New variable.
8319 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8320 (issignaling_test_data): New variable.
8321 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8322 (signbit_test_data): New variable.
8323 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8324
cbe8c4d3
JM
8325 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8326 with INVALID_EXCEPTION.
8327 (acosh_test_data): Likewise.
8328 (asin_test_data): Likewise.
8329 (atanh_test_data): Likewise.
8330 (fmod_test_data): Likewise.
8331 (log_test_data): Likewise.
8332 (log10_test_data): Likewise.
8333 (log2_test_data): Likewise.
8334 (pow_test_data): Likewise.
8335 (sqrt_test_data): Likewise.
8336 (y0_test_data): Likewise.
8337 (y1_test_data): Likewise.
8338 (yn_test_data): Likewise.
8339
5575c0e5
JM
8340 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8341 function contents.
8342
d369f531
JM
8343 * math/libm-test.inc (struct test_ff_i_data): New type.
8344 (RUN_TEST_LOOP_ff_i_tg): New macro.
8345 (isgreater_test_data): New variable.
8346 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8347 (isgreaterequal_test_data): New variable.
8348 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8349 (isless_test_data): New variable.
8350 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8351 (islessequal_test_data): New variable.
8352 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8353 (islessgreater_test_data): New variable.
8354 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8355 (isunordered_test_data): New variable.
8356 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8357
781fd748
DM
83582013-05-14 David S. Miller <davem@davemloft.net>
8359
8360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8361
87aa21df
JM
83622013-05-14 Joseph Myers <joseph@codesourcery.com>
8363
5e908270
JM
8364 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8365
f71172e5
JM
8366 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8367 extra_test to int.
8368 (struct test_f_i_data): Change type of max_ulp to int.
8369
8cfa635a
JM
8370 * math/libm-test.inc (test_ffI_f1_data): New type.
8371 (RUN_TEST_LOOP_ffI_f1): New macro.
8372 (remquo_test_data): New variable.
8373 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8374
2bcb36b2
JM
8375 * setjmp/tst-setjmp-fp.c: New file.
8376 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8377 (link-libm): New variable.
8378 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8379
acbd839a
JM
8380 * math/libm-test.inc (struct test_f_i_data): New type.
8381 (RUN_TEST_LOOP_f_i): New macro.
8382 (RUN_TEST_LOOP_f_i_tg): Likewise.
8383 (fpclassify_test_data): New variable.
8384 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8385 (ilogb_test_data): New variable.
8386 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8387
e414d745
JM
8388 * math/libm-test.inc (scalbln_test): Correct function name in END
8389 call.
8390
d9c2a0fd
JM
8391 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8392 (RUN_TEST_LOOP_fI_f1): New macro.
8393 (frexp_test_data): New variable.
8394 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8395
9dc9095d
JM
8396 * math/libm-test.inc (struct test_fF_f1_data): New type.
8397 (RUN_TEST_LOOP_fF_f1): New macro.
8398 (modf_test_data): New variable.
8399 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8400
87aa21df
JM
8401 * math/libm-test.inc (struct test_f_f1_data): New type.
8402 (RUN_TEST_LOOP_f_f1): New macro.
8403 (gamma_test_data): New variable.
8404 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8405 (lgamma_test_data): New variable.
8406 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8407
141af660
CD
84082013-05-13 Carlos O'Donell <carlos@redhat.com>
8409
8410 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8411 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8412 (main): Comment "tls" pseudo-hwcap.
8413
6d33265c
JM
84142013-05-13 Joseph Myers <joseph@codesourcery.com>
8415
68fc074c
JM
8416 * math/libm-test.inc (struct test_fl_f_data): New type.
8417 (RUN_TEST_LOOP_fl_f): New variable.
8418 (scalbln_test_data): New variable.
8419 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8420
243216e1
JM
8421 * math/libm-test.inc (struct test_fi_f_data): New type.
8422 (RUN_TEST_LOOP_fi_f): New macro.
8423 (ldexp_test_data): New variable.
8424 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8425 (scalbn_test_data): New variable.
8426 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8427
6a1992e2
JM
8428 * math/libm-test.inc (struct test_c_f_data): New type.
8429 (RUN_TEST_LOOP_c_f): New macro.
8430 (cabs_test_data): New variable.
8431 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8432 (carg_test_data): New variable.
8433 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8434 (cimag_test_data): New variable.
8435 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8436 (creal_test_data): New variable.
8437 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8438
0e400df5
JM
8439 * math/libm-test.inc (struct test_if_f_data): New type.
8440 (RUN_TEST_LOOP_if_f): New macro.
8441 (jn_test_data): New variable.
8442 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8443 (yn_test_data): New variable.
8444 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8445
6d33265c
JM
8446 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8447
f98ece5f
AZ
84482013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8449
8450 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8451 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8452
0f7d347b
SP
84532013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8454
43fe811b
SP
8455 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8456 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8457 (bench-deps): Add bench-timing.h.
8458 * benchtests-bench-skeleton.c: Include bench-timing.h.
8459 (main): Use TIMING_* macros instead of clock_gettime.
8460 * benchtests/bench-timing.h: New file.
8461
0f7d347b
SP
8462 [BZ #14582]
8463 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8464 Renamed from _LIB_VERSION.
8465 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8466
601a3a5f
JM
84672013-05-12 Joseph Myers <joseph@codesourcery.com>
8468
4f184d30
JM
8469 * math/libm-test.inc (struct test_fff_f_data): New type.
8470 (RUN_TEST_LOOP_fff_f): New macro.
8471 (fma_test_data): New variable.
8472 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8473 (fma_towardzero_test_data): New variable.
8474 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8475 (fma_downward_test_data): New variable.
8476 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8477 (fma_upward_test_data): New variable.
8478 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8479
08198877
JM
8480 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8481 (struct test_c_c_data): New type.
8482 (RUN_TEST_LOOP_c_c): New macro.
8483 (cacos_test_data): New variable.
8484 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8485 (cacosh_test_data): New variable.
8486 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8487 (casin_test_data): New variable.
8488 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8489 (casinh_test_data): New variable.
8490 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8491 (catan_test_data): New variable.
8492 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8493 (catanh_test_data): New variable.
8494 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8495 (ccos_test_data): New variable.
8496 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8497 (ccosh_test_data): New variable.
8498 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8499 (cexp_test_data): New variable.
8500 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8501 (clog_test_data): New variable.
8502 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8503 (clog10_test_data): New variable.
8504 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8505 (conj_test_data): New variable.
8506 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8507 (cproj_test_data): New variable.
8508 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8509 (csin_test_data): New variable.
8510 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8511 (csinh_test_data): New variable.
8512 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8513 (csqrt_test_data): New variable.
8514 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8515 (ctan_test_data): New variable.
8516 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8517 (ctan_tonearest_test_data): New variable.
8518 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8519 (ctan_towardzero_test_data): New variable.
8520 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8521 (ctan_downward_test_data): New variable.
8522 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8523 (ctan_upward_test_data): New variable.
8524 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8525 (ctanh_test_data): New variable.
8526 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8527 (ctanh_tonearest_test_data): New variable.
8528 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8529 (ctanh_towardzero_test_data): New variable.
8530 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8531 (ctanh_downward_test_data): New variable.
8532 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8533 (ctanh_upward_test_data): New variable.
8534 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8535 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8536 of BUILD_COMPLEX.
8537
601a3a5f
JM
8538 * math/libm-test.inc (struct test_ff_f_data): New type.
8539 (struct test_ff_f_data_nexttoward): Likewise.
8540 (RUN_TEST_LOOP_2_f): New macro.
8541 (RUN_TEST_LOOP_ff_f): Likewise.
8542 (atan2_test_data): New variable.
8543 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8544 (copysign_test_data): New variable.
8545 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8546 (fdim_test_data): New variable.
8547 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8548 (fmax_test_data): New variable.
8549 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8550 (fmin_test_data): New variable.
8551 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8552 (fmod_test_data): New variable.
8553 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8554 (hypot_test_data): New variable.
8555 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8556 (nextafter_test_data): New variable.
8557 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8558 (nexttoward_test_data): New variable.
8559 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8560 (pow_test_data): New variable.
8561 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8562 (pow_tonearest_test_data): New variable.
8563 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8564 (pow_towardzero_test_data): New variable.
8565 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8566 (pow_downward_test_data): New variable.
8567 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8568 (pow_upward_test_data): New variable.
8569 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8570 (remainder_test_data): New variable.
8571 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8572 (scalb_test_data): New variable.
8573 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8574 * sysdeps/i386/fpu/libm-test-ulps: Update.
8575
74c57478
JM
85762013-05-11 Joseph Myers <joseph@codesourcery.com>
8577
8329e4da
JM
8578 * math/libm-test.inc (fma_test): Use max_value instead of local
8579 variable fltmax.
8580 (nextafter_test): Likewise.
8581
74c57478
JM
8582 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8583 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8584 (acos_downward_test_data): New variable.
8585 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8586 (acos_upward_test_data): New variable.
8587 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8588 (acosh_test_data): New variable.
8589 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8590 (asin_test_data): New variable.
8591 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8592 (asin_tonearest_test_data): New variable.
8593 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8594 (asin_towardzero_test_data): New variable.
8595 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8596 (asin_downward_test_data): New variable.
8597 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8598 (asin_upward_test_data): New variable.
8599 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8600 (asinh_test_data): New variable.
8601 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8602 (atan_test_data): New variable.
8603 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8604 (atanh_test_data): New variable.
8605 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8606 (cbrt_test_data): New variable.
8607 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8608 (ceil_test_data): New variable.
8609 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8610 (cos_test_data): New variable.
8611 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8612 (cos_tonearest_test_data): New variable.
8613 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8614 (cos_towardzero_test_data): New variable.
8615 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8616 (cos_downward_test_data): New variable.
8617 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8618 (cos_upward_test_data): New variable.
8619 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8620 (cosh_test_data): New variable.
8621 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8622 (cosh_tonearest_test_data): New variable.
8623 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8624 (cosh_towardzero_test_data): New variable.
8625 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8626 (cosh_downward_test_data): New variable.
8627 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8628 (cosh_upward_test_data): New variable.
8629 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8630 (erf_test_data): New variable.
8631 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8632 (erfc_test_data): New variable.
8633 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8634 (exp_test_data): New variable.
8635 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8636 (exp_tonearest_test_data): New variable.
8637 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8638 (exp_towardzero_test_data): New variable.
8639 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8640 (exp_downward_test_data): New variable.
8641 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8642 (exp_upward_test_data): New variable.
8643 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8644 (exp10_test_data): New variable.
8645 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8646 (exp2_test_data): New variable.
8647 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8648 (expm1_test_data): New variable.
8649 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8650 (fabs_test_data): New variable.
8651 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8652 (floor_test_data): New variable.
8653 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8654 (j0_test_data): New variable.
8655 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8656 (j1_test_data): New variable.
8657 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8658 (log_test_data): New variable.
8659 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8660 (log10_test_data): New variable.
8661 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8662 (log1p_test_data): New variable.
8663 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8664 (log2_test_data): New variable.
8665 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8666 (logb_test_data): New variable.
8667 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8668 (logb_downward_test_data): New variable.
8669 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8670 (nearbyint_test_data): New variable.
8671 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8672 (rint_test_data): New variable.
8673 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8674 (rint_tonearest_test_data): New variable.
8675 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8676 (rint_towardzero_test_data): New variable.
8677 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8678 (rint_downward_test_data): New variable.
8679 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8680 (rint_upward_test_data): New variable.
8681 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8682 (round_test_data): New variable.
8683 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8684 (sin_test_data): New variable.
8685 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8686 (sin_tonearest_test_data): New variable.
8687 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8688 (sin_towardzero_test_data): New variable.
8689 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8690 (sin_downward_test_data): New variable.
8691 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8692 (sin_upward_test_data): New variable.
8693 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8694 (sinh_test_data): New variable.
8695 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8696 (sinh_tonearest_test_data): New variable.
8697 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8698 (sinh_towardzero_test_data): New variable.
8699 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8700 (sinh_downward_test_data): New variable.
8701 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8702 (sinh_upward_test_data): New variable.
8703 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8704 (sqrt_test_data): New variable.
8705 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8706 (tan_test_data): New variable.
8707 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8708 (tan_tonearest_test_data): New variable.
8709 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8710 (tan_towardzero_test_data): New variable.
8711 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8712 (tan_downward_test_data): New variable.
8713 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8714 (tan_upward_test_data): New variable.
8715 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8716 (tanh_test_data): New variable.
8717 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8718 (tgamma_test_data): New variable.
8719 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8720 (trunc_test_data): New variable.
8721 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8722 (y0_test_data): New variable.
8723 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8724 (y1_test_data): New variable.
8725 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8726 (significand_test_data): New variable.
8727 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8728
7187d844
CG
87292013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8730
8731 [BZ #12387]
8732 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8733
f63fae73
PT
87342013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8735
8736 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8737
8a67a4b3
AJ
87382013-05-10 Andreas Jaeger <aj@suse.de>
8739
8740 [BZ #15448]
8741 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8742 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8743
51df539d
JM
87442013-05-10 Joseph Myers <joseph@codesourcery.com>
8745
8746 * math/gen-libm-test.pl (adjust_arg): New function.
8747 (special_functions): Handle generating output in both functions
8748 and arrays.
8749 (parse_args): Likewise.
8750 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8751 $in_func argument to parse_args.
8752 * math/libm-test.inc (struct test_f_f_data): New type.
8753 (IF_ROUND_INIT_): New macro.
8754 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8755 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8756 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8757 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8758 (ROUND_RESTORE_): Likewise.
8759 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8760 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8761 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8762 (ROUND_RESTORE_FE_UPWARD): Likewise.
8763 (RUN_TEST_LOOP_f_f): New macro.
8764 (acos_test_data): New variable.
8765 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8766 (acos_tonearest_test_data): New variable.
8767 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8768
5c637fe5
SP
87692013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8770
8771 * benchtests/bench-skeleton.c (startup): Fix coding style.
8772
ab2b9461
JM
87732013-05-10 Joseph Myers <joseph@codesourcery.com>
8774
8775 [BZ #6809]
8776 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8777 negative infinity argument.
8778 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8779 negative infinity argument.
8780 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8781 negative infinity argument.
8782 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8783 domain errors.
8784
4c0fe6fe
FW
87852013-05-10 Florian Weimer <fweimer@redhat.com>
8786
8787 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8788 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8789 * iconv/iconv_prog.c (main): Likewise.
8790 * locale/programs/charmap-dir.c (charmap_readdir)
8791 (fopen_uncompressed): Likewise.
8792 * locale/programs/locfile.c (siblings_uncached)
8793 (write_locale_data): Use lstat64 instead of lstat.
8794 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8795 stat.
8796
a3375d29
AJ
87972013-05-10 Andreas Jaeger <aj@suse.de>
8798
8799 [BZ #15395]
8800 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8801 localization.
8802 Include <locale.h>.
8803
36129722
CD
88042013-05-09 Carlos O'Donell <carlos@redhat.com>
8805
8806 * elf/dl-close.c (_dl_close_worker): Add comments.
8807
faa7f811
JM
88082013-05-09 Joseph Myers <joseph@codesourcery.com>
8809
ed41ffef
JM
8810 [BZ #15359]
8811 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8812 high part of pi/2.
8813 (__ieee754_rem_pio2l): Update comments.
8814
d0213cd0
JM
8815 [BZ #15429]
8816 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8817 high part of pi/2.
8818 (__ieee754_rem_pio2l): Update comments.
8819
0d3e777a
JM
8820 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8821 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8822
24f56066
JM
8823 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8824 M_PI_4l.
8825
faa7f811
JM
8826 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8827 (M_PI_34_LOG10El): Likewise.
8828 (M_PI2_LOG10El): Likewise.
8829 (M_PI4_LOG10El): Likewise.
8830 (M_PI_LOG10El): Likewise.
8831
e9a5e0fd
AZ
88322013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8833
8834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8835
d8cd06db
JM
88362013-05-08 Joseph Myers <joseph@codesourcery.com>
8837
a0d9f9d7
JM
8838 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8839 (MINUS_ZERO_INIT): Likewise.
8840 (PLUS_INFTY_INIT): Likewise.
8841 (MINUS_INFTY_INIT): Likewise.
8842 (QNAN_VALUE_INIT): Likewise.
8843 (MAX_VALUE_INIT): Likewise.
8844 (MIN_VALUE_INIT): Likewise.
8845 (MIN_SUBNORM_VALUE_INIT): Likewise.
8846 (plus_zero): Initialize with PLUS_ZERO_INIT.
8847 (minus_zero): Initialize with MINUS_ZERO_INIT.
8848 (plus_infty): Initialize with PLUS_INFTY_INIT.
8849 (minus_infty): Initialize with MINUS_INFTY_INIT.
8850 (qnan_value): Initialize with QNAN_VALUE_INIT.
8851 (max_value): Initialize with MAX_VALUE_INIT.
8852 (min_value): Initialize with MIN_VALUE_INIT.
8853 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8854
ae08db3b
JM
8855 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8856 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8857 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8858 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8859
f44bf14a
JM
8860 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8861 (RUN_TEST_2_f): Likewise.
8862 (RUN_TEST_ff_f): Likewise.
8863 (RUN_TEST_fi_f): Likewise.
8864 (RUN_TEST_fl_f): Likewise.
8865 (RUN_TEST_fff_f): Likewise.
8866 (RUN_TEST_c_f): Likewise.
8867 (RUN_TEST_f_f1): Likewise.
8868 (RUN_TEST_fF_f1): Likewise.
8869 (RUN_TEST_fI_f1): Likewise.
8870 (RUN_TEST_ffI_f1): Likewise.
8871 (RUN_TEST_c_c): Likewise.
8872 (RUN_TEST_cc_c): Likewise.
8873 (RUN_TEST_f_i): Likewise.
8874 (RUN_TEST_f_i_tg): Likewise.
8875 (RUN_TEST_ff_i_tg): Likewise.
8876 (RUN_TEST_f_b): Likewise.
8877 (RUN_TEST_f_b_tg): Likewise.
8878 (RUN_TEST_f_l): Likewise.
8879 (RUN_TEST_f_L): Likewise.
8880 (RUN_TEST_sincos): Likewise.
8881 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8882 whether to show exceptions. Do not include ");\n" in return
8883 value.
8884 (special_functions): Output call to RUN_TEST_sincos instead of
8885 check_float calls. Update calls to new_test.
8886 (parse_args): Output call to single RUN_TEST_* macro instead of
8887 check_* calls and other assignments. Update calls to new_test.
8888
d8cd06db
JM
8889 [BZ #2546]
8890 [BZ #2560]
8891 [BZ #5159]
8892 [BZ #15426]
8893 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8894 input to result for tgamma overflow.
8895 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8896 (gamma_coeff): New variable.
8897 (NCOEFF): New macro.
8898 (gamma_positive): New function.
8899 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8900 underflow here. Use gamma_positive instead of exp (lgamma) for
8901 other arguments.
8902 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8903 (gamma_coeff): New variable.
8904 (NCOEFF): New macro.
8905 (gammaf_positive): New function.
8906 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8907 underflow here. Use gamma_positive instead of exp (lgamma) for
8908 other arguments.
8909 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8910 (gamma_coeff): New variable.
8911 (NCOEFF): New macro.
8912 (gammal_positive): New function.
8913 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8914 underflow here. Use gamma_positive instead of exp (lgamma) for
8915 other arguments.
8916 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8917 (gamma_coeff): New variable.
8918 (NCOEFF): New macro.
8919 (gammal_positive): New function.
8920 (__ieee754_gammal_r): Handle positive infinity, overflow and
8921 underflow here. Handle NaN the same as positive infinity. Remove
8922 check x < 0xffffffff for negative integers. Use gamma_positive
8923 instead of exp (lgamma) for other arguments.
8924 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8925 (gamma_coeff): New variable.
8926 (NCOEFF): New macro.
8927 (gammal_positive): New function.
8928 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8929 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8930 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8931 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8932 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8933 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8934 * sysdeps/generic/math_private.h (__gamma_productf): New
8935 prototype.
8936 (__gamma_product): Likewise.
8937 (__gamma_productl): Likewise.
8938 * math/Makefile (libm-calls): Add gamma_product.
8939 * math/libm-test.inc (tgamma_test): Add more tests.
8940 * sysdeps/i386/fpu/libm-test-ulps: Update.
8941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8942
bb7cf681
OB
89432013-05-08 Ondřej Bílka <neleai@seznam.cz>
8944
8945 * benchtests/bench-skeleton.c (main): Preheat CPU.
8946
ba853947
AJ
89472013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8948
8949 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8950
8347c74c
RM
89512013-05-07 Roland McGrath <roland@hack.frob.com>
8952
8953 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8954 and _dl_skip_args_internal.
8955
e8dd4791
CD
89562013-05-07 Carlos O'Donell <carlos@redhat.com>
8957
8958 * manual/message.texi (Message Translation): Talk about users.
8959 Message to key mapping impacts design.
8960
c7405830
RM
89612013-05-06 Roland McGrath <roland@hack.frob.com>
8962
a9173057
RM
8963 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8964
976e2f03
RM
8965 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8966
9723ffc5
RM
8967 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8968 * sysdeps/wordsize-64/glob64.c: ... here.
8969
962e6658
RM
8970 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8971 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8972 New macros.
8973
ee586a6d
RM
8974 * debug/getlogin_r_chk.c: Moved to ...
8975 * login/getlogin_r_chk.c: ... here.
8976 * debug/Makefile (routines): Move getlogin_r_chk to ...
8977 * login/Makefile (routines): ... here.
8978 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8979 * login/Versions (libc: GLIBC_2.4): ... here.
8980
355f9165
RM
8981 * io/poll.c (__poll): Renamed from poll.
8982 Add libc_hidden_def.
8983 (poll): Define as weak alias.
8984
bd9ffde6
RM
8985 * debug/ptsname_r_chk.c: Moved to ...
8986 * login/ptsname_r_chk.c: ... here.
8987 * debug/Makefile (routines): Move ptsname_r_chk to ...
8988 * login/Makefile (routines): ... here.
8989 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8990 * login/Versions (libc: GLIBC_2.4): ... here.
8991
8fb16a04
RM
8992 * posix/getlogin.c: Moved to ...
8993 * login/getlogin.c: ... here.
8994 * posix/getlogin_r.c: Moved to ...
8995 * login/getlogin_r.c: ... here.
8996 * posix/getlogin_r.c: Moved to ...
8997 * login/getlogin_r.c: ... here.
8998 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8999 * login/Makefile (routines): ... here.
9000 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9001 * login/Versions (libc: GLIBC_2.0): ... here.
9002
b99b892f
RM
9003 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9004 (setrlimit): Define as weak alias.
9005
c7405830
RM
9006 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9007 Call __ names for open, ftruncate, and close.
9008 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9009 (truncate): Define as weak alias.
9010
5bf96de5
JM
90112013-05-06 Joseph Myers <joseph@codesourcery.com>
9012
9ea3513c
JM
9013 * math/gen-libm-test.pl (parse_args): Initialize x before each
9014 test of frexp, modf and remquo.
9015
5bf96de5
JM
9016 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9017 test signgam value.
9018
16e616a7
AZ
90192013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9020
9021 [BZ #15418]
9022 [BZ #15419]
9023 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9024 internal tests.
9025 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9026
d5e82754
RM
90272013-05-06 Roland McGrath <roland@hack.frob.com>
9028
9029 * elf/dl-writev.h: New file.
9030 * elf/dl-misc.c: Include it.
9031 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9032 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9033
a7548d41
JM
90342013-05-04 Joseph Myers <joseph@codesourcery.com>
9035
b7dab1e4
JM
9036 * math/libm-test.inc (noXFails): Remove variable.
9037 (noXPasses): Likewise.
9038 (BUILD_COMPLEX_INT): Remove macro.
9039 (print_screen): Remove xfail argument.
9040 (print_screen_max_error): Likewise.
9041 (update_stats): Likewise.
9042 (print_max_error): Likewise. Update calls to other affected
9043 functions.
9044 (print_complex_max_error): Likewise.
9045 (test_single_exception): Update calls to print_screen.
9046 (test_single_errno): Likewise.
9047 (check_float_internal): Remove xfail argument. Update calls to
9048 other affected functions.
9049 (check_float): Likewise.
9050 (check_complex): Likewise.
9051 (check_int): Likewise.
9052 (check_long): Likewise.
9053 (check_bool): Likewise.
9054 (check_longlong): Likewise.
9055 (main): Don't print noXFails and noXPasses.
9056 * math/gen-libm-test.pl (top level): Don't mention expected
9057 failure handling in comment.
9058 (new_test): Don't handle expected failures.
9059 (parse_args): Don't mention expected failure handling in comment.
9060 (generate_testfile): Don't handle expected failures.
9061 (parse_ulps): Likewise.
9062 (print_ulps_file): Likewise.
9063 (get_failure): Remove function.
9064 (output_test): Don't handle expected failures.
9065 * make/README.libm-test: Don't mention expected failure handling.
9066
a7548d41
JM
9067 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9068 (minus_zero): Likewise.
9069 (plus_infty): Likewise.
9070 (minus_infty): Likewise.
9071 (qnan_value): Likewise.
9072 (max_value): Likewise.
9073 (min_value): Likewise.
9074 (min_subnorm_value): Likewise.
9075 (initialize): Do not initialize those variables dynamically.
9076
60bfd54c
RM
90772013-05-03 Roland McGrath <roland@hack.frob.com>
9078
cc0e6ed8
RM
9079 * io/open.c (__open_2): Moved to ...
9080 * io/open_2.c: ... this new file.
9081 * io/open64.c (__open64_2): Moved to ...
9082 * io/open64_2.c: ... this new file.
9083 * io/openat.c (__openat_2): Moved to ...
9084 * io/openat_2.c: ... this new file.
9085 * io/openat64.c (__openat64_2): Moved to ...
9086 * io/openat64_2.c: ... this new file.
9087 * io/Makefile (routines): Add them.
9088 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9089 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9090 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9091 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9092 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9093 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9094 (__openat64): Add hidden_ver.
9095 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9096 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9097
60bfd54c
RM
9098 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9099 Separately conditionalize setting of GLRO(dl_sysinfo) so
9100 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9101 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9102
83e7640f
AZ
91032013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9104
9105 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9106 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9107 definition.
9108 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9109 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9110 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9111 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9112 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9113
d5dc2af3
JM
91142013-05-03 Joseph Myers <joseph@codesourcery.com>
9115
c31a5b1e
JM
9116 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9117 test signgam value.
9118
d5dc2af3
JM
9119 * math/libm-test.inc (hypot_test): Do not use
9120 IGNORE_ZERO_INF_SIGN.
9121
164fd39d
AJ
91222013-05-03 Andreas Jaeger <aj@suse.de>
9123
9124 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9125 Linux 3.9.
9126 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9127 (PF_MAX): Adjust for VSOCK change.
9128
8237f48c
AZ
91292013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9130
9131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9132
9df02941
CD
91332013-05-02 Carlos O'Donell <carlos@redhat.com>
9134
9135 [BZ #15264]
9136 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9137 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9138 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9139
d422395e
DM
91402013-05-02 David S. Miller <davem@davemloft.net>
9141
9142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9143
a07c5731
OB
91442013-05-01 Ondřej Bílka <neleai@seznam.cz>
9145
9146 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9147
1324e37f
RM
91482013-05-01 Roland McGrath <roland@hack.frob.com>
9149
9150 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9151
0695940b
RS
91522013-05-01 Richard Smith <richard@metafoo.co.uk>
9153
bb5f27ad 9154 [BZ #14952]
0695940b
RS
9155 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9156 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9157 Use __attribute__ ((__gnu_inline__)).
9158 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9159 Don't use __attribute__ ((__gnu_inline__)).
9160
10de07f5
JM
91612013-05-01 Joseph Myers <joseph@codesourcery.com>
9162
9163 [BZ #15423]
9164 * math/s_catan.c (__catan): Handle small real or imaginary part of
9165 input specially to avoid spurious underflow.
9166 * math/s_catanf.c (__catanf): Likewise.
9167 * math/s_catanh.c (__catanh): Likewise.
9168 * math/s_catanhf.c (__catanhf): Likewise.
9169 * math/s_catanhl.c (__catanhl): Likewise.
9170 * math/s_catanl.c (__catanl): Likewise.
9171 * math/libm-test.inc (catan_test): Add more tests.
9172 (catanh_test): Likewise.
9173 * sysdeps/i386/fpu/libm-test-ulps: Update.
9174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9175
cb4d5414
AZ
91762013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9177
9178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9179
caf84319
JM
91802013-04-30 Joseph Myers <joseph@codesourcery.com>
9181
9182 [BZ #15416]
9183 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9184 accurately for denominator in atan2.
9185 * math/s_catanf.c (__catanf): Likewise.
9186 * math/s_catanh.c (__catanh): Likewise.
9187 * math/s_catanhf.c (__catanhf): Likewise.
9188 * math/s_catanhl.c (__catanhl): Likewise.
9189 * math/s_catanl.c (__catanl): Likewise.
9190 * math/libm-test.inc (catan_test): Add more tests.
9191 (catanh_test): Likewise.
9192 * sysdeps/i386/fpu/libm-test-ulps: Update.
9193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9194
d569c6ee
SP
91952013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9196
6dbe713d
SP
9197 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9198
f0ee064b
SP
9199 * benchtests/Makefile (bench): Remove slow benchmarks.
9200 * benchtests/atan-inputs: Add slow benchmark inputs.
9201 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9202 (BENCH_FUNC): Accept variant offset.
9203 (VARIANT): Define.
9204 * benchtests/bench-skeleton.c (main): Run benchmark for each
9205 variant.
9206 * benchtests/cos-inputs: Add slow benchmark inputs.
9207 * benchtests/exp-inputs: Likewise.
9208 * benchtests/pow-inputs: Likewise.
9209 * benchtests/sin-inputs: Likewise.
9210 * benchtests/slowatan-inputs: Remove.
9211 * benchtests/slowatan.c: Remove.
9212 * benchtests/slowcos-inputs: Remove.
9213 * benchtests/slowcos.c: Remove.
9214 * benchtests/slowexp-inputs: Remove.
9215 * benchtests/slowexp.c: Remove.
9216 * benchtests/slowpow-inputs: Remove.
9217 * benchtests/slowpow.c: Remove.
9218 * benchtests/slowsin-inputs: Remove.
9219 * benchtests/slowsin.c: Remove.
9220 * benchtests/slowtan-inputs: Remove.
9221 * benchtests/slowtan.c: Remove.
9222 * benchtests/tan-inputs: Add slow benchmark inputs.
9223 * scripts/bench.pl: Parse comments and directives.
9224
d569c6ee
SP
9225 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9226 in CPPFLAGS.
9227 ($(objpfx)bench-%.c): Remove *-ITER.
9228 * benchtests/bench-modf.c: Remove definition of ITER.
9229 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9230 (main): Loop for DURATION seconds instead of fixed number of
9231 iterations.
9232 * scripts/bench.pl: Don't expect iterations in parameters.
9233
a6a242fe
RM
92342013-04-29 Roland McGrath <roland@hack.frob.com>
9235
9236 * io/fchdir.c (__fchdir): Renamed from fchdir.
9237 (fchdir): Define as weak alias.
9238
f2da7793
JM
92392013-04-29 Joseph Myers <joseph@codesourcery.com>
9240
9241 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9242 (ERRNO_EDOM): Likewise.
9243 (ERRNO_ERANGE): Likewise.
9244 (noErrnoTests): New variable.
9245 (init_max_error): Set errno to 0.
9246 (test_single_errno): New function.
9247 (test_errno): Likewise.
9248 (check_float_internal): Call test_errno. Set errno to 0.
9249 (check_complex): Refer to errno tests in comment.
9250 (check_int): Call test_errno. Set errno to 0.
9251 (check_long): Likewise.
9252 (check_bool): Likewise.
9253 (check_longlong): Likewise.
9254 (cos_test): Use ERRNO_* flags for errno tests instead of
9255 check_int.
9256 (expm1_test): Likewise.
9257 (fmod_test): Likewise.
9258 (ilogb_test): Likewise.
9259 (lgamma_test): Likewise.
9260 (pow_test): Likewise.
9261 (remainder_test): Likewise.
9262 (sin_test): Likewise.
9263 (tan_test): Likewise.
9264 (yn_test): Likewise.
9265 (initialize): Set errno to 0.
9266 (main): Print number of errno tests.
9267 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9268
b1a36ceb
AJ
92692013-04-29 Andreas Jaeger <aj@suse.de>
9270
c3ed8088
AJ
9271 [BZ #15084]
9272 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9273 and RES_USEVC.
9274
f1a24198
AJ
9275 [BZ #15085]
9276 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9277 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9278 unimplemented.
9279
9ce3b2cb
AJ
9280 [BZ #15380]
9281 * stdlib/random.c (__initstate): Return NULL if
9282 __initstate fails.
9283
f1a24198 9284 [BZ #15086]
b1a36ceb
AJ
9285 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9286 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9287 RES_SNGLKUPREOP.
9288
7e7b6f36
AZ
92892013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9290
9291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9292
4d14f449
JM
92932013-04-29 Joseph Myers <joseph@codesourcery.com>
9294
9295 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9296 of individual tests.
9297 (casin_test): Likewise.
9298 (casinh_test): Likewise.
9299
5b4217d7
JM
93002013-04-27 Joseph Myers <joseph@codesourcery.com>
9301
9302 [BZ #15409]
9303 * math/s_catan.c (__catan): Handle arguments with large real or
9304 imaginary part separately without squaring.
9305 * math/s_catanf.c (__catanf): Likewise.
9306 * math/s_catanh.c (__catanh): Likewise.
9307 * math/s_catanhf.c (__catanhf): Likewise.
9308 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9309 and redefine.
9310 (__catanhl): Handle arguments with large real or imaginary part
9311 separately without squaring.
9312 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9313 and redefine.
9314 (__catanl): Handle arguments with large real or imaginary part
9315 separately without squaring.
9316 * math/libm-test.inc (catan_test): Add more tests.
9317 (catanh_test): Likewise.
9318 * sysdeps/i386/fpu/libm-test-ulps: Update.
9319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9320
4220c3ef
AJ
93212013-04-27 Andreas Jaeger <aj@suse.de>
9322
9323 [BZ #15007]
9324 * stdlib/stdlib.h: Update guards for qecvt.
9325 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9326 <stdlib.h>.
9327
4721b2d1
AM
93282013-04-27 Allan McRae <allan@archlinux.org>
9329
9330 * sysdeps/i386/fpu/libm-test-ulps: Update.
9331
f0302940
JM
93322013-04-26 Joseph Myers <joseph@codesourcery.com>
9333
9457fd95
JM
9334 [BZ #15406]
9335 * math/s_catan.c: Include <float.h>.
9336 (__catan): Ensure underflow exception occurs for underflowed
9337 result.
9338 * math/s_catanf.c: Include <float.h>.
9339 (__catanf): Ensure underflow exception occurs for underflowed
9340 result.
9341 * math/s_catanh.c: Include <float.h>.
9342 (__catanh): Ensure underflow exception occurs for underflowed
9343 result.
9344 * math/s_catanhf.c: Include <float.h>.
9345 (__catanhf): Ensure underflow exception occurs for underflowed
9346 result.
9347 * math/s_catanhl.c: Include <float.h>.
9348 (__catanhl): Ensure underflow exception occurs for underflowed
9349 result.
9350 * math/s_catanl.c: Include <float.h>.
9351 (__catanl): Ensure underflow exception occurs for underflowed
9352 result.
9353 * math/libm-test.inc (catan_test): Add more tests.
9354 (catanh_test): Likewise.
9355
f0302940
JM
9356 [BZ #15405]
9357 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9358 underflowed result.
9359 * math/s_ccoshf.c (__ccoshf): Likewise.
9360 * math/s_ccoshl.c (__ccoshl): Likewise.
9361 * math/s_csin.c (__csin): Likewise.
9362 * math/s_csinf.c (__csinf): Likewise.
9363 * math/s_csinh.c (__csinh): Likewise.
9364 * math/s_csinhf.c (__csinhf): Likewise.
9365 * math/s_csinhl.c (__csinhl): Likewise.
9366 * math/s_csinl.c (__csinl): Likewise.
9367 * math/libm-test.inc (ccos_test): Add more tests.
9368 (ccosh_test): Likewise.
9369 (csin_test): Likewise.
9370 (csinh_test): Likewise.
9371
aa630f59
AZ
93722013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9373
9374 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9375 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9376 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9377 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9378 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9379 powerpc/power5+/fpu folders.
9380 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9381
9382
1b835983
MT
93832013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9384
9385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9386
73709b26
JM
93872013-04-25 Joseph Myers <joseph@codesourcery.com>
9388
9389 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9390 additions to variable.
9391 [$(config-machine) = x86_64] (modules-names): Likewise.
9392 ($(objpfx)tst-audit3): Remove dependency.
9393 ($(objpfx)tst-audit3.out): Likewise.
9394 ($(objpfx)tst-audit4): Likewise.
9395 ($(objpfx)tst-audit4.out): Likewise.
9396 ($(objpfx)tst-audit5): Likewise.
9397 ($(objpfx)tst-audit5.out): Likewise.
9398 ($(objpfx)tst-audit6): Likewise.
9399 ($(objpfx)tst-audit6.out): Likewise.
9400 ($(objpfx)tst-audit7): Likewise.
9401 ($(objpfx)tst-audit7.out): Likewise.
9402 (tst-audit3-ENV): Remove variable.
9403 (tst-audit4-ENV): Likewise.
9404 (tst-audit5-ENV): Likewise.
9405 (tst-audit6-ENV): Likewise.
9406 (tst-audit7-ENV): Likewise.
9407 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9408 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9409 addition to variable.
9410 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9411 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9412 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9413 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9414 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9415 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9416 tst-audit3, tst-audit4 and tst-audit5.
9417 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9418 tst-audit6 and tst-audit7.
9419 [$(subdir) = elf] (modules-names): Add audit modules for those
9420 tests.
9421 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9422 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9423 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9424 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9425 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9426 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9427 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9428 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9429 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9430 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9431 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9432 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9433 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9434 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9435 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9436 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9437 Likewise.
9438 [$(subdir) = elf && $(config-cflags-avx) = yes]
9439 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9440 [$(subdir) = elf && $(config-cflags-avx) = yes]
9441 (CFLAGS-tst-auditmod4a.c): Likewise.
9442 [$(subdir) = elf && $(config-cflags-avx) = yes]
9443 (CFLAGS-tst-auditmod4b.c): Likewise.
9444 [$(subdir) = elf && $(config-cflags-avx) = yes]
9445 (CFLAGS-tst-auditmod6b.c): Likewise.
9446 [$(subdir) = elf && $(config-cflags-avx) = yes]
9447 (CFLAGS-tst-auditmod6c.c): Likewise.
9448 [$(subdir) = elf && $(config-cflags-avx) = yes]
9449 (CFLAGS-tst-auditmod7b.c): Likewise.
9450 * elf/tst-audit3.c: Move to ...
9451 * sysdeps/x86_64/tst-audit3.c: ... here.
9452 * elf/tst-audit4.c: Move to ...
9453 * sysdeps/x86_64/tst-audit4.c: ... here.
9454 * elf/tst-audit5.c: Move to ...
9455 * sysdeps/x86_64/tst-audit5.c: ... here.
9456 * elf/tst-audit6.c: Move to ...
9457 * sysdeps/x86_64/tst-audit6.c: ... here.
9458 * elf/tst-audit7.c: Move to ...
9459 * sysdeps/x86_64/tst-audit7.c: ... here.
9460 * elf/tst-auditmod3a.c: Move to ...
9461 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9462 * elf/tst-auditmod3b.c: Move to ...
9463 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9464 * elf/tst-auditmod4a.c: Move to ...
9465 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9466 * elf/tst-auditmod4b.c: Move to ...
9467 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9468 * elf/tst-auditmod5a.c: Move to ...
9469 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9470 * elf/tst-auditmod5b.c: Move to ...
9471 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9472 * elf/tst-auditmod6a.c: Move to ...
9473 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9474 * elf/tst-auditmod6b.c: Move to ...
9475 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9476 * elf/tst-auditmod6c.c: Move to ...
9477 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9478 * elf/tst-auditmod7a.c: Move to ...
9479 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9480 * elf/tst-auditmod7b.c: Move to ...
9481 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9482
1ef74943
PP
94832013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9484
9485 [BZ #15366]
9486 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9487 define unconditionally.
9488 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9489 define unconditionally.
9490 (INT8_C, INT16_C, etc.): Likewise.
9491
93fd48c5
MR
94922013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9493
ae9552cf
MR
9494 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9495 __ehdr_start with hidden visibility.
9496
93fd48c5
MR
9497 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9498
418601aa
CD
94992013-04-24 Carlos O'Donell <carlos@redhat.com>
9500
9501 * math/libm-test.inc (cos_test): Use accurate hex constants.
9502 (sincost_test): Likewise.
9503
2f38fbfe
JM
95042013-04-24 Joseph Myers <joseph@codesourcery.com>
9505
5e221800
JM
9506 * math/libm-test.inc (catan_test): Add more tests.
9507 (catanh_test): Likewise.
9508
77f143fd
JM
9509 * math/s_catanf.c (__catanf): Use suffixed floating-point
9510 constants.
9511 * math/s_catanhf.c (__catanhf): Likewise.
9512 * math/s_catanhl.c (__catanhl): Likewise.
9513 * math/s_catanl.c (__catanl): Likewise.
9514
2f38fbfe
JM
9515 [BZ #15394]
9516 * math/s_catan.c (__catan): Calculate imaginary part of result
9517 with log1p not log unless computing log of number close to 0.
9518 * math/s_catanf.c (__catanf): Likewise.
9519 * math/s_catanl.c (__catanl): Likewise.
9520 * math/s_catanh.c (__catanh): Calculate real part of result with
9521 log1p not log unless computing log of number close to 0.
9522 * math/s_catanhf.c (__catanhf): Likewise.
9523 * math/s_catanhl.c (__catanhl): Likewise.
9524 * math/libm-test.inc (catan_test): Add more tests.
9525 (catanh_test): Likewise.
9526 * sysdeps/i386/fpu/libm-test-ulps: Update.
9527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9528
45d69176
SP
95292013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9530
9531 * benchtests/Makefile: Mention files in which fast and slow
9532 paths of math functions are implemented.
9533
87f51853
RM
95342013-04-23 Roland McGrath <roland@hack.frob.com>
9535
9536 * sysdeps/posix/timespec_get.c: New file.
9537
3c026539
AZ
95382013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9539
9540 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9541 POWER.
9542 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9543 for POWER.
9544 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9545 powerpc/power5/fpu folders.
9546 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9547 * benchtests/Makefile: Add modf testcase.
9548 * benchtests/bench-modf.c: New file: Benchmark test for mo
9549
ff491d14
SP
95502013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9551
9552 [BZ #14888]
9553 * time/Makefile (tests): Add tst-strptime-whitespace.
9554 * time/strptime_l.c (get_number): Use ISSPACE.
9555 (__strptime_internal): Likewise.
9556 * time/tst-strptime-whitespace.c: New test case.
9557
7ed3f4e8
AS
95582013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9559
9560 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9561 member.
9562 (_nss_files_init): Set it here.
9563
5c95f7b6
HC
95642013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9565
9566 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9567 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9568 unsigned.
9569
d34c9158
JBG
95702013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9571
9572 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9573
2169712d
SP
95742013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9575
9576 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9577 size just once.
9578
29c5de99
DM
95792013-04-21 David S. Miller <davem@davemloft.net>
9580
9581 * po/ru.po: Update Russion translation from translation project.
9582
ccdad15d
AC
95832013-04-17 Adam Conrad <adconrad@0c3.net>
9584
9585 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9586 and setfsgid.
9587
0f122b8d
CD
95882013-04-17 Carlos O'Donell <carlos@redhat.com>
9589
5c5b07da 9590 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 9591 * configure: Regenerate.
5c5b07da 9592 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
9593 Add example to error message.
9594 * sysdeps/i386/configure: Regenerate.
9595
037714dd
SP
95962013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9597
9598 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9599 slowtan.
9600 * benchtests/cos-inputs: New file.
9601 * benchtests/slowcos-inputs: New file.
9602 * benchtests/slowcos.c: New file.
9603 * benchtests/slowtan-inputs: New file.
9604 * benchtests/slowtan.c: New file.
9605 * benchtests/tan-inputs: New file.
9606
e913141d
RM
96072013-04-16 Roland McGrath <roland@hack.frob.com>
9608
9609 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9610 considered kosher.
9611
a2964074
SP
96122013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9613
4856bcd2
SP
9614 * benchtests/Makefile: Include cppflags-iterator.mk to add
9615 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9616
a2964074
SP
9617 * Makefile.in (bench-clean): New target.
9618 * benchtests/Makefile (bench-clean): Likewise.
9619
9fbf9aca
DH
96202013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9621
9622 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9623
207d1e2a
TS
96242013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9625
9626 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9627
306dfba9
AS
96282013-04-15 Andreas Schwab <schwab@suse.de>
9629
9630 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9631 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9632 * nscd/pwdcache.c (cache_addpw): Likewise.
9633 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9634 more than recsize.
9635
206a6699
SP
96362013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9637
9638 * benchtests/Makefile (bench): Write all output to
9639 bench-out.tmp together.
9640
0582f6b3
AS
96412013-04-15 Andreas Schwab <schwab@suse.de>
9642
9643 * nscd/nscd.c (main): Don't fork again after closing files.
9644
acb4325f
SP
96452013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9646
5cb26d0a
SP
9647 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9648
acb4325f
SP
9649 * benchtests/Rules (bench-deps): Collect dependencies into a
9650 single variable. Add Makefile to dependencies.
9651 ($(objpfx)bench-%.c): Depend on bench-deps.
9652
47792506
RM
96532013-04-12 Roland McGrath <roland@hack.frob.com>
9654 Xavier Roche <roche+kml2@exalead.com>
9655
9656 [BZ #15361]
9657 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9658 just that it's a file descriptor.
9659 * manual/llio.texi (Synchronizing AIO Operations): Update description
9660 for EBADF error from aio_fsync.
9661
8fc1bee5
SP
96622013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9663
9664 * Rules (bench): Move target definition...
9665 * benchtests/Makefile: ... here.
9666
aba5e333
CD
96672013-04-11 Carlos O'Donell <carlos@redhat.com>
9668
9669 * math/libm-test.inc (cos_test): Fix PI/2 test.
9670 (sincos_test): Likewise.
9671 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9672 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9673
273cdee8
AS
96742013-04-11 Andreas Schwab <schwab@suse.de>
9675
6ecec3b6
AS
9676 [BZ #13988]
9677 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9678 accept exponent character only when digits were seen.
9679 * stdio-common/Makefile (tests): Add bug26.
9680 * stdio-common/bug26.c: New file.
9681
273cdee8
AS
9682 [BZ #14293]
9683 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9684 non-freeable.
9685
8da491f5
SP
96862013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9687
01dc6df9
SP
9688 * Makeconfig (rtld-prefix): Define built linker prefix.
9689 * Rules (run-bench): Use it.
9690 * math/Makefile (run-regen-ulps): Likewise.
9691
8da491f5
SP
9692 * Rules (bench): Remove eval.
9693
abe7f530
SP
96942013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9695 Roland McGrath <roland@hack.frob.com>
9696 Ondrej Bilka <neleai@seznam.cz>
9697
9698 [BZ #15346]
9699 * time/getdate.c: Include ctype.h and alloca.h.
9700 (__getdate_r): Trim leading and trailing spaces of input.
9701 * time/tst-getdate.c (tests): Add tests with leading and
9702 trailing spaces.
9703
61c23e62
RM
97042013-04-08 Roland McGrath <roland@hack.frob.com>
9705
9706 [BZ #14280]
9707 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9708 when computing value.
9709
7208a313
CD
97102013-04-06 Carlos O'Donell <carlos@redhat.com>
9711
085b2d41
CD
9712 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9713 Use testrun.sh to run libm tests.
9714
7208a313
CD
9715 [BZ #15309]
9716 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9717
872c0acd
MM
97182013-04-06 Marko Myllynen <myllynen@redhat.com>
9719
9720 [BZ #15264]
9721 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9722
26510bdd
CD
97232013-04-06 Carlos O'Donell <carlos@redhat.com>
9724
9725 * Makefile.in (regen-ulps): New target.
9726 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9727 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9728 [ifneq (no,$(PERL)] (regen-ulps): New target.
9729 [ifeq (no,$(PERL)] (regen-ulps): New target.
9730 * math/libm-test.inc (ulps_file_name): Define.
9731 (output_dir): New variable.
9732 (options): Add "output-dir" option.
9733 (parse_opt): Handle 'o' case.
9734 (main): If output_dir is non-NULL use it as a prefix
9735 otherwise use "".
9736 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9737
a01f19c8
CD
97382013-04-06 Carlos O'Donell <carlos@redhat.com>
9739
9740 [BZ #10060, #10062]
9741 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9742 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9743 fail configure if __sync_val_compare_and_swap is not inlined.
9744 * sysdeps/i386/configure: Regenerate.
9745 * configure.in: Build for i686 when configured for i386.
9746 * configure: Regenerate.
9747 * README: Remove i386 reference.
9748
b7a329a5
CD
97492013-04-06 Carlos O'Donell <carlos@redhat.com>
9750
9751 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9752 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9753
bf0f50df
TS
97542013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9755
ee091edf
TS
9756 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9757 (lmsnanval): New variables.
9758 (F): Add conversion tests.
9759 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9760 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9761
a8b792d6
TS
9762 * stdio-common/tstdiomisc.c (F): Properly collect individual
9763 tests' results.
9764
a1cbf437
TS
9765 [BZ #14686, #15336]
9766 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9767 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9768 Instead, use input NaN values or generate a qNaN by arithmetic
9769 operation. Also fix bugs to comply with the standard.
9770 * math/libm-test.inc (remainder_test): Add more tests.
9771
8b43a0c9
TS
9772 [BZ #15335, #15342]
9773 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9774 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9775 input NaN values or generate a qNaN by arithmetic operation.
9776
d91da4ce
TS
9777 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9778 unreachable code.
9779
bf0f50df
TS
9780 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9781 definitions.
9782
05e166c8
JM
97832013-04-03 Joseph Myers <joseph@codesourcery.com>
9784
9785 [BZ #14478]
9786 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9787 underflowed result.
9788 * math/s_cexpf.c (__cexpf): Likewise.
9789 * math/s_cexpl.c (__cexpl): Likewise.
9790 * math/libm-test.inc (cexp_test): Add more tests.
9791
1cef1b19
AS
97922013-04-03 Andreas Schwab <schwab@suse.de>
9793
9794 [BZ #15330]
9795 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9796 order arrays from heap if bigger than alloca cutoff.
9797
74d87055
TS
97982013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9799
9800 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9801 (SNAN_TESTS_double): Refer to GCC PR56831.
9802 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9803 GCC PR56828.
9804
d755bba4
SP
98052013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9806
90d5d5bb
SP
9807 * Rules (bench): Move bench.out after the run is complete.
9808
73e0cd5d
SP
9809 * Rules (bench): Echo currently running benchmark.
9810
64aabd4b
SP
9811 * benchtests/Makefile (bench): Add atan and slowatan.
9812 * benchtests/atan-inputs: New file.
9813 * benchtests/slowatan-inputs: New file.
9814 * benchtests/slowatan.c: New file.
9815
c871eccd
SP
9816 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9817 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9818 its value.
9819
d755bba4
SP
9820 [BZ #15305]
9821 * sysdeps/unix/sysv/linux/kernel-features.h
9822 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9823 __ASSUME_XFS_RESTRICTED_CHOWN.
9824 * sysdeps/unix/sysv/linux/pathconf.c
9825 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9826 Save and restore errno.
9827
52ce4860
JM
98282013-04-02 Joseph Myers <joseph@codesourcery.com>
9829
9830 [BZ #15327]
9831 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9832 arguments using __kernel_casinh.
9833 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9834 arguments using __kernel_casinhf.
9835 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9836 arguments using __kernel_casinhl.
9837 * math/libm-test.inc (cacosh_test): Add more tests.
9838 * sysdeps/i386/fpu/libm-test-ulps: Update.
9839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9840
81f311c2
SP
98412013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9842
e7906a47
SP
9843 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9844 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9845
92e3664b
SP
9846 * bench/Makefile (bench): Add sin and slowsin.
9847 * benchtests/sin-inputs: New file.
9848 * benchtests/slowsin-inputs: New file.
9849 * benchtests/slowsin.c: New file.
9850
81f311c2
SP
9851 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9852 (bench): Add slowexp and slowpow.
9853 (exp-ITER): Increase iterations.
9854 (pow-ITER): Likewise.
9855 * benchtests/exp-inputs: Change input.
9856 * benchtests/pow-inputs: Likewise.
9857 * benchtests/slowexp-inputs: New file.
9858 * benchtests/slowexp.c: New file.
9859 * benchtests/slowpow-inputs: New file.
9860 * benchtests/slowpow.c: New file.
9861
ab0f1aa9
AZ
98622013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9863
9864 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9865 instructions.
9866 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9867 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9868 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9869 * benchtests/Makefile: Add rint benchtest.
9870 * benchtests/rint-inputs: Input for rint benchtest.
9871
57267616
TS
98722013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9873
9874 * Versions.def (libm): Add GLIBC_2.18.
9875 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9876 hidden libm prototypes.
9877 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9878 * math/Makefile (libm-calls): Add s_issignaling.
9879 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9880 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9881 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9882 declaration.
9883 * math/math.h [__USE_GNU] (issignaling): New macro.
9884 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9885 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9886 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9887 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9888 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9889 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9890 * manual/arith.texi (issignaling): New section.
9891 * manual/libm-err-tab.pl (@all_functions): Update comment.
9892 * math/gen-libm-test.pl (parse_args): Apply special handling for
9893 issignaling.
9894 * math/libm-test.inc (print_float, issignaling_test): New
9895 functions.
9896 (check_float_internal): Add issignaling checks.
9897 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9898 default definition.
9899 * sysdeps/powerpc/math-tests.h: New file.
9900 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9901 tests.
9902 * math/test-snan.c (TEST_FUNC): Likewise.
9903
6142896d
DM
99042013-03-30 David S. Miller <davem@davemloft.net>
9905
9906 * po/de.po: Update from translation team.
9907
ccc8cadf
JM
99082013-03-30 Joseph Myers <joseph@codesourcery.com>
9909
9910 [BZ #10357]
9911 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9912 imaginary part less than 1.0 and real part less than 0.5
9913 specially.
9914 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9915 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9916 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9917 (cacos_test): Add more tests.
9918 (casin_test): Likewise.
9919 (casinh_test): Likewise.
9920 * sysdeps/i386/fpu/libm-test-ulps: Update.
9921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9922
0f6a8d4b
SP
99232013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9924
0d1029de
SP
9925 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9926 ONE with its value.
9927
c2d94018
SP
9928 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9929 (__pow_mp): Replace ONE and MONE with their values.
9930 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9931 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9932 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9933 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9934 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9935 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9936
27ec37f1
SP
9937 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9938
a64d7e0e
SP
9939 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9940 (__pow_mp): Replace ZERO and MZERO with their values.
9941 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9942 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9943 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9944 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9945 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9946 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9947 (__sqr): Likewise.
9948
d26dd3eb
SP
9949 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9950
0f6a8d4b
SP
9951 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9952
e57b0c61
RM
99532013-03-28 Roland McGrath <roland@hack.frob.com>
9954
9955 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9956 Declare with __attribute__ ((weak)).
9957 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9958 Call __call_tls_dtors only if it's not NULL.
9959
356b3480
RM
99602013-03-28 Roland McGrath <roland@hack.frob.com>
9961
288f7d79
RM
9962 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9963 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9964 magic __ehdr_start linker symbol if it's defined.
9965 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9966 them up here if it was already done.
9967
dc0a0263
RM
9968 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9969 (_dl_aux_init): Use const in cast when setting it.
9970 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9971 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9972 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9973
3d3436ae
RM
9974 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9975 Declare them here.
9976 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9977 * csu/libc-tls.c: Nor here.
9978 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9979
356b3480
RM
9980 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9981 (__libc_message): Never call vsyslog.
9982
b0f1246a
AM
99832013-03-28 Alan Modra <amodra@gmail.com>
9984
9985 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9986 Define as empty.
9987 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9988 Likewise.
9989
fbbe2b9a
AZ
99902013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9991
9992 [BZ #15214]
9993 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9994 underflow.
9995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9996
1728ab37
SP
99972013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9998
7a86be6e
SP
9999 [BZ #15304]
10000 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10001 Don't add gid passed as argument.
10002
1728ab37
SP
10003 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10004
3a7182a1
JM
100052013-03-27 Joseph Myers <joseph@codesourcery.com>
10006
10007 [BZ #15307]
10008 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10009 imaginary part between 1.0 and 1.5 and real part less than 0.5
10010 specially.
10011 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10012 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10013 * math/libm-test.inc (cacos_test): Add more tests.
10014 (casin_test): Likewise.
10015 (casinh_test): Likewise.
10016 * sysdeps/i386/fpu/libm-test-ulps: Update.
10017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10018
6f2e90e7
SP
100192013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10020
5739f705
SP
10021 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10022 constants.
10023 (norm): Likewise.
10024 (denorm): Likewise.
10025 (__dbl_mp): Likewise.
10026 (add_magnitudes): Likewise.
10027 (sub_magnitudes): Likewise.
10028 (__add): Likewise.
10029 (__sub): Likewise.
10030 (__mul): Likewise.
10031 (__sqr): Likewise.
10032 (__inv): Likewise.
10033 (__dvd): Likewise.
10034
e375e83d
SP
10035 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10036 commented code.
10037 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10038 (__dubcos): Likewise.
10039 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10040 (__ieee754_acos): Likewise.
10041 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10042 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10043 (__exp1): Likewise.
10044 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10045 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10046 (log1): Likewise.
10047 (my_log2): Likewise.
10048 (checkint): Likewise.
10049 * sysdeps/ieee754/dbl-64/e_remainder.c
10050 (__ieee754_remainder): Likewise.
10051 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10052 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10053 (bsloww): Likewise.
10054 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10055
6f2e90e7
SP
10056 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10057 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10058 MANTISSA_STORE_T to store computations on mantissa. Use
10059 macros for rounding and division.
10060 (denorm): Likewise.
10061 (__dbl_mp): Likewise.
10062 (add_magnitudes): Likewise.
10063 (sub_magnitudes): Likewise.
10064 (__mul): Likewise.
10065 (__sqr): Likewise.
10066 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10067 powers of two in terms of TWOPOW macro.
10068 (mp_no): Make type of mantissa as MANTISSA_T.
10069 [!RADIXI]: Define RADIXI.
10070 [!TWO52]: Define TWO52.
10071 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10072
fce14d4e
AZ
100732013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10074
10075 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10076 llroundl symbol when building for PPC32.
10077
9ad027fb
MW
100782013-03-24 Mark H Weaver <mhw@netris.org>
10079
10080 * manual/arith.texi (Normalization Functions): Fix prototypes for
10081 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10082
e42a38dd
AZ
100832013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10084
10085 [BZ #13889]
10086 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10087 high value to check if expl overflow.
10088 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10089 to check for underflow and overflow.
10090 * math/libm-test.inc: Add exp test.
10091
2e0fb521
DL
100922013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10093
10094 [BZ #11120]
10095 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10096 with NOT_IN_libc.
10097
b5784d95
AZ
100982013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10099
10100 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10101 symbol.
10102
5aa4a1a1
TS
101032013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10104
bdef0be7
TS
10105 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10106 wrap blocks consisting of several statements.
10107
5aa4a1a1
TS
10108 * sysdeps/generic/math-tests.h: New file.
10109 * sysdeps/i386/fpu/math-tests.h: Likewise.
10110 * math/test-snan.c: Include it.
10111 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10112
98c48fe5
JM
101132013-03-21 Joseph Myers <joseph@codesourcery.com>
10114
10115 [BZ #15285]
10116 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10117 (__ieee754_j0l): Do not improve calculations using cos of twice
10118 input for inputs above LDBL_MAX / 2.0L.
10119 (__ieee754_y0l): Likewise.
10120 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10121 (__ieee754_j1l): Do not improve calculations using cos of twice
10122 input for inputs above LDBL_MAX / 2.0L.
10123 (__ieee754_y1l): Likewise.
10124 * math/libm-test.inc (j0_test): Add another test.
10125 (j1_test): Likewise.
10126 (y0_test): Likewise.
10127 (y1_test): Likewise.
10128 * sysdeps/i386/fpu/libm-test-ulps: Update.
10129
3775a8bc
SP
101302013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10131
10132 * Rules ($(objpfx)bench-%.c): Include code from a C source
10133 file.
10134
0a1b2ae6
JM
101352013-03-21 Joseph Myers <joseph@codesourcery.com>
10136
10137 [BZ #15287]
10138 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10139 imaginary part 1.0 and real part less than 0.5 specially.
10140 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10141 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10142 * math/libm-test.inc (cacos_test): Add more tests.
10143 (casin_test): Likewise.
10144 (casinh_test): Likewise.
10145 * sysdeps/i386/fpu/libm-test-ulps: Update.
10146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10147
b33d4ce4
SP
101482013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10149
10150 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10151 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10152
bef0b507
JM
101532013-03-20 Joseph Myers <joseph@codesourcery.com>
10154
10155 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10156 * config.make.in (config-cflags-sse4): Remove variable.
10157 (config-cflags-avx): Likewise.
10158 (config-cflags-sse2avx): Likewise.
10159 (config-cflags-novzeroupper): Likewise.
10160 (config-asflags-i686): Likewise.
10161 (have-mfma4): Likewise.
10162 (have-as-vis3): Likewise.
10163 (MIG): Likewise.
10164 * configure.in (MIG): Do not AC_SUBST.
10165 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10166 (libc_cv_cc_sse4): Do not AC_SUBST.
10167 (libc_cv_cc_avx): Likewise.
10168 (libc_cv_cc_sse2avx): Likewise.
10169 (libc_cv_cc_novzeroupper): Likewise.
10170 (libc_cv_cc_fma4): Likewise.
10171 (libc_cv_as_i686): Likewise.
10172 (libc_cv_sparc_as_vis3): Likewise.
10173 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10174 LIBC_CONFIG_VAR.
10175 (config-asflags-i686): Likewise.
10176 (config-cflags-avx): Likewise.
10177 (config-cflags-sse2avx): Likewise.
10178 (have-mfma4): Likewise.
10179 (config-cflags-novzeroupper): Likewise.
10180 * sysdeps/mach/configure.in (MIG): Likewise.
10181 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10182 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10183 LIBC_CONFIG_VAR.
10184 (config-cflags-avx): Likewise.
10185 (config-cflags-sse2avx): Likewise.
10186 (have-mfma4): Likewise.
10187 (config-cflags-novzeroupper): Likewise.
10188 * configure: Regenerated.
10189 * sysdeps/i386/configure: Likewise.
10190 * sysdeps/mach/configure: Likewise.
10191 * sysdeps/sparc/configure: Likewise.
10192 * sysdeps/x86_64/configure: Likewise.
10193
912cc4b3
RM
101942013-03-20 Roland McGrath <roland@hack.frob.com>
10195
10196 [BZ #14812]
10197 * locale/programs/localedef.c (options): Put N_ translation marker
10198 on argument names, not just descriptions.
10199
04eed2b0
MS
102002013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10201
10202 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10203
a065ceff
OB
102042013-03-20 Ondřej Bílka <neleai@seznam.cz>
10205
9bb2a810 10206 [BZ #14176]
a065ceff
OB
10207 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10208
a600e5ce
RM
102092013-03-19 Roland McGrath <roland@hack.frob.com>
10210
10211 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10212 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10213 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10214 [!BEFORE_ABORT] (before_abort): New function.
10215 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10216 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10217 (writev_for_fatal): New function.
10218 (WRITEV_FOR_FATAL): New macro; call that.
10219 (backtrace_and_maps): New function.
10220 (BEFORE_ABORT): New macro; call that.
10221 (struct str_list): Type removed.
10222 (__libc_message, __libc_fatal): Functions removed.
10223 Include <sysdeps/posix/libc_fatal.c> instead.
10224
6b18bea6
JM
102252013-03-19 Joseph Myers <joseph@codesourcery.com>
10226
10227 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10228 constants.
10229 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10230 double constants.
10231
aaa8cb4b
AS
102322013-03-19 Andreas Schwab <schwab@suse.de>
10233
44673770
AS
10234 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10235 * sysdeps/gnu/configure: Regenerate.
10236
aaa8cb4b
AS
10237 * configure.in: Substitute libc_cv_rtlddir.
10238 * configure: Regenerate.
10239 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10240 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10241 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10242 * elf/Makefile (install-others, CFLAGS-interp.c)
10243 (ldso_install, common-ldd-rewrite): Likewise.
10244 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10245 $(inst_slibdir)/$(rtld-installed-name).
10246 * scripts/rellns-sh: Add -p option.
10247 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10248 for source.
10249
d3cfc668
SP
102502013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10251
10252 * manual/nptl.texi: Renamed to ...
10253 * manual/threads.texi: ... this.
10254 * manual/Makefile (chapters): Update.
10255
0e2b9cdd
RM
102562013-03-18 Roland McGrath <roland@hack.frob.com>
10257
10258 [BZ #14812]
10259 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10260 on argument names, not just descriptions.
0e2b9cdd
RM
10261 * malloc/memusagestat.c (options): Likewise.
10262 * nss/getent.c (options): Likewise.
63270c24
RM
10263
102642013-03-18 Benno Schulenberg <bensberg@justemail.net>
10265
10266 [BZ #14812]
10267 * iconv/iconv_prog.c (options): Put N_ translation marker
10268 on argument names, not just descriptions.
10269 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 10270
b2e1393c
OB
102712013-03-18 Ondrej Bilka <neleai@seznam.cz>
10272
10273 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10274 implementation which is faster on all x86_64 architectures.
10275 Tested on AMD, Intel Nehalem, SNB, IVB.
10276 * sysdeps/x86_64/strnlen.S: Likewise.
10277
10278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10279 Remove all multiarch strlen and strnlen versions.
10280 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10281 Remove strlen and strnlen related parts.
10282
10283 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10284 Inline strlen part.
10285 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10286
10287 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10288 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10289 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10290 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10291 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10292 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10293
ec4ff04d
CD
102942013-03-17 Carlos O'Donell <carlos@redhat.com>
10295
10296 * manual/memory.texi (Malloc Tunable Parameters):
10297 Sort parameters alphabetically. Add comments for missing entries.
10298
cd18e90a
DM
102992013-03-17 David S. Miller <davem@davemloft.net>
10300
10301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10302
2a185d32
JM
103032013-03-16 Joseph Myers <joseph@codesourcery.com>
10304
d2f9799e
JM
10305 [BZ #15283]
10306 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10307 for arguments at most half maximum finite value.
10308 * math/libm-test.inc (j0_test): Add more tests.
10309 (j1_test): Likewise.
10310 (y0_test): Likewise.
10311 (y1_test): Likewise.
10312 * sysdeps/i386/fpu/libm-test-ulps: Update.
10313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10314
2a185d32
JM
10315 [BZ #14155]
10316 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10317 1 / x and functions P and Q for arguments above 0x1p256L.
10318 (__ieee754_y0l): Likewise.
10319 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10320 (__ieee754_y1l): Likewise.
10321 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10322 (j1_test): Likewise.
10323 (y0_test): Likewise.
10324 (y1_test): Likewise.
10325
6cbec759
TS
103262013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10327
10328 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10329 variable.
10330
bc16e260
RM
103312013-03-15 Roland McGrath <roland@hack.frob.com>
10332
aefc9b8c
RM
10333 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10334 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10335 zero since it's initialized to EXEC_PAGESIZE.
10336
bc16e260
RM
10337 * sysdeps/unix/sysv/linux/ldsodefs.h
10338 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10339 * sysdeps/generic/ldsodefs.h: ... here.
10340
a57da955
TS
103412013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10342
af00a34d
TS
10343 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10344
495ded2c
TS
10345 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10346 math/test-snan.c.
10347 * math/test-snan.c: Renamed from
10348 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10349 * math/Makefile (tests): Add test-snan.
10350 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10351 test-powerpc-snan.
10352
777b0332
TS
10353 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10354 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10355 functions.
10356 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10357 __builtin_nan family of functions.
10358 * math/libm-test.inc (initialize): Initialize qnan_value with
10359 __builtin_nan family of functions.
10360 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10361 Remove variables.
10362 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10363 Remove functions.
10364 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10365 storage class. Initialize qNaN_var and sNaN_var with
10366 __builtin_nan and __builtin_nans families of functions,
10367 respectively.
10368
64d063b8
TS
10369 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10370 (sqrt_test): Remove duplicate test with qNaN input.
10371 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10372 (round_test, signbit_test, significand_test): Note missing +/-Inf
10373 as well as qNaN tests.
10374
67e971f1
TS
10375 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10376 qNaN_var. Fix a few strings, too.
10377 * math/libm-test.inc (nan_value): Rename to qnan_value.
10378 * math/gen-libm-test.pl (%beautify): Adjust to that.
10379 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10380 * math/test-misc.c (main): Likewise.
10381 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10382 to __qnan_bytes, and __qnan_union, respectively.
10383 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10384 Likewise.
10385 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10386 and lqnanval, respectively.
10387 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10388 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10389 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10390 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10391
64487e12
TS
10392 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10393 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10394 doubles.
10395
e015e27b
TS
10396 * math/test-misc.c (main): Fix copy'n'pastos.
10397 * misc/tst-efgcvt.c (special): Likewise.
10398
a57da955
TS
10399 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10400 Remove declarations.
10401
1e380345
SP
104022013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10403
10404 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10405 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10406 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10407 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10408
ef26eece
AZ
104092013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10410
10411 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10412 macro to return vdso values correctly in IFUNC implementations.
10413 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10414 Optimization by using IFUNC.
10415
8cfdb7e0
SP
104162013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10417 Richard Henderson <rth@redhat.com>
10418 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10419
10420 * Makefile.in (bench): New target.
10421 * NEWS: Mention the benchmark framework.
10422 * Rules (bench): Likewise.
10423 (binaries-bench): Generate binaries for functions to
10424 benchmark.
10425 * benchtests/Makefile: New makefile for benchmark tests.
10426 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10427 programs.
10428 * benchtests/exp-inputs: New input file for EXP function.
10429 * benchtests/pow-inputs: New input file for POW function.
10430 * scripts/bench.pl: New script to generate source files for
10431 benchmark programs.
10432
bcda9880
SP
104332013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10434
d22ca8cd
SP
10435 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10436 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10437 computations on mantissa. Use macros for rounding and
10438 division.
10439 (denorm): Likewise.
10440 (__dbl_mp): Likewise.
10441 (add_magnitudes): Likewise.
10442 (sub_magnitudes): Likewise.
10443 (__mul): Likewise.
10444 (__sqr): Likewise.
10445 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10446 powers of two in terms of TWOPOW macro.
10447 (mp_no): Make type of mantissa as MANTISSA_T.
10448 [!RADIXI]: Define RADIXI.
10449 [!TWO52]: Define TWO52.
10450 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10451
bcda9880
SP
10452 * manual/nptl.texi (cindex): Modify threads to pthreads.
10453
06d5adfb
JM
104542013-03-15 Joseph Myers <joseph@codesourcery.com>
10455
10456 * sysdeps/x86_64/preconfigure: Regenerated.
10457
41c7328e
JM
104582013-03-14 Joseph Myers <joseph@codesourcery.com>
10459
10460 [BZ #14155]
10461 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10462 0x1p28 and above.
10463 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10464 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10465 0x1p28 and above.
10466 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10467 * math/libm-test.inc (j0_test): Do not allow one spurious
10468 underflow exception.
10469 (y1_test): Likewise.
10470
e25cfa60
SP
104712013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10472
0409959c
SP
10473 * manual/Makefile (chapters): Add nptl.
10474 * manual/debug.texi (Debugging Support): Add link to Threads
10475 chapter.
10476 * manual/nptl.texi: New file.
10477
e25cfa60
SP
10478 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10479
58a1335e
PB
104802013-03-14 Petr Baudis <pasky@ucw.cz>
10481
10482 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10483 for non-NULL pointer before the memory validity test. Pointed
10484 out by Holger Brunck <holger.brunck@keymile.com>.
10485
9dc7c64f
AS
104862013-03-13 Andreas Schwab <schwab@suse.de>
10487
10488 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10489 instead of .os.
10490
54206aa6
JM
104912013-03-13 Joseph Myers <joseph@codesourcery.com>
10492
10493 * timezone/zic.c: Update from tzcode 2013b.
10494
e98cdb38
CD
104952013-03-12 Carlos O'Donell <carlos@redhat.com>
10496
10497 * manual/install.texi (Configuring and compiling):
10498 Mention i686 and i586.
10499 * INSTALL: Regenerate.
10500
9967e003
RM
105012013-03-12 Roland McGrath <roland@hack.frob.com>
10502
10503 * sysdeps/init_array/elf-init.c: New file.
10504 * csu/elf-init.c
10505 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10506 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10507
10508 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10509 __gmon_start__ as global, but as static with a .preinit_array pointer.
10510 * sysdeps/init_array/gmon-start.c: New file. Use that.
10511 * sysdeps/init_array/crti.S: New file, empty except for comments.
10512 * sysdeps/init_array/crtn.S: Likewise.
10513
e6b5a293 105142013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
10515
10516 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10517 definining bcopy.
80f844c9
OB
10518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10519 Remove Prefer_SSE_for_memop.
10520 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10521 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10522 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
10523 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10524 memset-x86-64.
80f844c9 10525 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 10526 Remove bzero, memset ifunc support.
80f844c9
OB
10527 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10528 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10529 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10530 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10531
fb6b0fcb
AS
105322013-03-11 Andreas Schwab <schwab@suse.de>
10533
10534 [BZ #15234]
10535 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10536 by SHLIB_COMPAT.
10537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10538 (GLIBC_2.16): Remove pthread_atfork.
10539
3e6bd4b1
PP
105402013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10541
10542 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10543 (ptestcases.h): Likewise.
10544
222d7f00
RM
105452013-03-08 Roland McGrath <roland@hack.frob.com>
10546
10547 * Makeconfig ($(common-objpfx)config.status): Depend on
10548 sysdeps/*/preconfigure{,.in} too.
10549
1ba4f030
JM
105502013-03-08 Joseph Myers <joseph@codesourcery.com>
10551
a222d91a
JM
10552 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10553 (__free_hook): Use void * instead of __malloc_ptr_t.
10554 (__malloc_hook): Likewise.
10555 (__realloc_hook): Likewise.
10556 (__memalign_hook): Likewise.
10557 (__after_morecore_hook): Likewise.
10558 * malloc/arena.c (save_malloc_hook): Likewise.
10559 (save_free_hook): Likewise.
10560 * malloc/hooks.c (malloc_hook_ini): Likewise.
10561 (realloc_hook_ini): Likewise.
10562 (memalign_hook_ini): Likewise.
10563 * malloc/malloc.c (malloc_hook_ini): Likewise.
10564 (realloc_hook_ini): Likewise.
10565 (memalign_hook_ini): Likewise.
10566 (__free_hook): Likewise.
10567 (__malloc_hook): Likewise.
10568 (__realloc_hook): Likewise.
10569 (__memalign_hook): Likewise.
10570 (__libc_malloc): Likewise.
10571 (__libc_free): Likewise.
10572 (__libc_realloc): Likewise.
10573 (__libc_memalign): Likewise.
10574 (__libc_valloc): Likewise.
10575 (__libc_pvalloc): Likewise.
10576 (__libc_calloc): Likewise.
10577 (__posix_memalign): Likewise.
10578 * malloc/morecore.c (__sbrk): Likewise.
10579 (__default_morecore): Likewise.
10580
5cc45e10
JM
10581 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10582
dd54b864
JM
10583 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10584 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10585 __malloc_ptrdiff_t.
10586
1ba4f030
JM
10587 * malloc/malloc.h (__malloc_size_t): Remove macro.
10588 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10589 __malloc_size_t.
10590 (old_memalign_hook): Likewise.
10591 (old_realloc_hook): Likewise.
10592 (struct hdr): Likewise.
10593 (flood): Likewise.
10594 (mallochook): Likewise.
10595 (memalignhook): Likewise.
10596 (reallochook): Likewise.
10597 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10598 (tr_old_realloc_hook): Likewise.
10599 (tr_old_memalign_hook): Likewise.
10600 (tr_mallochook): Likewise.
10601 (tr_reallochook): Likewise.
10602 (tr_memalignhook): Likewise.
10603
edf66e57
AZ
106042013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10605
10606 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10607 default_ldbl_pack and using as default implementation.
10608 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10609 implementation.
10610 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10611 redundant definition.
10612 (ldbl_insert_mantissa): Likewise.
10613 (ldbl_canonicalize): Likewise.
10614 (ldbl_nearbyint): Likewise.
10615 (ldbl_pack): Rename to ldbl_pack_ppc.
10616 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10617 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10618 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10619
6d9145d8
SP
106202013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10621
10622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10623 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10624 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10625 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10626 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10627 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10628 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10629 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10630
4dd4e157
AJ
106312013-03-07 Andreas Jaeger <aj@suse.de>
10632
10633 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10634 bits/mman-linux.h.
10635
adbb8027
SP
106362013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10637
ce544b5b
SP
10638 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10639 Include mpa.h and declare __MPEXP.
10640 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10641 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10642 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10643 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10644 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10645 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10646 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10647
4cc149fd
SP
10648 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10649 (__slowpow): Use long double EXPL and LOGL functions to
10650 compute POW.
10651 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10652 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10653 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10654 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10655 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10656 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10657
e6ebd4a7
SP
10658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10659 intermediate variable to calculate exponent.
10660 (__sqr): Likewise.
10661 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10662 Likewise.
10663 (__sqr): Likewise.
10664
82a9811d
SP
10665 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10666 [!NO__SQR]: Define __sqr.
10667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10668 and NO__SQR. Remove all code except __mul and __sqr. Include
10669 sysdeps/ieee754/dbl-64/mpa.c.
10670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10671
adbb8027
SP
10672 [BZ #12723]
10673 * posix/Makefile (tests): Add tst-pathconf.
10674 * posix/tst-pathconf.c: New test case.
10675 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10676 _PC_PIPE_BUF.
10677 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10678
39120df9
PF
106792013-03-06 Patsy Franklin <pfrankli@redhat.com>
10680
10681 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10682
67525cb8
AJ
106832013-03-06 Andreas Jaeger <aj@suse.de>
10684
664a9ce4
AJ
10685 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10686 definition via __MAP_ANONYMOUS.
10687
8e39047d
AJ
10688 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10689 it's not part of Linux headers.
10690
67525cb8
AJ
10691 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10692 (MAP_HUGE_MASK): Define.
10693
10694 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10695 Define.
10696 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10697 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10698 Define.
10699 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10700 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10701 Define.
10702 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10703 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10704 Define.
10705 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10706
10707 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10708 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10709 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10710 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10711 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10712 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10713
10714 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10715 Handle f2fs.
10716
10717 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10718 Handle f2fs and efivarfs.
10719
10720 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10721 f2fs.
10722
10723 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10724 (EFIVARFS_MAGIC): Add.
10725 (F2FS_LINK_MAX): Add.
10726
e1b42695
PP
107272013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10728
10729 * stdio-common/vfprintf.c: Replace __builtin_expect with
10730 __glibc_unlikely.
10731
2d67d91a
JM
107322013-03-06 Joseph Myers <joseph@codesourcery.com>
10733
10734 [BZ #13550]
10735 * sysdeps/generic/bp-sym.h: Remove file.
10736 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10737 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10738 <bp-sym.h> and <bp-asm.h>.
10739 (__longjmp): Don't use BP_SYM.
10740 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10741 and <bp-asm.h>.
10742 (memcpy): Don't use BP_SYM.
10743 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10744 <bp-sym.h> and <bp-asm.h>.
10745 (memcpy): Don't use BP_SYM.
10746 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10747 <bp-asm.h>.
10748 (memcpy): Don't use BP_SYM.
10749 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10750 <bp-asm.h>.
10751 (memset): Don't use BP_SYM.
10752 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10753 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10754 (__bzero): Don't use BP_SYM.
10755 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10756 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10757 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10758 <bp-sym.h> and <bp-asm.h>.
10759 (memcmp): Don't use BP_SYM. Remove comment about bounded
10760 pointers.
10761 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10762 <bp-sym.h> and <bp-asm.h>.
10763 (memcpy): Don't use BP_SYM.
10764 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10765 <bp-sym.h> and <bp-asm.h>.
10766 (memset): Don't use BP_SYM.
10767 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10768 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10769 (__bzero): Don't use BP_SYM.
10770 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10771 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10772 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10773 <bp-sym.h> and <bp-asm.h>.
10774 (strncmp): Don't use BP_SYM. Remove comment about bounded
10775 pointers.
10776 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10777 <bp-sym.h> and <bp-asm.h>.
10778 (memcpy): Don't use BP_SYM.
10779 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10780 <bp-sym.h> and <bp-asm.h>.
10781 (memset): Don't use BP_SYM.
10782 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10783 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10784 (__bzero): Don't use BP_SYM.
10785 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10786 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10787 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10788 <bp-sym.h> and <bp-asm.h>.
10789 (__memchr): Don't use BP_SYM.
10790 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10791 <bp-sym.h> and <bp-asm.h>.
10792 (memcmp): Don't use BP_SYM. Remove comment about bounded
10793 pointers.
10794 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10795 <bp-sym.h> and <bp-asm.h>.
10796 (memcpy): Don't use BP_SYM.
10797 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10798 <bp-sym.h> and <bp-asm.h>.
10799 (__mempcpy): Don't use BP_SYM.
10800 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10801 <bp-sym.h> and <bp-asm.h>.
10802 (__memrchr): Don't use BP_SYM.
10803 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10804 <bp-sym.h> and <bp-asm.h>.
10805 (memset): Don't use BP_SYM.
10806 (__bzero): Likewise.
10807 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10808 <bp-sym.h> and <bp-asm.h>.
10809 (__rawmemchr): Don't use BP_SYM.
10810 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10811 <bp-sym.h> and <bp-asm.h>.
10812 (__STRCMP): Don't use BP_SYM.
10813 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10814 <bp-sym.h> and <bp-asm.h>.
10815 (strchr): Don't use BP_SYM.
10816 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10817 <bp-sym.h> and <bp-asm.h>.
10818 (__strchrnul): Don't use BP_SYM.
10819 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10820 <bp-sym.h> and <bp-asm.h>.
10821 (strlen): Don't use BP_SYM.
10822 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10823 <bp-sym.h> and <bp-asm.h>.
10824 (strncmp): Don't use BP_SYM. Remove comment about bounded
10825 pointers.
10826 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10827 <bp-sym.h> and <bp-asm.h>.
10828 (__strnlen): Don't use BP_SYM.
10829 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10830 <bp-sym.h> and <bp-asm.h>.
10831 (__GI__setjmp): Don't use BP_SYM.
10832 (_setjmp): Likewise.
10833 (__sigsetjmp): Likewise.
10834 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10835 (L(start_addresses)): Don't use BP_SYM.
10836 (_start): Likewise.
10837 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10838 <bp-asm.h>.
10839 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10840 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10841 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10842 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10843 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10844 <bp-asm.h>.
10845 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10846 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10847 about bounded pointers.
10848 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10849 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10850 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10851 <bp-asm.h>.
10852 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10853 about bounded pointers. Remove GKM FIXME comments.
10854 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10855 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10856 <bp-asm.h>.
10857 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10858 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10859 Remove GKM FIXME comments.
10860 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10861 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10862 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10863 <bp-asm.h>.
10864 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10865 about bounded pointers. Remove GKM FIXME comment.
10866 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10867 and <bp-asm.h>.
10868 (strncmp): Don't use BP_SYM. Remove comment about bounded
10869 pointers.
10870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10871 <bp-sym.h> and <bp-asm.h>.
10872 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10874 <bp-sym.h> and <bp-asm.h>.
10875 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10876 comment.
10877
cdcf361f
PP
108782013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10879
10880 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10881 call free(NULL).
10882
3c4a2b15
DM
108832013-03-05 David S. Miller <davem@davemloft.net>
10884
10885 * po/es.po: Update from translation team.
10886
cdcf361f 108872013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
10888
10889 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10890 <bits/mman-linux.h>.
10891 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10892 is fine.
10893 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10894 <bits/mman-linux.h> to end of file.
10895 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10896 is fine.
10897 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10898 <bits/mman-linux.h> to end of file.
10899 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10900 is fine.
10901 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10902 <bits/mman-linux.h> to end of file.
10903
10904 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10905 (MCL_CURRENT, MCL_FUTURE): Define here.
10906
5f67c04f
AK
109072013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10908
8a4473cc 10909 [BZ #15232]
5f67c04f
AK
10910 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10911 attribute_hidden.
10912 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10913
c3e94a95
AK
109142013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10915
10916 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10917 fourth parameter needed for rt_sigprocmask syscall.
10918 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10919 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10920 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10921 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10922 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10923 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10924
cfb6382a
JM
109252013-03-04 Joseph Myers <joseph@codesourcery.com>
10926
10927 [BZ #13550]
10928 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10929 comment about bounded pointers.
10930 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10931 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10932
539d8e01
AJ
109332013-03-04 Andreas Jaeger <aj@suse.de>
10934
10935 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10936 common definitions.
10937
10938 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10939 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10940 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10941 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10942 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
10943 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10944
2e167a70 109452013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
10946
10947 [BZ #15055]
10948 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10949 __ieee754_sqrl instead of __sqrl.
10950
68508633
JM
109512013-03-01 Joseph Myers <joseph@codesourcery.com>
10952
10953 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10954 * sysdeps/powerpc/fpu_control.h: ... here.
10955 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10956 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10957 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10958 * sysdeps/powerpc/bits/mathinline.h: ... here.
10959
7775448e
RM
109602013-03-01 Roland McGrath <roland@hack.frob.com>
10961
10962 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10963 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10964 to just [NEED_DL_SYSINFO_DSO].
10965 * elf/dl-support.c: Likewise.
10966 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10967 * elf/rtld.c (dl_main): Likewise.
10968 * elf/setup-vdso.h (setup_vdso): Likewise.
10969 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10970 * sysdeps/unix/sysv/linux/dl-sysdep.c
10971 (_dl_discover_osversion): Likewise.
10972
4e9b5995
CD
109732013-03-01 Carlos O'Donell <carlos@redhat.com>
10974
10975 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10976 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10977
e23872c8
SP
109782013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10979
e5c74c63
SP
10980 * NEWS: Mention libm performance improvements and non-x86 PI
10981 futex support.
10982
e23872c8
SP
10983 * csu/libc-start.c (__pthread_initialize_minimal): Change
10984 function arguments.
10985 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10986
b5510883
JM
109872013-02-28 Joseph Myers <joseph@codesourcery.com>
10988
10989 [BZ #13550]
10990 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10991 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10992 <bp-sym.h> and <bp-asm.h>.
10993 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10994 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10995 and <bp-asm.h>.
10996 (memcpy): Don't use BP_SYM.
10997 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10998 <bp-asm.h>.
10999 (__mpn_add_n): Don't use BP_SYM.
11000 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11001 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11002 and <bp-asm.h>.
11003 (__mpn_addmul_1): Don't use BP_SYM.
11004 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11005 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11006 <bp-sym.h>.
11007 (_setjmp): Don't use BP_SYM.
11008 (__novmx_setjmp): Likewise.
11009 (__GI__setjmp): Likewise.
11010 (__vmx_setjmp): Likewise.
11011 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11012 <bp-sym.h>.
11013 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11014 (__bzero): Don't use BP_SYM.
11015 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11016 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11017 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11018 <bp-sym.h> and <bp-asm.h>.
11019 (memcpy): Don't use BP_SYM.
11020 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11021 <bp-sym.h> and <bp-asm.h>.
11022 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11023 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11024 <bp-sym.h> and <bp-asm.h>.
11025 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11026 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11027 <bp-asm.h>.
11028 (__mpn_lshift): Don't use BP_SYM.
11029 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11030 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11031 <bp-asm.h>.
11032 (memset): Don't use BP_SYM.
11033 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11034 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11035 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11036 <bp-asm.h>.
11037 (__mpn_mul_1): Don't use BP_SYM.
11038 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11039 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11040 <bp-sym.h> and <bp-asm.h>.
11041 (memcmp): Don't use BP_SYM.
11042 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11043 <bp-sym.h> and <bp-asm.h>.
11044 (memcpy): Don't use BP_SYM.
11045 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11046 <bp-sym.h> and <bp-asm.h>.
11047 (memset): Don't use BP_SYM.
11048 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11049 <bp-sym.h> and <bp-asm.h>.
11050 (strncmp): Don't use BP_SYM.
11051 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11052 <bp-sym.h> and <bp-asm.h>.
11053 (memcpy): Don't use BP_SYM.
11054 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11055 <bp-sym.h> and <bp-asm.h>.
11056 (memset): Don't use BP_SYM.
11057 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11058 <bp-sym.h> and <bp-asm.h>.
11059 (__memchr): Don't use BP_SYM.
11060 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11061 <bp-sym.h> and <bp-asm.h>.
11062 (memcmp): Don't use BP_SYM.
11063 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11064 <bp-sym.h> and <bp-asm.h>.
11065 (memcpy): Don't use BP_SYM.
11066 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11067 <bp-sym.h> and <bp-asm.h>.
11068 (__mempcpy): Don't use BP_SYM.
11069 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11070 <bp-sym.h> and <bp-asm.h>.
11071 (__memrchr): Don't use BP_SYM.
11072 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11073 <bp-sym.h> and <bp-asm.h>.
11074 (memset): Don't use BP_SYM.
11075 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11076 <bp-sym.h> and <bp-asm.h>.
11077 (__rawmemchr): Don't use BP_SYM.
11078 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11079 <bp-sym.h> and <bp-asm.h>.
11080 (__STRCMP): Don't use BP_SYM.
11081 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11082 <bp-sym.h> and <bp-asm.h>.
11083 (strchr): Don't use BP_SYM.
11084 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11085 <bp-sym.h> and <bp-asm.h>.
11086 (__strchrnul): Don't use BP_SYM.
11087 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11088 <bp-sym.h> and <bp-asm.h>.
11089 (strlen): Don't use BP_SYM.
11090 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11091 <bp-sym.h> and <bp-asm.h>.
11092 (strncmp): Don't use BP_SYM.
11093 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11094 <bp-sym.h> and <bp-asm.h>.
11095 (__strnlen): Don't use BP_SYM.
11096 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11097 <bp-asm.h>.
11098 (__mpn_rshift): Don't use BP_SYM.
11099 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11100 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11101 <bp-sym.h> and <bp-asm.h>.
11102 (__sigsetjmp): Don't use BP_SYM.
11103 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11104 (L(start_addresses)): Don't use BP_SYM.
11105 (_start): Likewise.
11106 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11107 <bp-asm.h>.
11108 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11109 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11110 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11111 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11112 <bp-asm.h>.
11113 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11114 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11115 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11116 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11117 <bp-asm.h>.
11118 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11119 comments.
11120 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11121 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11122 <bp-asm.h>.
11123 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11124 FIXME comments.
11125 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11126 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11127 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11128 <bp-asm.h>.
11129 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11130 comment.
11131 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11132 and <bp-asm.h>.
11133 (strncmp): Don't use BP_SYM,
11134 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11135 <bp-asm.h>.
11136 (__mpn_sub_n): Don't use BP_SYM.
11137 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11138 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11139 and <bp-asm.h>.
11140 (__mpn_submul_1): Don't use BP_SYM.
11141 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11143 <bp-sym.h> and <bp-asm.h>.
11144 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11146 <bp-sym.h> and <bp-asm.h>.
11147 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11148 comment.
11149
8d19fe64
SP
111502013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11151
11152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11153 Use ZK to minimize writes to Z.
11154 (sub_magnitudes): Simplify code a bit.
11155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11156 Use ZK to minimize writes to Z.
11157 (sub_magnitudes): Simplify code a bit.
11158
85bd816a
RM
111592013-02-27 Roland McGrath <roland@hack.frob.com>
11160
11161 * csu/gmon-start.c: Add special exception to license text.
11162
b5977bf2
RH
111632013-02-27 Richard Henderson <rth@redhat.com>
11164
11165 * scripts/config.guess: Update from config.git.
11166 * scripts/config.sub: Likewise.
11167
11d6e2f2
SP
111682013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11169
09c14ed2
SP
11170 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11171
a688864e
SP
11172 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11173
6295157a
SP
11174 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11175
b8de2202
SP
11176 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11177
11d6e2f2
SP
11178 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11179
7e80ddb8
RM
111802013-02-26 Roland McGrath <roland@hack.frob.com>
11181
11182 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11183 [$(build-shared = yes].
7e80ddb8 11184
7da6d9ed
SP
111852013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11186
45f05884
SP
11187 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11188 (__mul): Reduce iterations for calculating mantissa.
11189
2236d359
SP
11190 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11191 MPTWO.
11192 (__mpranred): Likewise.
11193
7da6d9ed
SP
11194 [BZ #15160]
11195 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11196 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11197
b7688c42
PE
111982013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11199
11200 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11201 Define __attribute__.
11202
53a5c423
SP
112032013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11204
11205 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11206 unused.
11207 * posix/regex_internal.h (__attribute): Remove.
11208 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11209 (re_string_context_at): Likewise.
11210 (bitset_not): Use __attribute__ and mark function as possibly
11211 unused.
11212 (bitset_merge): Likewise.
11213 (bitset_mask): Likewise.
11214 (re_string_char_size_at): Likewise.
11215 (re_string_wchar_at): Likewise.
11216 (re_string_elem_size_at): Likewise.
11217
60f5a8b5
SP
112182013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11219
2a983a2e
SP
11220 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11221 code.
11222 (cc32): Likewise.
11223
e69804d1
SP
11224 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11225 (__acr): Likewise.
11226 (__cpy): Likewise.
11227 (norm): Likewise.
11228 (denorm): Likewise.
11229 (__dbl_mp): Likewise.
11230 (add_magnitudes): Likewise.
11231 (sub_magnitudes): Likewise.
11232 (__mul): Likewise.
11233 (__inv): Likewise.
11234
2f22a1e8
SP
11235 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11236 style.
11237
8930ddc7
SP
11238 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11239 style.
11240
dc60cb11
SP
11241 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11242 code.
11243
60f5a8b5
SP
11244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11245 up changes with default code.
11246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11247 Likewise.
11248
b4d1fd33
AM
112492013-02-24 Allan McRae <allan@archlinux.org>
11250
faf6f8bc
AM
11251 * manual/socket.texi (The Internet Namespace): Order menu items
11252 to match that in the file.
11253
b4d1fd33
AM
11254 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11255 node listing of the info page menu.
11256
2366713d
JM
112572013-02-21 Joseph Myers <joseph@codesourcery.com>
11258
11259 [BZ #13550]
11260 * sysdeps/i386/bp-asm.h: Remove file.
11261 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11262 (PARMS): Do not use macros from bp-asm.h.
11263 (S1): Likewise.
11264 (S2): Likewise.
11265 (SIZE): Likewise.
11266 (__mpn_add_n): Do not use BP_SYM
11267 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11268 "bp-asm.h".
11269 (PARMS): Do not use macros from bp-asm.h.
11270 (S1): Likewise.
11271 (SIZE): Likewise.
11272 (__mpn_addmul_1): Do not use BP_SYM
11273 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11274 "bp-asm.h".
11275 (PARMS): Do not use macros from bp-asm.h.
11276 (SIGMSK): Likewise.
11277 (_setjmp): Likewise. Do not use BP_SYM.
11278 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11279 "bp-asm.h".
11280 (PARMS): Do not use macros from bp-asm.h.
11281 (SIGMSK): Likewise.
11282 (setjmp): Likewise. Do not use BP_SYM.
11283 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11284 "bp-asm.h".
11285 (PARMS): Do not use macros from bp-asm.h.
11286 (__frexp): Do not use BP_SYM.
11287 (frexp): Likewise.
11288 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11289 "bp-asm.h".
11290 (PARMS): Do not use macros from bp-asm.h.
11291 (__frexpf): Do not use BP_SYM.
11292 (frexpf): Likewise.
11293 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11294 "bp-asm.h".
11295 (PARMS): Do not use macros from bp-asm.h.
11296 (__frexpl): Do not use BP_SYM.
11297 (frexpl): Likewise.
11298 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11299 "bp-asm.h".
11300 (PARMS): Do not use macros from bp-asm.h.
11301 (__remquo): Do not use BP_SYM.
11302 (remquo): Likewise.
11303 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11304 "bp-asm.h".
11305 (PARMS): Do not use macros from bp-asm.h.
11306 (__remquof): Do not use BP_SYM.
11307 (remquof): Likewise.
11308 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11309 "bp-asm.h".
11310 (PARMS): Do not use macros from bp-asm.h.
11311 (__remquol): Do not use BP_SYM.
11312 (remquol): Likewise.
11313 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11314 "bp-asm.h".
11315 (PARMS): Do not use macros from bp-asm.h.
11316 (DEST): Likewise.
11317 (SRC): Likewise.
11318 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11319 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11320 "bp-asm.h".
11321 (PARMS): Do not use macros from bp-asm.h.
11322 (strlen): Do not use BP_SYM.
11323 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11324 "bp-asm.h".
11325 (PARMS): Do not use macros from bp-asm.h.
11326 (S1): Likewise.
11327 (S2): Likewise.
11328 (SIZE): Likewise.
11329 (__mpn_add_n): Do not use BP_SYM.
11330 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11331 "bp-asm.h".
11332 (PARMS): Do not use macros from bp-asm.h.
11333 (S1): Likewise.
11334 (SIZE): Likewise.
11335 (__mpn_addmul_1): Do not use BP_SYM.
11336 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11337 weak_alias.
11338 (bzero): Likewise.
11339 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11340 "bp-asm.h".
11341 (PARMS): Do not use macros from bp-asm.h.
11342 (S): Likewise.
11343 (SIZE): Likewise.
11344 (__mpn_lshift): Do not use BP_SYM.
11345 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11346 "bp-asm.h".
11347 (PARMS): Do not use macros from bp-asm.h.
11348 (DEST): Likewise.
11349 (SRC): Likewise.
11350 (LEN): Likewise.
11351 (memcpy): Likewise. Do not use BP_SYM.
11352 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11353 libc_hidden_def and weak_alias.
11354 (mempcpy): Do not use BP_SYM in weak_alias.
11355 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11356 "bp-asm.h".
11357 (PARMS): Do not use macros from bp-asm.h.
11358 (DEST): Likewise.
11359 (LEN): Likewise.
11360 [!BZERO_P] (CHR): Likewise.
11361 (memset): Likewise. Do not use BP_SYM.
11362 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11363 "bp-asm.h".
11364 (PARMS): Do not use macros from bp-asm.h.
11365 (S1): Likewise.
11366 (SIZE): Likewise.
11367 (__mpn_mul_1): Do not use BP_SYM.
11368 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11369 "bp-asm.h".
11370 (PARMS): Do not use macros from bp-asm.h.
11371 (S): Likewise.
11372 (SIZE): Likewise.
11373 (__mpn_rshift): Do not use BP_SYM.
11374 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11375 "bp-asm.h".
11376 (PARMS): Do not use macros from bp-asm.h.
11377 (STR): Likewise.
11378 (CHR): Likewise.
11379 (strchr): Likewise. Do not use BP_SYM.
11380 (index): Do not use BP_SYM in weak_alias.
11381 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11382 "bp-asm.h".
11383 (PARMS): Do not use macros from bp-asm.h.
11384 (DEST): Likewise.
11385 (SRC): Likewise.
11386 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11387 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11388 "bp-asm.h".
11389 (PARMS): Do not use macros from bp-asm.h.
11390 (strlen): Do not use BP_SYM.
11391 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11392 "bp-asm.h".
11393 (PARMS): Do not use macros from bp-asm.h.
11394 (S1): Likewise.
11395 (S2): Likewise.
11396 (SIZE): Likewise.
11397 (__mpn_sub_n): Do not use BP_SYM.
11398 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11399 "bp-asm.h".
11400 (PARMS): Do not use macros from bp-asm.h.
11401 (S1): Likewise.
11402 (SIZE): Likewise.
11403 (__mpn_submul_1): Do not use BP_SYM.
11404 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11405 "bp-asm.h".
11406 (PARMS): Do not use macros from bp-asm.h.
11407 (S1): Likewise.
11408 (S2): Likewise.
11409 (SIZE): Likewise.
11410 (__mpn_add_n): Do not use BP_SYM.
11411 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11412 weak_alias.
11413 (bzero): Likewise.
11414 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11415 "bp-asm.h".
11416 (PARMS): Do not use macros from bp-asm.h.
11417 (BLK2): Likewise.
11418 (LEN): Likewise.
11419 (memcmp): Do not use BP_SYM.
11420 (bcmp): Do not use BP_SYM in weak_alias.
11421 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11422 "bp-asm.h".
11423 (PARMS): Do not use macros from bp-asm.h.
11424 (DEST): Likewise.
11425 (SRC): Likewise.
11426 (LEN): Likewise.
11427 (memcpy): Likewise. Do not use BP_SYM.
11428 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11429 "bp-asm.h".
11430 (PARMS): Do not use macros from bp-asm.h.
11431 (DEST): Likewise.
11432 (SRC): Likewise.
11433 (LEN): Likewise.
11434 (memmove): Likewise. Do not use BP_SYM.
11435 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11436 "bp-asm.h".
11437 (PARMS): Do not use macros from bp-asm.h.
11438 (DEST): Likewise.
11439 (SRC): Likewise.
11440 (LEN): Likewise.
11441 (__mempcpy): Likewise. Do not use BP_SYM.
11442 (mempcpy): Do not use BP_SYM in weak_alias.
11443 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11444 "bp-asm.h".
11445 (PARMS): Do not use macros from bp-asm.h.
11446 (DEST): Likewise.
11447 (LEN): Likewise.
11448 [!BZERO_P] (CHR): Likewise.
11449 (memset): Likewise. Do not use BP_SYM.
11450 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11451 "bp-asm.h".
11452 (PARMS): Do not use macros from bp-asm.h.
11453 (STR2): Likewise.
11454 (strcmp): Do not use BP_SYM.
11455 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11456 "bp-asm.h".
11457 (PARMS): Do not use macros from bp-asm.h.
11458 (STR): Likewise.
11459 (DELIM): Likewise.
11460 [USE_AS_STRTOK_R] (SAVE): Likewise.
11461 (FUNCTION): Likewise. Do not use BP_SYM.
11462 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11463 aliases.
11464 (strtok_r): Likewise.
11465 (__GI___strtok_r): Likewise.
11466 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11467 (PARMS): Do not use macros from bp-asm.h.
11468 (S): Likewise.
11469 (SIZE): Likewise.
11470 (__mpn_lshift): Do not use BP_SYM.
11471 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11472 (PARMS): Do not use macros from bp-asm.h.
11473 (STR): Likewise.
11474 (CHR): Likewise.
11475 (__memchr): Do not use BP_SYM.
11476 (memchr): Do not use BP_SYM in weak_alias.
11477 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11478 (PARMS): Do not use macros from bp-asm.h.
11479 (BLK2): Likewise.
11480 (LEN): Likewise.
11481 (memcmp): Do not use BP_SYM.
11482 (bcmp): Do not use BP_SYM in weak_alias.
11483 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11484 (PARMS): Do not use macros from bp-asm.h.
11485 (S1): Likewise.
11486 (SIZE): Likewise.
11487 (__mpn_mul_1): Do not use BP_SYM.
11488 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11489 "bp-asm.h".
11490 (PARMS): Do not use macros from bp-asm.h.
11491 (STR): Likewise.
11492 (CHR): Likewise.
11493 (__rawmemchr): Do not use BP_SYM.
11494 (rawmemchr): Do not use BP_SYM in weak_alias.
11495 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11496 (PARMS): Do not use macros from bp-asm.h.
11497 (S): Likewise.
11498 (SIZE): Likewise.
11499 (__mpn_rshift): Do not use BP_SYM.
11500 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11501 (PARMS): Do not use macros from bp-asm.h.
11502 (SIGMSK): Likewise.
11503 (__sigsetjmp): Likewise. Do not use BP_SYM.
11504 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11505 (_start): Do not use BP_SYM.
11506 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11507 (PARMS): Do not use macros from bp-asm.h.
11508 (DEST): Likewise.
11509 (SRC): Likewise.
11510 (__stpcpy): Likewise. Do not use BP_SYM.
11511 (stpcpy): Do not use BP_SYM in weak_alias.
11512 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11513 "bp-asm.h".
11514 (PARMS): Do not use macros from bp-asm.h.
11515 (DEST): Likewise.
11516 (SRC): Likewise.
11517 (LEN): Likewise.
11518 (__stpncpy): Likewise. Do not use BP_SYM.
11519 (stpncpy): Do not use BP_SYM in weak_alias.
11520 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11521 (PARMS): Do not use macros from bp-asm.h.
11522 (STR): Likewise.
11523 (CHR): Likewise.
11524 (strchr): Likewise. Do not use BP_SYM.
11525 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11526 "bp-asm.h".
11527 (PARMS): Do not use macros from bp-asm.h.
11528 (STR): Likewise.
11529 (CHR): Likewise.
11530 (__strchrnul): Likewise. Do not use BP_SYM.
11531 (strchrnul): Do not use BP_SYM in weak_alias.
11532 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11533 "bp-asm.h".
11534 (PARMS): Do not use macros from bp-asm.h.
11535 (STOP): Likewise.
11536 (strcspn): Do not use BP_SYM.
11537 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11538 "bp-asm.h".
11539 (PARMS): Do not use macros from bp-asm.h.
11540 (STR): Likewise.
11541 (STOP): Likewise.
11542 (strpbrk): Likewise. Do not use BP_SYM.
11543 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11544 "bp-asm.h".
11545 (PARMS): Do not use macros from bp-asm.h.
11546 (STR): Likewise.
11547 (CHR): Likewise.
11548 (strrchr): Likewise. Do not use BP_SYM.
11549 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11550 (PARMS): Do not use macros from bp-asm.h.
11551 (SKIP): Likewise.
11552 (strspn): Do not use BP_SYM.
11553 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11554 (PARMS): Do not use macros from bp-asm.h.
11555 (STR): Likewise.
11556 (DELIM): Likewise.
11557 (SAVE): Likewise.
11558 (FUNCTION): Likewise. Do not use BP_SYM.
11559 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11560 aliases.
11561 (strtok_r): Likewise.
11562 (__GI___strtok_r): Likewise.
11563 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11564 (PARMS): Do not use macros from bp-asm.h.
11565 (S1): Likewise.
11566 (S2): Likewise.
11567 (SIZE): Likewise.
11568 (__mpn_sub_n): Do not use BP_SYM.
11569 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11570 "bp-asm.h".
11571 (PARMS): Do not use macros from bp-asm.h.
11572 (S1): Likewise.
11573 (SIZE): Likewise.
11574 (__mpn_submul_1): Do not use BP_SYM.
11575 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11576 <bp-sym.h>.
11577 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11578 and <bp-asm.h>.
11579 (PARMS): Do not use macros from bp-asm.h.
11580 (FLAGS): Likewise.
11581 (PTID): Likewise.
11582 (TLS): Likewise.
11583 (CTID): Likewise.
11584 (__clone): Do not use BP_SYM.
11585 (clone): Do not use BP_SYM in weak_alias.
11586 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11587 and <bp-asm.h>.
11588 (PARMS): Do not use macros from bp-asm.h.
11589 (LEN): Likewise.
11590 (__mmap64): Do not use BP_SYM.
11591 (mmap64): Do not use BP_SYM in weak_alias.
11592 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11593 <bp-sym.h> and <bp-asm.h>.
11594 (PARMS): Do not use macros from bp-asm.h.
11595 (__posix_fadvise64_l64): Do not use BP_SYM.
11596 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11597 (PARMS): Do not use macros from bp-asm.h.
11598 (NSOPS): Likewise.
11599 (semtimedop): Do not use BP_SYM.
11600 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11601 and <bp-asm.h>.
11602
582a3cff
AM
116032013-02-21 Allan McRae <allan@archlinux.org>
11604
11605 * manual/message.texi (Charset conversion in gettext):
11606 Move @end statement to beginning of line.
11607
bab8a695
SP
116082013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11609
80945231
SP
11610 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11611 static.
11612 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11613 Likewise.
11614
bab8a695
SP
11615 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11616 (denorm): Likewise.
11617 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11619
e21d7aa7
AK
116202013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11621
11622 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11623 tail-call to the resolved function if pltexit isn't needed.
11624
4c7a4263
SP
116252013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11626
11627 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11628 or Y being zero as being unlikely.
11629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11630 Likewise.
11631
41f49342
CD
116322013-02-20 Carlos O'Donell <carlos@redhat.com>
11633
11634 * manual/nss.texi (System Databases and Name Service Switch):
11635 Remove frobnicate @pxref.
11636
50022a93
TS
116372013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11638
11639 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11640 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11641
08cbd996
PM
116422013-02-20 Petr Machata <pmachata@redhat.com>
11643
11644 * elf/elf.h (R_ARM_TARGET1): New macro.
11645 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11646 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11647 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11648 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11649 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11650 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11651 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11652 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11653 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11654 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11655 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11656 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11657 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11658 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11659 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11660 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11661 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11662 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11663 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11664 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11665 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11666 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11667 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11668 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11669 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11670 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11671 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11672 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11673 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11674 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11675 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11676 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11677 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11678 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11679 (R_ARM_THM_GOT_BREL12): Likewise.
11680 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11681 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11682 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11683 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11684 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11685 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11686 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11687 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11688 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11689
c7b275d6
TS
116902013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11691
11692 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11693 __attribute_used__ to __attribute__ ((unused)).
11694
20cd7fb3
SP
116952013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11696
11697 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11698 powerpc mpa.c.
11699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11700 comment formatting.
11701 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11702
92945b52
JM
117032013-02-19 Joseph Myers <joseph@codesourcery.com>
11704
11705 [BZ #13550]
11706 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11707 Remove macro.
11708 (ENTER): Remove both macro definitions.
11709 (LEAVE): Likewise.
11710 (CHECK_BOUNDS_LOW): Likewise.
11711 (CHECK_BOUNDS_HIGH): Likewise.
11712 (CHECK_BOUNDS_BOTH): Likewise.
11713 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11714 (RETURN_BOUNDED_POINTER): Likewise.
11715 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11716 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11717 (POP_ERRNO_LOCATION_RETURN): Likewise.
11718 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11719 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11720 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11721 macros.
11722 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11723 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11724 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11725 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11726 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11727 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11728 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11729 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11730 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11731 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11732 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11733 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11734 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11735 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11736 removed macros.
11737 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11738 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11739 macros.
11740 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11741 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11742 * sysdeps/i386/i586/memset.S (memset): Likewise.
11743 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11744 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11745 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11746 macros.
11747 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11748 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11749 Change uses of L(2) to L(out).
11750 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11751 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11752 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11753 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11754 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11755 removed macros.
11756 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11757 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11758 macros.
11759 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11760 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11761 (RETURN): Do not use macro LEAVE.
11762 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11763 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11764 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11765 * sysdeps/i386/i686/memset.S (memset): Likewise.
11766 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11767 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11768 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11769 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11770 Likewise.
11771 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11772 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11773 L(1_2) and L(1_3) into L(1).
11774 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11775 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11776 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11777 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11778 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11779 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11780 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11781 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11782 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11783 macros.
11784 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11785 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11786 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11787 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11788 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11789 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11790 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11791 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11792 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11793 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11794 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11795 * sysdeps/i386/strspn.S (strspn): Likewise.
11796 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11797 conditional code.
11798 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11799 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11800 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11801 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11802 L(1_3) into L(1_1).
11803 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11804 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11805 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11806 macros.
11807 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11808
2389741a
JJ
118092013-02-19 Jakub Jelinek <jakub@redhat.com>
11810
11811 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11812 macro.
11813
2016b3cd
SP
118142013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11815
e4f22324
SP
11816 * math/atest-exp.c (exp_mpn): Remove ROUND.
11817 * math/atest-exp2.c (exp_mpn): Likewise.
11818 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11819
2016b3cd
SP
11820 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11821 * stdlib/tst-tls-atexit-lib.c: Likewise.
11822 * stdlib/tst-tls-atexit.c: Likewise.
11823
4be9b544
MF
118242013-02-18 Mike Frysinger <vapier@gentoo.org>
11825
11826 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11827 and __attribute_alloc_size__.
11828
2f62b9ee
MF
118292013-02-18 Mike Frysinger <vapier@gentoo.org>
11830
11831 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11832 __attribute_alloc_size__.
11833 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11834 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11835
6ff444c4
MF
118362013-02-18 Mike Frysinger <vapier@gentoo.org>
11837
11838 * include/programs/xmalloc.h: New file.
11839 * catgets/gencat.c: Include it.
11840 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11841 * elf/pldd.c: Likewise.
11842 * iconv/iconv_charmap.c: Likewise.
11843 * iconv/iconvconfig.c: Likewise.
11844 * iconv/strtab.c: Likewise.
11845 * locale/programs/locale.c: Likewise.
11846 * locale/programs/localedef.h: Likewise.
11847 * locale/programs/simple-hash.c: Likewise.
11848 * nscd/nscd.h: Likewise.
11849 * nss/makedb.c: Likewise.
11850 * sysdeps/generic/ldconfig.h: Likewise.
11851
be179c8a
SP
118522013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11853
ba384f6e
SP
11854 * Versions.def: Add GLIBC_2.18.
11855 * include/link.h (struct link_map): New member l_tls_dtor_count.
11856 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11857 (__call_tls_dtors): Likewise.
11858 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11859 __cxa_thread_atexit_impl.
11860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11861 Likewise.
11862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11863 Likewise.
11864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11865 Likewise.
11866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11867 Likewise.
11868 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11870 Likewise.
11871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11872 Likewise.
11873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11875 Likewise.
11876 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11877 (tests): Add test case tst-tls-atexit.
11878 (modules-names): Add shared library for tst-tls-atexit.
85891aca 11879 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
11880 (GLIBC_PRIVATE): Add __call_tls_dtors.
11881 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11882 for libstdc++.
11883 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11884 * stdlib/tst-tls-atexit.c: New test case.
11885 * stdlib/tst-tls-atexit-lib.c: New test case.
11886
ffaa74cf 11887 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 11888
be179c8a
SP
11889 * elf/Versions (ld): Add _dl_find_dso_for_object.
11890 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11891 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11892 (dl_open_worker): Use _dl_find_dso_for_object.
11893 * elf/dl-sym.c (do_sym): Likewise.
11894 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11895
f78b5caa
AK
118962013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11897
11898 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11899 Syntactic changes only.
11900 (_dl_runtime_profile): Do a tail-call to the resolved function.
11901
29691210
JM
119022013-02-17 Joseph Myers <joseph@codesourcery.com>
11903
11904 [BZ #13550]
11905 * sysdeps/x86_64/bp-asm.h: Remove file.
11906 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11907 <bp-sym.h> and <bp-asm.h>.
11908 (__clone): Do not use BP_SYM.
11909 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11910 <bp-sym.h> and <bp-asm.h>.
11911 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11912 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11913 "bp-asm.h".
11914 (_setjmp): Do not use BP_SYM.
11915 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11916 "bp-asm.h".
11917 (setjmp): Do not use BP_SYM.
11918 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11919 libc_hidden_def.
11920 (mempcpy): Do not use BP_SYM in weak_alias.
11921 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11922 "bp-asm.h".
11923 (strchr): Do not use BP_SYM.
11924 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11925 "bp-asm.h".
11926 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11927 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11928 (_start): Do not use BP_SYM.
11929 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11930 "bp-asm.h".
11931 (strcat): Do not use BP_SYM.
11932 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11933 "bp-asm.h".
11934 (STRCMP): Do not use BP_SYM.
11935 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11936 "bp-asm.h".
11937 (STRCPY): Do not use BP_SYM.
11938 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11939 "bp-asm.h".
11940 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11941 "bp-asm.h".
11942 (FUNCTION): Do not use BP_SYM.
11943 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11944 weak_alias.
11945 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11946
f238fd19
AJ
119472013-02-17 Andreas Jaeger <aj@suse.de>
11948
11949 * time/Versions: Sort entries.
11950 * string/Versions: Likewise.
11951 * resolv/Versions: Likewise.
11952 * posix/Versions: Likewise.
11953 * iconv/Versions: Likewise.
11954 * elf/Versions: Likewise.
11955 * wcsmbs/Versions: Likewise.
11956
bd07f23c 119572013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 11958
22af19f9
SP
11959 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11960 loop termination condition.
11961
4709fe76
SP
11962 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11963 variable to calculate EZ.
11964 (__sqr): Likewise.
2d0e0f29
SP
11965
11966 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11967 the lower precision input.
11968
daaa7713
JM
119692013-02-15 Joseph Myers <joseph@codesourcery.com>
11970
11971 [BZ #13550]
11972 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11973 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11974 (run-via-rtld-prefix): Do not handle %-bp tests.
11975 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11976 (all-object-suffixes): Remove .ob.
11977 (bppfx): Remove variable.
11978 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11979 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11980 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11981 [$(build-bounded) = yes] (libtype.ob): Likewise.
11982 * Makerules (elide-routines.ob): Remove variable.
11983 (do-tests-clean): Do not handle *-bp.out.
11984 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11985 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11986 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11987 (tests): Do not include $(tests-bp.out).
11988 (xtests): Do not include $(xtests-bp.out).
11989 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11990 [$(build-bounded) = yes] ($(addprefix
11991 $(objpfx),$(binaries-bounded))): Remove rule.
11992 ($(objpfx)%-bp.out): Remove rule.
11993 * config.make.in (build-bounded): Remove variable.
11994 * crypt/Makefile [$(build-bounded) = yes]
11995 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11996 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11997 append to variable.
11998 [$(build-bounded) = yes] (install-lib): Likewise.
11999 [$(build-bounded) = yes] (generated): Likewise.
12000 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12001 Remove rule.
12002 * intl/Makefile [$(build-bounded) = yes]
12003 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12004 * math/Makefile [$(build-bounded) = yes]
12005 ($(tests:%=$(objpfx)%-bp): Likewise.
12006 * misc/Makefile [$(build-bounded) = yes]
12007 ($(objpfx)tst-tsearch-bp): Likewise.
12008 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12009 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12010 Remove dependency.
12011 * string/Makefile (o-objects.ob): Remove variable.
12012 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12013 (CFLAGS-.ob): Remove variable.
12014 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12015 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12016 both definitions of variable.
12017 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12018 (ASFLAGS-.ob): Remove variable.
12019
e97ed6dd
JM
120202013-02-14 Joseph Myers <joseph@codesourcery.com>
12021
2bdd4ca6
JM
12022 [BZ #13550]
12023 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12024 Remove __BOUNDED_POINTERS__ from condition.
12025 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12026 * string/bits/string2.h [!__NO_STRING_INLINES &&
12027 !__BOUNDED_POINTERS__]: Likewise.
12028 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12029 Likewise.
12030 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12031 Remove conditional code.
12032 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12033 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12034 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12035 condition.
12036
e97ed6dd
JM
12037 [BZ #13550]
12038 * csu/libc-start.c: Do not include <bp-sym.h>.
12039 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12040 * elf/dl-open.c: Do not include <bp-sym.h>.
12041 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12042 * math/fegetenv.c: Do not include <bp-sym.h>.
12043 (fegetenv): Do not use BP_SYM in versioned symbols.
12044 * nptl/sysdeps/pthread/bits/libc-lockP.h
12045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12046 <bp-sym.h>.
12047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12048 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12050 (__pthread_mutex_destroy): Likewise.
12051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12052 (__pthread_mutex_lock): Likewise.
12053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12054 (__pthread_mutex_trylock): Likewise.
12055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12056 (__pthread_mutex_unlock): Likewise.
12057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12058 (__pthread_mutexattr_init): Likewise.
12059 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12060 (__pthread_mutexattr_destroy): Likewise.
12061 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12062 (__pthread_mutexattr_settype): Likewise.
12063 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12064 (__pthread_rwlock_init): Likewise.
12065 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12066 (__pthread_rwlock_destroy): Likewise.
12067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12068 (__pthread_rwlock_rdlock): Likewise.
12069 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12070 (__pthread_rwlock_tryrdlock): Likewise.
12071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12072 (__pthread_rwlock_wrlock): Likewise.
12073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12074 (__pthread_rwlock_trywrlock): Likewise.
12075 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12076 (__pthread_rwlock_unlock): Likewise.
12077 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12078 (__pthread_key_create): Likewise.
12079 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12080 (__pthread_setspecific): Likewise.
12081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12082 (__pthread_getspecific): Likewise.
12083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12084 Likewise.
12085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12086 (_pthread_cleanup_push_defer): Likewise.
12087 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12088 (_pthread_cleanup_pop_restore): Likewise.
12089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12090 (pthread_setcancelstate): Likewise.
12091 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12092 <bp-sym.h>.
12093 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12094 (memchr): Do not use BP_SYM in weak_alias.
12095 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12096 (fegetenv): Do not use BP_SYM in versioned symbols.
12097 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12098 (fesetenv): Do not use BP_SYM in versioned symbols.
12099 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12100 (feupdateenv): Do not use BP_SYM in versioned symbols.
12101 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12102 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12103 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12104 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12105 (open64): Do not use BP_SYM in weak_alias.
12106 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12107 (fegetenv): Do not use BP_SYM in versioned symbols.
12108 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12109 (fesetenv): Do not use BP_SYM in versioned symbols.
12110 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12111 (feupdateenv): Do not use BP_SYM in versioned symbols.
12112 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12113 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12114 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12115 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12116 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12117 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12118 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12119 <bp-sym.h>.
12120 (__libc_start_main): Do not use BP_SYM.
12121
d6752ccd
SP
121222013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12123
cb57ce60
SP
12124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12125 redundant return line.
12126 (norm): Likewise.
12127 (denorm): Likewise.
12128 (dbl_mp): Likewise.
12129 (sub_magnitudes): Likewise.
12130 (__add): Likewise.
12131 (__sub): Likewise.
12132 (__mul): Likewise.
12133 (__inv): Likewise.
12134 (__dvd): Likewise.
12135 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12136 (norm): Likewise.
12137 (denorm): Likewise.
12138 (dbl_mp): Likewise.
12139 (sub_magnitudes): Likewise.
12140 (__add): Likewise.
12141 (__sub): Likewise.
12142 (__mul): Likewise.
12143 (__inv): Likewise.
12144 (__dvd): Likewise.
12145
f414520d
SP
12146 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12147 instead of __mul.
12148 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12149 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12150 (cc32): Likewise.
12151
d6752ccd
SP
12152 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12153 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12154 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12155 of __mul for squares.
12156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12157 function
12158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12159 Likewise.
12160 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12161 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12162
70d9946a
JM
121632013-02-13 Joseph Myers <joseph@codesourcery.com>
12164
12165 [BZ #13550]
12166 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12167 code.
12168 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12169 prototype or function definition. Rename ubp_* variables and
12170 parameters. Remove argv definitions conditional on
12171 [__BOUNDED_POINTERS__].
12172 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12173 * elf/dl-runtime.c (_dl_fixup): Likewise.
12174 * include/set-hooks.h (RUN_HOOK): Likewise.
12175 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12176 definition.
12177 * string/strcpy.c (strcpy): Do not use __unbounded.
12178 * sysdeps/generic/frame.h (struct layout): Likewise.
12179 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12180 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12181 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12182 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12183 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12184 (__backtrace): Likewise.
12185 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12186 use __ptrvalue.
12187 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12188 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12189 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12190 Likewise.
12191 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12192 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12193 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12194 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12195 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12196 Do not use __unbounded.
12197 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12198 Rename __unboundedrlimits parameter to rlimits in prototype.
12199 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12200 Do not use __unbounded.
12201 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12202 not use __ptrvalue.
12203 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12204 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12205 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12206 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12207 __ptrvalue or __unbounded.
12208 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12209 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12210 use __unbounded.
12211 (__new_msgctl): Do not use __ptrvalue.
12212 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12213 __unbounded.
12214 (__libc_msgrcv): Do not use __ptrvalue.
12215 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12216 startup_info): Do not use __unbounded.
12217 (__libc_start_main): Likewise. Rename ubp_* variables and
12218 parameters. Remove argv definitions conditional on
12219 [__BOUNDED_POINTERS__].
12220 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12221 __ptrvalue.
12222 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12223 use __unbounded.
12224 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12225 or __ptrvalue.
12226 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12227 use __unbounded.
12228 (__new_shmctl): Do not use __ptrvalue.
12229 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12230 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12231 Likewise.
12232 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12233 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12234 (__libc_sigaction): Likewise.
12235 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12236 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12237 Likewise.
12238 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12239
cc7834d6
OB
122402013-02-13 Ondřej Bílka <neleai@seznam.cz>
12241
ffb1ec7b 12242 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
12243
12244 * string/mempcpy.c: Implement by calling memcpy.
12245
bdf02814
SP
122462013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12247
c2af38aa
SP
12248 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12249
4e92d59e
SP
12250 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12251 evaluation.
12252
909279a5
SP
12253 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12254 values in the mantissa.
12255
bdf02814
SP
12256 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12257 minimize writes to Z.
12258 (sub_magnitudes): Simplify code a bit.
12259
cd525923
RM
122602013-02-12 Roland McGrath <roland@hack.frob.com>
12261
12262 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12263 from the message. The linker prefixes all warnings with that already.
12264
7e2f0d2d
AS
122652013-02-12 Andreas Schwab <schwab@suse.de>
12266
a445af0b
AS
12267 [BZ #15078]
12268 * posix/regexec.c (extend_buffers): Add parameter min_len.
12269 (check_matching): Pass minimum needed length.
12270 (clean_state_log_if_needed): Likewise.
12271 (get_subexp): Likewise.
12272 * posix/Makefile (tests): Add bug-regex34.
12273 (bug-regex34-ENV): Define.
12274 * posix/bug-regex34.c: New file.
12275
7e2f0d2d
AS
12276 [BZ #11561]
12277 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12278 elements compare against the byte sequence of it, not its name.
12279 * posix/Makefile (tests): Add bug-regex35.
12280 (bug-regex35-ENV): Define.
12281 * posix/bug-regex35.c: New file.
12282
a175b684
TV
122832013-02-11 Tom de Vries <tom@codesourcery.com>
12284
12285 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12286 comment.
12287 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12288 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12289 (CHECK_EOL): Add undef.
12290
310998fe 122912013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
12292
12293 * bits/stdlib-bsearch.h: New file.
12294 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 12295 * stdlib/stdlib.h: Likewise.
41eda41d 12296
8ded91fb
RM
122972013-02-11 Roland McGrath <roland@hack.frob.com>
12298
12299 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12300 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12301 declaration.
12302 * manual/search.texi (Array Search Function): Add missing const in
12303 lfind prototype.
12304 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12305 declaration to use rlim_t.
12306 (Basic Scheduling Functions): Remove erroneous const from
12307 sched_getparam prototype. Remove erroneous * from
12308 sched_get_priority_max and sched_get_priority_min prototypes.
12309 (Resource Usage): Fix summary @comment on vtimes to refer to
12310 sys/vtimes.h rather than vtimes.h.
12311 Add missing *s in vtimes prototype.
12312 (Limits on Resources): Fix ulimit prototype to return long int.
12313 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12314 prototypes to use long int rather than double.
12315 (BSD Random): Fix initstate and setstate to use char *, not void *.
12316 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12317 prototype to make second argument 'struct aiocb64 *const[]'.
12318 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12319 (Status of AIO Operations): Remove erroneous const in aio_return and
12320 aio_return64 prototypes.
12321 (Synchronizing I/O): Fix sync prototype to return void.
12322 * manual/startup.texi (Suboptions): Remove an erroneous const in
12323 getsubopt prototype.
12324 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12325 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12326 use size_t rather than int.
12327 (Scanning All Users): Likewise for getpwent_r.
12328 (Setting Groups): Add missing const to setgroups prototype.
12329 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12330 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12331 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12332 'const void *' rather than 'const char *'.
12333 (Host Address Functions): Likewise for inet_ntop.
12334 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12335 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12336 ssize_t for return value.
12337 (Sending Data): Likewise for send, sendto, sendmsg.
12338 (Socket Option Functions): Add a missing const in setsockopt prototype.
12339 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12340 use wchar_t for the argument.
12341 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12342 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12343 take no arguments.
12344 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12345 double/float/long double for second argument.
12346 Fix return types of significand, significandf, significandl.
12347 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12348 argument in fchmod prototype.
12349 (File Owner): Use uid_t and gid_t in fchown prototype.
12350 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12351 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12352 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12353 use 'const struct dirent **' as argument types to CMP function pointer
12354 argument.
12355 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12356 (File Times): Fix summary magic @comment for struct utimbuf and utime
12357 to refer to utime.h, not time.h.
12358 * manual/string.texi (Argz Functions): Add missing const in
12359 argz_extract and argz_next prototypes.
12360 (Finding Tokens in a String): Likewise for basename.
12361 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12362 (Copying and Concatenation): Fix typo in wmemmove prototype.
12363 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12364 (Signal Stack): Remove erroneous const in sigstack prototype.
12365 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12366 prototype.
12367 (Simple Calendar Time): Likewise for stime.
12368 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12369 prototype.
12370 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12371 say sys/sysctl.h instead.
12372 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12373 and vsyslog prototypes.
12374
fe77fe6d
TV
123752013-02-11 Tom de Vries <tom@codesourcery.com>
12376
12377 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12378 Remove.
12379
3a09b620
RM
123802013-02-11 Roland McGrath <roland@hack.frob.com>
12381
12382 * misc/sys/mman.h: Fix typo in mremap comment.
12383
550a0b89
RM
123842013-02-08 Roland McGrath <roland@hack.frob.com>
12385
12386 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12387 the '\0' terminator.
12388
a2da1673
JM
123892013-02-08 Joseph Myers <joseph@codesourcery.com>
12390
12391 [BZ #13550]
12392 * debug/segfault.c: Don't include <bp-checks.h>.
12393 * sysdeps/generic/bp-checks.h: Remove file.
12394 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12395 (__GETDENTS): Don't use CHECK_N.
12396 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12397 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12398 (__getgroups): Don't use CHECK_N.
12399 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12400 (setgroups): Don't use CHECK_N.
12401 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12402 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12403 (__libc_msgrcv): Don't use CHECK_N.
12404 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12405 (__libc_msgsnd): Don't use CHECK_N.
12406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12407 <bp-checks.h>.
12408 (__libc_pread): Don't use CHECK_N.
12409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12410 include <bp-checks.h>.
12411 (__libc_pread64): Don't use CHECK_N.
12412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12413 include <bp-checks.h>.
12414 (__libc_pwrite): Don't use CHECK_N.
12415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12416 include <bp-checks.h>.
12417 (__libc_pwrite64): Don't use CHECK_N.
12418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12419 <bp-checks.h>.
12420 (__libc_pread): Don't use CHECK_N.
12421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12422 include <bp-checks.h>.
12423 (__libc_pread64): Don't use CHECK_N.
12424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12425 include <bp-checks.h>.
12426 (__libc_pwrite): Don't use CHECK_N.
12427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12428 include <bp-checks.h>.
12429 (__libc_pwrite64): Don't use CHECK_N.
12430 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12431 (do_pread): Don't use CHECK_N.
12432 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12433 (do_pread64): Don't use CHECK_N.
12434 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12435 (do_pwrite): Don't use CHECK_N.
12436 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12437 (do_pwrite64): Don't use CHECK_N.
12438 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12439 (__libc_readv): Don't use CHECK_N.
12440 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12441 (semop): Don't use CHECK_N.
12442 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12443 <bp-checks.h>.
12444 (semtimedop): Don't use CHECK_N.
12445 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12446 (__libc_pread): Don't use CHECK_N.
12447 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12448 <bp-checks.h>.
12449 (__libc_pread64): Don't use CHECK_N.
12450 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12451 <bp-checks.h>.
12452 (__libc_pwrite): Don't use CHECK_N.
12453 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12454 <bp-checks.h>.
12455 (__libc_pwrite64): Don't use CHECK_N.
12456 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12457 <bp-checks.h>.
12458 (__libc_msgrcv): Don't use CHECK_N.
12459 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12460 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12461 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12462 (__libc_writev): Don't use CHECK_N.
12463
b84660a8
RM
124642013-02-08 Roland McGrath <roland@hack.frob.com>
12465
7f3e75f8
RM
12466 * string/strcpy.c: Removed unused variable.
12467
b84660a8
RM
12468 * Makeconfig (+sysdep-includes): Define with := rather than =.
12469 Use an existing include/ subdir of each sysdeps dir before it.
12470
471514d3
CD
124712013-02-08 Carlos O'Donell <carlos@redhat.com>
12472
12473 * nscd/connection.c (register_traced_file): Comment function.
12474 [HAVE_INOTIFY] (union __inev): Define.
12475 [HAVE_INOTIFY] (inotify_check_files): New function.
12476 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12477 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12478 clear_db_cache.
12479 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12480
b2d3c3be
CD
124812013-02-08 Carlos O'Donell <carlos@redhat.com>
12482
12483 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12484 loaded if not already and that a failure is permanent.
12485
b39949d2
CD
124862013-02-08 Carlos O'Donell <carlos@redhat.com>
12487
ddacd1db 12488 [BZ #15006]
b39949d2
CD
12489 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12490 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12491
b2c9eff4
JM
124922013-02-08 Joseph Myers <joseph@codesourcery.com>
12493
f3aae3f3
JM
12494 [BZ #13550]
12495 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12496 (CHECK_1_NULL_OK): Likewise.
12497 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12498 (__fxstat): Do not use CHECK_1.
12499 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12500 <bp-checks.h>.
12501 (___fxstat64): Do not use CHECK_1.
12502 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12503 <bp-checks.h>.
12504 (__fxstatat): Do not use CHECK_1.
12505 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12506 <bp-checks.h>.
12507 (__fxstatat64): Do not use CHECK_1.
12508 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12509 <bp-checks.h>.
12510 (__fxstat): Do not use CHECK_1.
12511 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12512 <bp-checks.h>.
12513 (__fxstatat): Do not use CHECK_1.
12514 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12515 <bp-checks.h>.
12516 (__getresgid): Do not use CHECK_1.
12517 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12518 <bp-checks.h>.
12519 (__getresuid): Do not use CHECK_1.
12520 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12521 <bp-checks.h>.
12522 (__lxstat): Do not use CHECK_1.
12523 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12524 <bp-checks.h>.
12525 (__old_msgctl): Do not use CHECK_1.
12526 (__new_msgctl): Likewise.
12527 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12528 <bp-checks.h>.
12529 (__new_setrlimit): Do not use CHECK_1.
12530 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12531 <bp-checks.h>.
12532 (__old_shmctl): Do not use CHECK_1.
12533 (__new_shmctl): Likewise.
12534 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12535 <bp-checks.h>.
12536 (__xstat): Do not use CHECK_1.
12537 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12538 (__lxstat): Do not use CHECK_1.
12539 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12540 <bp-checks.h>.
12541 (___lxstat64): Do not use CHECK_1.
12542 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12543 (__old_msgctl): Do not use CHECK_1.
12544 (__new_msgctl): Likewise.
12545 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12546 <bp-checks.h>.
12547 (__gettimeofday): Do not use CHECK_1.
12548 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12549 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12550 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12551 <bp-checks.h>.
12552 (__gettimeofday): Do not use CHECK_1.
12553 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12554 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12555 (__new_shmctl): Do not use CHECK_1.
12556 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12557 <bp-checks.h>.
12558 (do_sigtimedwait): Do not use CHECK_1.
12559 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12560 <bp-checks.h>.
12561 (do_sigwaitinfo): Do not use CHECK_1.
12562 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12563 <bp-checks.h>.
12564 (msgctl): Do not use CHECK_1.
12565 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12566 <bp-checks.h>.
12567 (shmctl): Do not use CHECK_1.
12568 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12569 (ustat): Do not use CHECK_1.
12570 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12571 <bp-checks.h>.
12572 (__fxstat): Do not use CHECK_1.
12573 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12574 <bp-checks.h>.
12575 (__fxstatat): Do not use CHECK_1.
12576 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12577 <bp-checks.h>.
12578 (__lxstat): Do not use CHECK_1.
12579 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12580 <bp-checks.h>.
12581 (__xstat): Do not use CHECK_1.
12582 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12583 (__xstat): Do not use CHECK_1.
12584 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12585 (___xstat64): Do not use CHECK_1.
12586
b2c9eff4
JM
12587 [BZ #13550]
12588 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12589 definitions.
12590 (CHECK_BOUNDS_HIGH): Likewise.
12591 * string/strcpy.c: Do not include <bp-checks.h>.
12592 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12593
f1d70dad
RM
125942013-02-07 Roland McGrath <roland@hack.frob.com>
12595
12596 * nscd/nscd-client.h (__nscd_drop_map_ref):
12597 Add __attribute__ ((unused)).
12598 * nis/nss-nisplus.h (niserr2nss): Likewise.
12599
12600 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12601 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12602
12603 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12604 Remove inline keyword.
12605 * include/rounding-mode.h (round_away): Likewise.
12606 * libio/wfileops.c (adjust_wide_data): Likewise.
12607 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12608 (__m128i_strloadu_tolower): Likewise.
12609 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12610 (__m128i_strloadu_tolower): Likewise.
12611 * time/mktime.c (ydhms_diff): Likewise.
12612 * locale/elem-hash.h (elem_hash): Likewise.
12613 * locale/setlocale.c (setdata): Likewise.
12614 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12615 (re_string_wchar_at): Likewise.
12616 (bitset_not, bitset_merge, bitset_mask): Likewise.
12617 [!(__GNUC__ > 3)] (inline): Remove macro.
12618 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12619 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12620 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12621 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12622 * string/memcmp.c (memcmp_bytes): Likewise.
12623 * locale/programs/locarchive.c (compute_hashval): Likewise.
12624 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12625 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12626 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12627 * nss/getent.c (print_rpc, print_protocols): Likewise.
12628 (print_passwd, print_group, print_aliases): Likewise.
12629 * nis/nss-nisplus.h (niserr2nss): Likewise.
12630 * nscd/connections.c (restart_p): Likewise.
12631 Change return type to bool.
12632
eab55bfb
RM
126332013-02-05 Roland McGrath <roland@hack.frob.com>
12634
7bd642f5
RM
12635 * Makeconfig (all-Depend-files): Add existing
12636 $(sorted-subdirs:=/Depend) files.
12637 (all-subdirs): Remove nss.
12638 * sysdeps/unix/inet/Subdirs: Add it here instead.
12639 * hesiod/Depend: New file.
12640
573c29b2
RM
12641 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12642 instead of calling alloca.
12643
b2e25af0
RM
12644 * io/lseek.c (__lseek): Rename to __libc_lseek.
12645 Define __lseek as an alias.
12646
eab55bfb
RM
12647 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12648
9a0d1941
CD
126492013-02-04 Carlos O'Donell <carlos@redhat.com>
12650
12651 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12652 else clause and remove check for non-standard endianness.
12653
b83bbec4
DM
126542013-02-04 David S. Miller <davem@davemloft.net>
12655
12656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12657
6277fdab
JM
126582013-02-04 Joseph Myers <joseph@codesourcery.com>
12659
12660 [BZ #13550]
12661 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12662 (__ubp_memchr): Remove prototype.
12663 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12664 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12665 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12666 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12667 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12668 Remove alias.
12669 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12670 (__ubp_memchr): Likewise.
12671 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12672 (__ubp_memchr): Likewise.
12673 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12674 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12675 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12676 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12677 CHECK_STRING.
12678 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12679 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12680 (__getcwd): Do not use CHECK_STRING.
12681 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12682 <bp-checks.h>.
12683 (__real_chown): Do not use CHECK_STRING.
12684 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12685 <bp-checks.h>.
12686 (fchownat): Do not use CHECK_STRING.
12687 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12688 CHECK_STRING.
12689 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12690 <bp-checks.h>.
12691 (__lchown): Do not use CHECK_STRING.
12692 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12693 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12694 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12695 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12697 include <bp-checks.h>.
12698 (truncate64): Do not use CHECK_STRING.
12699 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12700 <bp-checks.h>.
12701 (__real_chown): Do not use CHECK_STRING.
12702 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12703 <bp-checks.h>.
12704 (__lchown): Do not use CHECK_STRING.
12705 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12706 <bp-checks.h>.
12707 (__chown): Do not use CHECK_STRING.
12708 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12709 <bp-checks.h>.
12710 (truncate64): Do not use CHECK_STRING.
12711 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12712 Likewise.
12713 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12714 (__xmknod): Do not use CHECK_STRING.
12715 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12716 <bp-checks.h>.
12717 (__xmknodat): Do not use CHECK_STRING.
12718 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12719 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12720
903ae060
AS
127212013-02-04 Andreas Schwab <schwab@suse.de>
12722
12723 [BZ #14142]
12724 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12725 * include/netdb.h: Likewise for h_errno.
12726 * elf/tst-stackguard1.c: Include <tls.h>.
12727
542f9466
JK
127282013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12729
12730 * elf/link.h (struct link_map): Extend the l_addr comment.
12731 * include/link.h (struct link_map): Likewise.
12732
e782a927
JM
127332013-02-01 Joseph Myers <joseph@codesourcery.com>
12734
12735 [BZ #13550]
12736 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12737 (BOUNDED_1): Remove macro.
12738 * debug/backtrace.c: Don't include <bp-checks.h>.
12739 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12740 (__backtrace): Likewise.
12741 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12742 <bp-checks.h>.
12743 (__backtrace): Don't use BOUNDED_1.
12744 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12745 <bp-checks.h>.
12746 (__backtrace): Don't use BOUNDED_1.
12747 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12748 (__backtrace): Don't use BOUNDED_1.
12749 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12750 (shmat): Don't use BOUNDED_N.
12751
8cf28c5e
JM
127522013-01-31 Joseph Myers <joseph@codesourcery.com>
12753
3a7ac8a0
JM
12754 [BZ #13550]
12755 * sysdeps/generic/bp-start.h: Remove file.
12756 * csu/libc-start.c: Don't include <bp-start.h>.
12757 (LIBC_START_MAIN): Set up __environ directly instead of using
12758 INIT_ARGV_and_ENVIRON.
12759 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12760 <bp-start.h>.
12761
f3499f95
JM
12762 [BZ #13550]
12763 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12764 definitions.
12765 (CHECK_FCNTL): Likewise.
12766 (CHECK_N_PAGES): Likewise.
12767
32a45bea
JM
12768 [BZ #13550]
12769 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12770 definitions.
12771 (CHECK_SIGSET_NULL_OK): Likewise.
12772 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12773 <bp-checks.h>.
12774 (sigpending): Don't use CHECK_SIGSET.
12775 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12776 <bp-checks.h>.
12777 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12778 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12779 <bp-checks.h>.
12780 (do_sigsuspend): Don't use CHECK_SIGSET.
12781 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12782 use CHECK_SIGSET.
12783 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12784 (do_sigwait): Don't use CHECK_SIGSET.
12785 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12786 use CHECK_SIGSET.
12787 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12788 include <bp-checks.h>.
12789 (sigpending): Don't use CHECK_SIGSET.
12790 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12791 include <bp-checks.h>.
12792 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12793 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12794 <bp-checks.h>.
12795 (sigpending): Don't use CHECK_SIGSET.
12796 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12797 <bp-checks.h>.
12798 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12799
2e8a5c8c
JM
12800 [BZ #13550]
12801 * sysdeps/generic/bp-semctl.h: Remove file.
12802 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12803 <bp-checks.h> and <bp-semctl.h>.
12804 (__old_semctl): Don't use CHECK_SEMCTL.
12805 (__new_semctl): Likewise.
12806 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12807 and <bp-semctl.h>.
12808 (__old_semctl): Don't use CHECK_SEMCTL.
12809 (__new_semctl): Likewise.
12810 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12811 <bp-checks.h> and <bp-semctl.h>.
12812 (__old_semctl): Don't use CHECK_SEMCTL.
12813 (__new_semctl): Likewise.
12814 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12815 <bp-checks.h> and <bp-semctl.h>.
12816 (semctl): Don't use CHECK_SEMCTL.
12817
c2d54929
JM
12818 [BZ #13550]
12819 * Makerules (elide-bp-thunks): Remove variable.
12820 (elide-routines.oS): Don't use $(elide-bp-thunks).
12821 (elide-routines.os): Likewise.
12822 (elide-routines.o): Likewise.
12823 (elide-routines.op): Likewise.
12824 (elide-routines.og): Likewise.
12825 (objects): Don't use $(bp-thunks).
12826 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12827 include.
12828 (common-generated): Do not add s-proto-bp.d.
12829 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12830 (int): Likewise.
12831 (typ): Likewise.
12832 Do not generate makefile rules for bounded-pointer thunks.
12833 * sysdeps/generic/bp-thunks.h: Remove file.
12834 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12835 * sysdeps/unix/s-proto-bp.S: Likewise.
12836
8cf28c5e
JM
12837 [BZ #15062]
12838 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12839 parts of result separately when argument is not close to line from
12840 -i to i and one part of argument is small.
12841 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12842 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12843 * math/libm-test.inc (cacos_test): Add more tests.
12844 (casin_test): Likewise.
12845 (casinh_test): Likewise.
12846 * sysdeps/i386/fpu/libm-test-ulps: Update.
12847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12848
c4e33b8d
DM
128492013-01-31 David S. Miller <davem@davemloft.net>
12850
12851 * po/de.po: Update from translation team.
12852
3b60b421
MK
128532013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12854
12855 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12856
bb931195
TS
128572013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12858
b5a5da23
TS
12859 * configure.in (_AC_PROG_CC_C89): New definition.
12860 * configure: Regenerate.
12861
bb931195
TS
12862 * configure.in (AC_PROG_CPP): New definition.
12863 * configure: Regenerate.
12864
8c53a12c
JM
128652013-01-23 Joseph Myers <joseph@codesourcery.com>
12866
12867 * debug/tst-backtrace.h: New file.
12868 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12869 (ret): Remove variable.
12870 (x): Likewise.
12871 (FAIL): Remove macro.
12872 (NO_INLINE): Likewise.
12873 (fn1): Use match function instead of strstr.
12874 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12875 (ret): Remove variable.
12876 (x): Likewise.
12877 (FAIL): Remove macro.
12878 (NO_INLINE): Likewise.
12879 (fn): Use match function instead of strstr.
12880 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12881 (ret): Remove variable.
12882 (x): Likewise.
12883 (FAIL): Remove macro.
12884 (NO_INLINE): Likewise.
12885 (handle_signal): Use match function instead of strstr.
12886 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12887 (ret): Remove variable.
12888 (x): Likewise.
12889 (FAIL): Remove macro.
12890 (NO_INLINE): Likewise.
12891 (handle_signal): Use match function instead of strstr.
12892
4858fa2a
RM
128932013-01-23 Roland McGrath <roland@hack.frob.com>
12894
12895 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12896
bae8e7f5
DM
128972013-01-23 David S. Miller <davem@davemloft.net>
12898
12899 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12900 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12901 argument of CAS if possible.
12902 * sysdeps/sparc/sparc64/bits/atomic.h
12903 (__arch_compare_and_exchange_val_32_acq): Likewise.
12904 (__arch_compare_and_exchange_val_64_acq): Likewise.
12905
9cbbc4ae
PT
129062013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12907
12908 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12909 * sysdeps/posix/ulimit.c: ... this.
92a601b8 12910 Include <limits.h>.
67b3f58c 12911 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 12912
5655a0b5
AC
129132013-01-23 Adam Conrad <adconrad@0c3.net>
12914
12915 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12916 (LDFLAGS-tst-array5): Likewise.
12917
052aff95
JM
129182013-01-23 Joseph Myers <joseph@codesourcery.com>
12919
12920 [BZ #15036]
12921 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12922 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12923 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12924 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12925
7c1e01aa
DM
129262013-01-21 David S. Miller <davem@davemloft.net>
12927
12928 * sysdeps/sparc/backtrace.c: New file.
12929 * sysdeps/sparc/sparc32/backtrace.h: New file.
12930 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12931 * sysdeps/sparc/sparc64/backtrace.h: New file.
12932 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12933 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12934 -funwind-tables.
12935
ab087e0a
AS
129362013-01-21 Andreas Schwab <schwab@suse.de>
12937
12938 [BZ #15020]
12939 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12940 closed its stdout.
12941
ed689c2f
AS
129422013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12943
12944 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12945 "mpa2.h".
12946 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12947
31d470ac
JM
129482013-01-18 Joseph Myers <joseph@codesourcery.com>
12949 Mark Mitchell <mark@codesourcery.com>
12950 Tom de Vries <tom@codesourcery.com>
12951 Paul Pluzhnikov <ppluzhnikov@google.com>
12952
12953 * debug/tst-backtrace2.c: New file.
12954 * debug/tst-backtrace3.c: Likewise.
12955 * debug/tst-backtrace4.c: Likewise.
12956 * debug/tst-backtrace5.c: Likewise.
12957 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12958 (CFLAGS-tst-backtrace3.c): Likewise.
12959 (CFLAGS-tst-backtrace4.c): Likewise.
12960 (CFLAGS-tst-backtrace5.c): Likewise.
12961 (LDFLAGS-tst-backtrace2): Likewise.
12962 (LDFLAGS-tst-backtrace3): Likewise.
12963 (LDFLAGS-tst-backtrace4): Likewise.
12964 (LDFLAGS-tst-backtrace5): Likewise.
12965 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12966 tst-backtrace4 and tst-backtrace5.
12967
90567f30 129682013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
12969 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12970
12971 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12972 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12973 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12974 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12976 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12977 "+r" and remove output regs list as redundant. Add explicit inline
12978 asm to specify register of return val to work around compiler codegen
12979 bug. Remove (int) cast on return value. Add return type parameter to
12980 use in macro so that this macro does not truncate return value for
12981 64-bit values.
12982 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12983 pass to INTERNAL_VSYSCALL_NCS.
12984 (INLINE_VSYSCALL): Add 'long int' as return type to
12985 INTERNAL_VSYSCALL_NCS macro invocation.
12986 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12987 INTERNAL_VSYSCALL_NCS macro invocation.
12988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12989
d3b9ea61
SP
129902013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12991
0b57daeb
SP
12992 [BZ #14496]
12993 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12994 Fix application of SIMD FP exception mask.
12995
caa99d06
SP
12996 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12997 mp_no from a power of two.
12998 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12999 __mpexp_twomm1. Use __pow_mp.
13000
d3b9ea61
SP
13001 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13002 multiplication.
13003
1dbaee3c
DM
130042013-01-17 David S. Miller <davem@davemloft.net>
13005
13006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13007
728d7b43
JM
130082013-01-17 Joseph Myers <joseph@codesourcery.com>
13009
13010 [BZ #15023]
13011 * include/complex.h: Condition contents on [!_COMPLEX_H].
13012 (__kernel_casinhf): New prototype.
13013 (__kernel_casinh): Likewise.
13014 (__kernel_casinhl): Likewise.
13015 * math/Makefile (libm_calls): Add k_casinh.
13016 * math/k_casinh.c: New file.
13017 * math/k_casinhf.c: Likewise.
13018 * math/k_casinhl.c: Likewise.
13019 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13020 finite nonzero arguments.
13021 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13022 finite nonzero arguments.
13023 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13024 finite nonzero arguments.
13025 * math/s_casinh.c: Do not include <float.h>.
13026 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13027 * math/s_casinhf.c: Do not include <float.h>.
13028 (__casinhf): Move code for finite nonzero arguments to
13029 k_casinhf.c.
13030 * math/s_casinhl.c: Do not include <float.h>.
13031 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13032 redefine.
13033 (__casinhl): Move code for finite nonzero arguments to
13034 k_casinhl.c.
13035 * math/libm-test.inc (cacos_test): Add more tests.
13036 * sysdeps/i386/fpu/libm-test-ulps: Update.
13037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13038
2a26ef3a
PT
130392013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13040
13041 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13042 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13043 [!HAVE_MREMAP]: Remove [defined linux] case.
13044 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13045
a897655d
SP
130462013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13047
13048 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13049
881ebe89 130502013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
13051
13052 * elf/elf.h (R_386_SIZE32): New relocation.
13053 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13054 R_386_SIZE32.
13055 (elf_machine_rela): Likewise.
13056 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13057 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13058
59981e9b
JM
130592013-01-17 Joseph Myers <joseph@codesourcery.com>
13060
13061 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13062 (FP_FAST_FMA): Do not define.
13063 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13064 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13065 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13066 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13067 !_SOFT_FLOAT]: Likewise.
13068 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13069 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13070 value.
13071 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13072 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13073 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13074 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13075 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13076 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13077 file.
13078
cfa8054f
AS
130792013-01-16 Andreas Schwab <schwab@suse.de>
13080
13081 [BZ #14327]
13082 * include/stdlib.h (__mktemp): Add declaration.
13083 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13084 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13085
dd930cc5
SP
130862013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13087
881ebe89
SP
13088 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13089 definitions.
13090 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13091 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13092 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13093 definitions here.
13094 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13095 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13096 definitions.
13097 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13098 and ONE.
13099 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13100 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13101 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13102 definitions.
13103 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13104 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13105 definitions.
13106 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 13107
dd930cc5
SP
13108 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13109
c19a9f89
DM
131102013-01-15 David S. Miller <davem@davemloft.net>
13111
1aa61767
DM
13112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13113 trunc{,f} to libm-sysdep_routes.
13114 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13116 file.
13117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13119 file.
13120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13121 file.
13122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13124 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13125 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13126 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13127 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13128 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13129 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13130
c42d5e98
DM
13131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13132 nearbyint{,f} to libm-sysdep_routes.
13133 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13135 New file.
13136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13137 file.
13138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13139 New file.
13140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13141 file.
13142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13144 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13145 file.
13146 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13147 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13148 file.
13149 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13150 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13151 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13152
c19a9f89
DM
13153 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13154 libc_feholdexcept and libc_fesetenv.
13155
357679d2
MF
131562013-01-15 Mike Frysinger <vapier@gentoo.org>
13157
13158 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13159
65a82e3d
DM
131602013-01-14 David S. Miller <davem@davemloft.net>
13161
8b954ab9
DM
13162 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13163 (SPARC_ASM_VIS2_IFUNC): Likewise.
13164 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13166 use of 'siam' instruction.
13167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13168 Likewise.
13169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13170 Likewise.
13171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13172 Likewise.
13173 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13174 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13175 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13178 file.
13179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13180 file.
13181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13182 file.
13183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13184 file.
13185 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13186 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13187 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13188 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13190 new VIS2 routines.
13191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13194 Likewise.
13195 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13197 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13198 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13200 routines to libm-sysdep_routines.
13201 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13202
65a82e3d
DM
13203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13204 fdim/fdimf to libm-sysdep_routines.
13205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13206 file.
13207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13209 file.
13210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13213 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13214 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13215 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13216 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13217
e34ab705
SP
132182013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13219
2a91b573
SP
13220 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13221 to optimize copies.
13222
1066a534
SP
13223 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13226
e34ab705
SP
13227 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13228 local variable MPTWO.
13229 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13230 Likewise.
13231
aba5e596
MF
132322013-01-13 Mike Frysinger <vapier@gentoo.org>
13233
13234 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13235 GLOB_NOESCAPE.
13236
e557e9e5
MF
132372013-01-13 Mike Frysinger <vapier@gentoo.org>
13238
13239 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13240
0428cec9
MF
132412013-01-13 Mike Frysinger <vapier@gentoo.org>
13242
13243 * manual/pattern.texi (glob_t): Document gl_flags.
13244 (glob64_t): Likewise.
13245
8794a964
DM
132462013-01-11 David S. Miller <davem@davemloft.net>
13247
66438c3f
RM
13248 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13249 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13250 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
13251 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13252 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13253 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13254 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13255 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13256 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13257 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13258 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13259 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13260 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13261
4ae4244d
DM
13262 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13263 sparc V9 rather than using V8 code.
13264 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13265 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13266
8794a964
DM
13267 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13268 Move to...
13269 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13270 Here.
13271
6270516e
RM
132722013-01-11 Roland McGrath <roland@hack.frob.com>
13273
13274 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13275 not in the main loop.
13276 * configure: Regenerated.
13277
6a57d931
JM
132782013-01-11 Joseph Myers <joseph@codesourcery.com>
13279
13280 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13281 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13282 to just #else.
13283 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13284 [!__GLIBC_HAVE_LONG_LONG] case.
13285 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13286 condition to just #else.
13287 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13288 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13289 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13290 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13291 unconditional.
13292 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13293 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13294 #elif condition to just #else.
13295 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13296 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13297 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13298 #elif condition to just #else.
13299
0e8529e9
SE
133002013-01-11 Steve Ellcey <sellcey@mips.com>
13301
13302 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13303 (EF_MIPS_ARCH_64): Fix value.
13304 (EF_MIPS_ARCH_32R2): New.
13305 (EF_MIPS_ARCH_64R2): New.
13306
740b3dbe
L
133072013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13308
13309 * Makeconfig (+link-pie-before-libc): New.
13310 (+link-pie-after-libc): Likewise.
13311 (+link-pie-tests): Likewise.
13312 (+link-pie): Rewritten.
13313 (link-before-libc): Remove $(config-LDFLAGS).
13314 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13315 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13316 (config-LDFLAGS): Renamed to ...
13317 (rtld-LDFLAGS): This.
13318 (rtld-tests-LDFLAGS): New macro.
13319 (link-libc-rpath-link): Likewise.
13320 (link-libc-tests-rpath-link): Likewise.
13321 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13322 (link-libc): Prepand $(link-libc-rpath-link).
13323 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13324 (test-program-prefix): New macro.
13325 (test-via-rtld-prefix): Likewise.
13326 (test-program-cmd): Likewise.
13327 (host-test-program-cmd): Likewise.
13328 * Makefile ($(common-objpfx)testrun.sh): Replace
13329 $(run-program-prefix) with $(test-program-prefix).
13330 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13331 $(rtld-LDFLAGS).
13332 ($(common-objpfx)shlib.lds): Likewise.
13333 (build-module-helper): Likewise.
13334 ($(common-objpfx)format.lds): Likewise.
13335 * Rules (binaries-pie-tests): New.
13336 (binaries-pie-notests): Likewise.
13337 (binaries-pie): Rewritten.
13338 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13339 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13340 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13341 (make-test-out): Replace $(host-built-program-cmd) with
13342 $(host-test-program-cmd).
13343 * config.make.in (build-hardcoded-path-in-tests): New variable.
13344 * configure.in (--enable-hardcoded-path-in-tests): New configure
13345 option.
13346 (hardcoded_path_in_tests): New AC_SUBST.
13347 * configure: Regenerated.
13348 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13349 $(built-program-cmd) with $(test-program-cmd).
13350 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13351 (test_program_cmd): This.
13352 * elf/Makefile ($(objpfx)order.out): Run test with
13353 $(test-program-prefix).
13354 ($(objpfx)order2.out): Likewise.
13355 ($(objpfx)tst-initorder.out): Likewise.
13356 ($(objpfx)tst-initorder2.out): Likewise.
13357 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13358 $(test-program-cmd).
13359 ($(objpfx)tst-array1-static.out): Likewise.
13360 ($(objpfx)tst-array2.out): Likewise.
13361 ($(objpfx)tst-array3.out): Likewise.
13362 ($(objpfx)tst-array4.out): Likewise.
13363 ($(objpfx)tst-array5.out): Likewise.
13364 ($(objpfx)tst-array5-static.out): Likewise.
13365 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13366 $(test-program-cmd).
13367 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13368 $(run-program-prefix) with $(test-program-prefix).
13369 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13370 (test_program_prefix): This.
13371 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13372 $(run-program-prefix) with $(test-program-prefix).
13373 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13374 (test_program_prefix): This.
13375 * iconvdata/tst-tables.sh: Likewise.
13376 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13377 $(run-program-prefix) with $(test-program-prefix).
13378 ($(objpfx)tst-translit.out): Likewise.
13379 ($(objpfx)tst-gettext2.out): Likewise.
13380 ($(objpfx)tst-gettext4.out): Likewise.
13381 ($(objpfx)tst-gettext6.out): Likewise.
13382 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13383 (test_program_prefix): This.
13384 * intl/tst-gettext2.sh: Likewise.
13385 * intl/tst-gettext4.sh Likewise.
13386 * intl/tst-gettext6.sh: Likewise.
13387 * intl/tst-translit.sh: Likewise.
13388 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13389 with $(test-program-cmd).
13390 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13391 $(run-program-prefix) with $(test-program-prefix).
13392 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13393 (test_program_prefix): This.
13394 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13395 $(run-program-prefix) with $(test-program-prefix).
13396 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13397 (test_program_prefix): This.
13398 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13399 * posix/Makefile ($(objpfx)globtest.out): Replace
13400 $(run-via-rtld-prefix) and $(test-wrapper) with
13401 $(test-program-prefix) and $(test-via-rtld-prefix).
13402 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13403 $(test-program-prefix).
13404 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13405 $(host-test-program-cmd).
13406 (tst-spawn-ARGS): Likewise.
13407 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13408 $(test-program-prefix).
13409 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13410 (test_via_rtld_prefix): This.
13411 (test_wrapper): Renamed to ...
13412 (test_program_prefix): This.
13413 (run_program_prefix): Replaced by test_program_prefix.
13414 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13415 (test_program_prefix): This.
13416 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13417 with $(host-test-program-cmd).
13418 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13419 $(run-program-prefix) with $(test-program-prefix).
13420 ($(objpfx)tst-printf.out): Likewise.
13421 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13422 $(test-program-cmd).
13423 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13424 (test_program_prefix): This.
13425 * stdio-common/tst-unbputc.sh: Likewise.
13426 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13427 $(run-program-prefix) with $(test-program-prefix).
13428 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13429 (test_program_prefix): This.
13430 * string/Makefile ($(objpfx)tst-svc.out): Replace
13431 $(built-program-cmd) with $(test-program-cmd).
13432
c6fe55cf
AJ
134332013-01-11 Andreas Jaeger <aj@suse.de>
13434
13435 [BZ #15003]
13436 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13437 value. Sync with Linux 3.7.
13438
9e6919c8
DM
134392013-01-10 David S. Miller <davem@davemloft.net>
13440
13441 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13442 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13443 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13444
1c9f1a02
RM
134452013-01-10 Roland McGrath <roland@hack.frob.com>
13446
13447 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13448 never set.
13449 * configure: Regenerated.
13450
b9de2dde
DM
134512013-01-10 David S. Miller <davem@davemloft.net>
13452
13453 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13454 sparc V9 rather than using V8 code.
13455 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13456 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13457
e7f68ef4
RM
134582013-01-10 Roland McGrath <roland@hack.frob.com>
13459
13460 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13461 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13462 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13463 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13464 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13465 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13466 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13467 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13468 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13469 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13470 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13471 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13472 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13473 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13474 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13475 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13476 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13477 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13478 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13479 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13480 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13481 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13482 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13483 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13484 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13485 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13486 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13487
5a47cc9c
DM
134882013-01-10 David S. Miller <davem@davemloft.net>
13489
13490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13491
4cf8f209
L
134922013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13493
13494 * posix/Makefile (tests-static): New variable.
13495 (tests): Add $(tests-static).
13496 (tst-exec-static-ARGS): New variable.
13497 (tst-spawn-static-ARGS): Likewise.
13498 * posix/tst-exec-static.c: New file.
13499 * posix/tst-spawn-static.c: Likewise.
13500 * posix/tst-exec.c: Support run directly.
13501 * posix/tst-spawn.c: Likewise.
13502
fed0faa1
JM
135032013-01-10 Joseph Myers <joseph@codesourcery.com>
13504
828beb13
JM
13505 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13506 long.
13507 * math/bits/mathcalls.h (llrint): Likewise.
13508 (llround): Likewise.
13509 * stdlib/stdlib.h (struct drand48_data): Likewise.
13510 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13511 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13512 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13513 Likewise.
13514 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13515 Likewise.
13516 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13517 (elf_greg_t): Likewise.
13518 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13519 (__jmp_buf): Likewise.
13520 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13521 definitions.
13522 (llrint): Likewise, for all definitions.
13523 (llrintl): Likewise.
13524
fed0faa1
JM
13525 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13526 Remove [__GNUC__] condition.
13527 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13528 condition to just [__USE_ISOC99].
13529 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13530
1a20cb20
L
135312013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13532
13533 [BZ #14200]
13534 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13535 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13536 defined.
13537 (_POSIX_V6_ILP32_OFF32): Likewise.
13538 (_XBS5_ILP32_OFF32): Likewise.
13539 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13540 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13541
751b85f7
SP
135422013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13543
7490eb81
SP
13544 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13545
751b85f7
SP
13546 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13547 doubles __mpexp_twomm1. Adjust usage.
13548 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13549 Remove.
13550
988197f0
AS
135512013-01-10 Andreas Schwab <schwab@suse.de>
13552
13553 [BZ #14964]
13554 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13555 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13556
e83d7298
DM
135572013-01-09 David S. Miller <davem@davemloft.net>
13558
034ed64b 13559 [BZ #15003]
e83d7298
DM
13560 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13561 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13562 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13563 TCP_FASTOPEN): Define.
13564 (tcp_repair_opt): New structure.
13565 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13566 enum values.
13567 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13568 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13569 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13570 (tcp_cookie_transactions): New structure.
13571
d5e0b9bd
AB
135722013-01-09 Anton Blanchard <anton@samba.org>
13573
13574 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13575 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13576 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13577 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13578
0c07e3ea
JM
135792013-01-09 Joseph Myers <joseph@codesourcery.com>
13580
13581 * include/features.h (__USE_ANSI): Remove.
13582
232f7002
RM
135832013-01-09 Roland McGrath <roland@hack.frob.com>
13584
ad98e30c
RM
13585 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13586
232f7002
RM
13587 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13588
950c99ca
SP
135892013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13590
b5792741
SP
13591 * sysdeps/s390/fpu/libm-test-ulps: Update.
13592
47cf2278
SP
13593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13594
950c99ca
SP
13595 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13596 (__acr): Likewise.
13597 (__cpy): Likewise.
13598 (norm): Likewise.
13599 (denorm): Likewise.
13600 (__mp_dbl): Likewise.
13601 (__dbl_mp): Likewise.
13602 (add_magnitudes): Likewise.
13603 (sub_magnitudes): Likewise.
13604 (__add): Likewise.
13605 (__sub): Likewise.
13606 (__mul): Likewise.
13607 (__inv): Likewise.
13608 (__dvd): Likewise.
13609 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13610 (__acr): Likewise.
13611 (__cpy): Likewise.
13612 (norm): Likewise.
13613 (denorm): Likewise.
13614 (__mp_dbl): Likewise.
13615 (__dbl_mp): Likewise.
13616 (add_magnitudes): Likewise.
13617 (sub_magnitudes): Likewise.
13618 (__add): Likewise.
13619 (__sub): Likewise.
13620 (__mul): Likewise.
13621 (__inv): Likewise.
13622 (__dvd): Likewise.
13623 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13624 (__acr): Likewise.
13625 (__cpy): Likewise.
13626 (norm): Likewise.
13627 (denorm): Likewise.
13628 (__mp_dbl): Likewise.
13629 (__dbl_mp): Likewise.
13630 (add_magnitudes): Likewise.
13631 (sub_magnitudes): Likewise.
13632 (__add): Likewise.
13633 (__sub): Likewise.
13634 (__mul): Likewise.
13635 (__inv): Likewise.
13636 (__dvd): Likewise.
13637
eede9df9
JM
136382013-01-08 Joseph Myers <joseph@codesourcery.com>
13639
13640 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13641 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13642 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13643 2 && __USE_EXTERN_INLINES]: Likewise.
13644
c40ea3d9
AJ
136452013-01-08 Andreas Jaeger <aj@suse.de>
13646
13647 [BZ# 14985]
13648 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13649 Remove.
13650 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13651 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13652
2ccdea26
AB
136532013-01-07 Anton Blanchard <anton@samba.org>
13654
13655 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13656 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13657 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13658 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13659 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13660 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13661 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13662 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13664 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13665 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13666 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13667 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13668 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13669 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13670 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13671 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13672 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13673 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13674 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13675 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13676 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13677 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13678 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13679 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13680 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13681 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13682 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13683 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13684 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13685 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13686 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13687 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13688 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13689 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13690 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13691 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13692 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13693 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13694 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13695 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13696 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13697 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13698
a9708fed
JM
136992013-01-07 Joseph Myers <joseph@codesourcery.com>
13700
375607b9
JM
13701 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13702 (__MALLOC_PMT): Likewise.
13703 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13704 [__GNUC__], only on [_LIBC].
13705 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13706 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13707 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13708 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13709 forward declaration.
13710 (realloc_hook_ini): Likewise.
13711 (memalign_hook_ini): Likewise.
13712 (__libc_memalign): Do not use __MALLOC_PMT in variable
13713 declaration.
13714 (__libc_valloc): Likewise.
13715 (__libc_pvalloc): Likewise.
13716 (__libc_calloc): Likewise.
13717 (__posix_memalign): Likewise.
13718
a9708fed
JM
13719 [BZ #14996]
13720 * math/s_casinh.c: Include <float.h>.
13721 (__casinh): Do not do computation with squaring and square root
13722 for large arguments.
13723 * math/s_casinhf.c: Include <float.h>.
13724 (__casinhf): Do not do computation with squaring and square root
13725 for large arguments.
13726 * math/s_casinhl.c: Include <float.h>.
13727 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13728 (__casinhl): Do not do computation with squaring and square root
13729 for large arguments.
13730 * math/libm-test.inc (casin_test): Add more tests.
13731 (casinh_test): Likewise.
13732 * sysdeps/i386/fpu/libm-test-ulps: Update.
13733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13734
afec409a
L
137352013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13736
13737 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13738 (__x86_64_raw_data_cache_size): Likewise.
13739 (__x86_64_data_cache_size_half): Likewise.
13740 (__x86_64_raw_data_cache_size_half): Likewise.
13741 (__x86_64_shared_cache_size): Likewise.
13742 (__x86_64_raw_shared_cache_size): Likewise.
13743 (__x86_64_shared_cache_size_half): Likewise.
13744 (__x86_64_raw_shared_cache_size_half): Likewise.
13745 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13746 to ...
13747 (__x86_data_cache_size): This.
13748 (__x86_64_raw_data_cache_size): Renamed to ...
13749 (__x86_raw_data_cache_size): This.
13750 (__x86_64_data_cache_size_half): Renamed to ...
13751 (__x86_data_cache_size_half): This.
13752 (__x86_64_raw_data_cache_size_half): Renamed to ...
13753 (__x86_raw_data_cache_size_half): This.
13754 (__x86_64_shared_cache_size): Renamed to ...
13755 (__x86_shared_cache_size): This.
13756 (__x86_64_raw_shared_cache_size): Renamed to ...
13757 (__x86_raw_shared_cache_size): This.
13758 (__x86_64_shared_cache_size_half): Renamed to ...
13759 (__x86_shared_cache_size_half): This.
13760 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13761 (__x86_raw_shared_cache_size_half): This.
13762 * sysdeps/x86_64/memcpy.S: Updated.
13763 * sysdeps/x86_64/memset.S: Likewise.
13764 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13765 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13766 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13767
0b3986d0
DM
137682013-01-04 David S. Miller <davem@davemloft.net>
13769
13770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13771
e47686e9
AS
137722013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13773
d643bac1
AS
13774 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13775 1 to avoid redefinition warning.
13776 (__USE_GNU): Don't define.
13777 (init_signaling_nan): Protoize.
13778
e47686e9
AS
13779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13780
b18decba
SP
137812013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13782
fffb407f
SP
13783 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13785 (__cpymn): Likewise.
13786 (norm): Remove commented code.
13787 (denorm): Likewise.
13788 (__mp_dbl): Likewise.
13789 (__inv): Likewise.
13790 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13791 (__cpymn): Likewise.
13792 (norm): Remove commented code.
13793 (denorm): Likewise.
13794 (__mp_dbl): Likewise.
13795 (__inv): Likewise.
13796
b18decba
SP
13797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13798 mp_no value for 1.0 and 2.0.
13799 (norm): Use RADIXI instead of radixi.d.
13800 (denorm): Likewise.
13801 (__mul): Use 0.0 instead of zero.d.
13802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13803 mp_no value for 1.0 and 2.0.
13804 (norm): Use RADIXI instead of radixi.d.
13805 (denorm): Likewise.
13806 (__mul): Use 0.0 instead of zero.d.
13807
cdc1c96f
JM
138082013-01-04 Joseph Myers <joseph@codesourcery.com>
13809
13810 [BZ #14994]
13811 * math/s_casinh.c (__casinh): Reduce finite argument to first
13812 quadrant then set signs of results at the end.
13813 * math/s_casinhf.c (__casinhf): Likewise.
13814 * math/s_casinhl.c (__casinhl): Likewise.
13815 * math/libm-test.inc (casin_test): Add more tests.
13816 (casinh_test): Likewise.
13817 * sysdeps/i386/fpu/libm-test-ulps: Update.
13818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13819
302913e1
SP
138202013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13821
6420d207
SP
13822 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13823
a9e48ab4
SP
13824 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13825
b7837264
SP
13826 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13827 declarations.
13828 (denorm): Likewise.
13829 (__mp_dbl): Likewise.
13830 (__inv): Likewise.
13831
f8af25d2
SP
13832 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13833 and adjust the header comment.
13834
302913e1
SP
13835 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13836 variable name from declaration.
13837
5d7dd1ca
L
138382013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13839
13840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13841 Initialize COMMON_CPUID_INDEX_7 element.
13842 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13843 (CPUID_RTM): Likewise.
13844 (HAS_RTM): Likewise.
13845 (COMMON_CPUID_INDEX_7): New enum.
13846
2f5f40f4
AS
138472013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13848
13849 [BZ #14981]
13850 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13851 size is zero, record memory as freed.
13852
4056f4a0
AJ
138532013-01-03 Andreas Jaeger <aj@suse.de>
13854
13855 * po/ia.po: Add new Interlingua translation.
13856
ab15736f 138572012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
13858
13859 * locale/programs/localedef.c: Fix description of '--posix' flag.
13860
568035b7
JM
138612013-01-02 Joseph Myers <joseph@codesourcery.com>
13862
e6898b8d
JM
13863 * NEWS: Update dates in second copyright notice.
13864 * README: Update copyright dates in example.
13865 * manual/libc.texinfo: Update copyright dates.
13866 * scripts/test-installation.pl: Update copyright date in --version
13867 output.
13868
0e2f9562
JM
13869 * hurd/ctty-input.c: Fix copyright notice formatting.
13870 * hurd/ctty-output.c: Likewise.
13871 * hurd/dtable.c: Likewise.
13872 * hurd/hurd-raise.c: Likewise.
13873 * hurd/hurdprio.c: Likewise.
13874 * hurd/msgportdemux.c: Likewise.
13875 * misc/sys/file.h: Likewise.
13876 * misc/sys/ioctl.h: Likewise.
13877 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13878 * sysdeps/mach/hurd/chdir.c: Likewise.
13879 * sysdeps/mach/hurd/fchdir.c: Likewise.
13880 * sysdeps/mach/hurd/rename.c: Likewise.
13881 * sysdeps/mach/hurd/rmdir.c: Likewise.
13882 * sysdeps/mach/hurd/seekdir.c: Likewise.
13883 * sysdeps/mach/hurd/setsid.c: Likewise.
13884 * sysdeps/posix/wait3.c: Likewise.
13885
568035b7
JM
13886 * All files with FSF copyright notices: Update copyright dates
13887 using scripts/update-copyrights.
13888 * intl/plural.c: Regenerated.
13889 * locale/programs/charmap-kw.h: Likewise.
13890 * locale/programs/locfile-kw.h: Likewise.
13891
da08f647
SP
138922013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13893
0f5477af
SP
13894 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13895 four values.
13896
44e0d4c2
SP
13897 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13898 calculation loop and add branch prediction.
13899
4d55b4e5
SP
13900 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13901 check access beyond bounds of m1np.
13902
da08f647
SP
13903 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13904 MPTWO.
13905 (__inv): Remove local variable MPTWO to use the global
13906 constant.
13907 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13908 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13909 variable MPTWO.
13910 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13911 MP3HALFS static const.
13912
8e051029
DM
139132013-01-01 David S. Miller <davem@davemloft.net>
13914
13915 * po/ca.po: Update from translation team.
13916
f4cf5f2d
JM
139172013-01-01 Joseph Myers <joseph@codesourcery.com>
13918
13919 * scripts/update-copyrights: New file.
13920 * Makeconfig: Reformat copyright notice.
13921 * ctype/ctype.h: Likewise.
13922 * debug/swprintf_chk.c: Likewise.
13923 * elf/dl-cache.c: Likewise.
13924 * elf/dl-debug.c: Likewise.
13925 * elf/dl-object.c: Likewise.
13926 * grp/initgroups.c: Likewise.
13927 * hurd/Makefile: Likewise.
13928 * hurd/hurd/signal.h: Likewise.
13929 * hurd/hurdfault.c: Likewise.
13930 * hurd/hurdioctl.c: Likewise.
13931 * hurd/hurdlookup.c: Likewise.
13932 * hurd/intr-msg.c: Likewise.
13933 * iconv/gconv_open.c: Likewise.
13934 * libio/swprintf.c: Likewise.
13935 * locale/lc-ctype.c: Likewise.
13936 * locale/nl_langinfo.c: Likewise.
13937 * mach/Machrules: Likewise.
13938 * mach/Makefile: Likewise.
13939 * malloc/obstack.h: Likewise.
13940 * manual/Makefile: Likewise.
13941 * manual/tsort.awk: Likewise.
13942 * misc/bits/stab.def: Likewise.
13943 * nis/nis_print_group_entry.c: Likewise.
13944 * nis/nis_table.c: Likewise.
13945 * nis/nss_compat/compat-pwd.c: Likewise.
13946 * nis/nss_compat/compat-spwd.c: Likewise.
13947 * po/Makefile: Likewise.
13948 * posix/fnmatch.c: Likewise.
13949 * posix/regex.h: Likewise.
13950 * resolv/Makefile: Likewise.
13951 * resolv/nss_dns/dns-network.c: Likewise.
13952 * resolv/res_hconf.c: Likewise.
13953 * scripts/gen-sorted.awk: Likewise.
13954 * soft-fp/soft-fp.h: Likewise.
13955 * stdio-common/printf.h: Likewise.
13956 * stdlib/monetary.h: Likewise.
13957 * stdlib/random.c: Likewise.
13958 * stdlib/random_r.c: Likewise.
13959 * sysdeps/generic/Makefile: Likewise.
13960 * sysdeps/gnu/Makefile: Likewise.
13961 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13962 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13963 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13964 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13965 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13966 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13967 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13968 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13969 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13970 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13971 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13972 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13973 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13974 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13975 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13976 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13977 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13978 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13979 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13980 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13981 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13982 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13983 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13984 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13985 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13986 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13987 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13988 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13989 * sysdeps/mach/hurd/errnos.awk: Likewise.
13990 * sysdeps/mach/hurd/fork.c: Likewise.
13991 * sysdeps/mach/hurd/getcwd.c: Likewise.
13992 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13993 * sysdeps/mach/hurd/mmap.c: Likewise.
13994 * sysdeps/mach/hurd/utimes.c: Likewise.
13995 * sysdeps/mach/hurd/xmknod.c: Likewise.
13996 * sysdeps/posix/profil.c: Likewise.
13997 * sysdeps/posix/readdir_r.c: Likewise.
13998 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13999 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14000 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14001 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14002 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14003 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14004 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14005 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14007 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14008 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14009 * sysdeps/pthread/lio_listio.c: Likewise.
14010 * sysdeps/sparc/dl-procinfo.h: Likewise.
14011 * sysdeps/unix/i386/sysdep.S: Likewise.
14012 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14013 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14014 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14015 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14017 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14018 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14019 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14020 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14021 * sysdeps/wordsize-32/divdi3.c: Likewise.
14022 * time/sys/time.h: Likewise.
14023 * wcsmbs/Makefile: Likewise.
14024
0549fbba
DM
140252013-01-01 David S. Miller <davem@davemloft.net>
14026
a141f1a7
DM
14027 * po/fr.po: Update from translation team.
14028
0549fbba
DM
14029 * catgets/gencat.c: Update copyright year.
14030 * csu/version.c: Likewise.
14031 * debug/catchsegv.sh: Likewise.
14032 * debug/pcprofiledump.c: Likewise.
14033 * debug/xtrace.sh: Likewise.
14034 * elf/ldconfig.c: Likewise.
14035 * elf/ldd.bash.in: Likewise.
14036 * elf/pldd.c: Likewise.
14037 * elf/sotruss.ksh: Likewise.
14038 * elf/sprof.c: Likewise.
14039 * iconv/iconv_prog.c: Likewise.
14040 * iconv/iconvconfig.c: Likewise.
14041 * locale/programs/locale.c: Likewise.
14042 * locale/programs/localedef.c: Likewise.
14043 * login/programs/pt_chown.c: Likewise.
14044 * malloc/memusage.sh: Likewise.
14045 * malloc/memusagestat.c: Likewise.
14046 * malloc/mtrace.pl: Likewise.
14047 * nscd/nscd.c: Likewise.
14048 * nss/getent.c: Likewise.
14049 * nss/makedb.c: Likewise.
14050 * posix/getconf.c: Likewise.
14051
18ea052c
SP
140522012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14053
14054 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14055 numbers.
14056
9c89fca6
MF
140572012-12-30 Mike Frysinger <vapier@gentoo.org>
14058
14059 * math/bits/mathcalls.h (modf): Use __nonnull.
14060
085ec079
SP
140612012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14062
14063 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14064 (split): Use macro CN instead of the bare value.
14065 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14066 could be used.
14067 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14068 instead of the bare value.
14069 (power1): Likewise.
14070
6d9f97e1
SP
140712012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14072
d63f73be
SP
14073 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14074 __ATAN_TWOM.
14075 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14076
6d9f97e1
SP
14077 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14078 their values.
14079 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14080 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14081 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14082 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14083
4c4febf5
AJ
140842012-12-28 Andreas Jaeger <aj@suse.de>
14085
af5843ef
AJ
14086 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14087 values are from Linux 3.7.
14088
4c4febf5
AJ
14089 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14090 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14091
99136f82
SP
140922012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14093
2f216c3c 14094 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
14095 TRUE case.
14096
99136f82
SP
14097 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14098 (norm): Likewise.
14099 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14100 variables with preprocessor constants.
14101 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14102 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14103 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14104
7fffbdff
BH
141052012-12-27 Bruno Haible <bruno@clisp.org>
14106
14107 [BZ #14317]
14108 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14109 only if needed.
14110
b76eb5f0
SP
141112012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14112
31a7fe5c
SP
14113 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14114 and use variable directly.
14115 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14116
b76eb5f0
SP
14117 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14118 MPONE.
14119 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14120 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14121 variable MPONE.
14122 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14123 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14124 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14125 include directive. Remove local variable MPONE.
14126 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14127 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14128 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14129
2c8bfe7d
DM
141302012-12-25 David S. Miller <davem@davemloft.net>
14131
14132 * version.h (RELEASE): Set to "development".
14133 (VERSION): Set to "2.17.90".
14134 * NEWS: Add 2.18 section.
14135
147d03b0
DM
141362012-12-21 David S. Miller <davem@davemloft.net>
14137
14138 * po/hr.po: Update from translation team.
14139
a8ebb2b9
AK
141402012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14141
14142 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14143
95b4f1b6
SE
141442012-12-19 Steve Ellcey <sellcey@mips.com>
14145
b2d94007 14146 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 14147
cedb2a90
MS
141482012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14149
14150 * manual/contrib.texi (Contributors): Spelling correction.
14151
bbf527d6
DM
141522012-12-15 David S. Miller <davem@davemloft.net>
14153
14154 * po/ru.po: Update from translation team.
14155
bc38c906
DM
141562012-12-13 David S. Miller <davem@davemloft.net>
14157
85429b1a
DM
14158 * NEWS: Mention IFUNC testsuite enhancements.
14159
d283e353
DM
14160 * po/pl.po: Update from translation team.
14161 * po/bg.po: Likewise.
14162
bc38c906
DM
14163 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14164 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14165
a181b0d7
DM
141662012-12-11 David S. Miller <davem@davemloft.net>
14167
4641d57e
DM
14168 * po/sv.po: Update from translation team.
14169
f7bc6495
DM
14170 * po/vi.po: Update from translation team.
14171
6fc9048f
DM
14172 * po/cs.po: Update from translation team.
14173
a181b0d7
DM
14174 * po/de.po: Update from translation team.
14175 * po/eo.po: Likewise.
14176 * po/nl.po: Likewise.
14177
f70bfe80
SP
141782012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14179
3c8b4190
SP
14180 [BZ #14246]
14181 * manual/argp.texi (Argp Helper Functions): Move node to follow
14182 Argp Parsing State.
14183
f70bfe80
SP
14184 [BZ #14872]
14185 * manual/conf.texi (Limits on File System Capacity): Mention if
14186 terminating null is included in the max size.
14187
188f0adf
AJ
141882012-12-10 Andreas Jaeger <aj@suse.de>
14189
14190 * po/cs.po: Update from translation team.
14191
56e7d3ad
SP
141922012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14193
14194 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14195 void pointer and cast to uintptr_t.
14196 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14197 path.
14198 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14199 * sysdeps/s390/s390-64/memset.S: Likewise.
14200
76f2d2ea 142012012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
14202
14203 [BZ #14833]
14204 * menual/message.texi (Message Translation): Fix typos.
14205 (Helper programs for gettext): Likewise.
14206
67cbf9a2
AS
142072012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14208
14209 [BZ #14898]
14210 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14211 Change to -1.
14212
682d0e9a
DM
142132012-12-07 David S. Miller <davem@davemloft.net>
14214
14215 * po/libc.pot: Update.
14216
573cd484
RH
142172012-12-07 Richard Henderson <rth@redhat.com>
14218
7e9da188 14219 [BZ #10114]
573cd484
RH
14220 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14221 normal/normal case to before the switch.
14222 (_FP_DIV): Likewise.
14223
e933a943
MF
142242012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14225 Mike Frysinger <vapier@gentoo.org>
14226
14227 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14228 check for __NR_fadvise64_64.
14229
82123268
CM
142302012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14231
14232 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14233 0, not just to plain "0" as a statement.
14234 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14235 with cw.
14236
d9814526
JM
142372012-12-06 Joseph Myers <joseph@codesourcery.com>
14238
14239 * NEWS: Use sourceware.org in Bugzilla URL.
14240
7728c574
SP
142412012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14242
f16946dd
SP
14243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14244 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14245
5704bbcb
SP
14246 * stdio-common/tst-put-error.c (do_test): Add newline to the
14247 padded test to ensure flush.
14248
17aa0516
JL
142492012-12-05 Jeff Law <law@redhat.com>
14250
14251 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14252
363313b5
JM
142532012-12-05 Joseph Myers <joseph@codesourcery.com>
14254
effbd42a
JM
14255 * README: Don't refer to ports add-on as distributed separately.
14256 Mention AArch64 in list of systems supported in the ports add-on.
14257
87600365
JM
14258 * LICENSES: Add more non-FSF copyright and license notices.
14259
a0d7066a
JM
14260 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14261 ((unused)).
14262
66ca5a5b
JM
14263 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14264
363313b5
JM
14265 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14266 10000 as width of padded output.
14267
b37984ad
JM
142682012-12-04 Joseph Myers <joseph@codesourcery.com>
14269
9003570a
JM
14270 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14271
b37984ad
JM
14272 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14273 variable LX with __attribute__ ((unused)).
14274 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14275 Likewise.
14276 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14277 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14278 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14279 with __attribute__ ((unused)).
14280
c8df52ec
DM
142812012-12-04 David S. Miller <davem@abraco.davemloft.net>
14282
14283 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14284
b3b099af
JM
142852012-12-04 Joseph Myers <joseph@codesourcery.com>
14286
c33aa6e3
JM
14287 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14288 (CFLAGS-nldbl-acos.c): New variable.
14289 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14290 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14291 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14292 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14293 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14294 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14295 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14296 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14297 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14298 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14299 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14300 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14301 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14302 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14303 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14304 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14305 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14306 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14307 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14308 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14309 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14310 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14311 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14312 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14313 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14314 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14315 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14316 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14317 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14318 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14319 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14320 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14321 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14322 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14323 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14324 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14325 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14326 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14327 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14328 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14329 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14330 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14331 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14332 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14333 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14334 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14335 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14336 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14337 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14338 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14339 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14340 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14341 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14342 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14343 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14344 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14345 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14346 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14347 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14348 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14349 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14350 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14351 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14352 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14353 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14354 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14355 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14356 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14357 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14358 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14359 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14360 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14361 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14362 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14363 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14364 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14365 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14366 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14367 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14368 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14369 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14370 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14371 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14372 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14373 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14374 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14375 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14376 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14377 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14378 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14379 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14380 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14381 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14382 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14383 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14384 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14385 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14386
20f0018d
JM
14387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14388 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14389
b3b099af
JM
14390 [BZ #14914]
14391 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14392 whole low double instead of just low 47 bits when splitting values
14393 into two parts.
14394
029264d1
AM
143952012-12-03 Allan McRae <allan@archlinux.org>
14396
14397 * manual/stdio.texi (Predefined Printf Handlers): Remove
14398 @hsep and @vsep usage.
14399
c9d6789e
MF
144002012-12-03 Mike Frysinger <vapier@gentoo.org>
14401
14402 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14403 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14404
4b7634a5
JL
144052012-12-03 Jeff Law <law@redhat.com>
14406
14407 * time/sys/time.h (settimeofday): Do not mark TV argument
14408 as __nonnull.
14409
eb6cbd24
MF
144102012-12-01 Mike Frysinger <vapier@gentoo.org>
14411
14412 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14413 when currently writing and seek to current position when not.
14414 * libio/Makefile (tests): Remove bug-fclose1.
14415 * libio/bug-fclose1.c: Delete.
14416
f638872a
JM
144172012-12-01 Joseph Myers <joseph@codesourcery.com>
14418
14419 * manual/arith.texi (feenableexcept): Fix typo.
14420 (fedisableexcept): Likewise.
14421
48085d14
RM
144222012-11-30 Roland McGrath <roland@hack.frob.com>
14423
14424 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14425 second, differently-typed declaration, rather than a cast.
14426
1a538b9f
SP
144272012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14428
14429 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14430 * include/rpc/svc.h: ... here.
14431
d07f2ff1 144322012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
14433
14434 [BZ #13013]
14435 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14436 depending n and resplen2 to catch cases where answer
14437 equals answerp2.
14438
c93ec1f0
CD
144392012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14440
14441 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14442 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14443
37db69de
MF
144442012-11-29 Mike Frysinger <vapier@gentoo.org>
14445
14446 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14447
e10c4e4f
RM
144482012-11-29 Roland McGrath <roland@hack.frob.com>
14449
14450 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14451
2af1b328
JL
144522012-11-28 Jeff Law <law@redhat.com>
14453
14454 [BZ #13761]
14455 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14456 dataset_temporary. Track alloca usage into alloca_used.
14457 If dataset is large allocate and release it via malloc/free.
14458
111db5b1
FW
144592012-06-04 Florian Weimer <fweimer@redhat.com>
14460
f06cc227 14461 [BZ #14197]
111db5b1
FW
14462 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14463
dd694abd
DM
144642012-11-28 David S. Miller <davem@davemloft.net>
14465
14466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14467
9984dd01
JM
144682012-11-28 Joseph Myers <joseph@codesourcery.com>
14469
14470 [BZ #14803]
14471 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14472 of pi/2 rounded to nearest to 64 bits.
14473 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14474 nearest to 64 bits.
14475 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14476 bits.
14477
14bc93a9
JL
144782012-11-28 Jeff Law <law@redhat.com>
14479 Martin Osvald <mosvald@redhat.com>
14480
14481 [BZ #14889]
14482 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14483 * sunrpc/svc.c: Include time.h.
14484 (__svc_accept_failed): New function.
14485 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14486 any reason other than EINTR, call __svc_accept_failed.
14487 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14488 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14489
e3c6aa3a
AS
144902012-11-28 Andreas Schwab <schwab@suse.de>
14491
14492 * scripts/abilist.awk: Also handle indirect functions in .opd
14493 section.
14494
1bead169
JM
144952012-11-28 Joseph Myers <joseph@codesourcery.com>
14496
14497 [BZ #13881]
14498 * sysdeps/x86/fpu/powl_helper.c: New file.
14499 * sysdeps/x86/fpu/Makefile: Likewise.
14500 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14501 (p3): New object.
14502 (__ieee754_powl): Use __powl_helper for finite arguments except
14503 integer exponents below 8.
14504 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14505 (p3): New object.
14506 (__ieee754_powl): Use __powl_helper for finite arguments except
14507 integer exponents below 8.
14508 * math/libm-test.inc (pow_test): Add more tests and enable some
14509 previously disabled tests.
14510 * sysdeps/i386/fpu/libm-test-ulps: Update.
14511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14512
0817d63d
SP
145132012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14514 Carlos O'Donell <carlos_odonell@mentor.com>
14515
14516 * nss/makedb.c (is_prime): Assert that input is odd and greater
14517 than 4. Note that fact in a comment too.
14518 (next_prime): Add 4 to input.
14519
de2fd463
SP
145202012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14521
14522 [BZ #11741]
14523 * libio/Makefile (tests): Add test case tst-fwrite-error.
14524 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14525 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14526 * libio/tst-fwrite-error.c: New test case.
14527
c515fb51
L
145282012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14529
14530 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14531 before casting to void *.
14532 * include/libc-internal.h (__pointer_type): New macro.
14533 (__integer_if_pointer_type_sub): Likewise.
14534 (__integer_if_pointer_type): Likewise.
14535 (cast_to_integer): Likewise.
14536 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14537 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14538 before casting to atomic64_t.
14539 (atomic_exchange_acq): Likewise.
14540 (__arch_exchange_and_add_body): Likewise.
14541 (__arch_add_body): Likewise.
14542 (atomic_add_negative): Likewise.
14543 (atomic_add_zero): Likewise.
14544
4cf77aa9
JM
145452012-11-26 Joseph Myers <joseph@codesourcery.com>
14546
14547 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14548 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14549 (add_fdes): Likewise.
14550 (linear_search_fdes): Likewise.
14551 (binary_search_unencoded_fdes): Likewise.
14552
d260b3b4
AS
145532012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14554
14555 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14556
67060746
AC
145572012-11-24 Adam Conrad <adconrad@0c3.net>
14558
14559 * configure.in: Autodetect C++ header directories.
14560 * configure: Regenerated.
14561
800938a1
MF
145622012-11-23 Mike Frysinger <vapier@gentoo.org>
14563
14564 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14565
4e6e34e6
AS
145662012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14567
14568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14569
7c7feb47
JM
145702012-11-22 Joseph Myers <joseph@codesourcery.com>
14571
7184dcdf
JM
14572 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14573 LDBL_MANT_DIG == 106]: Disable some tests.
14574 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14575 Likewise.
14576 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14577 Likewise.
14578
0a42601f
JM
14579 [BZ #14871]
14580 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14581 input for small inputs. Return +/- pi/2 for large inputs.
14582 * math/libm-test.inc (atan_test): Add more tests.
14583
79c9b9fe
JM
14584 * sysdeps/generic/unwind-dw2-fde-glibc.c
14585 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14586 __attribute__ ((unused)).
14587
c60d3bf2
JM
14588 [BZ #14645]
14589 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14590 x * y if x and y are nonzero and z is zero.
14591
ef1e0867
JM
14592 [BZ #14811]
14593 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14594 nonzero exponents with absolute value below 0x1p-117 to +/-
14595 0x1p-117.
14596
1468ded3
JM
14597 [BZ #14869]
14598 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14599 up arguments below 2**-450, not just those below 2**-500.
14600 * math/libm-test.inc (hypot_test): Add another test.
14601
8e27e3cc
JM
14602 [BZ #14868]
14603 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14604 Return a+b for ratio over 2**120, not 2**60.
14605 * math/libm-test.inc (hypot_test): Add another test.
14606
c9c0279b
JM
14607 * math/libm-test.inc (clog_test): Use
14608 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14609 (clog10_test): Likewise.
14610
7c7feb47
JM
14611 [BZ #6778]
14612 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14613
fff1530e
AS
146142012-11-22 Andreas Schwab <schwab@suse.de>
14615
14616 * sysdeps/i386/fpu/libm-test-ulps: Update.
14617
94558d30
PT
146182012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14619
14620 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14621 printf output with newline.
14622
7e1be741
L
146232012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14624
6bfea974
L
14625 [BZ #14865]
14626 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14627 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14628 -z nodlopen, -z initfirst and -z execstack support.
14629 * configure: Regenerated.
14630
7e1be741
L
14631 * elf/elf.h (DF_1_NODIRECT): New macro.
14632 (DF_1_IGNMULDEF): Likewise.
14633 (DF_1_NOKSYMS): Likewise.
14634 (DF_1_NOHDR): Likewise.
14635 (DF_1_EDITED): Likewise.
14636 (DF_1_NORELOC): Likewise.
14637 (DF_1_SYMINTPOSE): Likewise.
14638 (DF_1_GLOBAUDIT): Likewise.
14639 (DF_1_SINGLETON): Likewise.
14640 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14641 DT_1_SUPPORTED_MASK bits.
14642 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14643
105ce2ce
CD
146442012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14645
14646 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14647
123be9de
TS
146482012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14649
d072f3f7
TS
14650 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14651 macro.
14652
123be9de
TS
14653 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14654 (sendmmsg): Move declarations...
14655 * socket/sys/socket.h: ... here.
14656 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14657 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14658 include it from...
14659 * socket/recvmmsg.c: ... this new file.
14660 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14661 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14662 definition of __sendmmsg hidden.
14663 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14664 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14665 Move ENOSYS stub into and include it from...
14666 * socket/sendmmsg.c: ... this new file.
14667 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14668 (sysdep_routines): Move recvmmsg and sendmmsg...
14669 * socket/Makefile (routines): ... here.
14670 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14671 (GLIBC_PRIVATE): Add __sendmmsg.
14672 * include/sys/socket.h (__sendmmsg): Add declarations.
14673 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14674 sendmmsg.
14675
cf9a5d18
JM
146762012-11-20 Joseph Myers <joseph@codesourcery.com>
14677
14678 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14679 variable I1 with __attribute__ ((unused)).
14680 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14681
ecd4caf9
JM
146822012-11-19 Joseph Myers <joseph@codesourcery.com>
14683
be14d48f
JM
14684 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14685 DUMMY variables with __attribute__ ((unused)).
14686
ecd4caf9
JM
14687 * bits/byteswap.h: Include <bits/types.h>.
14688 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14689
986cab95
PT
146902012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14691
14692 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14693 string_t. Do not manually set errno.
14694 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14695 length with __strnlen. Make sure to both set errno and return it on
14696 failure.
14697
6d33cc9d
DM
146982012-11-19 David S. Miller <davem@davemloft.net>
14699
14700 With help from Joseph Myers.
14701 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14702 very large arguments properly.
14703 * math/libm-test.inc (atan_test): New tests.
14704 (atan2_test): New tests.
14705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14707
ee663277
JM
147082012-11-19 Joseph Myers <joseph@codesourcery.com>
14709
877f2d8e
JM
14710 [BZ #14856]
14711 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14712 Define to 3.
14713
116fc08a
JM
14714 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14715 [POSIX] (EADDRNOTAVAIL): Likewise.
14716 [POSIX] (EAFNOSUPPORT): Likewise.
14717 [POSIX] (EALREADY): Likewise.
14718 [POSIX] (ECONNABORTED): Likewise.
14719 [POSIX] (ECONNREFUSED): Likewise.
14720 [POSIX] (ECONNRESET): Likewise.
14721 [POSIX] (EDESTADDRREQ): Likewise.
14722 [POSIX] (EDQUOT): Likewise.
14723 [POSIX] (EHOSTUNREACH): Likewise.
14724 [POSIX] (EIDRM): Likewise.
14725 [POSIX] (EISCONN): Likewise.
14726 [POSIX] (ELOOP): Likewise.
14727 [POSIX] (EMULTIHOP): Likewise.
14728 [POSIX] (ENETDOWN): Likewise.
14729 [POSIX] (ENETUNREACH): Likewise.
14730 [POSIX] (ENOBUFS): Likewise.
14731 [POSIX] (ENODATA): Likewise.
14732 [POSIX] (ENOLINK): Likewise.
14733 [POSIX] (ENOMSG): Likewise.
14734 [POSIX] (ENOPROTOOPT): Likewise.
14735 [POSIX] (ENOSR): Likewise.
14736 [POSIX] (ENOSTR): Likewise.
14737 [POSIX] (ENOTCONN): Likewise.
14738 [POSIX] (ENOTSOCK): Likewise.
14739 [POSIX] (EOPNOTSUPP): Likewise.
14740 [POSIX] (EOVERFLOW): Likewise.
14741 [POSIX] (EPROTO): Likewise.
14742 [POSIX] (EPROTONOSUPPORT): Likewise.
14743 [POSIX] (EPROTOTYPE): Likewise.
14744 [POSIX] (ESTALE): Likewise.
14745 [POSIX] (ETIME): Likewise.
14746 [POSIX] (ETXTBSY): Likewise.
14747 [POSIX] (EWOULDBLOCK): Likewise.
14748 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14749 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14750 [POSIX] (SEEK_CUR): Likewise.
14751 [POSIX] (SEEK_END): Likewise.
14752 [POSIX || UNIX98] (mode_t): Do not require.
14753 [POSIX] (off_t): Likewise.
14754 [POSIX] (pid_t): Likewise.
14755 [POSIX] (sys/stat.h): Do not allow header.
14756 [POSIX] (unistd.h): Likewise.
14757 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14758 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14759 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14760 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14761 require.
14762 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14763 sigevent): Specify elements.
14764 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14765 entry.
14766 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14767 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14768
a483863f
JM
14769 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14770 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14771 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14772 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14773 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14774 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14775 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14776 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14777 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14778 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14779 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14780 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14781 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14782 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14783 Likewise.
14784 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14785 Likewise.
14786 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14787 Likewise.
14788 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14789 Likewise.
14790 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14791 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14792 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14793 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14794 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14795 Specify lower bound on value.
14796 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14797 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14798 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14799 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14800 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14801 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14802 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14803 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14804 value.
14805 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14806 as optional.
14807 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14808 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14809 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14810 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14811 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14812 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14813 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14814 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14815 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14816 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14817 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14818 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14819 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14820 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14821 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14822 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14823 entry.
14824 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14825 optional.
14826 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14827 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14828 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14829 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14830 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14831 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14832 Likewise.
14833 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14834 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14835 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14836 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14837 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14838 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14839 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14840 as optional.
14841 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14842 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14843 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14844 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14845 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14846 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14847 specify as optional.
14848 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14849 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14850 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14851 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14852 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14853 [XPG3] (NL_LANGMAX): Likewise.
14854 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14855 [POSIX || XPG3] (NL_NMAX): Likewise.
14856 [POSIX || XPG3] (NL_SETMAX): Likewise.
14857 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14858 [XPG3] (NZERO): Likewise.
14859 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14860 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14861 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14862 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14863 (REG_ERANGE): Expect.
14864 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14865 optional-constant.
14866 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14867 Use (void) in prototype.
14868 [POSIX] (*_t): Allow.
14869 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14870 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14871 (WRDE_BADVAL): Expect.
14872
5ba924e3
JM
14873 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14874 expect.
14875 [XPG3 || XPG4] (O_RSYNC): Likewise.
14876 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14877 Likewise.
14878 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14879 [XPG3 || XPG4] (sigqueue): Likewise.
14880 [XPG3 || XPG4] (sigtimedwait): Likewise.
14881 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14882 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14883 [XPG3 || XPG4] (vsnprintf): Likewise.
14884 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14885 Likewise.
14886 [XPG3 || XPG4] (blksize_t): Likewise.
14887 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14888 Likewise.
14889 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14890 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14891 [XPG3 || XPG4] (struct itimerspec): Likewise.
14892 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14893 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14894 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14895 [XPG3 || XPG4] (clockid_t): Likewise.
14896 [XPG3 || XPG4] (timer_t): Likewise.
14897 [XPG3 || XPG4] (clock_getres): Likewise.
14898 [XPG3 || XPG4] (clock_gettime): Likewise.
14899 [XPG3 || XPG4] (clock_settime): Likewise.
14900 [XPG3 || XPG4] (nanosleep): Likewise.
14901 [XPG3 || XPG4] (timer_create): Likewise.
14902 [XPG3 || XPG4] (timer_delete): Likewise.
14903 [XPG3 || XPG4] (timer_gettime): Likewise.
14904 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14905 [XPG3 || XPG4] (timer_settime): Likewise.
14906 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14907 [XPG3 || XPG4] (getlogin_r): Likewise.
14908 [XPG3 || XPG4] (pread): Likewise.
14909 [XPG3 || XPG4] (pthread_atfork): Likewise.
14910 [XPG3 || XPG4] (pwrite): Likewise.
14911
ee663277
JM
14912 [BZ #14835]
14913 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14914 <bits/siginfo.h>.
14915
942caa16
PT
149162012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14917
e19af380
PT
14918 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14919 finalizing MALLSTREAM.
14920
942caa16
PT
14921 * sysdeps/mach/hurd/syncfs.c: New file.
14922
cfde9b46
SP
149232012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14924
14925 [BZ #14719]
14926 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14927 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14928 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14929 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14930 (_nss_dns_gethostbyname4_r): Likewise.
14931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14932 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14933
f6da27e5
PH
149342012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14935
14936 [BZ #13763]
14937 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14938
6665d4a2
SM
149392012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14940
1f51ee92
SM
14941 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14942 * elf/cache.c (print_entry): Print ",AArch64" for
14943 FLAG_AARCH64_LIB64
14944
6665d4a2
SM
14945 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14946 * elf/cache.c (print_entry): Print ",hard-float" for
14947 FLAG_ARM_LIBHF.
14948
05b227bd
DM
149492012-11-18 David S. Miller <davem@davemloft.net>
14950
14951 With help from Joseph Myers.
14952 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14953 cutoff to 2**-13.
14954 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14955 cutoff to 2**-25.
14956 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14957 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14958 small.
14959 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14960 * math/libm-test.inc (y0_test): New tests.
14961 (y1_test): New tests.
14962 * sysdeps/i386/fpu/libm-test-ulps: Update.
14963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14965
786b0b67
AS
149662012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14967
14968 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14969 64-bit targets.
14970 * configure: Regenerated.
14971
8e18b86d
DM
149722012-11-17 David S. Miller <davem@davemloft.net>
14973
14974 [BZ #14811]
14975 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14976 nonzero exponents with absolute value below 0x1p-128 to +/-
14977 0x1p-128.
14978
531f1ae0
JM
149792012-11-17 Joseph Myers <joseph@codesourcery.com>
14980
12df29e2
JM
14981 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14982
150dc1a0
JM
14983 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14984
531f1ae0
JM
14985 * posix/getconf-speclist.c: New file.
14986 * posix/posix-envs.def: Likewise.
14987 * posix/confstr.c (START_ENV_GROUP): New macro.
14988 (END_ENV_GROUP): Likewise.
14989 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14990 (KNOWN_PRESENT_ENV_STRING): Likewise.
14991 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14992 (UNKNOWN_ENVIRONMENT): Likewise.
14993 (confstr): Include posix-envs.def instead of handling
14994 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14995 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14996 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14997 (END_ENV_GROUP): Likewise.
14998 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14999 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15000 (UNKNOWN_ENVIRONMENT): Likewise.
15001 (__sysconf): Include posix-envs.def instead of handling associated
15002 cases directly here.
15003 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15004 preprocessing getconf-speclist.c rather than running getconf or
15005 generating empty file.
15006
a93f9cbc
PT
150072012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15008
15009 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15010
d64d9f87
AL
150112012-11-16 Andrej Lajovic <natrij@gmail.com>
15012
15013 [BZ #14672]
15014 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15015
447885eb
DM
150162012-11-16 David S. Miller <davem@davemloft.net>
15017
15018 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15019 smaller than LDBL_EPSILON/2.0L, just return xm1.
15020
bcbf9830
L
150212012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15022
15023 * elf/tst-array1.c (init): Set constructor priority to 1000.
15024 (fini): Set destructor priority to 1000.
15025 * elf/tst-array2dep.c: Likewise.
15026
2b766585
SP
150272012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15028
15029 [BZ #11741]
15030 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15031 (_IO_new_file_xsputn): Also return EOF if none of the input
15032 data was written when overflow failed.
15033 * libio/iopadn.c (_IO_padn): Likewise.
15034 * libio/iowpadn.c (_IO_wpadn): Likewise.
15035 * stdio-common/tst-put-error.c: Add copyright notice.
15036 (do_test): Add case for printing padded string.
15037 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15038 _IO_padn returned error.
15039 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15040 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15041 return EOF.
15042
b1848fde
SP
150432012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15044
15045 * libio/libioP.h: Add comment note that the references to C++
15046 bits are now obsolete.
15047
2fd89785
MS
150482012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15049
15050 * math/libm-test.inc (check_complex): Use asprintf.
15051
e3ea5409
JM
150522012-11-14 Joseph Myers <joseph@codesourcery.com>
15053
15054 * debug/pcprofiledump.c (print_version): Update copyright year.
15055 * malloc/memusagestat.c (print_version): Likewise.
15056
2e64d265
L
150572012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15058
15059 [BZ #14831]
15060 * elf/Makefile (tests): Add tst-audit8.
15061 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15062 ($(objpfx)tst-audit8.out): New target.
15063 (tst-audit8-ENV): New variable.
15064 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15065 audit if l_reloc_result is NULL.
15066 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15067 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15068 * elf/tst-audit8.c: New file.
15069
c485e4d2
MS
150702012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15071
15072 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15073 * misc/Makefile (CFLAGS-select.c): Define.
15074 * posix/Makefile (CFLAGS-pause.c): Define.
15075
3a0d900a
DM
150762012-11-13 David S. Miller <davem@davemloft.net>
15077
15078 * crypt/Makefile: Move test targets after toplevel Rules
15079 inclusion. Grab any necessary sysdep routines when linking.
15080 * crypt/md5.c (md5_process_block): Remove define, we will always
15081 name it __md5_process_block.
15082 (md5_finish_ctx): Update md5_process_block call.
15083 (md5_stream): Likewise.
15084 (md5_process_bytes): Likewise.
15085 (md5_process_block): Rename to __md5_process_block and move to ...
15086 * crypt/md5-block.c: ... here.
15087 * crypt/sha256.c (sha256_process_block): Move to ...
15088 * crypt/sha256-block.c: ... here.
15089 * crypt/sha512.c (sha512_process_block): Move to ...
15090 * crypt/sha512-block.c: ... here.
15091 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15092 path.
15093 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15094 * sysdeps/sparc/sparc64/multiarch/Makefile
15095 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15096 crypt subdir.
15097 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15098 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15099 multiarch changes.
15100 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15101 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15102 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15103 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15104 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15105 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15106 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15107 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15108 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15109 file.
15110 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15111 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15112 file.
15113 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15114
8ca89318
JM
151152012-11-13 Joseph Myers <joseph@codesourcery.com>
15116
e27d476a
JM
15117 * timezone/tzselect.ksh: Update from tzcode git revision
15118 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15119 * timezone/zdump.c: Likewise.
15120 * timezone/zic.c: Likewise.
15121 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15122 in TZVERSION setting, not $(PKGVERSION).
15123 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15124 REPORT_BUGS_TO settings.
15125
8ca89318
JM
15126 [BZ #14838]
15127 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15128 macro.
15129
47594329
MS
151302012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15131
15132 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15133 detection to immediately after _FP_ROUND().
15134 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15135 bits are 0.
15136
640ac3f1
DM
151372012-11-11 David S. Miller <davem@davemloft.net>
15138
15139 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15140 inttypes.h
15141 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15142 __close rather than their public counterparts.
15143
3d2577bb
JM
151442012-11-10 Joseph Myers <joseph@codesourcery.com>
15145
15146 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15147 file.
15148 [UNIX98] (sem_timedwait): Do not expect.
15149 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15150 [XPG4 || UNIX98] (sockatmark): Do not expect.
15151 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15152 (clock_getcpuclockid): Do not expect.
15153 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15154 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15155 Do not expect.
15156 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15157 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15158 [UNIX98] (vwscanf): Likewise.
15159 [UNIX98] (vswscanf): Likewise.
15160
fb1ae1ee
JM
151612012-11-09 Joseph Myers <joseph@codesourcery.com>
15162
9ec6f8bd
JM
15163 * timezone/version.h: Remove file.
15164 * timezone/README: Do not refer to version.h.
15165 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15166 $(objpfx)version.h.
15167 ($(objpfx)zdump.o): Likewise.
c3f81911 15168 ($(objpfx)version.h): New target.
9ec6f8bd 15169
0aa8f8a1
JM
15170 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15171 2012i.
15172 * timezone/README: Don't mention modification to tzselect.ksh.
15173 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15174 work on unmodified tzselect.ksh. Substitute version numbers in
15175 tzselect.ksh.
15176
4e87147f
JM
15177 * Makefile (format-me): Remove.
15178 (INSTALL): Adjust indentation. Use commands directly instead of
15179 using $(format-me).
15180
8b748aed
JM
15181 * aclocal.m4 (ACX_PKGVERSION): New macro.
15182 (ACX_BUGURL): Likewise.
15183 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15184 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15185 (REPORT_BUGS_TO): Likewise.
15186 * configure: Regenerated.
15187 * config.h.in (PKGVERSION): New macro.
15188 (REPORT_BUGS_TO): Likewise.
15189 * config.make.in (PKGVERSION): New variable.
15190 (PKGVERSION_TEXI): Likewise.
15191 (REPORT_BUGS_TO): Likewise.
15192 (REPORT_BUGS_TEXI): Likewise.
15193 * Makefile (format-me): Use -I$(common-objpfx)manual.
15194 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15195 ($(common-objpfx)manual/%): New target.
15196 (manual/%): Remove target.
15197 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15198 (print_version): Use PKGVERSION.
15199 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15200 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15201 and REPORT_BUGS_TO.
15202 ($(objpfx)xtrace): Likewise.
15203 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15204 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15205 (print_version): Use PKGVERSION.
15206 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15207 (do_version): Use PKGVERSION.
15208 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15209 REPORT_BUGS_TO.
15210 (common-ldd-rewrite): Likewise.
15211 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15212 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15213 (print_version): Use PKGVERSION.
15214 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15215 * elf/pldd.c (argp_program_bug_address): Remove variable.
15216 (more_help): New function.
15217 (argp): Use more_help.
15218 (print_version): Use PKGVERSION.
15219 * elf/sln.c (main): Use PKGVERSION.
15220 (usage): Use REPORT_BUGS_TO.
15221 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15222 (top level): Use PKGVERSION.
15223 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15224 (print_version): Use PKGVERSION.
15225 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15226 (print_version): Use PKGVERSION.
15227 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15228 (print_version): Use PKGVERSION.
15229 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15230 (print_version): Use PKGVERSION.
15231 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15232 (print_version): Use PKGVERSION.
15233 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15234 (print_version): Use PKGVERSION.
15235 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15236 and BUGURL.
15237 ($(objpfx)memusage): Likewise.
15238 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15239 (do_version): Use PKGVERSION.
15240 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15241 (print_version): Use PKGVERSION.
15242 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15243 ($PKGVERSION): New variable.
15244 ($REPORT_BUGS_TO): Likewise.
15245 (usage): Use $REPORT_BUGS_TO.
15246 (top level): Use $PKGVERSION.
15247 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15248 ($(objpfx)pkgvers.texi): New rule.
15249 ($(objpfx)stamp-pkgvers): Likewise.
15250 * manual/install.texi: Include pkgvers.texi.
15251 (--with-pkgversion): Document new configure option.
15252 (--with-bugurl): Likewise.
15253 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15254 than necessarily for this particular distribution. Use
15255 REPORT_BUGS_TO for where to report bugs.
15256 * INSTALL: Regenerated.
15257 * manual/libc.texinfo: Include pkgvers.texi.
15258 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15259 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15260 (print_version): Use PKGVERSION.
15261 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15262 (print_version): Use PKGVERSION.
15263 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15264 (print_version): Use PKGVERSION.
15265 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15266 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15267 macro.
15268 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15269 (print_version): Use PKGVERSION.
15270 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15271 (print_version): Use PKGVERSION.
15272 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15273 and PKGVERSION.
15274
92e4b6a9
JM
15275 * timezone/checktab.awk: Update from tzcode 2012i.
15276 * timezone/ialloc.c: Likewise.
15277 * timezone/private.h: Likewise.
15278 * timezone/scheck.c: Likewise.
15279 * timezone/tzfile.h: Likewise.
15280 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15281 (TZVERSION): Hardcode tzcode version number.
15282 * timezone/zdump.c: Update from tzcode 2012i.
15283 * timezone/zic.c: Likewise.
15284 * timezone/version.h: New file.
15285 * timezone/README: Describe version.h. Update upstream location.
15286
9bde902c
JM
15287 [BZ #14824]
15288 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15289 (mktemp): Enable declaration.
15290 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15291 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15292 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15293 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15294 Likewise.
15295 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15296 Likewise.
15297 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15298 Likewise.
15299 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15300 Likewise.
15301 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15302 Likewise.
15303 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15304 Likewise.
15305
fb1ae1ee
JM
15306 [BZ #14821]
15307 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15308 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15309 for copies of such integer values.
15310 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15311 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15312
2c1adbcb
AJ
153132012-11-09 Andreas Jaeger <aj@suse.de>
15314
15315 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15316 definitions and declarations that are provided by
15317 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15318
d0f8457e
AK
153192012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15320
3a235abb 15321 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
15322 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15323 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15324 definition.
15325
57241e26
MS
153262012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15327
15328 * elf/elf.h: Update comment before AArch64 relocations.
15329
60e8270d
DM
153302012-11-07 David S. Miller <davem@davemloft.net>
15331
15332 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15333 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15334 (__start_context): Declare.
15335 (__makecontext_ret): Delete.
15336 (__makecontext): Hook up __start_context instead of
15337 __makecontext_ret.
15338 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15339 (sysdep_routines): Add __start_context when in stdlib.
15340
0fbb0fbc
JM
153412012-11-07 Joseph Myers <joseph@codesourcery.com>
15342
15343 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15344 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15345 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15346 hardcoded "nm".
15347 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15348 (READELF): New variable. Use it instead of hardcoded "readelf".
15349
eb48db7e
L
153502012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15351
15352 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15353 * sysdeps/x86/Makefile: Here.
15354 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15355 * sysdeps/x86/tst-xmmymm.sh: This.
15356
05bcf62a
JM
153572012-11-07 Joseph Myers <joseph@codesourcery.com>
15358
c4b6cf53
JM
15359 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15360 expectations.
15361 [UNIX98] (pthread_barrier_t): Do not expect.
15362 [UNIX98] (pthread_barrierattr_t): Likewise.
15363 [UNIX98] (pthread_spinlock_t): Likewise.
15364 [UNIX98] (pthread_barrier_destroy): Likewise.
15365 [UNIX98] (pthread_barrier_init): Likewise.
15366 [UNIX98] (pthread_barrier_wait): Likewise.
15367 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15368 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15369 [UNIX98] (pthread_barrierattr_init): Likewise.
15370 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15371 [UNIX98] (pthread_getcpuclockid): Likewise.
15372 [UNIX98] (pthread_mutex_timedlock): Likewise.
15373 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15374 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15375 [UNIX98] (pthread_sigmask): Likewise.
15376 [UNIX98] (pthread_spin_destroy): Likewise.
15377 [UNIX98] (pthread_spin_init): Likewise.
15378 [UNIX98] (pthread_spin_lock): Likewise.
15379 [UNIX98] (pthread_spin_trylock): Likewise.
15380 [UNIX98] (pthread_spin_unlock): Likewise.
15381 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15382 Do not expect.
15383 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15384 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15385 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15386 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15387 [XPG3 || XPG4] (pthread_key_t): Likewise.
15388 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15389 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15390 [XPG3 || XPG4] (pthread_once_t): Likewise.
15391 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15392 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15393 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15394 [XPG3 || XPG4] (pthread_t): Likewise.
15395
cbe6e120
JM
15396 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15397 not expect.
15398 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15399
1b126443
JM
15400 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15401 Change function return type to int.
15402
b961a573
JM
15403 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15404 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15405 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15406 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15407 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15408 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15409 [!POSIX] (posix_madvise): Likewise.
15410 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15411 && !UNIX98].
15412 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15413 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15414 (mode_t): Likewise.
15415 (posix_mem_offset): Likewise.
15416 (posix_typed_mem_get_info): Likewise.
15417 (posix_typed_mem_open): Likewise.
15418
9e188909
JM
15419 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15420 Change condition to [XOPEN2K8].
15421
05bcf62a
JM
15422 * conform/conformtest.pl: Preprocess allow-header data with -x c
15423 instead of from stdin.
15424 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15425 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15426 [C99-based standards] (cerfc): Likewise.
15427 [C99-based standards] (cexp2): Likewise.
15428 [C99-based standards] (cexpm1): Likewise.
15429 [C99-based standards] (clog10): Likewise.
15430 [C99-based standards] (clog1p): Likewise.
15431 [C99-based standards] (clog2): Likewise.
15432 [C99-based standards] (clgamma): Likewise.
15433 [C99-based standards] (ctgamma): Likewise.
15434 [C99-based standards] (cerff): Likewise.
15435 [C99-based standards] (cerfcf): Likewise.
15436 [C99-based standards] (cexp2f): Likewise.
15437 [C99-based standards] (cexpm1f): Likewise.
15438 [C99-based standards] (clog10f): Likewise.
15439 [C99-based standards] (clog1pf): Likewise.
15440 [C99-based standards] (clog2f): Likewise.
15441 [C99-based standards] (clgammaf): Likewise.
15442 [C99-based standards] (ctgammaf): Likewise.
15443 [C99-based standards] (cerfl): Likewise.
15444 [C99-based standards] (cerfcl): Likewise.
15445 [C99-based standards] (cexp2l): Likewise.
15446 [C99-based standards] (cexpm1l): Likewise.
15447 [C99-based standards] (clog10l): Likewise.
15448 [C99-based standards] (clog1pl): Likewise.
15449 [C99-based standards] (clog2l): Likewise.
15450 [C99-based standards] (clgammal): Likewise.
15451 [C99-based standards] (ctgammal): Likewise.
15452 * conform/data/inttypes.h-data [C99-based standards]: Include
15453 stdint.h-data. Remove all expectations for stdint.h contents.
15454 [C99-based standards] (PRI*): Do not allow.
15455 [C99-based standards] (SCN*): Likewise.
15456 [C99-based standards] (*_t): Likewise.
15457 [C99-based-standards] (PRId8): Expect macro.
15458 [C99-based-standards] (PRIi8): Likewise.
15459 [C99-based-standards] (PRIo8): Likewise.
15460 [C99-based-standards] (PRIu8): Likewise.
15461 [C99-based-standards] (PRIx8): Likewise.
15462 [C99-based-standards] (PRIX8): Likewise.
15463 [C99-based-standards] (SCNd8): Likewise.
15464 [C99-based-standards] (SCNi8): Likewise.
15465 [C99-based-standards] (SCNo8): Likewise.
15466 [C99-based-standards] (SCNu8): Likewise.
15467 [C99-based-standards] (SCNx8): Likewise.
15468 [C99-based-standards] (PRIdLEAST8): Likewise.
15469 [C99-based-standards] (PRIiLEAST8): Likewise.
15470 [C99-based-standards] (PRIoLEAST8): Likewise.
15471 [C99-based-standards] (PRIuLEAST8): Likewise.
15472 [C99-based-standards] (PRIxLEAST8): Likewise.
15473 [C99-based-standards] (PRIXLEAST8): Likewise.
15474 [C99-based-standards] (SCNdLEAST8): Likewise.
15475 [C99-based-standards] (SCNiLEAST8): Likewise.
15476 [C99-based-standards] (SCNoLEAST8): Likewise.
15477 [C99-based-standards] (SCNuLEAST8): Likewise.
15478 [C99-based-standards] (SCNxLEAST8): Likewise.
15479 [C99-based-standards] (PRIdFAST8): Likewise.
15480 [C99-based-standards] (PRIiFAST8): Likewise.
15481 [C99-based-standards] (PRIoFAST8): Likewise.
15482 [C99-based-standards] (PRIuFAST8): Likewise.
15483 [C99-based-standards] (PRIxFAST8): Likewise.
15484 [C99-based-standards] (PRIXFAST8): Likewise.
15485 [C99-based-standards] (SCNdFAST8): Likewise.
15486 [C99-based-standards] (SCNiFAST8): Likewise.
15487 [C99-based-standards] (SCNoFAST8): Likewise.
15488 [C99-based-standards] (SCNuFAST8): Likewise.
15489 [C99-based-standards] (SCNxFAST8): Likewise.
15490 [C99-based-standards] (PRId16): Likewise.
15491 [C99-based-standards] (PRIi16): Likewise.
15492 [C99-based-standards] (PRIo16): Likewise.
15493 [C99-based-standards] (PRIu16): Likewise.
15494 [C99-based-standards] (PRIx16): Likewise.
15495 [C99-based-standards] (PRIX16): Likewise.
15496 [C99-based-standards] (SCNd16): Likewise.
15497 [C99-based-standards] (SCNi16): Likewise.
15498 [C99-based-standards] (SCNo16): Likewise.
15499 [C99-based-standards] (SCNu16): Likewise.
15500 [C99-based-standards] (SCNx16): Likewise.
15501 [C99-based-standards] (PRIdLEAST16): Likewise.
15502 [C99-based-standards] (PRIiLEAST16): Likewise.
15503 [C99-based-standards] (PRIoLEAST16): Likewise.
15504 [C99-based-standards] (PRIuLEAST16): Likewise.
15505 [C99-based-standards] (PRIxLEAST16): Likewise.
15506 [C99-based-standards] (PRIXLEAST16): Likewise.
15507 [C99-based-standards] (SCNdLEAST16): Likewise.
15508 [C99-based-standards] (SCNiLEAST16): Likewise.
15509 [C99-based-standards] (SCNoLEAST16): Likewise.
15510 [C99-based-standards] (SCNuLEAST16): Likewise.
15511 [C99-based-standards] (SCNxLEAST16): Likewise.
15512 [C99-based-standards] (PRIdFAST16): Likewise.
15513 [C99-based-standards] (PRIiFAST16): Likewise.
15514 [C99-based-standards] (PRIoFAST16): Likewise.
15515 [C99-based-standards] (PRIuFAST16): Likewise.
15516 [C99-based-standards] (PRIxFAST16): Likewise.
15517 [C99-based-standards] (PRIXFAST16): Likewise.
15518 [C99-based-standards] (SCNdFAST16): Likewise.
15519 [C99-based-standards] (SCNiFAST16): Likewise.
15520 [C99-based-standards] (SCNoFAST16): Likewise.
15521 [C99-based-standards] (SCNuFAST16): Likewise.
15522 [C99-based-standards] (SCNxFAST16): Likewise.
15523 [C99-based-standards] (PRId32): Likewise.
15524 [C99-based-standards] (PRIi32): Likewise.
15525 [C99-based-standards] (PRIo32): Likewise.
15526 [C99-based-standards] (PRIu32): Likewise.
15527 [C99-based-standards] (PRIx32): Likewise.
15528 [C99-based-standards] (PRIX32): Likewise.
15529 [C99-based-standards] (SCNd32): Likewise.
15530 [C99-based-standards] (SCNi32): Likewise.
15531 [C99-based-standards] (SCNo32): Likewise.
15532 [C99-based-standards] (SCNu32): Likewise.
15533 [C99-based-standards] (SCNx32): Likewise.
15534 [C99-based-standards] (PRIdLEAST32): Likewise.
15535 [C99-based-standards] (PRIiLEAST32): Likewise.
15536 [C99-based-standards] (PRIoLEAST32): Likewise.
15537 [C99-based-standards] (PRIuLEAST32): Likewise.
15538 [C99-based-standards] (PRIxLEAST32): Likewise.
15539 [C99-based-standards] (PRIXLEAST32): Likewise.
15540 [C99-based-standards] (SCNdLEAST32): Likewise.
15541 [C99-based-standards] (SCNiLEAST32): Likewise.
15542 [C99-based-standards] (SCNoLEAST32): Likewise.
15543 [C99-based-standards] (SCNuLEAST32): Likewise.
15544 [C99-based-standards] (SCNxLEAST32): Likewise.
15545 [C99-based-standards] (PRIdFAST32): Likewise.
15546 [C99-based-standards] (PRIiFAST32): Likewise.
15547 [C99-based-standards] (PRIoFAST32): Likewise.
15548 [C99-based-standards] (PRIuFAST32): Likewise.
15549 [C99-based-standards] (PRIxFAST32): Likewise.
15550 [C99-based-standards] (PRIXFAST32): Likewise.
15551 [C99-based-standards] (SCNdFAST32): Likewise.
15552 [C99-based-standards] (SCNiFAST32): Likewise.
15553 [C99-based-standards] (SCNoFAST32): Likewise.
15554 [C99-based-standards] (SCNuFAST32): Likewise.
15555 [C99-based-standards] (SCNxFAST32): Likewise.
15556 [C99-based-standards] (PRId64): Likewise.
15557 [C99-based-standards] (PRIi64): Likewise.
15558 [C99-based-standards] (PRIo64): Likewise.
15559 [C99-based-standards] (PRIu64): Likewise.
15560 [C99-based-standards] (PRIx64): Likewise.
15561 [C99-based-standards] (PRIX64): Likewise.
15562 [C99-based-standards] (SCNd64): Likewise.
15563 [C99-based-standards] (SCNi64): Likewise.
15564 [C99-based-standards] (SCNo64): Likewise.
15565 [C99-based-standards] (SCNu64): Likewise.
15566 [C99-based-standards] (SCNx64): Likewise.
15567 [C99-based-standards] (PRIdLEAST64): Likewise.
15568 [C99-based-standards] (PRIiLEAST64): Likewise.
15569 [C99-based-standards] (PRIoLEAST64): Likewise.
15570 [C99-based-standards] (PRIuLEAST64): Likewise.
15571 [C99-based-standards] (PRIxLEAST64): Likewise.
15572 [C99-based-standards] (PRIXLEAST64): Likewise.
15573 [C99-based-standards] (SCNdLEAST64): Likewise.
15574 [C99-based-standards] (SCNiLEAST64): Likewise.
15575 [C99-based-standards] (SCNoLEAST64): Likewise.
15576 [C99-based-standards] (SCNuLEAST64): Likewise.
15577 [C99-based-standards] (SCNxLEAST64): Likewise.
15578 [C99-based-standards] (PRIdFAST64): Likewise.
15579 [C99-based-standards] (PRIiFAST64): Likewise.
15580 [C99-based-standards] (PRIoFAST64): Likewise.
15581 [C99-based-standards] (PRIuFAST64): Likewise.
15582 [C99-based-standards] (PRIxFAST64): Likewise.
15583 [C99-based-standards] (PRIXFAST64): Likewise.
15584 [C99-based-standards] (SCNdFAST64): Likewise.
15585 [C99-based-standards] (SCNiFAST64): Likewise.
15586 [C99-based-standards] (SCNoFAST64): Likewise.
15587 [C99-based-standards] (SCNuFAST64): Likewise.
15588 [C99-based-standards] (SCNxFAST64): Likewise.
15589 [C99-based-standards] (PRIdMAX): Likewise.
15590 [C99-based-standards] (PRIiMAX): Likewise.
15591 [C99-based-standards] (PRIoMAX): Likewise.
15592 [C99-based-standards] (PRIuMAX): Likewise.
15593 [C99-based-standards] (PRIxMAX): Likewise.
15594 [C99-based-standards] (PRIXMAX): Likewise.
15595 [C99-based-standards] (SCNdMAX): Likewise.
15596 [C99-based-standards] (SCNiMAX): Likewise.
15597 [C99-based-standards] (SCNoMAX): Likewise.
15598 [C99-based-standards] (SCNuMAX): Likewise.
15599 [C99-based-standards] (SCNxMAX): Likewise.
15600 [C99-based-standards] (PRIdPTR): Likewise.
15601 [C99-based-standards] (PRIiPTR): Likewise.
15602 [C99-based-standards] (PRIoPTR): Likewise.
15603 [C99-based-standards] (PRIuPTR): Likewise.
15604 [C99-based-standards] (PRIxPTR): Likewise.
15605 [C99-based-standards] (PRIXPTR): Likewise.
15606 [C99-based-standards] (SCNdPTR): Likewise.
15607 [C99-based-standards] (SCNiPTR): Likewise.
15608 [C99-based-standards] (SCNoPTR): Likewise.
15609 [C99-based-standards] (SCNuPTR): Likewise.
15610 [C99-based-standards] (SCNxPTR): Likewise.
15611 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15612 allow.
15613 * conform/data/stdint.h-data: Update comments to clarify
15614 requirements.
15615 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15616 type.
15617 [C99-based standards] (INT8_MAX): Likewise.
15618 [C99-based standards] (INT16_MIN): Likewise.
15619 [C99-based standards] (INT16_MAX): Likewise.
15620 [C99-based standards] (INT32_MIN): Likewise.
15621 [C99-based standards] (INT32_MAX): Likewise.
15622 [C99-based standards] (INT64_MIN): Likewise.
15623 [C99-based standards] (INT64_MAX): Likewise.
15624 [C99-based standards] (UINT8_MAX): Likewise.
15625 [C99-based standards] (UINT16_MAX): Likewise.
15626 [C99-based standards] (UINT32_MAX): Likewise.
15627 [C99-based standards] (UINT64_MAX): Likewise.
15628 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15629 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15630 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15631 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15632 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15633 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15634 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15635 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15636 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15637 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15638 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15639 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15640 [C99-based standards] (INT_FAST8_MIN): Likewise.
15641 [C99-based standards] (INT_FAST8_MAX): Likewise.
15642 [C99-based standards] (INT_FAST16_MIN): Likewise.
15643 [C99-based standards] (INT_FAST16_MAX): Likewise.
15644 [C99-based standards] (INT_FAST32_MIN): Likewise.
15645 [C99-based standards] (INT_FAST32_MAX): Likewise.
15646 [C99-based standards] (INT_FAST64_MIN): Likewise.
15647 [C99-based standards] (INT_FAST64_MAX): Likewise.
15648 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15649 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15650 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15651 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15652 [C99-based standards] (INTPTR_MIN): Likewise.
15653 [C99-based standards] (INTPTR_MAX): Likewise.
15654 [C99-based standards] (UINTPTR_MAX): Likewise.
15655 [C99-based standards] (INTMAX_MIN): Likewise.
15656 [C99-based standards] (INTMAX_MAX): Likewise.
15657 [C99-based standards] (UINTMAX_MAX): Likewise.
15658 [C99-based standards] (PTRDIFF_MIN): Likewise.
15659 [C99-based standards] (PTRDIFF_MAX): Likewise.
15660 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15661 [C99-based standards] (SIZE_MAX): Likewise.
15662 [C99-based standards] (WCHAR_MAX): Likewise.
15663 [C99-based standards] (WINT_MAX): Likewise.
15664 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15665 constraint on value.
15666 [C99-based standards] (WCHAR_MIN): Likewise.
15667 [C99-based standards] (WINT_MIN): Likewise.
15668 [C99-based standards] (*_t): Allow.
15669 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15670 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15671 Include math.h-data and complex.h-data. Remove all expectations
15672 of math.h and complex.h contents.
15673 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15674 at end of line.
15675 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15676 (struct tm): Expect tag.
15677 [C99-based-standards] (wcstof): Expect function.
15678 [C99-based-standards] (wcstold): Likewise.
15679 [C99-based-standards] (wcstoll): Likewise.
15680 [C99-based-standards] (wcstoull): Likewise.
15681 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15682 macro-int-constant. Specify type.
15683 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15684 constraint on value.
15685 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15686 Specify type.
15687 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15688 Specify value.
15689 [ISO C standards]: Do not allow headers.
15690 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15691 wcs[abcdefghijklmnopqrstuvwxyz]*.
15692 [ISO C standards] (*_t): Do not allow.
15693 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15694 Expect function.
15695 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15696 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15697 Specify type.
15698 [ISO C standards]: Do not allow headers.
15699 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15700 is[abcdefghijklmnopqrstuvwxyz]*.
15701 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15702 to[abcdefghijklmnopqrstuvwxyz]*.
15703 [ISO C standards] (*_t): Do not allow.
15704 * conform/data/stdalign.h-data: New file.
15705 * conform/data/stdbool.h-data: Likewise.
15706 * conform/data/stdnoreturn.h-data: Likewise.
15707
7514feb8
RM
157082012-11-07 Roland McGrath <roland@hack.frob.com>
15709
15710 [BZ #14815]
15711 * manual/filesys.texi (Directory Entries): Typo fix.
15712 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15713
19b2ecfc
MS
157142012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15715
15716 * elf/elf.h (EM_AARCH64): New macro.
15717 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15718 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15719 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15720 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15721 (R_AARCH64_TLSDESC): Likewise.
15722 (NT_ARM_TLS): Likewise.
15723 (NT_ARM_HW_BREAK): Likewise.
15724 (NT_ARM_HW_WATCH): Likewise.
15725
60e235ee
JM
157262012-11-07 Joseph Myers <joseph@codesourcery.com>
15727
15728 [BZ #14811]
15729 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15730 (__ieee754_powl): Saturate nonzero exponents with absolute value
15731 below 0x1p-79 to +/- 0x1p-79.
15732 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15733 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15734 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15735 nonzero exponents with absolute value below 0x1p-32 to +/-
15736 0x1p-32.
15737 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15738 (__ieee754_powl): Saturate nonzero exponents with absolute value
15739 below 0x1p-79 to +/- 0x1p-79.
15740 * math/libm-test.inc (pow_test): Add more tests.
15741
0ab234b7
AK
157422012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15743
15744 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15745 _dl_s390_cap_flags with kernel. Increase string length.
15746 (_dl_s390_platforms): Add z196 and zEC12.
15747
45832f74
JM
157482012-11-07 Joseph Myers <joseph@codesourcery.com>
15749
15750 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15751 Change XOPEN21K to XOPEN2K.
15752
19218757
MK
157532012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15754
15755 * string/memmove.c: Use memcpy when possible.
15756
c5f45721
AJ
157572012-11-06 Andreas Jaeger <aj@suse.de>
15758
15759 * po/eo.po: Update from translation team.
15760
82477c28
JM
157612012-11-06 Joseph Myers <joseph@codesourcery.com>
15762
15763 [BZ #14793]
15764 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15765 exponent and small x and y exponents, scale x or y up. Increase
15766 by 2 the exponent used in scaling up.
15767 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15768 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15769 * math/libm-test.inc (fma_test): Add more tests.
15770 (fma_test_towardzero): Likewise.
15771 (fma_test_downward): Likewise.
15772 (fma_test_upward): Likewise.
15773
99252c8c
JM
157742012-11-05 Joseph Myers <joseph@codesourcery.com>
15775
acfa885f
JM
15776 [BZ #14805]
15777 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15778 fenv_t *.
15779
99252c8c
JM
15780 [BZ #14801]
15781 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15782 namespace for names of struct fields.
15783 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15784 fenv_t fields.
15785 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15786 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15787
d6d98dea
ST
157882012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15789
15790 [BZ #3665]
15791 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15792
e10bb107
TS
157932012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15794
15795 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15796 PTR_DEMANGLE.
15797
15798 [BZ #5246]
15799 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15800 PTR_DEMANGLE.
15801
a0c2940d
JM
158022012-11-04 Joseph Myers <joseph@codesourcery.com>
15803
15804 [BZ #14797]
15805 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15806 definitely overflow as x * y not x * y + z.
15807 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15808 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15809 * math/libm-test.inc (fma_test): Add more tests.
15810 (fma_test_towardzero): Likewise.
15811 (fma_test_downward): Likewise.
15812 (fma_test_upward): Likewise.
15813
b830319d
TS
158142012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15815
15816 [BZ #157]
15817
15818 * include/stub-tag.h: Remove file.
15819 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15820 '#include' of it.
15821 * manual/maint.texi (Porting): Don't reference it.
15822 * Makerules ($(objpfx)stubs): Likewise.
15823 * dirent/closedir.c: Don't include <stub-tag.h>.
15824 * dirent/dirfd.c: Likewise.
15825 * dirent/fdopendir.c: Likewise.
15826 * dirent/getdents.c: Likewise.
15827 * dirent/getdents64.c: Likewise.
15828 * dirent/opendir.c: Likewise.
15829 * dirent/readdir.c: Likewise.
15830 * dirent/readdir64.c: Likewise.
15831 * dirent/readdir64_r.c: Likewise.
15832 * dirent/readdir_r.c: Likewise.
15833 * dirent/rewinddir.c: Likewise.
15834 * dirent/seekdir.c: Likewise.
15835 * dirent/telldir.c: Likewise.
15836 * gmon/profil.c: Likewise.
15837 * grp/setgroups.c: Likewise.
15838 * inet/if_index.c: Likewise.
15839 * io/access.c: Likewise.
15840 * io/chdir.c: Likewise.
15841 * io/chmod.c: Likewise.
15842 * io/chown.c: Likewise.
15843 * io/close.c: Likewise.
15844 * io/dup.c: Likewise.
15845 * io/dup2.c: Likewise.
15846 * io/dup3.c: Likewise.
15847 * io/euidaccess.c: Likewise.
15848 * io/faccessat.c: Likewise.
15849 * io/fchdir.c: Likewise.
15850 * io/fchmod.c: Likewise.
15851 * io/fchmodat.c: Likewise.
15852 * io/fchown.c: Likewise.
15853 * io/fchownat.c: Likewise.
15854 * io/fcntl.c: Likewise.
15855 * io/flock.c: Likewise.
15856 * io/fstatfs.c: Likewise.
15857 * io/fstatfs64.c: Likewise.
15858 * io/fstatvfs.c: Likewise.
15859 * io/fstatvfs64.c: Likewise.
15860 * io/futimens.c: Likewise.
15861 * io/fxstat.c: Likewise.
15862 * io/fxstat64.c: Likewise.
15863 * io/fxstatat.c: Likewise.
15864 * io/fxstatat64.c: Likewise.
15865 * io/getcwd.c: Likewise.
15866 * io/isatty.c: Likewise.
15867 * io/lchmod.c: Likewise.
15868 * io/lchown.c: Likewise.
15869 * io/link.c: Likewise.
15870 * io/linkat.c: Likewise.
15871 * io/lseek.c: Likewise.
15872 * io/lseek64.c: Likewise.
15873 * io/lxstat64.c: Likewise.
15874 * io/mkdir.c: Likewise.
15875 * io/mkdirat.c: Likewise.
15876 * io/mkfifo.c: Likewise.
15877 * io/mkfifoat.c: Likewise.
15878 * io/open.c: Likewise.
15879 * io/open64.c: Likewise.
15880 * io/openat.c: Likewise.
15881 * io/openat64.c: Likewise.
15882 * io/pipe.c: Likewise.
15883 * io/pipe2.c: Likewise.
15884 * io/poll.c: Likewise.
15885 * io/posix_fadvise.c: Likewise.
15886 * io/posix_fadvise64.c: Likewise.
15887 * io/posix_fallocate.c: Likewise.
15888 * io/posix_fallocate64.c: Likewise.
15889 * io/read.c: Likewise.
15890 * io/readlink.c: Likewise.
15891 * io/readlinkat.c: Likewise.
15892 * io/rmdir.c: Likewise.
15893 * io/sendfile.c: Likewise.
15894 * io/sendfile64.c: Likewise.
15895 * io/statfs.c: Likewise.
15896 * io/statfs64.c: Likewise.
15897 * io/statvfs.c: Likewise.
15898 * io/statvfs64.c: Likewise.
15899 * io/symlink.c: Likewise.
15900 * io/symlinkat.c: Likewise.
15901 * io/ttyname.c: Likewise.
15902 * io/ttyname_r.c: Likewise.
15903 * io/umask.c: Likewise.
15904 * io/unlink.c: Likewise.
15905 * io/unlinkat.c: Likewise.
15906 * io/utime.c: Likewise.
15907 * io/utimensat.c: Likewise.
15908 * io/write.c: Likewise.
15909 * io/xmknod.c: Likewise.
15910 * io/xmknodat.c: Likewise.
15911 * io/xstat.c: Likewise.
15912 * io/xstat64.c: Likewise.
15913 * login/getpt.c: Likewise.
15914 * login/grantpt.c: Likewise.
15915 * login/unlockpt.c: Likewise.
15916 * math/e_acoshl.c: Likewise.
15917 * math/e_acosl.c: Likewise.
15918 * math/e_asinl.c: Likewise.
15919 * math/e_atan2l.c: Likewise.
15920 * math/e_atanhl.c: Likewise.
15921 * math/e_coshl.c: Likewise.
15922 * math/e_expl.c: Likewise.
15923 * math/e_fmodl.c: Likewise.
15924 * math/e_gammal_r.c: Likewise.
15925 * math/e_hypotl.c: Likewise.
15926 * math/e_j0l.c: Likewise.
15927 * math/e_j1l.c: Likewise.
15928 * math/e_jnl.c: Likewise.
15929 * math/e_lgammal_r.c: Likewise.
15930 * math/e_log10l.c: Likewise.
15931 * math/e_log2l.c: Likewise.
15932 * math/e_logl.c: Likewise.
15933 * math/e_powl.c: Likewise.
15934 * math/e_rem_pio2l.c: Likewise.
15935 * math/e_sinhl.c: Likewise.
15936 * math/e_sqrtl.c: Likewise.
15937 * math/fclrexcpt.c: Likewise.
15938 * math/fedisblxcpt.c: Likewise.
15939 * math/feenablxcpt.c: Likewise.
15940 * math/fegetenv.c: Likewise.
15941 * math/fegetexcept.c: Likewise.
15942 * math/fegetround.c: Likewise.
15943 * math/feholdexcpt.c: Likewise.
15944 * math/fesetenv.c: Likewise.
15945 * math/fesetround.c: Likewise.
15946 * math/feupdateenv.c: Likewise.
15947 * math/fgetexcptflg.c: Likewise.
15948 * math/fraiseexcpt.c: Likewise.
15949 * math/fsetexcptflg.c: Likewise.
15950 * math/ftestexcept.c: Likewise.
15951 * math/k_cosl.c: Likewise.
15952 * math/k_rem_pio2l.c: Likewise.
15953 * math/k_sinl.c: Likewise.
15954 * math/k_tanl.c: Likewise.
15955 * math/s_asinhl.c: Likewise.
15956 * math/s_atanl.c: Likewise.
15957 * math/s_cbrtl.c: Likewise.
15958 * math/s_erfl.c: Likewise.
15959 * math/s_expm1l.c: Likewise.
15960 * math/s_log1pl.c: Likewise.
15961 * math/s_tanhl.c: Likewise.
15962 * misc/acct.c: Likewise.
15963 * misc/brk.c: Likewise.
15964 * misc/chflags.c: Likewise.
15965 * misc/chroot.c: Likewise.
15966 * misc/fchflags.c: Likewise.
15967 * misc/fgetxattr.c: Likewise.
15968 * misc/flistxattr.c: Likewise.
15969 * misc/fremovexattr.c: Likewise.
15970 * misc/fsetxattr.c: Likewise.
15971 * misc/fsync.c: Likewise.
15972 * misc/ftruncate.c: Likewise.
15973 * misc/futimes.c: Likewise.
15974 * misc/futimesat.c: Likewise.
15975 * misc/getdomain.c: Likewise.
15976 * misc/getdtsz.c: Likewise.
15977 * misc/gethostid.c: Likewise.
15978 * misc/gethostname.c: Likewise.
15979 * misc/getloadavg.c: Likewise.
15980 * misc/getpagesize.c: Likewise.
15981 * misc/getsysstats.c: Likewise.
15982 * misc/getxattr.c: Likewise.
15983 * misc/gtty.c: Likewise.
15984 * misc/ioctl.c: Likewise.
15985 * misc/lgetxattr.c: Likewise.
15986 * misc/listxattr.c: Likewise.
15987 * misc/llistxattr.c: Likewise.
15988 * misc/lremovexattr.c: Likewise.
15989 * misc/lsetxattr.c: Likewise.
15990 * misc/lutimes.c: Likewise.
15991 * misc/madvise.c: Likewise.
15992 * misc/mincore.c: Likewise.
15993 * misc/mlock.c: Likewise.
15994 * misc/mlockall.c: Likewise.
15995 * misc/mmap.c: Likewise.
15996 * misc/mprotect.c: Likewise.
15997 * misc/msync.c: Likewise.
15998 * misc/munlock.c: Likewise.
15999 * misc/munlockall.c: Likewise.
16000 * misc/munmap.c: Likewise.
16001 * misc/preadv.c: Likewise.
16002 * misc/preadv64.c: Likewise.
16003 * misc/ptrace.c: Likewise.
16004 * misc/pwritev.c: Likewise.
16005 * misc/pwritev64.c: Likewise.
16006 * misc/readv.c: Likewise.
16007 * misc/reboot.c: Likewise.
16008 * misc/remap_file_pages.c: Likewise.
16009 * misc/removexattr.c: Likewise.
16010 * misc/revoke.c: Likewise.
16011 * misc/select.c: Likewise.
16012 * misc/setdomain.c: Likewise.
16013 * misc/setegid.c: Likewise.
16014 * misc/seteuid.c: Likewise.
16015 * misc/sethostid.c: Likewise.
16016 * misc/sethostname.c: Likewise.
16017 * misc/setregid.c: Likewise.
16018 * misc/setreuid.c: Likewise.
16019 * misc/setxattr.c: Likewise.
16020 * misc/sstk.c: Likewise.
16021 * misc/stty.c: Likewise.
16022 * misc/swapoff.c: Likewise.
16023 * misc/swapon.c: Likewise.
16024 * misc/sync.c: Likewise.
16025 * misc/syncfs.c: Likewise.
16026 * misc/syscall.c: Likewise.
16027 * misc/truncate.c: Likewise.
16028 * misc/ualarm.c: Likewise.
16029 * misc/usleep.c: Likewise.
16030 * misc/ustat.c: Likewise.
16031 * misc/utimes.c: Likewise.
16032 * misc/vhangup.c: Likewise.
16033 * misc/writev.c: Likewise.
16034 * posix/_exit.c: Likewise.
16035 * posix/alarm.c: Likewise.
16036 * posix/execve.c: Likewise.
16037 * posix/fexecve.c: Likewise.
16038 * posix/fork.c: Likewise.
16039 * posix/fpathconf.c: Likewise.
16040 * posix/getaddrinfo.c: Likewise.
16041 * posix/getegid.c: Likewise.
16042 * posix/geteuid.c: Likewise.
16043 * posix/getgid.c: Likewise.
16044 * posix/getgroups.c: Likewise.
16045 * posix/getlogin.c: Likewise.
16046 * posix/getlogin_r.c: Likewise.
16047 * posix/getpgid.c: Likewise.
16048 * posix/getpid.c: Likewise.
16049 * posix/getppid.c: Likewise.
16050 * posix/getresgid.c: Likewise.
16051 * posix/getresuid.c: Likewise.
16052 * posix/getsid.c: Likewise.
16053 * posix/getuid.c: Likewise.
16054 * posix/glob64.c: Likewise.
16055 * posix/nanosleep.c: Likewise.
16056 * posix/pathconf.c: Likewise.
16057 * posix/pause.c: Likewise.
16058 * posix/posix_madvise.c: Likewise.
16059 * posix/pread.c: Likewise.
16060 * posix/pread64.c: Likewise.
16061 * posix/pwrite.c: Likewise.
16062 * posix/pwrite64.c: Likewise.
16063 * posix/sched_getaffinity.c: Likewise.
16064 * posix/sched_getp.c: Likewise.
16065 * posix/sched_gets.c: Likewise.
16066 * posix/sched_primax.c: Likewise.
16067 * posix/sched_primin.c: Likewise.
16068 * posix/sched_rr_gi.c: Likewise.
16069 * posix/sched_setaffinity.c: Likewise.
16070 * posix/sched_setp.c: Likewise.
16071 * posix/sched_sets.c: Likewise.
16072 * posix/sched_yield.c: Likewise.
16073 * posix/setgid.c: Likewise.
16074 * posix/setlogin.c: Likewise.
16075 * posix/setpgid.c: Likewise.
16076 * posix/setresgid.c: Likewise.
16077 * posix/setresuid.c: Likewise.
16078 * posix/setsid.c: Likewise.
16079 * posix/setuid.c: Likewise.
16080 * posix/sleep.c: Likewise.
16081 * posix/spawni.c: Likewise.
16082 * posix/sysconf.c: Likewise.
16083 * posix/times.c: Likewise.
16084 * posix/wait.c: Likewise.
16085 * posix/wait3.c: Likewise.
16086 * posix/wait4.c: Likewise.
16087 * posix/waitpid.c: Likewise.
16088 * resolv/gai_sigqueue.c: Likewise.
16089 * resource/getpriority.c: Likewise.
16090 * resource/getrlimit.c: Likewise.
16091 * resource/getrusage.c: Likewise.
16092 * resource/nice.c: Likewise.
16093 * resource/setpriority.c: Likewise.
16094 * resource/setrlimit.c: Likewise.
16095 * resource/ulimit.c: Likewise.
16096 * rt/aio_cancel.c: Likewise.
16097 * rt/aio_fsync.c: Likewise.
16098 * rt/aio_read.c: Likewise.
16099 * rt/aio_sigqueue.c: Likewise.
16100 * rt/aio_suspend.c: Likewise.
16101 * rt/aio_write.c: Likewise.
16102 * rt/clock_getres.c: Likewise.
16103 * rt/clock_gettime.c: Likewise.
16104 * rt/clock_nanosleep.c: Likewise.
16105 * rt/clock_settime.c: Likewise.
16106 * rt/lio_listio.c: Likewise.
16107 * rt/mq_close.c: Likewise.
16108 * rt/mq_getattr.c: Likewise.
16109 * rt/mq_notify.c: Likewise.
16110 * rt/mq_open.c: Likewise.
16111 * rt/mq_receive.c: Likewise.
16112 * rt/mq_send.c: Likewise.
16113 * rt/mq_setattr.c: Likewise.
16114 * rt/mq_timedreceive.c: Likewise.
16115 * rt/mq_timedsend.c: Likewise.
16116 * rt/mq_unlink.c: Likewise.
16117 * rt/shm_open.c: Likewise.
16118 * rt/shm_unlink.c: Likewise.
16119 * rt/timer_create.c: Likewise.
16120 * rt/timer_delete.c: Likewise.
16121 * rt/timer_getoverr.c: Likewise.
16122 * rt/timer_gettime.c: Likewise.
16123 * rt/timer_settime.c: Likewise.
16124 * setjmp/__longjmp.c: Likewise.
16125 * setjmp/setjmp.c: Likewise.
16126 * signal/kill.c: Likewise.
16127 * signal/killpg.c: Likewise.
16128 * signal/raise.c: Likewise.
16129 * signal/sigaction.c: Likewise.
16130 * signal/sigaltstack.c: Likewise.
16131 * signal/sigblock.c: Likewise.
16132 * signal/sigignore.c: Likewise.
16133 * signal/sigintr.c: Likewise.
16134 * signal/signal.c: Likewise.
16135 * signal/sigpause.c: Likewise.
16136 * signal/sigpending.c: Likewise.
16137 * signal/sigqueue.c: Likewise.
16138 * signal/sigreturn.c: Likewise.
16139 * signal/sigset.c: Likewise.
16140 * signal/sigsetmask.c: Likewise.
16141 * signal/sigstack.c: Likewise.
16142 * signal/sigsuspend.c: Likewise.
16143 * signal/sigtimedwait.c: Likewise.
16144 * signal/sigvec.c: Likewise.
16145 * signal/sigwait.c: Likewise.
16146 * signal/sigwaitinfo.c: Likewise.
16147 * signal/sysv_signal.c: Likewise.
16148 * socket/accept.c: Likewise.
16149 * socket/accept4.c: Likewise.
16150 * socket/bind.c: Likewise.
16151 * socket/connect.c: Likewise.
16152 * socket/getpeername.c: Likewise.
16153 * socket/getsockname.c: Likewise.
16154 * socket/getsockopt.c: Likewise.
16155 * socket/isfdtype.c: Likewise.
16156 * socket/listen.c: Likewise.
16157 * socket/recv.c: Likewise.
16158 * socket/recvfrom.c: Likewise.
16159 * socket/recvmsg.c: Likewise.
16160 * socket/send.c: Likewise.
16161 * socket/sendmsg.c: Likewise.
16162 * socket/sendto.c: Likewise.
16163 * socket/setsockopt.c: Likewise.
16164 * socket/shutdown.c: Likewise.
16165 * socket/sockatmark.c: Likewise.
16166 * socket/socket.c: Likewise.
16167 * socket/socketpair.c: Likewise.
16168 * stdio-common/ctermid.c: Likewise.
16169 * stdio-common/cuserid.c: Likewise.
16170 * stdio-common/remove.c: Likewise.
16171 * stdio-common/rename.c: Likewise.
16172 * stdio-common/renameat.c: Likewise.
16173 * stdio-common/tempname.c: Likewise.
16174 * stdlib/getcontext.c: Likewise.
16175 * stdlib/makecontext.c: Likewise.
16176 * stdlib/setcontext.c: Likewise.
16177 * stdlib/swapcontext.c: Likewise.
16178 * stdlib/system.c: Likewise.
16179 * streams/fattach.c: Likewise.
16180 * streams/fdetach.c: Likewise.
16181 * streams/getmsg.c: Likewise.
16182 * streams/getpmsg.c: Likewise.
16183 * streams/putmsg.c: Likewise.
16184 * streams/putpmsg.c: Likewise.
16185 * sysdeps/unix/bsd/getpt.c: Likewise.
16186 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16187 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16188 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16190 Likewise.
16191 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16192 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16193 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16194 * sysvipc/msgctl.c: Likewise.
16195 * sysvipc/msgget.c: Likewise.
16196 * sysvipc/msgrcv.c: Likewise.
16197 * sysvipc/msgsnd.c: Likewise.
16198 * sysvipc/semctl.c: Likewise.
16199 * sysvipc/semget.c: Likewise.
16200 * sysvipc/semop.c: Likewise.
16201 * sysvipc/semtimedop.c: Likewise.
16202 * sysvipc/shmat.c: Likewise.
16203 * sysvipc/shmctl.c: Likewise.
16204 * sysvipc/shmdt.c: Likewise.
16205 * sysvipc/shmget.c: Likewise.
16206 * termios/tcdrain.c: Likewise.
16207 * termios/tcflow.c: Likewise.
16208 * termios/tcflush.c: Likewise.
16209 * termios/tcgetattr.c: Likewise.
16210 * termios/tcgetpgrp.c: Likewise.
16211 * termios/tcsendbrk.c: Likewise.
16212 * termios/tcsetattr.c: Likewise.
16213 * termios/tcsetpgrp.c: Likewise.
16214 * time/adjtime.c: Likewise.
16215 * time/clock.c: Likewise.
16216 * time/getitimer.c: Likewise.
16217 * time/gettimeofday.c: Likewise.
16218 * time/setitimer.c: Likewise.
16219 * time/settimeofday.c: Likewise.
16220 * time/stime.c: Likewise.
16221 * time/time.c: Likewise.
16222
162232012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 16224
a20492cf
PT
16225 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16226 /usr/old/bin.
16227
72e182e3
PT
16228 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16229 instead of spaces.
16230 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16231
fbeafede
JM
162322012-11-03 Joseph Myers <joseph@codesourcery.com>
16233
5b5b04d6
JM
16234 [BZ #14796]
16235 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16236 FE_TONEAREST before applying Dekker multiplication and Knuth
16237 addition. Clear inexact exceptions and check for exact zero
16238 results afterwards.
16239 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16240 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16241 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16242 * math/libm-test.inc (fma_test): Add more tests.
16243 (fma_test_towardzero): Likewise.
16244 (fma_test_downward): Likewise.
16245 (fma_test_upward): Likewise.
16246 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16247 function.
16248 (libc_fesetround): New macro.
16249 (libc_fesetroundf): Likewise.
16250 (libc_fesetroundl): Likewise.
16251 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16252 function.
16253 (libc_fesetround_387): Likewise.
16254 (libc_fesetroundf): New macro.
16255 (libc_fesetround): Likewise.
16256 (libc_fesetroundl): Likewise.
16257 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16258 function.
16259 (libc_fesetroundf): New macro.
16260 (libc_fesetround): Likewise.
16261 (libc_fesetroundl): Likewise.
16262 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16263 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16264 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16265 libm_hidden_ver.
16266 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16267 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16268 libm_hidden_def.
16269 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16270 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16271 libm_hidden_ver.
16272 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16273 libm_hidden_def.
16274
fbeafede
JM
16275 [BZ #3439]
16276 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16277 integer constant usable in #if and use that to give value to enum
16278 constant.
16279 (FE_DIVBYZERO): Likewise.
16280 (FE_UNDERFLOW): Likewise.
16281 (FE_OVERFLOW): Likewise.
16282 (FE_INVALID): Likewise.
16283 (FE_INVALID_SNAN): Likewise.
16284 (FE_INVALID_ISI): Likewise.
16285 (FE_INVALID_IDI): Likewise.
16286 (FE_INVALID_ZDZ): Likewise.
16287 (FE_INVALID_IMZ): Likewise.
16288 (FE_INVALID_COMPARE): Likewise.
16289 (FE_INVALID_SOFTWARE): Likewise.
16290 (FE_INVALID_SQRT): Likewise.
16291 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16292 (FE_TONEAREST): Likewise.
16293 (FE_TOWARDZERO): Likewise.
16294 (FE_UPWARD): Likewise.
16295 (FE_DOWNWARD): Likewise.
16296 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16297 (FE_DIVBYZERO): Likewise.
16298 (FE_OVERFLOW): Likewise.
16299 (FE_UNDERFLOW): Likewise.
16300 (FE_INEXACT): Likewise.
16301 (FE_TONEAREST): Likewise.
16302 (FE_DOWNWARD): Likewise.
16303 (FE_UPWARD): Likewise.
16304 (FE_TOWARDZERO): Likewise.
16305 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16306 (FE_UNDERFLOW): Likewise.
16307 (FE_OVERFLOW): Likewise.
16308 (FE_DIVBYZERO): Likewise.
16309 (FE_INVALID): Likewise.
16310 (FE_TONEAREST): Likewise.
16311 (FE_TOWARDZERO): Likewise.
16312 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16313 (FE_OVERFLOW): Likewise.
16314 (FE_UNDERFLOW): Likewise.
16315 (FE_DIVBYZERO): Likewise.
16316 (FE_INEXACT): Likewise.
16317 (FE_TONEAREST): Likewise.
16318 (FE_TOWARDZERO): Likewise.
16319 (FE_UPWARD): Likewise.
16320 (FE_DOWNWARD): Likewise.
16321 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16322 (FE_DIVBYZERO): Likewise.
16323 (FE_OVERFLOW): Likewise.
16324 (FE_UNDERFLOW): Likewise.
16325 (FE_INEXACT): Likewise.
16326 (FE_TONEAREST): Likewise.
16327 (FE_DOWNWARD): Likewise.
16328 (FE_UPWARD): Likewise.
16329 (FE_TOWARDZERO): Likewise.
16330
105ca950
CM
163312012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16332
16333 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16334
a542b389
AS
163352012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16336
16337 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16338 commands. Quote $PWD.
16339 (blacklist_exports): Don't use remove_newlines. Replace "declare
16340 -x" by "export".
16341 (remove_newlines): Remove.
16342
f62c8abc
L
163432012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16344
16345 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16346 * stdlib/stdlib.h (atof): Moved to ...
16347 * include/bits/stdlib-float.h: Here. New file.
16348 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16349 * stdlib/bits/stdlib-float.h: New file.
16350 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16351 -mno-sse -mno-mmx.
16352 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16353 <xmmintrin.h>.
16354
0155d5b2
JM
163552012-11-02 Joseph Myers <joseph@codesourcery.com>
16356
a68d0680
JM
16357 * conform/conformtest.pl (@headers): Add fenv.h.
16358 * conform/data/fenv.h-data: New file.
16359 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16360 include of <math/fenv.h>.
16361
caf7f573
JM
16362 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16363 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16364 && !UNIX98]. Enables tests for XOPEN2K8.
16365 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16366 POSIX2008]: Likewise.
16367
6c073ad6
JM
16368 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16369 (struct rusage): Do not expect type or its members.
16370
0155d5b2
JM
16371 [BZ #3439]
16372 * math/math.h (FP_NAN): Define macro to integer constant usable in
16373 #if and use that to give value to enum constant.
16374 (FP_INFINITE): Likewise.
16375 (FP_ZERO): Likewise.
16376 (FP_SUBNORMAL): Likewise.
16377 (FP_NORMAL): Likewise.
16378
b5dcacb4
AS
163792012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16380
16381 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16382 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16383 arguments.
16384
f7934be8
RM
163852012-11-02 Roland McGrath <roland@hack.frob.com>
16386
16387 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16388 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16389 autoconf-time if not.
16390 * configure.in: Remove AC_PREREQ.
16391
d7d08bde
TMQMF
163922012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16393
16394 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16395 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16396 of the internal implementation.
16397
dcdae19a
JM
163982012-11-02 Joseph Myers <joseph@codesourcery.com>
16399
16400 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16401 except include of <misc/sys/syslog.h>.
16402
d6cffd3e
AS
164032012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16404
16405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16406 function returns with a NULL context exit with zero.
16407
b3563932
TMQMF
164082012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16409
16410 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16411
b288a93d
L
164122012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16413
16414 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16415 (run_program_cmd): This.
16416 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16417 (tst_langinfo): New variable. Use it.
16418
a2421a68
SAS
164192012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16420
16421 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16422 floating point opcodes.
16423
6f796e1b
TS
164242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16425
7402596b
TS
16426 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16427 variable.
16428
d0d4f868
TS
16429 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16430
6f796e1b
TS
16431 * sysdeps/mach/hurd/powerpc: Remove directory.
16432 * sysdeps/mach/powerpc: Likewise.
16433
4da224a2
AS
164342012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16435
16436 * scripts/check-local-headers.sh: Ignore c++ headers.
16437
341dd673
TS
164382012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16439
16440 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16441 __libc_cleanup_region_start argument.
16442
473611b2
JM
164432012-11-01 Joseph Myers <joseph@codesourcery.com>
16444
16445 [BZ #14784]
16446 [BZ #14785]
16447 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16448 x * y using scaling, not as x * y + z.
16449 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16450 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16451 * math/libm-test.inc (fma_test): Add more tests.
16452 (fma_test_towardzero): Likewise.
16453 (fma_test_downward): Likewise.
16454 (fma_test_upward): Likewise.
16455
4078da3d
TS
164562012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16457
16458 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16459
903252aa
JM
164602012-10-31 Joseph Myers <joseph@codesourcery.com>
16461
16462 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16463 New variable.
16464
cbc818d0
TS
164652012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16466
16467 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16468
5a03cb1e
AS
164692012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16470
16471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16472 Fix sort order.
16473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16474 Likewise.
16475
90aff2ff
TMQMF
164762012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16477
16478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16479 Fix the order of the list for glibc 2.17.
16480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16481 Likewise.
16482
1818fcb7
AS
164832012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16484
16485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16486
ef82f4da
JM
164872012-10-31 Joseph Myers <joseph@codesourcery.com>
16488
16a0e2ec
JM
16489 [BZ #14610]
16490 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16491 for low part of x being zero before using __atanl (y).
16492 * math/libm-test.inc (atan2_test): Add another test.
16493
0eb69512
JM
16494 * manual/install.texi (Configuring and compiling): Document
16495 general use of test-wrapper and test-wrapper-env.
16496 * INSTALL: Regenerated.
16497
ef82f4da
JM
16498 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16499 (__fma): Do not extract and scale down low bits on after-rounding
16500 systems when result rounded to normal precision would have normal
16501 exponent.
16502 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16503 (__fmal): Do not extract and scale down low bits on after-rounding
16504 systems when result rounded to normal precision would have normal
16505 exponent.
16506 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16507 (__fmal): Do not extract and scale down low bits on after-rounding
16508 systems when result rounded to normal precision would have normal
16509 exponent.
16510 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16511 macro.
16512 (fma_test): Add more tests.
16513 (fma_test_towardzero): Likewise.
16514 (fma_test_downward): Likewise.
16515 (fma_test_upward): Likewise.
16516
954ef0d9
L
165172012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16518
16519 * sysdeps/i386/tininess.h: Renamed to ...
16520 * sysdeps/x86/tininess.h: This.
16521 * sysdeps/x86_64/tininess.h: Removed.
16522
df61ffb2
JM
165232012-10-30 Joseph Myers <joseph@codesourcery.com>
16524
16525 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16526 input. Use $(build-program-cmd).
16527 ($(objpfx)tst-array1-static.out): Likewise.
16528 ($(objpfx)tst-array2.out): Likewise.
16529 ($(objpfx)tst-array3.out): Likewise.
16530 ($(objpfx)tst-array4.out): Likewise.
16531 ($(objpfx)tst-array5.out): Likewise.
16532 ($(objpfx)tst-array5-static.out): Likewise.
16533
01767843
CM
165342012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16535
47cc1490
CM
16536 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16537 if defined.
16538
01767843
CM
16539 * nss/nsswitch.h (nss_interface_function): Provide new
16540 macro for use with NSS functions.
16541 * grp/initgroups.c: Use new macro.
16542 * nss/getXXbyYY.c: Likewise.
16543 * nss/getXXbyYY_r.c: Likewise.
16544 * nss/getXXent.c: Likewise.
16545 * nss/getXXent_r.c: Likewise.
16546 * sysdeps/posix/getaddrinfo.c: Likewise.
16547
8321aa97
AJ
165482012-10-30 Andreas Jaeger <aj@suse.de>
16549
16550 * po/ru.po: Update Russion translation from translation project.
16551
2a27fd6d
JM
165522012-10-30 Joseph Myers <joseph@codesourcery.com>
16553
8627a232
JM
16554 [BZ #14152]
16555 [BZ #14783]
16556 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16557 result and shift together with sticky bit instead of replicating
16558 round-to-nearest rounding.
16559 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16560 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16561 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16562 missing underflow exceptions.
16563 (fma_test_towardzero): Add more tests.
16564 (fma_test_downward): Likewise.
16565 (fma_test_upward): Likewise.
16566
2a27fd6d
JM
16567 [BZ #14047]
16568 * sysdeps/generic/tininess.h: New file.
16569 * sysdeps/i386/tininess.h: Likewise.
16570 * sysdeps/sh/tininess.h: Likewise.
16571 * sysdeps/x86_64/tininess.h: Likewise.
16572 * stdlib/tst-strtod-underflow.c: Likewise.
16573 * stdlib/tst-tininess.c: Likewise.
16574 * stdlib/strtod_l.c: Include <tininess.h>.
16575 (round_and_return): Do not set errno for exact underflow cases.
16576 Force an underflow exception when setting errno for underflow.
16577 Determine underflow based on rounding to normal precision if
16578 TININESS_AFTER_ROUNDING.
16579 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16580 ERANGE for exact underflow cases.
16581 * stdlib/Makefile (tests): Add tst-tininess and
16582 tst-strtod-underflow.
16583 ($(objpfx)tst-tininess): Use $(link-libm).
16584 ($(objpfx)tst-strtod-underflow): Likewise.
16585
e7170363
AJ
165862012-10-30 Andreas Jaeger <aj@suse.de>
16587
e5088dc6
AJ
16588 [BZ#14767]
16589 * elf/Makefile (tests): Remove conditional for have-initfini-array
16590 since this is now always required and the variable does not exist
16591 anymore.
16592 (tests-static): Likewise.
16593 (modules-names): Likewise.
16594
e7170363 16595 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
16596
16597 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16598 merged with constructor/destructor.
16599 (init_array): Likewise.
16600 * elf/tst-array2dep.c (fini_array): Likewise.
16601 (init_array): Likewise.
16602
60457d8a
MF
166032012-10-29 Mike Frysinger <vapier@gentoo.org>
16604
16605 * manual/message.texi: Delete @cartouche tags.
16606
8bece752
PT
166072012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16608
94ce799f
PT
16609 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16610 EOPNOTSUPP.
16611 * sysdeps/mach/hurd/fsync.c: Likewise.
16612
8bece752
PT
16613 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16614 [_POSIX_REALTIME_SIGNALS]: Change condition to
16615 [_POSIX_REALTIME_SIGNALS > 0].
16616
86ebe6b1
AJ
166172012-10-27 Andreas Jaeger <aj@suse.de>
16618
16619 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16620 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16621 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16622 [__WORDSIZE != 64]: Likewise.
16623
54399c08
L
166242012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16625
16626 * iconvdata/tst-table.sh: Remove ${SHELL}.
16627 * iconvdata/tst-tables.sh: Likewise.
16628
e2211bed
DM
166292012-10-25 David S. Miller <davem@davemloft.net>
16630
16631 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16632 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16633 of strtoull.
16634
f303f97c
DM
16635 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16636 ifunc-impl-list.c
16637 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16638 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16639 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16640 file.
16641
1e9d84cd
RM
166422012-10-25 Roland McGrath <roland@hack.frob.com>
16643
16644 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16645 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16646 __getdirentries.
16647
df381762
JM
166482012-10-25 Joseph Myers <joseph@codesourcery.com>
16649 Jim Blandy <jimb@codesourcery.com>
16650
16651 * scripts/cross-test-ssh.sh: New file.
16652 * manual/install.texi (Configuring and compiling): Document use of
16653 cross-test-ssh.sh.
16654 * INSTALL: Regenerated.
16655
bff64913
PT
166562012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16657
16658 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16659 EOPNOTSUPP.
16660
25fe8932
JM
166612012-10-25 Joseph Myers <joseph@codesourcery.com>
16662
16663 * Makeconfig (run-program-prefix): Fix comment.
16664
cc1290d0
JM
166652012-10-24 Joseph Myers <joseph@codesourcery.com>
16666 Jim Blandy <jimb@codesourcery.com>
16667
16668 * Makeconfig (test-wrapper): New variable,
16669 (test-wrapper-env): Likewise.
16670 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16671 (run-built-tests): Define to yes.
16672 (run-program-prefix): Use $(test-wrapper).
16673 (built-program-cmd): Likewise.
16674 * Rules (make-test-out): Use $(test-wrapper-env) and
16675 $(host-built-program-cmd).
16676 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16677 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16678 tst-pathopt.sh.
16679 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16680 $(test-wrapper-env) to tst-rtld-load-self.sh.
16681 ($(objpfx)order2.out): Use $(test-wrapper).
16682 ($(objpfx)tst-initorder.out): Likewise.
16683 ($(objpfx)tst-initorder2.out): Likewise.
16684 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16685 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16686 (test_wrapper_env): New variable. Use it to run ld.so.
16687 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16688 Use it to run ld.so.
16689 (test_wrapper_env): Likewise.
16690 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16691 $(test-wrapper) to run-iconv-test.sh.
16692 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16693 (ICONV): Use $test_wrapper.
16694 * posix/Makefile ($(objpfx)globtest.out): Pass
16695 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16696 globtest.sh, not $(run-program-prefix).
16697 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16698 (test_wrapper): Likewise.
16699 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16700 set together with run_via_rtld_prefix.
16701 (run_program_prefix): Define in terms of test_wrapper and
16702 run_via_rtld_prefix.
16703
6e6249d0
RM
167042012-10-24 Roland McGrath <roland@hack.frob.com>
16705
16706 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16707 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16708 Targets removed.
16709
16710 [BZ #14743]
16711 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16712 Declare __clock_getres, __clock_gettime, __clock_settime,
16713 __clock_nanosleep, and __clock_getcpuclockid.
16714 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16715 Remove librt_hidden_def (clock_gettime).
16716 * sysdeps/unix/clock_gettime.c: Likewise.
16717 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16718 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16719 * rt/clock_getres.c: Define __clock_getres as an alias.
16720 * sysdeps/posix/clock_getres.c: Likewise.
16721 * rt/clock_settime.c: Define __clock_settime as an alias.
16722 * sysdeps/unix/clock_settime.c: Likewise.
16723 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16724 * sysdeps/unix/clock_nanosleep.c: Likewise.
16725 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16726 * rt/clock-compat.c: New file.
16727 * rt/Makefile (librt-routines): Add clock-compat and move
16728 $(clock-routines) to ...
16729 (routines): ... here, new variable.
16730 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16731 Don't add get_clockfreq here.
16732 * rt/Versions (libc: GLIBC_2.17): New version set.
16733 Add clock_* symbols here.
16734 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16735 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16736 (GLIBC_2.17): Add clock_* symbols.
16737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16739 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16741 Likewise.
16742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16743 Likewise.
16744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16748 * NEWS: Mention the move.
16749
16750 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16751 Use __open, __read, __close rather than their public counterparts.
16752 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16753 (__get_clockfreq_via_cpuinfo): Likewise.
16754 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16755 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16756
16757 * config.h.in (HAVE_IFUNC): New #undef.
16758 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16759 was successful.
16760 * configure: Regenerated.
16761
0cae3f4b
MF
167622012-10-24 Mike Frysinger <vapier@gentoo.org>
16763
16764 * configure.in: Move READELF check to start of file.
16765 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16766 libc_cv_asm_gnu_indirect_function in the process.
16767 * configure: Regenerated.
16768
8175a253
MF
167692012-10-24 Mike Frysinger <vapier@gentoo.org>
16770
16771 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16772 send the output to /dev/null.
16773 (libc_cv_cc_with_libunwind): Likewise.
16774 (libc_cv_as_noexecstack): Likewise.
16775 * configure: Regenerate.
16776
0708a7d1
JM
167772012-10-24 Joseph Myers <joseph@codesourcery.com>
16778
10b40d85
JM
16779 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16780
0708a7d1
JM
16781 * posix/globtest.sh (TMPDIR): Do not set.
16782 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16783 (testout): Likewise.
16784
9fddec1a
AJ
167852012-10-24 Andreas Jaeger <aj@suse.de>
16786
3a8db22f
AJ
16787 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16788 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16789 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16790 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16791 posix_fadvise64, posix_fallocate64.
16792
9fddec1a
AJ
16793 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16794 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16795 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16796 Likewise.
16797 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16798 Likewise.
16799 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16800
16801 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16802 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16803 <bits/fcntl-linux.h>.
16804 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16805
16806 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16807 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16808 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16809 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16810 [__WORDSIZE != 64]: Likewise.
16811
ebfd1bbd
JM
168122012-10-23 Joseph Myers <joseph@codesourcery.com>
16813
03ac099f
JM
16814 * Makeconfig (run-built-tests): New variable.
16815 * Rules [$(cross-compiling) = yes]: Change condition to
16816 [$(run-built-tests) = no].
16817 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16818 to [$(run-built-tests) = yes].
16819 * elf/Makefile [$(cross-compiling) = no]: Likewise
16820 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16821 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16822 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16823 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16824 * io/Makefile [$(cross-compiling) = no]: Likewise.
16825 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16826 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16827 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16828 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16829 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16830 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16831 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16832 * string/Makefile [$(cross-compiling) = no]: Likewise.
16833
ebfd1bbd
JM
16834 * posix/Makefile ($(objpfx)globtest.out): Pass
16835 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16836 $(rtld-installed-name).
16837 * posix/globtest.sh (elf_objpfx): Remove variable.
16838 (rtld_installed_name): Likewise.
16839 (library_path): Likewise.
16840 (run_program_prefix): New variable. Use for running globtest
16841 binary.
16842
166bca24
JB
168432012-10-23 Jim Blandy <jimb@codesourcery.com>
16844 Joseph Myers <joseph@codesourcery.com>
16845
16846 * Makeconfig (host-built-program-cmd): New variable.
16847 * elf/Makefile (tst-stackguard1-ARGS): Use
16848 $(host-built-program-cmd).
16849 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16850 (tst-spawn-ARGS): Likewise.
16851 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16852
88866099
JM
168532012-10-23 Joseph Myers <joseph@codesourcery.com>
16854 Jim Blandy <jimb@codesourcery.com>
16855
16856 * Makeconfig (run-via-rtld-prefix): New variable.
16857 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16858 (built-program-cmd): Likewise.
16859
b4b4c296
AJ
168602012-10-22 Andreas Jaeger <aj@suse.de>
16861
16862 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16863 __O_RSYNC if it exists, otherwise to O_SYNC.
16864
6fb54a22
JB
168652012-10-22 Jim Blandy <jimb@codesourcery.com>
16866 Joseph Myers <joseph@codesourcery.com>
16867
16868 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16869 /dev/null.
16870 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16871 from /dev/null
16872 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16873 /dev/null.
16874
481b90b9
AJ
168752012-10-22 Andreas Jaeger <aj@suse.de>
16876
2a0e2669
AJ
16877 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16878 Define always.
16879 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16880
76e38f9a
AJ
16881 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16882 bits/fcntl-linux.h.
16883
7cd37b43
AJ
16884 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16885 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16886
481b90b9
AJ
16887 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16888 to __O_LARGEFILE.
16889 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16890 to __O_LARGEFILE.
16891
aba75984
JB
168922012-10-21 Jim Blandy <jimb@codesourcery.com>
16893 Joseph Myers <joseph@codesourcery.com>
16894
16895 * config.make.in (NM): New variable.
16896
88d4247f
AJ
168972012-10-21 Andreas Jaeger <aj@suse.de>
16898
16899 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16900 definitions and declarations that are provided by
16901 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16902
f2eed205
L
169032012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16904
16905 [BZ #14683]
16906 * elf/Makefile (tests-static): Add tst-leaks1-static.
16907 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16908 ($(objpfx)tst-leaks1-static): New rule.
16909 ($(objpfx)tst-leaks1-static-mem): Likewise.
16910 (tst-leaks1-static-ENV): New macro.
16911 * elf/dl-open.c (dl_open_worker): Check the main application
16912 only if SHARED is defined.
16913 * elf/tst-leaks1-static.c: New file.
16914
335e6931
AJ
169152012-10-20 Andreas Jaeger <aj@suse.de>
16916
16917 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16918 generic values for Linux.
16919 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16920 and declarations that are provided by <bits/fcntl-linux.h> and
16921 include <bits/fcntl-linux.h>.
16922 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16924
ac5c94d3
RM
169252012-10-20 Roland McGrath <roland@hack.frob.com>
16926
16927 * io/fcntl.h: Move include of <bits/types.h> to the top and
16928 include it unconditionally.
16929
de54b33a
L
169302012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16931
228cfb01
L
16932 * wcsmbs/Makefile (tests-ifunc): New variable.
16933 (tests): Add $(tests-ifunc).
16934 * wcsmbs/test-wcschr-ifunc.c: New file.
16935 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16936 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16937 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16938 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16939 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16940
69f07e5f
L
16941 * string/Makefile (tests-ifunc): New variable.
16942 (tests): Add $(tests-ifunc).
16943 * string/test-memccpy.c (TEST_NAME): New macro.
16944 * string/test-memchr.c (TEST_NAME): Likewise.
16945 * string/test-memcmp.c (TEST_NAME): Likewise.
16946 * string/test-memcpy.c (TEST_NAME): Likewise.
16947 * string/test-memmem.c (TEST_NAME): Likewise.
16948 * string/test-memmove.c (TEST_NAME): Likewise.
16949 * string/test-memset.c (TEST_NAME): Likewise.
16950 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16951 * string/test-stpcpy.c (TEST_NAME): Likewise.
16952 * string/test-stpncpy.c (TEST_NAME): Likewise.
16953 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16954 * string/test-strcasestr.c (TEST_NAME): Likewise.
16955 * string/test-strcat.c (TEST_NAME): Likewise.
16956 * string/test-strchr.c (TEST_NAME): Likewise.
16957 * string/test-strcmp.c(TEST_NAME): Likewise.
16958 * string/test-strcpy.c (TEST_NAME): Likewise.
16959 * string/test-strcspn.c (TEST_NAME): Likewise.
16960 * string/test-strlen.c (TEST_NAME): Likewise.
16961 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16962 * string/test-strncmp.c (TEST_NAME): Likewise.
16963 * string/test-strncpy.c (TEST_NAME): Likewise.
16964 * string/test-strnlen.c (TEST_NAME): Likewise.
16965 * string/test-strpbrk.c (TEST_NAME): Likewise.
16966 * string/test-strrchr.c (TEST_NAME): Likewise.
16967 * string/test-strspn.c (TEST_NAME): Likewise.
16968 * string/test-strstr.c (TEST_NAME): Likewise.
16969 * string/test-bcopy-ifunc.c: New file.
16970 * string/test-bzero-ifunc.c: Likewise.
16971 * string/test-memccpy-ifunc.c: Likewise.
16972 * string/test-memchr-ifunc.c: Likewise.
16973 * string/test-memcmp-ifunc.c: Likewise.
16974 * string/test-memcpy-ifunc.c: Likewise.
16975 * string/test-memmem-ifunc.c: Likewise.
16976 * string/test-memmove-ifunc.c: Likewise.
16977 * string/test-mempcpy-ifunc.c: Likewise.
16978 * string/test-memset-ifunc.c: Likewise.
16979 * string/test-rawmemchr-ifunc.c: Likewise.
16980 * string/test-stpcpy-ifunc.c: Likewise.
16981 * string/test-stpncpy-ifunc.c: Likewise.
16982 * string/test-strcasecmp-ifunc.c: Likewise.
16983 * string/test-strcasestr-ifunc.c: Likewise.
16984 * string/test-strcat-ifunc.c: Likewise.
16985 * string/test-strchr-ifunc.c: Likewise.
16986 * string/test-strchrnul-ifunc.c: Likewise.
16987 * string/test-strcmp-ifunc.c: Likewise.
16988 * string/test-strcpy-ifunc.c: Likewise.
16989 * string/test-strcspn-ifunc.c: Likewise.
16990 * string/test-strlen-ifunc.c: Likewise.
16991 * string/test-strncasecmp-ifunc.c: Likewise.
16992 * string/test-strncat-ifunc.c: Likewise.
16993 * string/test-strncmp-ifunc.c: Likewise.
16994 * string/test-strncpy-ifunc.c: Likewise.
16995 * string/test-strnlen-ifunc.c: Likewise.
16996 * string/test-strpbrk-ifunc.c: Likewise.
16997 * string/test-strrchr-ifunc.c: Likewise.
16998 * string/test-strspn-ifunc.c: Likewise.
16999 * string/test-strstr-ifunc.c: Likewise.
17000
de54b33a
L
17001 * debug/Makefile (tests-ifunc): New variable.
17002 (tests): Add $(tests-ifunc).
17003 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17004 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17005 * debug/test-stpcpy_chk-ifunc.c: New file.
17006 * debug/test-strcpy_chk-ifunc.c: Likewise.
17007
88481c16
SP
170082012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17009
17010 [BZ #13601]
17011 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17012 header is not read in.
17013
135948bd
JM
170142012-10-19 Joseph Myers <joseph@codesourcery.com>
17015
89f1c388
JM
17016 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17017 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17018 directly. Pass built executable to script as
17019 $(built-program-cmd).
17020 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17021 $testprogram without using LD_LIBRARY_PATH and $ldso.
17022
e40a0d21
JM
17023 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17024 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17025 $(rtld-installed-name).
17026 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17027 (rtld_installed_name): Likewise.
17028 (library_path): Likewise.
17029 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17030 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17031 $(run-program-prefix) to tst-tables.sh.
17032 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17033 it to run tst-table-from and tst-table-to.
17034 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17035 Pass it to tst-table.sh.
17036 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17037 $(run-program-prefix) to tst-gettext.sh.
17038 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17039 tst-translit.sh.
17040 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17041 tst-gettext2.sh.
17042 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17043 to run tst-gettext.
17044 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17045 to run tst-gettext2.
17046 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17047 to run tst-translit.
17048 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17049 $(run-program-prefix) to tst-mtrace.sh.
17050 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17051 to run tst-mtrace.
17052 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17053 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17054 $(rtld-installed-name).
17055 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17056 (rtld_installed_name): Likewise.
17057 (run_program_prefix): New variable. Use it to run wordexp-test.
17058
728e272a
JM
17059 * Makeconfig (ARCH): Remove all definitions.
17060 (machine): Likewise.
17061 [ARCH]: Remove conditional code.
17062 [!objdir]: Give error.
17063 [!objdir] (objpfx): Remove.
17064 [!objdir] (common-objpfx): Likewise.
17065 [!objdir] (common-objdir): Likewise.
17066 * configure.in (config_makefile): Remove. Hardcode Makefile in
17067 AC_CONFIG_FILES call.
17068 * configure: Regenerated.
17069
d528cdcf
JM
17070 [BZ #13888]
17071 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17072 or TMPDIR.
17073 (testout): Likewise.
17074
135948bd
JM
17075 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17076 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17077 $(rtld-installed-name).
17078 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17079 (rtld_installed_name): Likwise.
17080 (runit): Remove function.
17081 (run_getconf): New variable, Use it for running getconf binary.
17082
38c78296
L
170832012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17084
17085 [BZ #14716]
17086 * string/test-memmem.c (check_result): New function.
17087 (do_one_test): Use it.
17088 (check1): New function.
17089 (test_main): Use it.
17090
d077f65f
MT
170912012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17092
17093 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17094
ced52c71
JM
170952012-10-18 Joseph Myers <joseph@codesourcery.com>
17096
17097 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17098 (_G_LSEEK64): Likewise.
17099 (_G_MMAP64): Likewise.
17100 (_G_FSTAT64): Likewise.
17101 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17102 (_G_LSEEK64): Likewise.
17103 (_G_MMAP64): Likewise.
17104 (_G_FSTAT64): Likewise.
17105 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17106 unconditional. Call __mmap64 directly.
17107 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17108 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17109 __lseek64 directly.
17110 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17111 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17112 __mmap64 directly.
17113 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17114 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17115 __lseek64 directly.
17116 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17117 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17118 __lseek64 directly.
17119 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17120 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17121 __lseek64 directly.
17122 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17123 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17124 __fxstat64 directly.
17125 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17126 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17127 unconditional.
17128 (freopen64) [!_G_OPEN64]: Remove conditional code.
17129 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17130 unconditional.
17131 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17132 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17133 unconditional.
17134 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17135 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17136 unconditional.
17137 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17138 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17139 unconditional.
17140 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17141 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17142 unconditional.
17143 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17144 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17145 unconditional.
17146 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17147 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17148 unconditional.
17149 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17150
b741de23
SP
171512012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17152
17153 [BZ #12140]
17154 * manual/memory.texi (Malloc Tunable Parameters): Add note
17155 about free list pointers overwriting some perturb bytes.
17156 Wording suggested by Roland McGrath.
17157
f9b9d9c9
JM
171582012-10-17 Joseph Myers <joseph@codesourcery.com>
17159
17160 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17161 (lgamma_test): Likewise.
17162 (tgamma_test): Likewise.
17163
172a631a
FW
171642012-10-16 Florian Weimer <fweimer@redhat.com>
17165
17166 [BZ #14700]
17167 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17168 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17169
e9f37252
MK
171702012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17171
17172 * NEWS: Mention BZ #14716.
17173 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17174 when removing AVAILABLE1_USES_J macro.
17175
d394eb74
L
171762012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17177
17178 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17179 (__bswap_64): __uint64_t for unsigned 64-bit int.
17180
ca38dc17
AS
171812012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17182
17183 * include/string.h (memmem): Declare libc hidden alias.
17184 * string/memmem.c (memmem): Define libc hidden alias.
17185 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17186 __read, __close instead of open, read, close.
17187
9a387d1f
L
171882012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17189
ac49ecaf
L
17190 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17191 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17192 global and hidden.
17193 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17194 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17195 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17196 Likewise.
17197 (__rawmemchr_sse2): Likewise.
17198 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17199 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17200 (__strchr_sse2): Likewise.
17201 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17202 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17203 (__strcasecmp_sse2): Likewise.
17204 (__strncasecmp_sse2): Likewise.
17205 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17206 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17207 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17208 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17209 (__strrchr_sse2): Likewise.
17210 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17211 ifunc-impl-list.c.
17212 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17213 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17214 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17215 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17216 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17217 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17218 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17219 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17220 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17221 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17222 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17223 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17224 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17225 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17226 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17227 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17228 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17229 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17230 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17231 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17232 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17233 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17234 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17235 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17236 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17237 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17238 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17239 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17240 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17241 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17242
b090e8ea
L
17243 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17244 global and hidden.
17245 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17246 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17247 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17248 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17249 Likewise.
17250 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17251 Likewise.
17252 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17253 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17254 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17255 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17256 ifunc-impl-list.c.
17257 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17258 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17259 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17260 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17261 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17262 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17263 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17264 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17265 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17266 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17267 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17268 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17269 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17270 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17271 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17272 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17273 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17274 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17275 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17276 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17277 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17278 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17279 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17280 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17281 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17282 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17283 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17284 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17285 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17286 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17287 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17288 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17289 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17290 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17291 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17292 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17293 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17294 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17295 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17296 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17297 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17298
11dd4af6
L
17299 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17300 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17301 * include/ifunc-impl-list.h: New file.
17302 * misc/ifunc-impl-list.c: Likewise.
17303 * misc/Makefile (routines): Add ifunc-impl-list.
17304 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17305 * string/test-string.h: Include <ifunc-impl-list.h>.
17306 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17307 impl_array): New variables.
17308 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17309 are defined.
17310 (test_init): Call __libc_ifunc_impl_list to initialize
17311 func_list if TEST_IFUNC and TEST_NAME are defined.
17312
9a387d1f
L
17313 * string/Makefile (strop-tests): Add bcopy and bzero.
17314 * string/test-bcopy.c: New file.
17315 * string/test-bzero.c: Likewise.
17316 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17317 defined.
17318 * string/test-memset.c: Support bzero test if TEST_BZERO is
17319 defined.
17320 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17321 __libc_memmove.
17322 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17323 __libc_memset.
17324 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17325 of memset.
17326
472371b9
JM
173272012-10-10 Joseph Myers <joseph@codesourcery.com>
17328
1e4a9536
JM
17329 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17330 * configure: Regenerated.
17331
d173d12e
JM
17332 * Makeconfig (+link-static-before-libc): Don't include
17333 $(link-static-libc).
17334
472371b9
JM
17335 * libio/libio.h (_IO_pos_t): Remove.
17336
89a3ad0b
AO
173372012-10-10 Alexandre Oliva <aoliva@redhat.com>
17338
17339 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17340 McGrath.
17341
e7451425
AO
173422012-10-10 Alexandre Oliva <aoliva@redhat.com>
17343
17344 * crypt/crypt-entry.c: Include fips-private.h.
17345 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17346 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17347 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17348 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17349
4ba74a35
AO
173502012-10-10 Alexandre Oliva <aoliva@redhat.com>
17351
17352 * crypt/crypt-private.h: Include stdbool.h.
17353 (_ufc_setup_salt_r): Return bool.
17354 * crypt/crypt-entry.c: Include errno.h.
17355 (__crypt_r): Return NULL with EINVAL for bad salt.
17356 * crypt/crypt_util.c (bad_for_salt): New.
17357 (_ufc_setup_salt_r): Check that salt is long enough and within
17358 the specified alphabet.
17359 * crypt/badsalttest.c: New file.
17360 * crypt/Makefile (tests): Add it.
17361 ($(objpfx)badsalttest): New.
17362
f96f1242
MK
173632012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17364
17365 * NEWS: Add entry for BZ #14602.
17366
0e8e0c1c
JM
173672012-10-09 Joseph Myers <joseph@codesourcery.com>
17368
17369 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17370 type-generic.
17371 * math/libm-test.inc: Update comment listing what functions and
17372 macros are tested.
17373 (isgreater_test): New function.
17374 (isgreaterequal_test): Likewise.
17375 (isless_test): Likewise.
17376 (islessequal_test): Likewise.
17377 (islessgreater_test): Likewise.
17378 (isunordered_test): Likewise.
17379 (main): Call the new functions.
17380
273edc5e
RM
173812012-10-09 Roland McGrath <roland@hack.frob.com>
17382
b8493de0
RM
17383 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17384 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17385 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17386 * sysdeps/i386/configure: Regenerated.
17387 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17388 * sysdeps/mach/configure: Regenerated.
17389 * sysdeps/mach/hurd/configure: Regenerated.
17390 * sysdeps/powerpc/configure: Regenerated.
17391 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17392 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17393 * sysdeps/s390/s390-32/configure: Regenerated.
17394 * sysdeps/s390/s390-64/configure: Regenerated.
17395 * sysdeps/sh/configure: Regenerated.
17396 * sysdeps/sparc/configure: Regenerated.
17397 * sysdeps/unix/sysv/linux/configure: Regenerated.
17398 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17399 * sysdeps/x86_64/configure: Regenerated.
17400
273edc5e
RM
17401 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17402 defined. Don't check if MAP is NULL.
17403
c8450f70
JM
174042012-10-09 Joseph Myers <joseph@codesourcery.com>
17405
17406 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17407 (_G_stat64): Likewise.
17408 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17409 (_G_stat64): Likewise.
17410 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17411 instead of struct _G_stat64.
17412 * libio/fileops.c (mmap_remap_check): Likewise.
17413 (decide_maybe_mmap): Likewise.
17414 (_IO_new_file_seekoff): Likewise.
17415 (_IO_file_stat): Likewise.
17416 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17417 _G_off64_t.
17418 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17419 instead of struct _G_stat64.
17420 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17421
57e605ba
MK
174222012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17423
17424 [BZ #14602]
17425 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17426 Replace with ...
17427 (CHECK_EOL): New macro.
17428 (two_way_short_needle): Check beginning of haystack for EOL. Use
17429 CHECK_EOL.
17430 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17431 Replace with CHECK_EOL.
17432 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17433 Replace with CHECK_EOL.
17434
ef1bb361
JM
174352012-10-08 Joseph Myers <joseph@codesourcery.com>
17436
17437 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17438 type-generic.
17439 * math/libm-test.inc: Update comment listing what functions and
17440 macros are tested.
17441 (finite_test): New function.
17442 (isinf_test): Likewise.
17443 (isnan_test): Likewise.
17444 (fpclassify_test): Test subnormal input.
17445 (isfinite_test): Likewise.
17446 (isnormal_test): Likewise.
17447 (main): Call the new functions.
17448
55f11534
JN
174492012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17450
17451 [BZ #14660]
17452 * Makerules (%.dynsym): Force C locale when running
17453 $(OBJDUMP) --dynamic-syms.
17454
1ab29350
AS
174552012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17456
17457 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17458 <stdint.h>.
17459
f1ecb7ef
DM
174602012-10-06 David S. Miller <davem@davemloft.net>
17461
17462 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17463 upper 32-bits of the length value in %o2 since we use branch-on-register
17464 tests which consider the entire 64-bit register.
17465
5d41d91a
L
174662012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17467
17468 * string/test-strstr.c (check2): Add a test for page boundary.
17469
3baddb72
DM
174702012-10-05 David S. Miller <davem@davemloft.net>
17471
17472 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17473 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17474 file.
17475 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17476 sysdep_routines.
17477 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17478 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17479 and bzero when HWCAP_SPARC_CRYPTO is present.
17480
9cee5585
L
174812012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17482
d7e0dab9
L
17483 [BZ #14602]
17484 * string/test-strstr.c (check2): New function.
17485 (test_main): Call check2.
17486
03759f47
L
17487 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17488 and bug-strchr1.
17489 * string/bug-strcasestr1.c (do_test): Moved to ...
17490 * string/test-strcasestr.c (check1): Here. New function.
17491 (do_one_test): Break out result checking code into ...
17492 (check_result): This. New function.
17493 (do_one_test): Call check_result.
17494 (test_main): Call check1.
17495 * string/bug-strchr1.c (do_test): Moved to ...
17496 * string/test-strchr.c (check1): Here. New function.
17497 (do_one_test): Break out result checking code into ...
17498 (check_result): This. New function.
17499 (do_one_test): Call check_result.
17500 (test_main): Call check1.
17501 * string/bug-strstr1.c (main): Moved to ...
046f153e 17502 * string/test-strstr.c (check1): Here. New function.
03759f47
L
17503 (do_one_test): Break out result checking code into ...
17504 (check_result): This. New function.
17505 (do_one_test): Call check_result.
17506 (test_main): Call check1.
17507 * string/bug-strcasestr1.c: Removed.
17508 * string/bug-strchr1.c: Likewise.
17509 * string/bug-strstr1.c: Likewise.
17510
53cea63e
L
17511 * elf/Makefile (dl-routines): Add hwcaps.
17512 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17513 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17514 (_dl_important_hwcaps): Moved to ...
17515 * elf/dl-hwcaps.c: Here. New file.
17516 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17517
9cee5585 17518 [BZ #14557]
bb859b06
L
17519 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17520 if IS_IN_rtld isn't defined.
17521
9cee5585
L
17522 * elf/dl-support.c (_dl_sysinfo_map): New.
17523 Include "get-dynamic-info.h" and "setup-vdso.h".
17524 (_dl_non_dynamic_init): Call setup_vdso.
17525 * elf/dynamic-link.h: Don't include <assert.h>.
17526 (elf_get_dynamic_info): Moved to ...
17527 * elf/get-dynamic-info.h: Here. New file.
17528 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17529 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17530 * elf/setup-vdso.h: Here. New file.
17531 * elf/rtld.c: Include "setup-vdso.h".
17532 (dl_main): Call setup_vdso.
17533
23c31b76
JM
175342012-10-05 Joseph Myers <joseph@codesourcery.com>
17535
28234b07
JM
17536 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17537 creal in comment listing functions tested. List finite, isinf,
17538 isnan, isless, islessequal, isgreater, isgreaterequal,
17539 islessgreater, isunordered, lgamma_r and pow10 as functions and
17540 macros not tested. Mention which functions not tested are aliases
17541 for other functions. Fix typo. Note that signs of NaNs are not
17542 tested.
17543
23c31b76
JM
17544 * scripts/config.guess: Update from config.git.
17545 * scripts/config.sub: Likewise.
17546
9043e228
RM
175472012-10-04 Roland McGrath <roland@hack.frob.com>
17548
17549 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17550 * misc/madvise.c (madvise): Renamed to __madvise.
17551 Make madvise a weak alias.
17552 * include/sys/mman.h: Declare __madvise.
17553 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17554 * sysdeps/unix/syscalls.list
17555 (madvise): Make __madvise the strong name, and madvise a weak alias.
17556 * sysdeps/unix/sysv/linux/syscalls.list
17557 (madvise, mmap): Remove redundant entries.
17558 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17559 * malloc/malloc.c (mtrim): Likewise.
17560 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17561
f57f8055
RM
175622012-10-03 Roland McGrath <roland@hack.frob.com>
17563
17564 * sysdeps/mach/hurd/dl-cache.c: File removed.
17565 * config.h.in (USE_LDCONFIG): New #undef.
17566 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17567 * configure: Regenerated.
17568 * elf/Makefile (dl-routines): Add dl-cache only under
17569 [$(use-ldconfig) = yes].
17570 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17571 cache on [USE_LDCONFIG].
17572 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17573 [USE_LDCONFIG].
17574 * elf/rtld.c (dl_main): Likewise.
17575
5bb0c10a
PT
175762012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17577
17578 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17579 _SC_LEVEL4_CACHE_LINESIZE.
17580
010188c6
RM
175812012-10-03 Roland McGrath <roland@hack.frob.com>
17582
17583 * sysdeps/unix/bsd/confstr.h: File removed.
17584
b6c5ec07
AO
175852012-10-02 Alexandre Oliva <aoliva@redhat.com>
17586
17587 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17588 sys/sdt-config.h.
17589
408223d4
RM
175902012-10-02 Roland McGrath <roland@hack.frob.com>
17591
17592 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17593 Make 'mapoff' field ElfW(Off) rather than off_t.
17594
bb9510dc
DL
175952012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17596
fc997c6e
DL
17597 * nscd/Makefile: Remove nscd-cflags and all its users.
17598 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17599 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17600
bb9510dc
DL
17601 [BZ #10631]
17602 * malloc.c (malloc_printerr): Clarify error message.
17603
05699367
L
176042012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17605
17606 [BZ #14648]
17607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17608 Set bit_FMA_Usable if FMA is supported.
17609 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17610 macro.
17611 (bit_FMA4_Usable): Updated.
17612 (index_FMA_Usable): New macro.
17613 (CPUID_FMA): Likewise
17614 (HAS_FMA): Defined with bit_FMA_Usable.
17615
51367701
RM
176162012-10-01 Roland McGrath <roland@hack.frob.com>
17617
17618 * bits/types.h (__swblk_t): Type removed.
17619 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17620 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17621 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17622 (__SWBLK_T_TYPE): Likewise.
17623 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17624 (__SWBLK_T_TYPE): Likewise.
17625 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17626 (__SWBLK_T_TYPE): Likewise.
17627 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17628 (__SWBLK_T_TYPE): Likewise.
17629
4d57bf63 176302012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 17631 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
17632
17633 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17634 (xdr_mapname): Use YPMAXMAP as maxsize.
17635 (xdr_peername): Use YPMAXPEER as maxsize.
17636 (xdr_keydat): Use YPAXRECORD as maxsize.
17637 (xdr_valdat): Use YPMAXRECORD as maxsize.
17638
93c65d43
RM
176392012-10-01 Roland McGrath <roland@hack.frob.com>
17640
497a03d6
RM
17641 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17642
93c65d43
RM
17643 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17644 * csu/init-first.c: ... here.
17645 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17646 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17647 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17648 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17649 * sysdeps/i386/init-first.c: File removed.
17650 * sysdeps/sh/init-first.c: File removed.
17651
bec749fd
JM
176522012-10-01 Joseph Myers <joseph@codesourcery.com>
17653
17654 [BZ #14645]
17655 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17656 if x * y might underflow to zero and z is zero.
17657 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17658 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17659 * math/libm-test.inc (min_subnorm_value): New variable.
17660 (fma_test): Add more tests.
17661 (fma_test_towardzero): Likewise.
17662 (fma_test_downward): Likewise
17663 (fma_test_upward): Likewise.
17664 (initialize): Set min_subnorm_value.
17665
8ec5b013
JM
176662012-09-29 Joseph Myers <joseph@codesourcery.com>
17667
17668 [BZ #14638]
17669 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17670 0 + 0.
17671 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17672 mode for addition resulting in exact zero.
17673 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17674 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17675 exact 0 + 0.
17676 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17677 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17678 * math/libm-test.inc (fma_test): Add more tests.
17679 (fma_test_towardzero): New function.
17680 (fma_test_downward): Likewise.
17681 (fma_test_upward): Likewise.
17682 (main): Call the new functions.
17683
b1fa802e
DM
176842012-09-28 David S. Miller <davem@davemloft.net>
17685
17686 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17687
d3b9fd9e
RM
176882012-09-28 Roland McGrath <roland@hack.frob.com>
17689
ea4d37b3
RM
17690 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17691 instead of SIGALRM.
17692
ac51c949
RM
17693 * sysdeps/gnu/_G_config.h: Moved to ...
17694 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17695 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17696 * sysdeps/generic/_G_config.h: ... here.
17697
28c195f7
RM
17698 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17699
848917f9
RM
17700 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17701
6bacf05b
RM
17702 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17703 Conditionalize target on [libnss_test1.so-version].
17704
91363dbb
RM
17705 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17706
cc87f7d8
RM
17707 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17708 (elfobjdir): Move out of conditionals.
17709
b1c608fe
RM
17710 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17711 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17712 (__nss_lookup_function): Conditionalize label remove_from_tree on
17713 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 17714
1d9a6d96
DM
177152012-09-28 David S. Miller <davem@davemloft.net>
17716
17717 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17718 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17719 file.
17720 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17721 sysdep_routines.
17722 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17723 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17724 when HWCAP_SPARC_CRYPTO is present.
17725
72581615
PT
177262012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17727
17728 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17729
715a900c
JL
177302012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17731
17732 [BZ #6530]
17733 * stdio-common/vfprintf.c (process_string_arg): Revert
17734 2000-07-22 change.
17735
177362011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17737
17738 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17739 for testcase.
17740 * stdio-common/tst-sprintf.c: Include <locale.h>
17741 (main): Test sprintf's handling of incomplete multibyte
17742 characters.
17743
9bac1d86
L
177442012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17745
17746 * elf/dl-runtime.c (VERSYMIDX): Removed.
17747 * elf/dl-version.c (VERSYMIDX): Likewise.
17748 * elf/do-rel.h (VERSYMIDX): Likewise.
17749 (VALIDX): Likewise.
17750 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17751 * elf/rtld.c (VALIDX): Likewise.
17752 (ADDRIDX): Likewise.
9bac1d86
L
17753 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17754 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17755 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
17756 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17757 (VALIDX): Likewise.
17758 (ADDRIDX): Likewise.
9bac1d86 17759
b31606c0
PT
177602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17761
17762 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17763
11541177
JL
177642012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17765
17766 [BZ #11438]
17767 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17768 to global scope.
17769 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17770 addresses are in the same scope as 192.0.2/24.
17771 * posix/gai.conf: Document new scope table defaults.
17772
adb26fae
SP
177732012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17774
17775 [BZ #5298]
17776 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17777 for ftell. Compute offsets from write pointers instead.
17778 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17779
4573c6b0
SP
177802012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17781
17782 [BZ #14543]
17783 * libio/Makefile (tests): New test case tst-fseek.
17784 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17785 combination works in wide mode.
17786 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17787 state when the external buffer state changes.
17788
aa9bbfe6
DM
177892012-09-27 David S. Miller <davem@davemloft.net>
17790
17791 [BZ #14376]
17792 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17793 pass reloc->r_addend in as the 'high' argument to
17794 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17795
784421e7
DM
17796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17797
c39bc8b8
PT
177982012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17799
17800 * rt/tst-aio2.c: Include <pthread.h>.
17801 * rt/tst-aio3.c: Likewise.
17802
1ccc2399
SE
178032012-09-27 Steve Ellcey <sellcey@mips.com>
17804
17805 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17806
31ed4153
L
178072012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17808
25f5f885
L
17809 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17810 contents on [SHARED].
31ed4153 17811
b7bfe116
MP
178122012-09-26 Marek Polacek <polacek@redhat.com>
17813
17814 [BZ #14530]
17815 [BZ #13741]
17816 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17817 for C++ and GCC <4.3 as well as for non GCC compilers.
17818
43c4edba
MT
178192012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17820
17821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17822
6a1bf82f
RM
178232012-09-25 Roland McGrath <roland@hack.frob.com>
17824
17825 * Makefile.in (all, install): Declare with .PHONY.
17826 Reported by Michael Hope <michael.hope@linaro.org>.
17827
8ad11b9a
TMQMF
178282012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17829
17830 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17831 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17832 system header.
17833 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17834 Likewise.
17835 (sydep_routines): Add the new and the internal functions.
17836 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17837 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17839 (GLIBC_2.17): Add the new function.
17840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17841 (GLIBC_2.17): Likewise.
17842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17843 (GLIBC_2.17): Likewise.
17844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17845 (GLIBC_2.17): Likewise.
17846 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17847
7e2fca8d
AM
178482012-09-25 Alan Modra <amodra@gmail.com>
17849
17850 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17851 Add release barrier before setting once_control to say
17852 initialisation is done. Add hints on lwarx. Use macro in
17853 place of isync.
17854 (clear_once_control): Add release barrier.
17855
b87c4b24
JM
178562012-09-25 Joseph Myers <joseph@codesourcery.com>
17857
d032e0d2
JM
17858 [BZ #13629]
17859 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17860 specially.
17861 * math/s_clog10.c (__clog10): Likewise.
17862 * math/s_clog10f.c (__clog10f): Likewise.
17863 * math/s_clog10l.c (__clog10l): Likewise.
17864 * math/s_clogf.c (__clogf): Likewise.
17865 * math/s_clogl.c (__clogl): Likewise.
17866 * math/Makefile (libm-calls): Add x2y2m1.
17867 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17868 (__x2y2m1): Likewise.
17869 (__x2y2m1l): Likewise.
17870 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17871 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17872 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17873 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17874 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17875 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17876 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17877 * sysdeps/i386/fpu/libm-test-ulps: Update.
17878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17879
b87c4b24
JM
17880 [BZ #14621]
17881 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17882 int as type of variable DEPTH.
17883 (glob): Use size_t instead of int as type of variables NEWCOUNT
17884 and OLD_PATHC.
17885
6d3bf199
LD
178862012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17887
22bf5c17
LD
17888 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17889 Add s_sincosf-sse2.
17890 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17891 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17892 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17893 macros for using routine as __sincosf_ia32.
17894 Use macro for function declaration and weak_alias.
17895 * sysdeps/i386/fpu/libm-test-ulps: Update.
17896
17897 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17898 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17899
17900 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
17901 subnormal argument.
17902 * math/s_cexpf.c (__cexpf): Likewise.
17903 * math/s_csinf.c (__csinf): Likewise.
17904 * math/s_csinhf.c (__csinhf): Likewise.
17905 * math/s_ctanf.c (__ctanf): Likewise.
17906 * math/s_ctanhf.c (__ctanhf): Likewise.
17907 * math/s_ccosh.c (__ccoshf): Likewise.
17908 * math/s_cexp.c (__cexpl): Likewise.
17909 * math/s_csin.c (__csin): Likewise.
17910 * math/s_csinh.c (__csinh): Likewise.
17911 * math/s_ctan.c (__ctan): Likewise.
17912 * math/s_ctanh.c (ctanh): Likewise.
17913 * math/s_ccoshl.c (__ccoshl): Likewise.
17914 * math/s_cexpl.c (__cexpl): Likewise.
17915 * math/s_csinl.c (__csinl): Likewise.
17916 * math/s_csinhl.c (__csinhl): Likewise.
17917 * math/s_ctanl.c (__ctanl): Likewise.
17918 * math/s_ctanhl.c (__ctanhl): Likewise.
17919
203e5603
JM
179202012-09-25 Joseph Myers <joseph@codesourcery.com>
17921
17922 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17923 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17924 (_IO_off_t): Define to __off_t, not _G_off_t.
17925 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17926 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17927 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17928 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17929 type of __dummy and __dummy2 fields.
17930 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17931 (_G_ssize_t): Likewise.
17932 (_G_off_t): Likewise.
17933 (_G_pid_t): Likewise.
17934 (_G_uid_t): Likewise.
17935 (_G_wchar_t): Likewise.
17936 (_G_wint_t): Likewise.
17937 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17938 (_G_ssize_t): Likewise.
17939 (_G_off_t): Likewise.
17940 (_G_pid_t): Likewise.
17941 (_G_uid_t): Likewise.
17942 (_G_wchar_t): Likewise.
17943 (_G_wint_t): Likewise.
17944 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17945 (_G_ssize_t): Likewise.
17946 (_G_off_t): Likewise.
17947 (_G_pid_t): Likewise.
17948 (_G_uid_t): Likewise.
17949 (_G_wchar_t): Likewise.
17950 (_G_wint_t): Likewise.
17951
9fab36eb
SP
179522012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17953
17954 * malloc/arena.c: Include malloc-sysdep.h.
17955 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17956 is sufficient to shrink the heap or an unmap is needed.
17957 * sysdeps/generic/malloc-sysdep.h: New file. Define
17958 new function check_may_shrink_heap.
17959 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17960 new function check_may_shrink_heap.
17961
2b4f00d1
SP
179622012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17963
17964 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17965 comments.
17966
9a9028b1
DL
179672012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17968
57c69bef
DL
17969 * catgets/test-gencat.sh: Add "set -e".
17970 * elf/tst-pathopt.sh: Likewise.
17971 * grp/tst_fgetgrent.sh: Likewise.
17972 * iconvdata/run-iconv-test.sh: Likewise.
17973 * intl/tst-gettext.sh: Likewise.
17974 * intl/tst-gettext2.sh: Likewise.
17975 * intl/tst-gettext4.sh: Likewise.
17976 * intl/tst-gettext6.sh: Likewise.
17977 * intl/tst-translit.sh: Likewise.
17978 * io/ftwtest-sh: Likewise.
17979 * libio/test-freopen.sh: Likewise.
17980 * malloc/tst-mtrace.sh: Likewise.
17981 * posix/globtest.sh: Likewise.
17982 * posix/tst-getconf.sh: Likewise.
17983 * posix/wordexp-tst.sh: Likewise.
17984 * stdio-common/tst-printf.sh: Likewise.
17985 * stdio-common/tst-unbputc.sh: Likewise.
17986 * stdlib/tst-fmtmsg.sh: Likewise.
17987 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17988 * catgets/Makefile: Do not specify -e option when running
17989 testsuite shell scripts.
17990 * elf/Makefile: Likewise.
17991 * grp/Makefile: Likewise.
17992 * iconvdata/Makefile: Likewise.
17993 * intl/Makefile: Likewise.
17994 * io/Makefile: Likewise.
17995 * libio/Makefile: Likewise.
17996 * malloc/Makefile: Likewise.
17997 * posix/Makefile: Likewise.
17998 * stdio-common/Makefile: Likewise.
17999 * stdlib/Makefile: Likewise.
18000 * sysdeps/x86_64/Makefile: Likewise.
18001
9a9028b1
DL
18002 * io/ftwtest-sh: Add copyright header.
18003 * posix/globtest.sh: Likewise.
18004 * posix/tst-getconf.sh: Likewise.
18005 * posix/wordexp-tst.sh: Likewise.
18006 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18007
ced6f16e
L
180082012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18009
94b32c39
L
18010 [BZ #13679]
18011 * Makeconfig (+link): Defined as $(+link-static) if
18012 $(build-shared) isn't yes.
18013 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18014 isn't yes.
18015 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18016
189e935b
L
18017 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18018
ced6f16e
L
18019 [BZ #14562]
18020 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18021 new chunk size with MALLOC_ALIGN_MASK.
18022
a9f8e53a
JM
180232012-09-24 Joseph Myers <joseph@codesourcery.com>
18024
18025 [BZ #5044]
18026 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18027 <rounding-mode.h>.
18028 (__printf_fphex): Determine rounding using get_rounding_mode and
18029 round_away.
18030 * stdio-common/tst-printf-round.c (struct hex_test): New
18031 structure.
18032 (hex_tests): New variable.
18033 (test_hex_in_one_mode): New function.
18034 (do_test): Also run tests for hex float output.
18035
43153109
JM
180362012-09-21 Joseph Myers <joseph@codesourcery.com>
18037
18038 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18039 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18040 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18041 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18042 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18043 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18044 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18045 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18046
8a26625d
JM
180472012-09-20 Joseph Myers <joseph@codesourcery.com>
18048
18049 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18050 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18051 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18052 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18053
f3fd569c
DL
180542012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18055
18056 [BZ #14579]
18057 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18058 mode only.
18059 * elf/tst-rtld-load-self.sh: New test.
18060 * elf/Makefile: Run it.
18061
63bbedd4
JM
180622012-09-18 Joseph Myers <joseph@codesourcery.com>
18063
18064 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18065 (tst-writev-ENV): Remove.
18066 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18067
626f8b6a
CM
180682012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18069
18070 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18071
b7aaa4d6
JM
180722012-09-17 Joseph Myers <joseph@codesourcery.com>
18073
18074 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18075 unconditional.
18076 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18077 Likewise.
18078 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18079 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18080 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18081 Likewise.
18082
65513990
L
180832012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18084
18085 [BZ #14587]
18086 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18087 * config.make.in (have-cpp-asm-debuginfo): Removed.
18088 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18089 * configure: Regenerated.
18090
784761be
JM
180912012-09-14 Joseph Myers <joseph@codesourcery.com>
18092
18093 [BZ #5044]
18094 * stdio-common/printf_fp.c: Include <stdbool.h> and
18095 <rounding-mode.h>.
18096 (___printf_fp): Determine rounding using get_rounding_mode and
18097 round_away.
18098 * stdio-common/tst-printf-round.c: New file.
18099 * stdio-common/Makefile (tests): Add tst-printf-round.
18100 (link-libm): New variable.
18101 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18102
9503345f
L
181032012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18104
18105 [BZ #14576]
18106 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18107 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18108 Likewise.
18109 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18110 Likewise.
18111
ad35fc00
JM
181122012-09-13 Joseph Myers <joseph@codesourcery.com>
18113
18114 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18115 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18116 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18117 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18118
6c9b0f68
JM
181192012-09-12 Joseph Myers <joseph@codesourcery.com>
18120
18121 [BZ #14518]
18122 * include/rounding-mode.h: New file.
18123 * sysdeps/generic/get-rounding-mode.h: Likewise.
18124 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18125 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18126 (MAX_VALUE): New macro.
18127 (MIN_VALUE): Likewise.
18128 (overflow_value): New function.
18129 (underflow_value): Likewise.
18130 (round_and_return): Use overflow_value and underflow_value to
18131 determine return values in overflow and underflow cases. Use
18132 round_away to determine rounding depending on rounding mode.
18133 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18134 determine return values in overflow and underflow cases.
18135 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18136 (struct test_results): New structure.
18137 (struct test): Use struct test_results to store expected results
18138 for all rounding modes.
18139 (TEST): Include expected results for all rounding modes.
18140 (test_in_one_mode): New function.
18141 (do_test): Use test_in_one_mode to compute and check results.
18142 Check results for all rounding modes.
18143 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18144 $(link-libm).
18145
19fcedd5
AM
181462012-12-09 Allan McRae <allan@archlinux.org>
18147
1e9d84cd 18148 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 18149
8bbfd2f1
JM
181502012-09-11 Joseph Myers <joseph@codesourcery.com>
18151
18152 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18153 (_G_int32_t): Likewise.
18154 (_G_uint16_t): Likewise.
18155 (_G_uint32_t): Likewise.
18156 (_G_HAVE_BOOL): Likewise.
18157 (_G_HAVE_ATEXIT): Likewise.
18158 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18159 (_G_HAVE_IO_FILE_OPEN): Likewise.
18160 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18161 (_G_int32_t): Likewise.
18162 (_G_uint16_t): Likewise.
18163 (_G_uint32_t): Likewise.
18164 (_G_HAVE_BOOL): Likewise.
18165 (_G_HAVE_ATEXIT): Likewise.
18166 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18167 (_G_HAVE_IO_FILE_OPEN): Likewise.
18168 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18169 (_G_int32_t): Likewise.
18170 (_G_uint16_t): Likewise.
18171 (_G_uint32_t): Likewise.
18172 (_G_HAVE_BOOL): Likewise.
18173 (_G_HAVE_ATEXIT): Likewise.
18174 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18175 (_G_HAVE_IO_FILE_OPEN): Likewise.
18176
b1dc5912
L
181772012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18178
18179 * csu/libc-tls.c: Update copyright years.
18180
0e886ef9
JM
181812012-09-10 Joseph Myers <joseph@codesourcery.com>
18182
28361c5e
JM
18183 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18184 [!_G_USING_THUNKS]: Remove conditional code.
18185 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18186 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18187
0e886ef9
JM
18188 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18189 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18190 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18191 (_G_VTABLE_LABEL_PREFIX): Likewise.
18192 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18193 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18194 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18195 (_G_VTABLE_LABEL_PREFIX): Likewise.
18196 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18197 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18198 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18199 (_G_VTABLE_LABEL_PREFIX): Likewise.
18200 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18201
bcba7aa2
L
182022012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18203
18204 * libio/Makefile: Include ../Makeconfig before tests.
18205 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18206 only if $(build-shared) is yes.
18207
06585ee8
L
18208 * iconv/gconv_db.c: Update copyright years.
18209
80ccd52c
LD
182102012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18211
18212 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18213 unwind info if defined PIC. Fix special cases description.
18214 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18215
18216 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18217 DP_HI_MASK entry.
18218 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18219
691bc9c1
L
182202012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18221
3d9b46b3
L
18222 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18223
de2139a9
L
18224 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18225 is NULL.
18226
5ca78dd0
L
18227 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18228 (LDLIBS-tst-chk4): This.
18229 (LDFLAGS-tst-chk5): Renamed to ...
18230 (LDLIBS-tst-chk5): This.
18231 (LDFLAGS-tst-chk6): Renamed to ...
18232 (LDLIBS-tst-chk6): This.
18233 (LDFLAGS-tst-lfschk4): Renamed to ...
18234 (LDLIBS-tst-lfschk4): This.
18235 (LDFLAGS-tst-lfschk5): Renamed to ...
18236 (LDLIBS-tst-lfschk5): This.
18237 (LDFLAGS-tst-lfschk6): Renamed to ...
18238 (LDLIBS-tst-lfschk6): This.
18239
691bc9c1
L
18240 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18241 on $(common-objpfx)soversions.mk.
18242
65cafb1c
JM
182432012-09-07 Joseph Myers <joseph@codesourcery.com>
18244
18245 [BZ #10014]
18246 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18247 example host name.
18248
c78ab094
SP
182492012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18250
18251 * malloc/arena.c (arena_get_retry): New function that gets
18252 another arena for the caller to try its request on.
18253 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18254 current arena cannot fulfill the request.
18255 (__libc_memalign): Likewise.
18256 (__libc_memalign): Likewise.
18257 (__libc_pvalloc): Likewise.
18258 (__libc_calloc): Likewise.
18259
01f49f59
JT
182602012-09-05 John Tobey <john.tobey@gmail.com>
18261
18262 [BZ #13542]
18263 * manual/arith.texi (Operations on Complex): Fix description
18264 of carg branch cut.
18265
4c23fed5
JM
182662012-09-06 Joseph Myers <joseph@codesourcery.com>
18267
1d3c8572
JM
18268 [BZ #10014]
18269 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18270 host name.
18271
4c23fed5
JM
18272 [BZ #10038]
18273 * manual/memory.texi (Memory): Make order of menu items match
18274 order of sections.
18275
04570aaa
L
182762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18277
18278 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18279 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18280 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18281
b80af2f4
L
182822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18283
18284 * csu/libc-tls.c (static_dtv): Renamed to ...
18285 (_dl_static_dtv): This. Make it global.
18286 (_dl_initial_dtv): Removed.
18287 (__libc_setup_tls): Updated.
18288 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18289 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18290 DL_INITIAL_DTV.
18291
2abe9f15
PM
182922012-09-06 Petr Machata <pmachata@redhat.com>
18293
18294 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18295 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18296 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18297 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18298
0948c3af
L
182992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18300
18301 [BZ #14545]
18302 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18303 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18304 freeing dtv[-1].
18305
a5055ad1
L
183062012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18307
18308 [BZ #14544]
18309 * Makeconfig (link-static-before-libc): Replace $(+prector)
18310 with $(+prectorT).
18311 (link-static-after-libc): Replace $(+postctor) with
18312 $(+postctorT).
18313 (link-bounded): Replace $(+prector)/$(+postctor) with
18314 $(+prectorT)/$(+postctorT).
18315 (+prectorT): New macro.
18316 (+postctorT): Likewise.
18317
ed8c2ecd
JM
183182012-09-06 Joseph Myers <joseph@codesourcery.com>
18319
18320 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18321 (round_str): Handle values above the maximum for IBM long double
18322 as inexact.
18323 * stdlib/tst-strtod-round.c (tests): Regenerated.
18324
14c996c8
AK
183252012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18326
18327 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18328 assembler flag.
18329 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18330 zarch_nohighgprs around the zarch optimized routines.
18331 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18332 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18333 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18334 for zarch.
18335
430d6ce6
DM
183362012-09-05 David S. Miller <davem@davemloft.net>
18337
18338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18339
ff04dda4
DM
18340 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18341 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18342 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18343 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18344 entries.
18345
24d4e01b
AO
183462012-09-05 Alexandre Oliva <aoliva@redhat.com>
18347
18348 * malloc/arena.c: Fold copyright years.
18349 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18350
61d58174
AO
183512012-09-05 Alexandre Oliva <aoliva@redhat.com>
18352
18353 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18354
20196a5e
AO
183552012-09-05 Alexandre Oliva <aoliva@redhat.com>
18356
18357 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18358
5c447383
AO
183592012-09-05 Alexandre Oliva <aoliva@redhat.com>
18360
18361 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18362 change internal state upon failure.
18363
fad64255
AO
183642012-09-05 Alexandre Oliva <aoliva@redhat.com>
18365
18366 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18367 * malloc/memusage.c (mmap): Likewise.
18368 (mmap64, mremap): Likewise. Adjust name in comment.
18369
1ffb8c90
SP
183702012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18371
18372 * libio/fileops.c: Fix typos in comments.
18373 * libio/oldfileops.c: Likewise.
18374 * libio/wfileops.c: Likewise.
18375
6ef9cc37
SP
183762012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18377
18378 [BZ #1349]
18379 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18380 (tst-malloc-usable-ENV): Set environment for test case.
18381 * malloc/hooks.c (malloc_check_get_size): New function to get
18382 requested size.
18383 * malloc/malloc.c (musable): Use malloc_check_get_size.
18384 * malloc/tst-malloc-usable.c: New test case.
18385
4d038ae3
AS
183862012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18387
18388 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18389
c4e85184
AM
183902012-09-05 Allan McRae <allan@archlinux.org>
18391
b9dafc56 18392 [BZ #13966]
c4e85184
AM
18393 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18394 determine header location.
18395 * configure: Regenerated.
18396
e1343020
AS
183972012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18398
18399 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18400 float format.
18401 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
18402 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18403 format.
e1343020
AS
18404 (test): Regenerate.
18405
0a9f1987
DM
184062012-09-04 David S. Miller <davem@davemloft.net>
18407
18408 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18409 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18410 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18411
29237804
FW
184122012-09-04 Florian Weimer <fweimer@redhat.com>
18413
18414 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18415 failures.
18416
edb3cb88
FW
18417 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18418
60160d83
JM
184192012-09-04 Joseph Myers <joseph@codesourcery.com>
18420
18421 [BZ #9914]
18422 * libio/iogetdelim.c: Include <limits.h>.
18423 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18424 + len + 1 would overflow.
18425
bcd6c8dc
AJ
184262012-09-03 Andreas Jaeger <aj@suse.de>
18427
18428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18429 * sysdeps/i386/fpu/libm-test-ulps: Update.
18430
4ffffbd2
LD
184312012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18432
18433 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18434 Add s_sinf-sse2, s_conf-sse2.
18435
18436 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18437 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18438 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18439 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18440
18441 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18442 for using routine as __sinf_ia32.
18443 Use macro for function declaration and weak_alias.
18444 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18445 for using routine as __cosf_ia32.
18446 Use macro for function declaration and weak_alias.
18447
18448 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18449 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18450
18451 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18452 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18454
18455 * math/libm-test.inc (cos_test): Add more test cases.
18456 (sin_test): Likewise.
18457 (sincos_test): Likewise.
18458
511fa286
AK
184592012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18460
18461 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18462 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18463 hidden.
18464 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18465
5f30cfec
L
184662012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18467
18468 [BZ #14538]
18469 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18470 first element of the GOT.
18471 (elf_machine_load_address): Return the difference between
18472 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18473
0786794f
AM
184742012-09-01 Allan McRae <allan@archlinux.org>
18475
5f30cfec
L
18476 [BZ #13412]
18477 * configure.in (AWK): Require gawk version 3.0 or later.
18478 * configure: Regenerated.
0786794f 18479
26889eac
JM
184802012-09-01 Joseph Myers <joseph@codesourcery.com>
18481
18482 * sysdeps/unix/sysv/linux/kernel-features.h
18483 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18484 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18485 [__NR_clock_getres]: Make code unconditional.
18486 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18487 (clock_getcpuclockid): Remove code left unreachable by removal of
18488 conditionals.
18489 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18490 code unconditional.
18491 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18492 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18493 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18494 Make code unconditional.
18495 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18496 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18497 * sysdeps/unix/sysv/linux/clock_settime.c
18498 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18499 conditional code.
18500 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18501 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18502
d22e28b0
L
185032012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18504
18505 [BZ #14476]
18506 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18507 scripts/test-installation.pl.
18508
18509 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18510 and $ld_so_version if it is set.
18511
050af9c4
SP
185122012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18513
18514 [BZ #14516]
18515 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18516 failure if reading from procfs failed.
18517 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18518
ad845c0b
JM
185192012-08-27 Joseph Myers <joseph@codesourcery.com>
18520
18521 * sysdeps/unix/sysv/linux/kernel-features.h
18522 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18523 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18524 Remove conditional code.
18525 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18526 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18527 Remove conditional code.
18528 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18529 * sysdeps/unix/sysv/linux/i386/fxstat.c
18530 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18531 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18532 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18533 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18534 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18535 * sysdeps/unix/sysv/linux/i386/lxstat.c
18536 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18537 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18538 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18539 Remove conditional code.
18540 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18541 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18542 Remove conditional code.
18543 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18544 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18545 <kernel-features.h>.
18546 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18547 Remove.
18548 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18549 Remove conditional code.
18550 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18551 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18552 Remove conditional.
18553
5dbf56af
MF
185542012-08-27 Mike Frysinger <vapier@gentoo.org>
18555
18556 [BZ #5400]
18557 * NEWS: Add fixed bug number.
18558
d6e70f43
JM
185592012-08-27 Joseph Myers <joseph@codesourcery.com>
18560
7efb4737
JM
18561 [BZ #14519]
18562 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18563 underflowing exponent in case of negative sign.
18564 * stdlib/tst-strtod-round-data: Add more tests.
18565 * stdlib/tst-strtod-round.c (tests): Regenerated.
18566
af92131a
JM
18567 [BZ #3479]
18568 * stdlib/strtod_l.c (NDIG): Remove.
18569 (HEXNDIG): Likewise.
18570 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18571 smallest representable value.
18572 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18573 lie within an exact representation of 1/2 ulp of the result.
18574 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18575 unconditionally.
18576 (TENS_P9_IDX): Define unconditionally.
18577 (TENS_P9_SIZE): Likewise.
18578 (TENS_P10_IDX): Likewise.
18579 (TENS_P10_SIZE): Likewise.
18580 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18581 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18582 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18583 entries for 10^2^13 and 10^2^14.
18584 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18585 (TENS_P13_IDX): Define.
18586 (TENS_P13_SIZE): Likewise.
18587 (TENS_P14_IDX): Likewise.
18588 (TENS_P14_SIZE): Likewise.
18589 (_fpioconst_pow10): Change array size to
18590 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18591 unconditional.
18592 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18593 1024]: Add entries for 10^2^13 and 10^2^14.
18594 [LAST_POW10 > _LAST_POW10]: Remove #error.
18595 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18596 (_fpioconst_pow10): Change array size to
18597 FPIOCONST_POW10_ARRAY_SIZE.
18598 * stdlib/gen-fpioconst.c: New file.
18599 * stdlib/gen-tst-strtod-round.c: Likewise.
18600 * stdlib/tst-strtod-round-data: Likewise.
18601 * stdlib/tst-strtod-round.c: Likewise.
18602 * stdlib/Makefile (tests): Add tst-strtod-round.
18603
d6e70f43
JM
18604 [BZ #14459]
18605 * stdlib/strtod_l.c: Include <stdint.h>.
18606 (NDEBUG): Do not define.
18607 (round_and_return): Change EXPONENT parameter to type intmax_t.
18608 Rearrange calculations to avoid internal overflow possibilities.
18609 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18610 Rearrange calculations to avoid internal overflow possibilities.
18611 Assert that number fits inside MPNSIZE limbs.
18612 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18613 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18614 calculations and add assertions to avoid internal overflow
18615 possibilities. Add casts to avoid signed/unsigned operations.
18616 * stdlib/tst-strtod-overflow.c: New file.
18617 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18618
1f529f7d
MP
186192012-08-25 Marek Polacek <polacek@redhat.com>
18620
18621 * time/time.h: Fix some typos in comments.
18622
59a629f1
RM
186232012-08-23 Roland McGrath <roland@hack.frob.com>
18624
18625 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18626 * posix/tst-rfc3484-2.c: Likewise.
18627 * posix/tst-rfc3484-3.c: Likewise.
18628
d3bafbc9
SM
186292012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18630
18631 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18632 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18633
4efcc022
JM
186342012-08-23 Joseph Myers <joseph@codesourcery.com>
18635
18636 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18637 #include of fxstatat64.c.
18638
3cc3ef96
RM
186392012-08-22 Roland McGrath <roland@hack.frob.com>
18640
f04e2132
RM
18641 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18642 * shadow/getspent_r.c: Likewise.
18643 * shadow/getspnam.c: Likewise.
18644 * shadow/getspnam_r.c: Likewise.
18645 * gshadow/getsgent.c: Likewise.
18646 * gshadow/getsgent_r.c: Likewise.
18647 * gshadow/getsgnam.c: Likewise.
18648 * gshadow/getsgnam_r.c: Likewise.
18649 * inet/getnetbyad.c: Likewise.
18650 * inet/getnetbyad_r.c: Likewise.
18651 * inet/getnetbynm.c: Likewise.
18652 * inet/getnetbynm_r.c: Likewise.
18653 * inet/getnetent.c: Likewise.
18654 * inet/getnetent_r.c: Likewise.
18655 * inet/getproto.c: Likewise.
18656 * inet/getproto_r.c: Likewise.
18657 * inet/getprtent.c: Likewise.
18658 * inet/getprtent_r.c: Likewise.
18659 * inet/getprtname.c: Likewise.
18660 * inet/getprtname_r.c: Likewise.
18661 * inet/getrpcbyname.c: Likewise.
18662 * inet/getrpcbyname_r.c: Likewise.
18663 * inet/getrpcbynumber.c: Likewise.
18664 * inet/getrpcbynumber_r.c: Likewise.
18665 * inet/getrpcent.c: Likewise.
18666 * inet/getrpcent_r.c: Likewise.
18667 * inet/getaliasent.c: Likewise.
18668 * inet/getaliasent_r.c: Likewise.
18669 * inet/getaliasname.c: Likewise.
18670 * inet/getaliasname_r.c: Likewise.
18671 * nscd/getgrgid_r.c: Likewise.
18672 * nscd/getgrnam_r.c: Likewise.
18673 * nscd/gethstbyad_r.c: Likewise.
18674 * nscd/gethstbynm3_r.c: Likewise.
18675 * nscd/getpwnam_r.c: Likewise.
18676 * nscd/getpwuid_r.c: Likewise.
18677 * nscd/getsrvbynm_r.c: Likewise.
18678 * nscd/getsrvbypt_r.c: Likewise.
18679 * nscd/gai.c: Likewise.
18680
c53d909c
RM
18681 * configure.in (build_nscd): New substituted variable, set
18682 by --disable-build-nscd and defaults to $use_nscd.
18683 * configure: Regenerated.
18684 * config.make.in (build-nscd): New substituted variable.
18685 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18686 Change conditional to require [$(build-nscd) = yes] as well.
18687 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18688
3cc3ef96
RM
18689 [BZ# 13696]
18690 * configure.in (use_nscd): New substituted variable, set by
18691 --disable-nscd. If enabled, define USE_NSCD.
18692 * configure: Regenerated.
18693 * config.h.in: Add USE_NSCD.
18694 * config.make.in (use-nscd): New substituted variable.
18695 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18696 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18697 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18698 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18699 (CFLAGS-getgrnam_r.c): Likewise.
18700 (CFLAGS-initgroups.c): Likewise.
18701 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18702 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18703 Variables removed.
18704 * inet/getnetgrent_r.c
18705 (nscd_setnetgrent): New function, broken out of ...
18706 (setnetgrent): ... here. Call it.
18707 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18708 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18709 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18710 * nscd/Makefile (routines, aux): Move definitions after include of
18711 Makeconfig. Conditionalize on [$(use-nscd) != no].
18712 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18713 Conditionalize on [USE_NSCD].
18714 (is_nscd, nscd_init_cb): Likewise.
18715 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18716 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18717 * nss/nss_db/db-init.c: Likewise.
18718 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18719 [USE_NSCD].
18720 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18721 (make_request): Use it.
18722 (cache_valid_p): New function.
18723 (__check_pf): Use it.
18724 * NEWS: Add item for --disable-nscd.
18725
07e51550
DL
187262012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18727
18728 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18729 to support sed >= 4.2.1-20-ga9bf076.
18730 * configure: Regenerated.
18731
35a5b08b
RM
187322012-08-22 Roland McGrath <roland@hack.frob.com>
18733
18734 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18735 Conditionalize whole body on [IREL].
18736
8479f23a
JL
187372012-08-22 Jeff Law <law@redhat.com>
18738
18739 [BZ #14505]
18740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18741 if the family is PF_UNSPEC.
18742
48da0b21
MF
187432012-08-22 Mike Frysinger <vapier@gentoo.org>
18744
18745 * Makerules (lib-version): Rename from V.
18746 (install-lib-nosubdir): Change V to lib-version.
18747
15d0da8c
WS
187482012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18749
18750 [BZ #14252]
18751 * powerpc32/power6/wcschr.c: New file.
18752 * powerpc32/power6/wcscpy.c: New file.
18753 * powerpc32/power6/wcsrchr.c: New file.
18754 * powerpc64/power6/wcschr.c: New file.
18755 * powerpc64/power6/wcscpy.c: New file.
18756 * powerpc64/power6/wcsrchr.c: New file.
18757
bcca0895
MK
187582012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18759
18760 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18761 (two_way_short_needle): Use it.
5a4aaa33
RM
18762 * string/strstr.c (AVAILABLE1_USES_J): Define.
18763 * string/strcasestr.c: Likewise.
99677e57
MK
18764
18765 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18766 array references.
18767 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18768
400726de
MK
18769 [BZ #11607]
18770 * NEWS: Add an entry.
18771 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18772 define their defaults.
18773 (two_way_short_needle): Detect end-of-string on-the-fly.
18774 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18775 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18776 * string/bug-strcasestr1.c: New test.
18777 * string/Makefile: Run it.
18778
20a71f2c
MK
187792012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18780
18781 [BZ #11607]
18782 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18783 the first character.
18784
21ad0558
RM
187852012-08-21 Roland McGrath <roland@hack.frob.com>
18786
18787 * csu/elf-init.c (__libc_csu_irel): Function removed.
18788 * csu/libc-start.c (apply_irel): New function.
18789 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18790
0e1d9911
JM
187912012-08-21 Joseph Myers <joseph@codesourcery.com>
18792
18793 * sysdeps/unix/sysv/linux/kernel-features.h
18794 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18795 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18796 <kernel-features.h>.
18797 [__NR_fadvise64_64]: Make code unconditional.
18798 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18799 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18800 !__NR_fadvise64_64)]: Likewise.
18801 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18802 !__NR_fadvise64_64))]: Likewise.
18803 [__NR_fadvise64]: Make code unconditional.
18804 [!__NR_fadvise64]: Remove conditional code.
18805 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18806 <kernel-features.h>.
18807 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18808 unconditional.
18809 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18810 conditional code.
18811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18812 not include <kernel-features.h>.
18813 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18814 unconditional.
18815 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18816 conditional code.
18817 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18818 include <kernel-features.h>.
18819 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18820 unconditional.
18821 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18822 conditional code.
18823
14a50c9d
WS
188242012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18825
18826 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18827 slight instruction rearrangements per scrollpipe analysis.
18828 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18829
c0f4faf0
RM
188302012-08-20 Roland McGrath <roland@hack.frob.com>
18831
696da859
RM
18832 * manual/syslog.texi (syslog; vsyslog, closelog):
18833 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18834 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18835
c0f4faf0
RM
18836 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18837 DSOCAPS to match condition on defining it.
18838
348363b2
JM
188392012-08-20 Joseph Myers <joseph@codesourcery.com>
18840
a35cbf28
JM
18841 * sysdeps/unix/sysv/linux/kernel-features.h
18842 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18844 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18845 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18847 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18848 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18850 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18851 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18852
445f7ecd
JM
18853 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18854 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18855
348363b2
JM
18856 * sysdeps/unix/sysv/linux/kernel-features.h
18857 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18858 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18859 unconditional.
18860 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18861 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18862 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18863 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18864 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18865 Make code unconditional.
18866 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18867 (__mmap64) [!__NR_mmap2]: Likewise.
18868 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18869 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18870 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18871 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18872 [__NR_mmap2]: Make code unconditional.
18873 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18874 (__mmap64) [!__NR_mmap2]: Likewise.
18875
bc5bc0e5
AK
188762012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18877
18878 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18879
88d506de
AJ
188802012-08-18 Andreas Jaeger <aj@suse.de>
18881
18882 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18883
493387d2
MF
188842012-08-18 Mike Frysinger <vapier@gentoo.org>
18885
18886 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18887 * include/unistd.h (__have_sock_cloexec): Likewise.
18888 (__have_pipe2): Likewise.
18889 (__have_dup3): Likewise.
18890
a277af22
MF
188912012-08-18 Mike Frysinger <vapier@gentoo.org>
18892
18893 [BZ #9685]
18894 * include/unistd.h (__have_pipe2): Change define into an extern int.
18895 (__have_dup3): Likewise.
18896 * socket/have_sock_cloexec.c: Include fcntl.h.
18897 (__have_pipe2): New variable.
18898 (__have_dup3): Likewise.
18899
fdab8fd3
MF
189002012-08-17 Mike Frysinger <vapier@gentoo.org>
18901
18902 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18903
31035e80
MP
189042012-08-17 Marek Polacek <polacek@redhat.com>
18905
18906 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18907 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18908
3bd9e993
RM
189092012-08-17 Roland McGrath <roland@hack.frob.com>
18910
c91c505f
RM
18911 * configure.in: Add AC_SUBST for sysheaders.
18912 * configure: Regenerated.
18913 * config.make.in (sysheaders): New substituted variable.
18914
7c6f9d53
RM
18915 * sysdeps/unix/mkfifo.c: Moved ...
18916 * sysdeps/posix/mkfifo.c: ... here.
18917 * sysdeps/unix/mkfifoat.c: Moved ...
18918 * sysdeps/posix/mkfifoat.c: ... here.
18919
18920 * sysdeps/unix/utime.c: Moved ...
18921 * sysdeps/posix/utime.c: ... here.
18922
18923 * sysdeps/unix/time.c: Moved ...
18924 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
18925 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18926 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
18927
18928 * sysdeps/unix/nice.c: Moved ...
18929 * sysdeps/posix/nice.c: ... here.
18930
18931 * sysdeps/unix/alarm.c: Moved ...
18932 * sysdeps/posix/alarm.c: ... here.
18933
3bd9e993
RM
18934 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18935
d1f09384
JL
189362012-08-17 Jeff Law <law@redhat.com>
18937
18938 * intl/Makefile (codeset_mo): New variable.
18939 ($(codeset_mo)): New target.
18940 (tst-codeset.out): Depend on that. Remove explicit rule.
18941 (tst-gettext3.out, tst-gettext5.out): Likewise.
18942 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18943 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18944 * intl/tst-codeset.sh: Remove.
18945 * intl/tst-gettext3.sh: Likewise.
18946 * intl/tst-gettext5.sh: Likewise.
18947
2ae1ae5c
RM
189482012-08-17 Roland McGrath <roland@hack.frob.com>
18949
c31fdb83
RM
18950 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18951 * sysdeps/unix/syscalls.list: ... here.
18952
a0844057
RM
18953 * sysdeps/posix/getaddrinfo.c
18954 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18955 (gaiconf_init, gaiconf_reload): Use them.
18956 [!_STATBUF_ST_NSEC]
18957 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18958 Define using time_t rather than struct timespec.
18959
750c1f2a
RM
18960 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18961 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18962 Macros removed.
18963 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18964 [!NO_THREADS].
18965 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18966 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18967 Likewise.
18968
2ae1ae5c
RM
18969 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18970 __libc_cleanup_push argument.
18971
e66a42f5
RM
18972 * bits/param.h: New file.
18973 * misc/sys/param.h: New file.
18974 * include/sys/param.h: New file.
18975 * misc/Makefile (headers): Add bits/param.h.
18976 * sysdeps/generic/sys/param.h: File removed.
18977 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18978 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18979 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 18980 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 18981
b7c08a66
RM
18982 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18983 last change.
18984
b2e1c562
RM
18985 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18986 [_IO_MTSAFE_IO].
18987 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18988 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18989 New macros.
18990
c75ccd4c
RM
18991 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18992 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18993 rather than -D_IO_MTSAFE_IO conditionally.
18994 * stdio-common/Makefile (CPPFLAGS): Likewise.
18995 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18996 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18997 Use $(libio-mtsafe).
18998 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18999 of -D_IO_MTSAFE_IO.
19000 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19001 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19002 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19003 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19004 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19005 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19006 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19007 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19008 (CFLAGS-fread_u_chk.c): Likewise.
19009 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19010 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19011 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19012 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19013 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19014 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19015 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19016 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19017 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19018
19019 * libio/Makefile: Test [$(libc-reentrant) = yes]
19020 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19021
19022 * Makeconfig
19023 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19024 * sysdeps/pthread/configure: File removed.
19025 * sysdeps/pthread/Makeconfig: New file.
19026 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19027 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19028
d9195db8
GB
190292012-08-16 Gary Benson <gbenson@redhat.com>
19030
19031 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19032 unmapping the first object in a namespace.
19033
86466cd9
RM
190342012-08-16 Roland McGrath <roland@hack.frob.com>
19035
19036 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19037 (__internal_setnetgrent): ... this. Add internal_function to
19038 definition. Add libc_hidden_def.
19039 (setnetgrent): Update caller.
19040 (internal_endnetgrent): Renamed to ...
19041 (__internal_endnetgrent): ... this. Add internal_function to
19042 definition. Add libc_hidden_def.
19043 (endnetgrent): Update caller.
19044 (internal_getnetgrent_r): Renamed to ...
19045 (__internal_getnetgrent_r): ... this. Add internal_function to
19046 definition. Add libc_hidden_def.
19047 (__getnetgrent_r): Update caller.
19048 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19049
c3c8283c
JM
190502012-08-16 Joseph Myers <joseph@codesourcery.com>
19051
19052 * stdlib/longlong.h: Update from GCC.
19053
db1ee0a8
RM
190542012-08-16 Roland McGrath <roland@hack.frob.com>
19055
19056 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19057 on _QL, which is set by umul_ppmm but never used.
19058 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19059 variables, which are set by GMP macros but never used.
19060 * stdio-common/_itowa.c (_itowa): Likewise.
19061 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19062 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19063
30f69637
CD
190642012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19065
19066 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19067 struct La_sh_regs is not constant.
19068 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19069 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19070 and struct La_sparc64_regs are not constant.
19071
93a78ac4
JM
190722012-08-16 Joseph Myers <joseph@codesourcery.com>
19073
19074 * sysdeps/unix/sysv/linux/kernel-features.h
19075 (__ASSUME_POSIX_TIMERS): Remove.
19076 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19077 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19078 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19079 Make code unconditional.
19080 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19081 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19082 Make code unconditional.
19083 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19084 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19085 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19086 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19087 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19088 Make code unconditional.
19089 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19090 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19091 (__libc_missing_posix_timers): Remove.
19092
dd924cd7
RM
190932012-08-15 Roland McGrath <roland@hack.frob.com>
19094
4b4f2771
RM
19095 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19096 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19097
601c888b
RM
19098 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19099
176790a7
RM
19100 * elf/dl-sym.c: Include <stdlib.h>.
19101
329bc018
RM
19102 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19103 constants, which avoids warnings in 32-bit builds.
19104
e04e272d
RM
19105 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19106 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19107
952bf94a
RM
19108 * misc/lseek.c: File moved to ...
19109 * io/lseek.c: ... here.
19110
7c99b50a
RM
19111 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19112
dd924cd7
RM
19113 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19114 shifting LEN more than 31 bits at once.
19115
b3f479a8
LD
191162012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19117
19118 [BZ #14195]
8c4ae0d4
RM
19119 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19120 segmentation fault for a case of two empty input strings.
b3f479a8
LD
19121 * string/test-strncasecmp.c (check1): Renamed to...
19122 (bz12205): ...this.
19123 (bz14195): Add new testcase for two empty input strings and N > 0.
19124 (test_main): Call new testcase, adapt for renamed function.
19125
9c55864e
AJ
191262012-08-15 Andreas Jaeger <aj@suse.de>
19127
19128 [BZ #14090]
19129 * crypt/md5test2.c: New test, based on test supplied by Serge
19130 Belyshev <belyshev@depni.sinp.msu.ru>.
19131 * crypt/Makefile (xtests): Add md5test-giant..
19132 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19133
02dcb6c5
PE
191342012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19135
19136 [BZ #14090]
19137 * crypt/md5.c (md5_process_block): Don't assume the buffer
19138 length is less than 2**32.
19139 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19140 length is less than 2**64.
19141
a3f95dcc
RM
191422012-08-15 Roland McGrath <roland@hack.frob.com>
19143
be75d758
RM
19144 * string/str-two-way.h: Include <sys/param.h>.
19145 (MAX): Macro removed.
19146
7312ca90
RM
19147 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19148 Move #define and #undef of memmove to just before and after
19149 including <string.h>.
19150
9a0a5486
RM
19151 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19152 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19153 and after including <string.h>. Move declarations of
19154 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19155 to before #include "string/memmove.c".
19156
67cc348d
RM
19157 * include/dirent.h: Declare __getdirentries.
19158
a3f95dcc
RM
19159 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19160 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19161
ca98e171
MF
191622012-08-14 Mike Frysinger <vapier@gentoo.org>
19163
19164 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19165 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19166 * sysdeps/i386/configure: Regenerated.
19167 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19168 STABS_CURRENT_FILE, and STABS_FUN.
19169 (END): Remove call to STABS_FUN_END.
19170 (STABS_CURRENT_FILE1): Delete.
19171 (STABS_CURRENT_FILE): Likewise.
19172 (STABS_FUN): Likewise.
19173 (STABS_FUN_END): Likewise.
19174 (STABS_FUN2): Likewise.
19175 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19176 * sysdeps/x86_64/configure: Regenerated.
19177
5908bf46
RM
191782012-08-14 Roland McGrath <roland@hack.frob.com>
19179
19180 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 19181 * elf/dl-lookup.c: Likewise.
5908bf46 19182
f2c05b9e
JM
191832012-08-14 Joseph Myers <joseph@codesourcery.com>
19184
19185 * sysdeps/unix/sysv/linux/kernel-features.h
19186 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19187 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19188 unconditionally.
19189 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19190 unconditionally.
19191 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19192 condition on __ASSUME_CLONE_THREAD_FLAGS.
19193
e11f5155
AJ
191942012-08-14 Andreas Jaeger <aj@suse.de>
19195
19196 * sysdeps/i386/fpu/libm-test-ulps: Update.
19197
51a9ba86
MK
191982012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19199
2fdd4f78
AJ
19200 * include/atomic.h (atomic_exchange_and_add): Split into ...
19201 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19202 New atomic macros.
51a9ba86 19203
ba6cba9e
MT
192042012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19205
19206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19207
42443a47
JL
192082012-08-13 Jeff Law <law@redhat.com>
19209
19210 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19211 null byte in the output string.
19212
121dce05
JM
192132012-08-10 Joseph Myers <joseph@codesourcery.com>
19214
19215 * sysdeps/unix/sysv/linux/kernel-features.h
19216 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19217 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19218 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19219 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19220 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19221 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19222 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19223
bf51f568
JL
192242012-08-09 Jeff Law <law@redhat.com>
19225
19226 [BZ #13939]
19227 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19228 When avoid_arena is set, don't retry in the that arena. Pick the
19229 next one, whatever it might be.
19230 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19231 (arena_lock): Pass in new parameter to arena_get2.
19232 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19233 arena_get2.
19234 (__libc_malloc): Unify retrying after main arena failure with
19235 __libc_memalign version.
19236 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19237
f85fa270
L
192382012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19239
19240 [BZ #14166]
19241 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19242 to __redirect_strstr.
19243 (__strstr_sse42): Use typeof __redirect_strstr.
19244 (__strstr_ia32): Likewise.
19245 (__libc_strstr): New prototype.
19246 (strstr): Renamed to ...
19247 (__libc_strstr): This.
19248 (strstr): New strong alias of __libc_strstr.
19249 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19250 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19251 __redirect_time.
19252 Include <time.h>.
19253 (__libc_time): New prototype.
19254 (time_ifunc): Replace time with __libc_time.
19255 (time): New strong alias and hidden definition of __libc_time.
19256 (__GI_time): Remove strong alias.
19257 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19258 Include <stddef.h>.
19259 (memmove): Redefined to __redirect_memmove.
19260 (__memmove_sse2): Use typeof __redirect_memmove.
19261 (__memmove_ssse3): Likewise.
19262 (__memmove_ssse3_back): Likewise.
19263 (__libc_memmove): New prototype.
19264 (memmove): Renamed to ...
19265 (__libc_memmove): This.
19266 (memmove): New strong alias of __libc_memmove.
19267
33b4a91e
MS
192682012-08-08 Mark Salter <msalter@redhat.com>
19269
19270 * elf/elf.h
19271 (R_MN10300_TLS_GD): Define.
19272 (R_MN10300_TLS_LD): Likewise.
19273 (R_MN10300_TLS_LDO): Likewise.
19274 (R_MN10300_TLS_GOTIE): Likewise.
19275 (R_MN10300_TLS_IE): Likewise.
19276 (R_MN10300_TLS_LE): Likewise.
19277 (R_MN10300_TLS_DTPMOD): Likewise.
19278 (R_MN10300_TLS_DTPOFF): Likewise.
19279 (R_MN10300_TLS_TPOFF): Likewise.
19280 (R_MN10300_SYM_DIFF): Likewise.
19281 (R_MN10300_ALIGN): Likewise.
19282 (R_MN10300_NUM): Update.
19283
b36137f1
JM
192842012-08-08 Joseph Myers <joseph@codesourcery.com>
19285
19286 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19287 Remove.
19288
cdd915fd
RM
192892012-08-08 Roland McGrath <roland@hack.frob.com>
19290
a2433aac
RM
19291 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19292
cdd915fd
RM
19293 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19294 sysdeps/unix -> sysdeps/posix move.
19295 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19296
bf9b740a
AM
192972012-08-07 Allan McRae <allan@archlinux.org>
19298
19299 [BZ #14303]
19300 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19301 (SUNOS_CPP): Likewise.
19302 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19303 not found.
19304 (open_input): Call CPP using execvp.
19305
93df14ee
JM
193062012-08-07 Joseph Myers <joseph@codesourcery.com>
19307
19308 * sysdeps/unix/sysv/linux/kernel-features.h
19309 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19310 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19311 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19312 (__ASSUME_WAITID_SYSCALL): Likewise.
19313 * sysdeps/unix/sysv/linux/dl-execstack.c
19314 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19315 code unconditional.
19316 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19317 conditional code.
19318 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19319 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19320 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19321 code.
19322 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19323 unconditional.
19324 [__ASSUME_WAITID_SYSCALL]: Likewise.
19325 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19326
d34689de
RM
193272012-08-07 Roland McGrath <roland@hack.frob.com>
19328
a281decc
RM
19329 * sysdeps/unix/closedir.c: Renamed to ...
19330 * sysdeps/posix/closedir.c: ... here.
19331 * sysdeps/unix/dirfd.c: Renamed to ...
19332 * sysdeps/posix/dirfd.c: ... here.
19333 * sysdeps/unix/dirstream.h: Renamed to ...
19334 * sysdeps/posix/dirstream.h: ... here.
19335 * sysdeps/unix/fdopendir.c: Renamed to ...
19336 * sysdeps/posix/fdopendir.c: ... here.
19337 * sysdeps/unix/opendir.c: Renamed to ...
19338 * sysdeps/posix/opendir.c: ... here.
19339 * sysdeps/unix/readdir.c: Renamed to ...
19340 * sysdeps/posix/readdir.c: ... here.
19341 * sysdeps/unix/readdir_r.c: Renamed to ...
19342 * sysdeps/posix/readdir_r.c: ... here.
19343 * sysdeps/unix/rewinddir.c: Renamed to ...
19344 * sysdeps/posix/rewinddir.c: ... here.
19345 * sysdeps/unix/seekdir.c: Renamed to ...
19346 * sysdeps/posix/seekdir.c: ... here.
19347 * sysdeps/unix/telldir.c: Renamed to ...
19348 * sysdeps/posix/telldir.c: ... here.
19349 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19350 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19351 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19352 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19353
22895b47
RM
19354 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19355 * bits/fcntl.h: ... here.
19356
707a53b6
RM
19357 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19358 not 0.
19359 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19360 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19361 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19362 (struct flock): Move l_start, l_len to the beginning.
19363 Use __pid_t for l_pid.
19364 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19365 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19366 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19367 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19368 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19369 [__USE_LARGEFILE64] (struct flock64): New type.
19370 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19371
f0bd3e25
RM
19372 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19373 * bits/dirent.h: ... here.
19374
d34689de
RM
19375 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19376 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19377
6dad2c06
JM
193782012-08-07 Joseph Myers <joseph@codesourcery.com>
19379
19380 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19381 Change from 2.6.0 to 2.6.16.
19382 * sysdeps/unix/sysv/linux/configure: Regenerated.
19383 * sysdeps/unix/sysv/linux/kernel-features.h
19384 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19385 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19386 version.
19387 (__ASSUME_UTIMES): Likewise.
19388 (__ASSUME_CLONE_STOPPED): Remove.
19389 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19390 architectures, not kernel version.
19391 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19392 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19393 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19394 (__ASSUME_WAITID_SYSCALL): Likewise.
19395 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19396 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19397 * README: State 2.6.16 as minimum Linux kernel version. Do not
19398 refer to older versions.
19399
03af9520
RM
194002012-08-06 Roland McGrath <roland@hack.frob.com>
19401
8e49df1d
RM
19402 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19403 Define alphasort64 as an alias.
19404 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19405 Define versionsort64 as an alias.
19406 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19407 Define scandir64 as an alias.
19408 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19409 Define scandirat64 as an alias.
19410 * dirent/alphasort64.c (alphasort64):
19411 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19412 * dirent/versionsort64.c: Likewise.
19413 * dirent/scandir64.c: Likewise.
19414 * dirent/scandirat64.c: Likewise.
19415 * sysdeps/wordsize-64/alphasort.c: File removed.
19416 * sysdeps/wordsize-64/alphasort64.c: File removed.
19417 * sysdeps/wordsize-64/scandir.c: File removed.
19418 * sysdeps/wordsize-64/scandir64.c: File removed.
19419 * sysdeps/wordsize-64/scandirat.c: File removed.
19420 * sysdeps/wordsize-64/scandirat64.c: File removed.
19421 * sysdeps/wordsize-64/versionsort.c: File removed.
19422 * sysdeps/wordsize-64/versionsort64.c: File removed.
19423 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19424 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19425 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19426 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19427 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19428 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19429 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19430 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19431
19432 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19433 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19434 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19435 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19436 [defined __arch64__ || defined __sparcv9]
19437 (__INO_T_MATCHES_INO64_T): New macro.
19438 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19439 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19440 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19441 * sysdeps/unix/sysv/linux/bits/dirent.h
19442 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19443 (_DIRENT_MATCHES_DIRENT64): New macro.
19444
03af9520
RM
19445 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19446 Define lockf64 as an alias.
19447 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19448 Define fseeko64 as an alias.
19449 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19450 Define ftello64 as an alias.
19451 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19452 Define _IO_fgetpos64 and fgetpos64 as aliases.
19453 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19454 Define _IO_fsetpos64 and fsetpos64 as aliases.
19455 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19456 Conditionalize body on this.
19457 * libio/fseeko64.c: Likewise.
19458 * libio/ftello64.c: Likewise.
19459 * libio/iofgetpos64.c: Likewise.
19460 * libio/iofsetpos64.c: Likewise.
19461 * sysdeps/wordsize-64/lockf.c: File removed.
19462 * sysdeps/wordsize-64/lockf64.c: File removed.
19463 * sysdeps/wordsize-64/fseeko.c: File removed.
19464 * sysdeps/wordsize-64/fseeko64.c: File removed.
19465 * sysdeps/wordsize-64/ftello.c: File removed.
19466 * sysdeps/wordsize-64/ftello64.c: File removed.
19467 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19468 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19469 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19470 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19471 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19472 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19473 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19474 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19475 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19476 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19477 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19478 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19479 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19480 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19481
19482 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19483 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19484 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19485 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19486 [defined __arch64__ || defined __sparcv9]
19487 (__OFF_T_MATCHES_OFF64_T): New macro.
19488 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19489 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19490 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19491 (__OFF_T_MATCHES_OFF64_T): New macro.
19492
c5757acd
L
194932012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19494
19495 * stdlib/secure-getenv.c (__secure_getenv): Replace
19496 GLIBC_2_16 with GLIBC_2_17.
19497
3a31811e
L
194982012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19499
19500 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19501 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19502
faa2bccb
DM
195032012-08-03 David S. Miller <davem@davemloft.net>
19504
19505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19506
85fe1997
JM
195072012-08-03 Joseph Myers <joseph@codesourcery.com>
19508
19509 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19510 Remove.
19511 (__ASSUME_CORRECT_SI_PID): Likewise.
19512 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19513 (__ASSUME_TMPFS_NAME): Likewise.
19514 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19515 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19516 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19517 (HAVE_AUX_SECURE): Make definition unconditional.
19518 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19519 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19520
4f75b7a0
RM
195212012-08-03 Roland McGrath <roland@hack.frob.com>
19522
19523 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19524 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19525 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19526 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19527 __eloop_threshold instead of SYMLOOP_MAX.
19528
19529 * sysdeps/generic/eloop-threshold.h: New file.
19530 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19531 of MAXSYMLINKS.
19532 * elf/chroot_canon.c (chroot_canon): Likewise.
19533
7aab07e4
JM
195342012-08-03 Joseph Myers <joseph@codesourcery.com>
19535
19536 [BZ #13717]
19537 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19538 Change to 2.6.0 everywhere.
19539 * sysdeps/unix/sysv/linux/configure: Regenerated.
19540 * sysdeps/unix/sysv/linux/kernel-features.h
19541 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19542 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19543 kernel versions.
19544 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19545 (__ASSUME_FUTEX_REQUEUE): Remove.
19546 (__ASSUME_STATFS64): Define unconditionally.
19547 (__ASSUME_AT_SECURE): Likewise.
19548 (__ASSUME_CORRECT_SI_PID): Likewise.
19549 (__ASSUME_TGKILL): Define without depending on kernel version for
19550 i386.
19551 (__ASSUME_UTIMES): Likewise.
19552 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19553 kernel version.
19554 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19555 (__ASSUME_TMPFS_NAME): Likewise.
19556 * README: Update reference to Linux kernel versions.
19557
b67e9372
MP
195582012-08-02 Marek Polacek <polacek@redhat.com>
19559
1f529f7d 19560 [BZ# 14150]
b67e9372
MP
19561 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19562 libc_cv_asm_type_prefix with %.
19563 * configure: Regenerated.
d2441631
RM
19564 * include/libc-symbols.h: Remove comment about
19565 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
19566 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19567 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19568 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19569 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19570 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19571 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19572 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19573 * elf/tst-unique2mod1.c: Likewise.
19574 * elf/tst-unique1mod2.c: Likewise.
19575 * elf/tst-unique1mod1.c: Likewise.
19576 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19577 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19578 Replace ASM_TYPE_DIRECTIVE with .type.
19579 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19580 * sysdeps/i386/sysdep.h: Likewise.
19581 * sysdeps/x86_64/sysdep.h: Likewise.
19582 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
19583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19584 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 19585 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
19586 * sysdeps/powerpc/powerpc32/sysdep.h:
19587 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
19588 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19589 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19590 * sysdeps/i386/fpu/e_powf.S: Likewise.
19591 * sysdeps/i386/fpu/e_expl.S: Likewise.
19592 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19593 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19594 * sysdeps/i386/fpu/e_pow.S: Likewise.
19595 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19596 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19597 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19598 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19599 * sysdeps/i386/fpu/e_log2.S: Likewise.
19600 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19601 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19602 * sysdeps/i386/fpu/e_powl.S: Likewise.
19603 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19604 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19605 * sysdeps/i386/fpu/e_logl.S: Likewise.
19606 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19607 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19608 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19609 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19610 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19611 * sysdeps/i386/fpu/e_log.S: Likewise.
19612 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19613 * sysdeps/i386/fpu/e_logf.S: Likewise.
19614 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19615 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19616 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19617 * sysdeps/i386/fpu/e_log10.S: Likewise.
19618 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19619 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19620 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19621 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19622 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19623 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19624 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19625 * sysdeps/i386/i686/strtok.S: Likewise.
19626 * sysdeps/i386/i386-mcount.S: Likewise.
19627 * sysdeps/i386/strtok.S: Likewise.
19628 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19629 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19630 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19631 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19632 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19633 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19634 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19635 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19636 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19637 * sysdeps/x86_64/_mcount.S: Likewise.
19638 * sysdeps/x86_64/strtok.S: Likewise.
19639 * sysdeps/sh/_mcount.S: Likewise.
19640
2747bf9a
RM
196412012-08-01 Roland McGrath <roland@hack.frob.com>
19642
19643 * libio/iofopen.c: Include <fcntl.h>.
19644 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19645 (_IO_fopen64, fopen64): Define as aliases.
19646 * libio/iofopen64.c: Include <fcntl.h>.
19647 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19648 Conditionalize body on this.
19649 * sysdeps/wordsize-64/iofopen.c: File removed.
19650 * sysdeps/wordsize-64/iofopen64.c: File removed.
19651
3fb791b8
MP
196522012-08-01 Marek Polacek <polacek@redhat.com>
19653
19654 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19655 Use dlfcn directly instead of a variable.
19656 (binfmt-subdir): Do not define.
19657 (dlfcn): Likewise.
19658
a9f1039f
JM
196592012-08-01 Joseph Myers <joseph@codesourcery.com>
19660
23bddc06
JM
19661 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19662 Remove all definitions.
19663 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19664 <kernel-features.h>.
19665 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19666 (miss_F_GETOWN_EX): Remove all definitions.
19667 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19668 macro definition.
19669 [!__ASSUME_FCNTL64]: Remove conditional code.
19670 [__ASSUME_FCNTL64]: Make code unconditional.
19671 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19672 <kernel-features.h>.
19673 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19674 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19675 (lockf64) [__NR_fcntl64]: Make code unconditional.
19676 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19677
a9f1039f
JM
19678 * sysdeps/unix/sysv/linux/kernel-features.h
19679 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19680 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19681 Make code unconditional.
19682 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19683 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19685 [__NR_vfork]: Make code unconditional.
19686 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19687 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19689 [__NR_vfork]: Make code unconditional.
19690 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19691 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19692
09c0ee5f
RM
196932012-08-01 Roland McGrath <roland@hack.frob.com>
19694
48aec5b9
RM
19695 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19696 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19697
cd97c966
RM
19698 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19699 Define mkstemp64 as an alias.
3f55550c
RM
19700 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19701 Define mkstemps64 as an alias.
cd97c966
RM
19702 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19703 Define mkostemp64 as an alias.
b8625cfc
RM
19704 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19705 Define mkostemps64 as an alias.
cd97c966
RM
19706 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19707 Conditionalize body on this.
19708 * misc/mkostemp64.c: Likewise.
b8625cfc 19709 * misc/mkostemps64.c: Likewise.
3f55550c 19710 * misc/mkstemps64.c: Likewise.
cd97c966
RM
19711 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19712 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19713 * sysdeps/wordsize-64/mkostemp.c: File removed.
19714 * sysdeps/wordsize-64/mkstemp.c: File removed.
19715 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19716 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19717 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19718 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19719
09c0ee5f
RM
19720 [BZ #14138]
19721 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19722 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19723 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19724 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19725
19726 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19727 compat_symbol macros from <shlib-compat.h> rather than the underlying
19728 default_symbol_version and symbol_version macros, so that DEFAULT
19729 lines in shlib-versions are respected.
19730 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19731
7e66ee51
FW
197322012-08-01 Florian Weimer <fweimer@redhat.com>
19733
19734 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19735 Declare with warn_unused_result.
19736 (setgid, setregid, setegid, setresgid): Likewise.
19737 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19738 Likewise.
19739 * WUR-REPORT: Remove set*id functions.
19740
d2a54255
PT
197412012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19742
19743 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19744
7ecdb005
RM
197452012-07-31 Roland McGrath <roland@hack.frob.com>
19746
b4180a5e 19747 [BZ #10191]
789bd351
RM
19748 * include/sys/socket.h (__libc_accept, __libc_accept4):
19749 Add attribute_hidden.
19750 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19751
40ce302d
RM
19752 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19753 use of PTR_MANGLE.
19754 * inet/getnetgrent_r.c (setup): Likewise.
19755
7ecdb005
RM
19756 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19757
e2eabb2c
DM
197582012-07-31 David S. Miller <davem@davemloft.net>
19759
19760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19761
d0419dbf
JM
197622012-07-31 Joseph Myers <joseph@codesourcery.com>
19763
19764 [BZ #13629]
19765 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19766 value between 1.0 and 2.0 and smaller part has absolute value less
19767 than 1.0.
19768 * math/s_clog10.c (__clog10): Likewise.
19769 * math/s_clog10f.c (__clog10f): Likewise.
19770 * math/s_clog10l.c (__clog10l): Likewise.
19771 * math/s_clogf.c (__clogf): Likewise.
19772 * math/s_clogl.c (__clogl): Likewise.
19773 * math/libm-test.inc (clog_test): Add more tests.
19774 (clog10_test): Likewise.
19775 * sysdeps/i386/fpu/libm-test-ulps: Update.
19776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19777
2bc13872
FW
197782012-07-31 Florian Weimer <fweimer@redhat.com>
19779
19780 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19781 Exit with zero in case no suitable GID is found, and write a
19782 message to standard error.
19783
bea9b193
RM
197842012-07-30 Roland McGrath <roland@hack.frob.com>
19785
19786 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19787 rather than to 1.
19788 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19789 (MAXPATHLEN): Removed.
19790 (NOGROUP, NODEV): New macros.
19791 (setbit, clrbit, isset, isclr): New macros.
19792 (howmany, roundup, powerof2): New macros.
19793 (DEV_BSIZE): New macro.
19794
19795 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19796 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19797
19798 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19799 definition on [!__NO_LONG_DOUBLE_MATH].
19800
19801 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19802 PTR_MANGLE and PTR_DEMANGLE.
19803
19804 * socket/accept4.c (accept4): Rename to __libc_accept4.
19805 Define accept4 as a weak alias.
19806
19807 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19808 on [_DIRENT_HAVE_D_TYPE].
19809 * io/ftw.c (ftw_dir): Likewise.
19810
19811 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19812
19813 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19814
19815 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19816 Use the BSD numbers rather than the arbitrary ones we had.
19817 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19818 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19819 (SIGXCPU, SIGXFSZ): New macros.
19820 (_NSIG): Now 32.
19821
19822 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19823 initializer on [_LIBC_REENTRANT].
19824
19825 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19826 definitions inside [_POSIX_MAPPED_FILES].
19827
19828 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19829
19830 * dirent/opendir.c: Include <fcntl.h>.
19831
19832 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19833 (__libc_getspecific): Likewise.
19834 (__libc_key_create): Likewise.
19835
19836 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19837 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19838 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19839 (tmpfile64): Define as alias.
19840 * sysdeps/wordsize-64/tmpfile.c: File removed.
19841 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19842 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19843 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19844
19845 * stdio-common/vfscanf.c: Include <stdbool.h>.
19846 * nss/makedb.c: Likewise.
19847 * stdio-common/_i18n_number.h: Likewise.
19848 * argp/argp-help.c: Likewise.
19849 * posix/wordexp.c: Likewise.
19850 * sysdeps/posix/spawni.c: Likewise.
19851 * nss/nss_files/files-initgroups.c: Likewise.
19852 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19853 * nss/nss_files/files-initgroups.c: Likewise.
19854 * nss/nss_db/db-netgrp.c: Likewise.
19855 * nss/nss_db/db-initgroups.c: Likewise.
19856 * io/fchmodat.c: Include <sys/stat.h>.
19857
19858 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19859 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19860
19861 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19862 [HAVE_MMAP].
19863
19864 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19865 Add multiple inclusion protection.
19866
e5abc686
DM
198672012-07-27 David S. Miller <davem@davemloft.net>
19868
19869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19870
815e6fa3
GB
198712012-07-27 Gary Benson <gbenson@redhat.com>
19872
19873 [BZ #14298]
19874 * elf/rtld.c: Include <stap-probe.h>.
19875 (dl_main): Added static probes "init_start" and "init_complete".
19876 * elf/dl-load.c: Include <stap-probe.h>.
19877 (lose): Take new parameter "nsid".
19878 Added static probe "map_failed".
19879 (_dl_map_object_from_fd): Pass namespace id to lose.
19880 Added static probe "map_start".
19881 (open_verify): Pass namespace id to lose.
19882 * elf/dl-open.c: Include <stap-probe.h>.
19883 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19884 and "reloc_complete".
19885 * elf/dl-close.c: Include <stap-probe.h>.
19886 (_dl_close_worker): Added static probes "unmap_start" and
19887 "unmap_complete".
19888 * elf/rtld-debugger-interface.txt: New file documenting the above.
19889
9f98c16c
RM
198902012-07-26 Roland McGrath <roland@hack.frob.com>
19891
19892 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19893 rather than a string variable.
19894 * sunrpc/rpc_main.c (h_output): Likewise.
19895 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19896
f3c22df3
PT
198972012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19898
19899 * inet/check_native.c: New file.
19900
3129cfc6
JM
199012012-07-26 Joseph Myers <joseph@codesourcery.com>
19902
da865e95
JM
19903 [BZ #13629]
19904 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19905 if larger part has absolute value 1.0.
19906 * math/s_clog10.c (__clog10): Likewise.
19907 * math/s_clog10f.c (__clog10f): Likewise.
19908 * math/s_clog10l.c (__clog10l): Likewise.
19909 * math/s_clogf.c (__clogf): Likewise.
19910 * math/s_clogl.c (__clogl): Likewise.
19911 * math/libm-test.inc (clog_test): Add more tests.
19912 (clog10_test): Likewise.
19913 * sysdeps/i386/fpu/libm-test-ulps: Update.
19914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19915
3129cfc6
JM
19916 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19917 (pltexit): Likewise.
19918 (La_regs): Likewise.
19919 (La_retval): Likewise.
19920 (int_retval): Likewise.
19921 Update #error for removed macros to refer only to definitions in
19922 tst-audit.h.
19923 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19924 macro.
19925 (pltexit): Likewise.
19926 (La_regs): Likewise.
19927 (La_retval): Likewise.
19928 (int_retval): Likewise.
19929 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19930 macro.
19931 (pltexit): Likewise.
19932 (La_regs): Likewise.
19933 (La_retval): Likewise.
19934 (int_retval): Likewise.
19935 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19936 macro.
19937 (pltexit): Likewise.
19938 (La_regs): Likewise.
19939 (La_retval): Likewise.
19940 (int_retval): Likewise.
19941 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19942 macro.
19943 (pltexit): Likewise.
19944 (La_regs): Likewise.
19945 (La_retval): Likewise.
19946 (int_retval): Likewise.
19947 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19948 macro.
19949 (pltexit): Likewise.
19950 (La_regs): Likewise.
19951 (La_retval): Likewise.
19952 (int_retval): Likewise.
19953 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19954 macro.
19955 (pltexit): Likewise.
19956 (La_regs): Likewise.
19957 (La_retval): Likewise.
19958 (int_retval): Likewise.
19959 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19960 macro definitions in tst-audit.h.
19961 * sysdeps/i386/tst-audit.h: New file.
19962 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19963 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19964 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19965 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19966 * sysdeps/sh/tst-audit.h: Likewise.
19967 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19968 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19969 * sysdeps/x86_64/tst-audit.h: Likewise.
19970
bfc07087
AJ
199712012-07-26 Andreas Jaeger <aj@suse.de>
19972
b1b2aaf8
AJ
19973 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19974 ptrace.
19975
19976 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19977 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19978 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19979 PTRACE_O_MASK.
19980 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19981 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19982 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19983
bfc07087
AJ
19984 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19985 value.
19986
19987 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19988 _sigsys.
19989 (si_call_addr, si_syscall, si_arch): Define new macro.
19990 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19991 _sigsys.
19992 (si_call_addr, si_syscall, si_arch): Define new marcro.
19993 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19994 _sigsys.
19995 (si_call_addr, si_syscall, si_arch): Define new macro.
19996 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19997 _sigsys.
19998 (si_call_addr, si_syscall, si_arch): Define new macro.
19999
89b4b02f
JM
200002012-07-25 Joseph Myers <joseph@codesourcery.com>
20001
20002 [BZ #13717]
20003 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20004 Change to 2.4.21 where previously 2.4.1.
20005 * sysdeps/unix/sysv/linux/configure: Regenerated.
20006 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20007 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20008 Linux kernel version.
20009 (__ASSUME_STD_AUXV): Remove.
20010 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20011 kernel version.
20012 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20013 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20014 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20015 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20016 (__ASSUME_NETLINK_SUPPORT): Likewise.
20017 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20018 (__no_netlink_support): Remove conditional definition.
20019 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20020 Remove.
20021 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20022 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20023 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20024 (if_nameindex_ioctl): Remove.
20025 (if_nameindex_netlink): Do not handle __no_netlink_support.
20026 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20027 code.
20028 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20029 Remove conditional code.
20030 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20031 code.
20032 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20033 unconditional.
20034 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20035 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20036 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20037 Remove.
20038 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20039 [!__ASSUME_STD_AUXV]: Remove conditional code.
20040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20041 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20042 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20044 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20045 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20046 code.
20047 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20049 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20050 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20051 conditional code.
20052 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20054 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20055 code.
20056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20057 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20058 conditional code.
20059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20060 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20061 code unconditional.
20062 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20063 conditional code.
20064 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20065 unconditional.
20066 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20067 conditional code.
20068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20069 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20070 unconditional.
20071 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20072 conditional code.
20073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20074 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20075 code unconditional.
20076 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20077 conditional code.
20078 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20079 unconditional.
20080 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20081 conditional code.
20082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20083 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20084 code unconditional.
20085 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20086 conditional code.
20087 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20088 unconditional.
20089 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20090 conditional code.
20091
842a39cd
AS
200922012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20093
20094 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20095 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20096 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20097 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20098 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20099 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20100 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20101 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20102 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20103 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20104 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20105 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20106 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20107 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20108 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20109 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20110 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20111 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20112 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20113 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20114 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20115 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20116 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20117
84b3fd84
FW
201182012-07-25 Florian Weimer <fweimer@redhat.com>
20119
20120 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
20121 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20122 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20123 Introduce __libc_secure_getenv.
0c7936d5
FW
20124 * stdlib/Versions (2.17): Add secure_getenv
20125 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20126 * stdlib/secure-getenv.c: Rename __secure_getenv to
20127 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20128 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
20129 * stdlib/tst-secure-getenv.c: New.
20130 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
20131 * manual/startup.texi (Environment Access): Document
20132 secure_getenv.
84b3fd84
FW
20133 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20134 __libc_secure_getenv.
20135 * inet/ruserpass.c (ruserpass): Likewise.
20136 * malloc/mtrace.c (mtrace): Likewise.
20137 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 20138 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
20139 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20140 * sysdeps/posix/tempname.c: Likewise. Evaluate
20141 HAVE_SECURE_GETENV.
20142 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 20143 __secure_getenv to __libc_secure_getenv.
84b3fd84 20144 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
20145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20146 Likewise.
20147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20148 Likewise.
20149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20151 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 20156
56e49b71
JM
201572012-07-25 Joseph Myers <joseph@codesourcery.com>
20158
20159 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20160 (struct La_i86_retval): Likewise.
20161 (struct La_x86_64_regs): Likewise.
20162 (struct La_x86_64_retval): Likewise.
20163 (struct La_x32_regs): Likewise.
20164 (struct La_x32_retval): Likewise.
20165 (struct La_ppc32_regs): Likewise.
20166 (struct La_ppc32_retval): Likewise.
20167 (struct La_ppc64_regs): Likewise.
20168 (struct La_ppc64_retval): Likewise.
20169 (struct La_sh_regs): Likewise.
20170 (struct La_sh_retval): Likewise.
20171 (struct La_s390_32_regs): Likewise.
20172 (struct La_s390_32_retval): Likewise.
20173 (struct La_s390_64_regs): Likewise.
20174 (struct La_s390_64_retval): Likewise.
20175 (struct La_sparc32_regs): Likewise.
20176 (struct La_sparc32_retval): Likewise.
20177 (struct La_sparc64_regs): Likewise.
20178 (struct La_sparc64_retval): Likewise.
20179 (struct audit_ifaces): Remove architecture-specific pltenter and
20180 pltexit members.
20181 * sysdeps/i386/ldsodefs.h: New file.
20182 * sysdeps/powerpc/ldsodefs.h: Likewise.
20183 * sysdeps/s390/ldsodefs.h: Likewise.
20184 * sysdeps/sh/ldsodefs.h: Likewise.
20185 * sysdeps/sparc/ldsodefs.h: Likewise.
20186 * sysdeps/x86_64/ldsodefs.h: Likewise.
20187
354691b7
MP
201882012-07-25 Marek Polacek <polacek@redhat.com>
20189
20190 [BZ #6808]
20191 * math/libm-test.inc (yn_test): Add another test.
20192 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20193 to ERANGE when the result is +-Inf.
20194 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20195 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20196 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20197 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20198
bf9e2071
JM
201992012-07-24 Joseph Myers <joseph@codesourcery.com>
20200
20201 * conform/data/time.h-data (NULL): Use macro-constant. Require
20202 equal to 0.
20203 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20204 clock_t.
20205 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20206
57633811
TS
202072012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20208
20209 * configure.in <sysdeps resolving>: Correct printing
20210 Implies_before.
20211 * configure: Regenerate.
20212
c23c33b0
TS
202132012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20214
20215 * math/w_ilogb.c: Include <limits.h>.
20216 * math/w_ilogbl.c: Likewise.
20217
b5982523
JM
202182012-07-20 Joseph Myers <joseph@codesourcery.com>
20219
20220 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20221 va_copy. Document allowing for unavailable va_copy only as
20222 pre-C99 compatibility.
20223 * manual/string.texi (Copying and Concatenation): Use va_copy
20224 instead of __va_copy in concat example.
20225
ac4ea442
PT
202262012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20227
20228 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20229 (__sendto): Use create_address_port. Initialize APORT and deallocate
20230 it if not null.
20231
f98eafbd
PT
20232 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20233 with O_NOLINK passed to __file_name_lookup.
20234
898c7aab
PT
20235 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20236 with O_NOLINK passed to __file_name_lookup.
20237
0ced335a
PT
20238 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20239 negative N or less than NGIDS.
20240
b3404dbd
PT
20241 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20242 type to string_t. Set ERANGE as errno and return it if NAME is not big
20243 enough. Use memcpy instead of strncpy.
20244
0f48659e
JM
202452012-07-20 Joseph Myers <joseph@codesourcery.com>
20246
20247 * elf/Makefile (check-data): Remove.
20248 (localplt.data): New vpath directive.
20249 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20250 instead of $(check-data).
20251 * scripts/data/localplt-generic.data: Move to ...
20252 * sysdeps/generic/localplt.data: ... here.
20253 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20254 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20255 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20257 ... here.
20258 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20260 ... here.
20261 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20263 ... here.
20264 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20266 ... here.
20267 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20269 ... here.
20270 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20272 ... here.
20273
d37cbdaa
AZ
202742012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20275
20276 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20277 PPC32 and PPC64 files.
20278 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20279 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20280
46f85fc2
AK
202812012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20282
20283 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20284 __makecontext_ret to ...
20285 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20286 ... here and call exit if uc_link is NULL. New file.
20287 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20288 __makecontext_ret.S.
20289 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20290 __makecontext_ret to ...
20291 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20292 ... here and call exit if uc_link is NULL. New file.
20293 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20294 __makecontext_ret.S.
20295
08f43f9b
AK
202962012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20297
20298 * elf/elf.h (R_390_IRELATIVE): New definition.
20299 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20300 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20301 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20302 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20303 (elf_machine_lazy_rel): Likewise.
20304 * sysdeps/s390/dl-irel.h: New file.
20305 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20306 * sysdeps/s390/s390-64/memset.S: New asm code.
20307 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20308 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20309 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20310 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20311 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20312 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20313 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20314 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20315 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20316 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20317 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20318 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20319 * sysdeps/s390/s390-32/memset.S: New asm code.
20320 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20321
3b05db33
MP
203222012-07-17 Marek Polacek <polacek@redhat.com>
20323
20324 [BZ #14349]
20325 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20326 * sysdeps/s390/s390-64/configure.in: Likewise.
20327 * sysdeps/sparc/configure.in: Likewise.
20328 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20329 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20330 * sysdeps/i386/configure.in: Likewise.
20331 * sysdeps/x86_64/configure.in: Likewise.
20332 * sysdeps/sh/configure.in: Likewise.
20333 * sysdeps/s390/s390-32/configure: Regenerated.
20334 * sysdeps/s390/s390-64/configure: Likewise.
20335 * sysdeps/x86_64/configure: Likewise.
20336 * sysdeps/sh/configure: Likewise.
20337 * sysdeps/powerpc/powerpc64/configure: Likewise.
20338 * sysdeps/powerpc/powerpc32/configure: Likewise.
20339 * sysdeps/sparc/configure: Likwise.
20340 * sysdeps/i386/configure: Likewise.
20341
a66877c6
MP
20342 * elf/dl-open.c: Comment fixes.
20343
cfc82fd8
JM
203442012-07-17 Joseph Myers <joseph@codesourcery.com>
20345
bd29910a
JM
20346 * Makefile [CXX] (check-data): Remove.
20347 [CXX] (c++-types.data): New vpath directive.
20348 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20349 vpath. Do not allow for C++ type data being missing.
20350 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20351 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20352 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20353 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20354 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20355 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20356 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20358 ... here.
20359 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20361 ... here.
20362 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20364 ... here.
20365 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20367 ... here.
20368 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20370 ... here.
20371 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20373 ... here.
20374 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20376 ... here.
20377 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20379
cfc82fd8
JM
20380 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20381 definitions to architecture-specific files.
20382 (TLS_IE): Likewise.
20383 (TLS_LD): Likewise.
20384 (TLS_GD): Likewise.
20385 * sysdeps/i386/tls-macros.h: New file.
20386 * sysdeps/powerpc/tls-macros.h: Likewise.
20387 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20388 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20389 * sysdeps/sh/tls-macros.h: Likewise.
20390 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20391 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20392 * sysdeps/x86_64/tls-macros.h: Likewise.
20393
f7db3170
TS
203942012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20395
07cbfc23
TS
20396 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20397 zero value for regular exit case.
20398
f7db3170
TS
20399 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20400 (__start_context): Preserve zero value for regular exit case.
20401
dc97c227
TS
204022012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20403 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20404
20405 * manual/setjmp.texi (setcontext): Clarify normal process
20406 termination when uc_link is the null pointer.
20407 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20408 exit call.
20409
d0cd7d02
AS
204102012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20411
20412 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20413 preprocessor. Test for each exception mask separately.
20414
dd318934
AJ
204152012-07-16 Andreas Jaeger <aj@suse.de>
20416
20417 * po/ru.po: Update from translation team.
20418
8048311a
JM
204192012-07-15 Joseph Myers <joseph@codesourcery.com>
20420
20421 * conform/data/string.h-data (NULL): Use macro-constant. Require
20422 equal to 0.
20423 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20424 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20425 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20426 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20427 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20428
b637d46e
AJ
204292012-07-13 Andreas Jaeger <aj@suse.de>
20430
20431 * po/fr.po: Update from translation team.
20432
541428fe
MP
204332012-07-12 Marek Polacek <polacek@redhat.com>
20434
20435 [BZ #14173]
20436 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20437 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20438 loop condition.
20439
ec332e94
JM
204402012-07-12 Joseph Myers <joseph@codesourcery.com>
20441
20442 [BZ #13717]
20443 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20444 Change to 2.4.1 where previously 2.4.0.
20445 * sysdeps/unix/sysv/linux/configure: Regenerated.
20446 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20447 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20448 version.
20449 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20450 (__ASSUME_AT_CLKTCK): Remove.
20451 (__ASSUME_AT_PAGESIZE): Likewise.
20452 (__ASSUME_AT_XID): Likewise.
20453 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20454 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20455 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20456 unconditionally.
20457 (HAVE_AUX_PAGESIZE): Likewise.
20458 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20459 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20460 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20461
7b6e99be
JB
204622012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20463
20464 [BZ #14307]
20465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20466 the temporary buffer used to invoke __gethostbyname2_r,
20467 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20468 host_data / struct gaih_addrtuple.
20469 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20470 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20471 header file nss/nsswitch.h.
20472 * nss/nsswitch.h (global scope): Add definition of implementation
20473 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20474 resolv/nss_dns/dns-host.c).
20475
608404eb
AJ
204762012-07-11 Andreas Jaeger <aj@suse.de>
20477
20478 * po/fr.po: Update from translation team.
20479
71220aca
AJ
20480 * po/sv.po: Update from translation team
20481 * po/fr.po: Another update from translation team.
20482
28cfe843
AZ
204832012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20484
20485 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20486 for subnormals or multiply small sinh result by itself.
20487 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20489
6b90f981
DM
204902012-07-11 David S. Miller <davem@davemloft.net>
20491
20492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20493
c6825772
AS
204942012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20495
20496 [BZ #14347]
20497 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20498 (INTERNAL_MARK): Shift it here.
20499
7b8e0d49
MP
205002012-07-10 Marek Polacek <polacek@redhat.com>
20501
20502 [BZ #14151]
20503 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20504 libc_cv_asm_global_directive with .globl.
20505 * configure: Regenerated.
20506 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20507 with .globl.
20508 * sysdeps/i386/configure: Regenerated.
20509 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20510 with .globl.
20511 * sysdeps/x86_64/configure: Regenerated.
20512 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20513 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20514 * elf/tst-unique2mod2.c: Likewise.
20515 * elf/tst-unique2mod1.c: Likewise.
20516 * elf/tst-unique1mod2.c: Likewise.
20517 * elf/tst-unique1mod1.c: Likewise.
20518 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20519 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20520 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20521 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20522 * sysdeps/mach/sysdep.h: Likewise.
20523 * sysdeps/i386/sysdep.h: Likewise.
20524 * sysdeps/i386/i386-mcount.S: Likewise.
20525 * sysdeps/x86_64/_mcount.S: Likewise.
20526 * sysdeps/x86_64/sysdep.h: Likewise.
20527 * sysdeps/sh/_mcount.S: Likewise.
20528 * sysdeps/sh/sysdep.h: Likewise.
20529 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20530 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20531 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20532 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20533 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20534 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20535 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20536 * locale/localeinfo.h: Likewise.
20537 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20538 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20539
6c55cda3
RM
205402012-07-09 Roland McGrath <roland@hack.frob.com>
20541
20542 [BZ #14336]
20543 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20544 system".
20545 * manual/message.texi (The Uniforum approach): Likewise.
20546 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20547 (glibc iconv Implementation): Likewise.
20548
638a572e
JM
205492012-07-09 Joseph Myers <joseph@codesourcery.com>
20550
20551 [BZ #14337]
20552 * math/s_clog.c (__clog): Avoid scaling a value down where that
20553 could result in underflow.
20554 * math/s_clog10.c (__clog10): Likewise.
20555 * math/s_clog10f.c (__clog10f): Likewise.
20556 * math/s_clog10l.c (__clog10l): Likewise.
20557 * math/s_clogf.c (__clogf): Likewise.
20558 * math/s_clogl.c (__clogl): Likewise.
20559 * math/libm-test.inc (clog_test): Add more tests.
20560 (clog10_test): Likewise.
20561 * sysdeps/i386/fpu/libm-test-ulps: Update.
20562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20563
261f4859
AS
205642012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20565
0abaf3e4
AS
20566 [BZ #14283]
20567 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20568 by 7 not 8 to examine high bit of fractional part.
20569
261f4859
AS
20570 [BZ #14042]
20571 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20572 for call to __mcount_internal.
20573 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20574 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20575 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20576
f17ac40d
JM
205772012-07-06 Joseph Myers <joseph@codesourcery.com>
20578
9ad63c23
JM
20579 [BZ #14154]
20580 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20581 approximation for values within 0x1p-13f of an odd multiple of
20582 pi/4.
20583 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20584 exception. Add more tests.
20585 * sysdeps/i386/fpu/libm-test-ulps: Update.
20586
f17ac40d
JM
20587 [BZ #6778]
20588 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20589 inputs and return -1 for them. Do not check for +Inf in case not
20590 reachable for +Inf.
20591 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20592 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20593 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20594 and return -1 for them. Do not check for +Inf in case not
20595 reachable for +Inf.
20596 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20597 define.
20598 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20599 and return -1 for them. Do not check for +Inf in case not
20600 reachable for +Inf.
20601 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20602 spurious underflow.
20603 * sysdeps/i386/fpu/libm-test-ulps: Update.
20604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20605
fb21f89b
MF
206062012-07-06 Mike Frysinger <vapier@gentoo.org>
20607
20608 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20609
cdfe2c5e
JM
206102012-07-05 Joseph Myers <joseph@codesourcery.com>
20611
20612 [BZ #14157]
20613 [BZ #14331]
20614 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20615 could result in spurious underflow. Scale down values above
20616 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20617 * math/s_csqrtf.c (__csqrtf): Likewise.
20618 * math/s_csqrtl.c (__csqrtl): Likewise.
20619 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20620 spurious underflow.
20621 * sysdeps/i386/fpu/libm-test-ulps: Update.
20622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20623
70d35b67
AS
206242012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20625
704bc459
AS
20626 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20627 xopen-msg.sed.
20628 * catgets/xopen-msg.awk: New file.
20629 * catgets/xopen-msg.sed: Removed.
20630
70d35b67
AS
20631 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20632 po2text.sed.
20633 * intl/po2test.awk: New file.
20634 * intl/po2test.sed: Removed.
20635
ca61cf32
JM
206362012-07-04 Joseph Myers <joseph@codesourcery.com>
20637
20638 [BZ #14328]
20639 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20640 or multiply small sinh result by itself.
20641 * math/s_ctanf.c (__ctanf): Likewise.
20642 * math/s_ctanh.c (__ctanh): Likewise.
20643 * math/s_ctanhf.c (__ctanhf): Likewise.
20644 * math/s_ctanhl.c (__ctanhl): Likewise.
20645 * math/s_ctanl.c (__ctanl): Likewise.
20646 * math/libm-test.inc (ctan_test_tonearest): New function.
20647 (ctan_test_towardzero): Likewise.
20648 (ctan_test_downward): Likewise.
20649 (ctan_test_upward): Likewise.
20650 (ctanh_test_tonearest): Likewise.
20651 (ctanh_test_towardzero): Likewise.
20652 (ctanh_test_downward): Likewise.
20653 (ctanh_test_upward): Likewise.
20654 (main): Call these new functions.
20655 * sysdeps/i386/fpu/libm-test-ulps: Update.
20656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20657
ca48a46a
MF
206582012-07-03 Mike Frysinger <vapier@gentoo.org>
20659
20660 * .gitignore: Delete /ports entry.
20661
9d63d37d
AJ
206622012-07-03 Andreas Jaeger <aj@suse.de>
20663
20664 * po/bg.po: Update from translation team.
20665 * po/cs.po: Likewise.
20666 * po/de.po: Likewise.
20667 * po/hr.po: Likewise.
20668 * po/nl.pl: Likewise.
20669 * po/pl.po: Likewise.
20670 * po/vi.po: Likewise.
20671
370ca3d2
JM
206722012-07-03 Joseph Myers <joseph@codesourcery.com>
20673
95f5a9a8
JM
20674 * Makeconfig [!+link] (+link-before-libc): New variable.
20675 [!+link] (+link-after-libc): Likewise.
20676 [!+link] (+link-tests): Likewise.
20677 [!+link] (+link): Define in terms of $(+link-before-libc) and
20678 $(+link-after-libc).
20679 [!+link-static] (+link-static-before-libc): New variable.
20680 [!+link-static] (+link-static-after-libc): Likewise.
20681 [!+link-static] (+link-static-tests): Likewise.
20682 [!+link-static] (+link-static): Define in terms of
20683 $(+link-static-before-libc) and $(+link-static-after-libc).
20684 [build-shared] (link-libc-before-gnulib): New variable.
20685 [build-shared] (link-libc-tests): Likewise.
20686 [build-shared] (link-libc): Define in terms of
20687 $(link-libc-before-gnulib).
20688 [!build-shared] (link-libc-tests): New variable.
20689 (link-libc-static-tests): New variable.
20690 [!gnulib] (gnulib-arch): New variable.
20691 [!gnulib] (gnulib-tests): Likewise.
20692 [!gnulib] (static-gnulib-arch): Likewise.
20693 [!gnulib] (static-gnulib-tests): Likewise.
20694 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20695 Define with "=" instead of ":=".
20696 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20697 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20698 * Rules (binaries-all-notests): New variable.
20699 (binaries-all-tests): Likewise.
20700 (binaries-static-notests): Likewise.
20701 (binaries-static-tests): Likewise.
20702 (binaries-all): Define using $(binaries-all-notests) and
20703 $(binaries-all-tests).
20704 (binaries-static): Define using $(binaries-static-notests) and
20705 $(binaries-static-tests).
20706 (binaries-shared-tests): New variable.
20707 (binaries-shared-notests): Likewise.
20708 (binaries-shared): Remove variable.
20709 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20710 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20711 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20712 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20713 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20714 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20715 * elf/Makefile (sln-modules): New variable.
20716 (extra-objs): Add $(sln-modules:=.o).
20717 (ldconfig-modules): Add static-stubs.
20718 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20719 * elf/static-stubs.c: New file.
20720
7a845b2c
JM
20721 [BZ #14283]
20722 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20723 by 7 not 8 to examine high bit of fractional part. Use volatile
20724 variables when splitting into final array of floats if
20725 __FLT_EVAL_METHOD__ != 0.
20726 * math/libm-test.inc (cos_test): Add another test.
20727 (sin_test): Likewise.
20728 * sysdeps/i386/fpu/libm-test-ulps: Update.
20729
e2283f38
JM
20730 [BZ #14273]
20731 * math/libm-test.inc (cosh_test): Add more tests.
20732
370ca3d2
JM
20733 * version.h (RELEASE): Set to "development".
20734 (VERSION): Set to "2.16.90".
20735
ee9247c3
CD
207362012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20737
20738 * NEWS: Update copyright. Remove last-updated date.
20739 Mention math library bug fixes and timezone data changes.
20740 * README: Mention GNU/Hurd, x32, and HPPA support status.
20741
4648c381
TS
207422012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20743
20744 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20745
aac78a43
AJ
207462012-06-27 Andreas Jaeger <aj@suse.de>
20747
20748 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20749
ed3dbfad
AJ
207502012-06-25 Andreas Jaeger <aj@suse.de>
20751
20752 * sysdeps/s390/fpu/libm-test-ulps: Update.
20753
4d0ee855
AS
207542012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20755 Thomas Schwinge <thomas@codesourcery.com>
20756
20757 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20758 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20759 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20760 fanotify_mark.
20761
af1bce34
TS
207622012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20763
a9fa33ba
TS
20764 * sysdeps/mach/start.c: Remove file.
20765 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20766 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20767 * sysdeps/sh/init-first.c: Likewise.
20768
58f902b8
TS
20769 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20770 registers for frame unwinding purposes, add CFI directives.
20771 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20772 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20773 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20774 Likewise.
20775
1518f58b
TS
20776 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20777 __fortify_fail returning.
20778 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20779
db9b5059
TS
20780 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20781 sysdeps/sh/____longjmp_chk.S.
20782 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20783 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20784 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20785 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20786
967705fe
TS
20787 * sysdeps/sh/abort-instr.h: New file.
20788 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20789 process in case exit returns.
20790
a9def8c4
TS
20791 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20792 initialize the GOT register before use.
20793
2a649725
TS
20794 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20795 calculation of ARGC > 4.
20796
af1bce34
TS
20797 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20798 meaningful names to some local labels.
20799
d230f50a
KK
208002012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20801 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20802
20803 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20804 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20805 (__arch_compare_and_exchange_val_16_acq): Likewise.
20806 (__arch_compare_and_exchange_val_32_acq): Likewise.
20807 (atomic_exchange_and_add): Fix gUSA sequence.
20808 (atomic_add): Likewise.
20809 (atomic_add_negative): Likewise.
20810 (atomic_add_zero): Likewise.
20811 (atomic_bit_test_set): Likewise.
20812
0479b305
AS
208132012-06-22 Andreas Schwab <schwab@redhat.com>
20814
20815 [BZ #13579]
20816 * include/link.h (struct link_map): Add l_free_initfini.
20817 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20818 l_initfini.
20819 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20820 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20821 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20822 set.
20823
0e3933b9
CD
208242012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20825
20826 * configure.in: Use AC_LANG_SOURCE.
20827 * configure: Regenerate.
20828
4248b1b1
RM
208292012-06-22 Roland McGrath <roland@hack.frob.com>
20830
20831 * configure.in (libc_cv_localstatedir): New substituted variable.
20832 * configure: Regenerated.
20833 * config.make.in (localstatedir): New variable, substituted from
20834 libc_cv_localstatedir.
20835 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20836 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20837 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20838 * sysdeps/gnu/configure: Regenerated.
20839
006dd861
JL
208402012-06-21 Jeff Law <law@redhat.com>
20841
20842 [BZ #14277]
20843 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20844 free. Simplify list management for _LIBC case.
20845
79662d42
JM
208462012-06-21 Joseph Myers <joseph@codesourcery.com>
20847
b7abb4bf
JM
20848 [BZ #14273]
20849 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20850 Clear sign bit of 64-bit integer value before comparing against
20851 overflow value.
20852
79662d42
JM
20853 * sysdeps/mach/configure: Regenerated.
20854
1f150908
L
208552012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20856
20857 [BZ #14278]
20858 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20859
28363bbf
JL
208602012-06-21 Jeff Law <law@redhat.com>
20861
20862 [BZ #13882]
20863 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20864 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 20865 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
20866 * elf/dl-open.c (dl_open_worker): Likewise.
20867
09615db4
CD
208682012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20869
20870 * scripts/list-sources.sh: Scan PORTS for translations.
20871 * po/libc.pot: Regenerated.
20872
2174c6dd
AJ
208732012-06-21 Andreas Jaeger <aj@suse.de>
20874
20875 [BZ #12194]
20876 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20877 warning.
20878 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20879 * bits/byteswap-16.h (__bswap_16): Likewise.
20880 * bits/byteswap.h (__bswap_constant_16): Likewise.
20881
3ee947b1
L
208822012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20883
20884 [BZ #14117]
a2f34833
L
20885 * sysdeps/i386/fpu_control.h: Removed.
20886 * sysdeps/x86_64/fpu_control.h: Moved to ...
20887 * sysdeps/x86/fpu_control.h: Here.
20888
3ee947b1
L
20889 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20890 (_FPU_SETCW): Likewise.
20891
ed1825f8
L
208922012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20893
25f1282a
L
20894 [BZ #14117]
20895 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20896 * sysdeps/x86/fpu/bits/mathinline.h: This.
20897 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20898
ed1825f8
L
20899 [BZ #14050]
20900 [BZ #14117]
20901 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20902 functions if __x86_64__ is defined.
20903
36d54b74
CLT
209042012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20905
20906 * string/endian.h: Add !__ASSEMBLER__ condition for including
20907 conversion interfaces.
20908
10285c21
JM
209092012-06-15 Joseph Myers <joseph@codesourcery.com>
20910
20911 [BZ #14241]
20912 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20913 of ABS(x) in calculating zero to negative powers other than odd
20914 integers.
20915 * math/libm-test.inc (pow_test): Add more tests.
20916
06c5abbd
AJ
209172012-06-15 Andreas Jaeger <aj@suse.de>
20918
20919 * manual/contrib.texi (Contributors): Update entry of Liubov
20920 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20921 Machado Filho.
20922
a3aeac40
CH
209232012-06-15 Cyril Hrubis <metan@ucw.cz>
20924
20925 * string/string.h: Add __wur to GNU version of strerror_r.
20926
49bdf4c1
L
209272012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20928
20929 [BZ #14229]
20930 * string/Makefile (tests): Add tst-strtok_r.
20931 * string/tst-strtok_r.c: New file.
20932 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20933 RAX_LP/RDX_LP on SAVE_PTR.
20934
834f9b8d
RM
209352012-06-14 Roland McGrath <roland@hack.frob.com>
20936
20937 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20938
75fa1921
JM
209392012-06-14 Joseph Myers <joseph@codesourcery.com>
20940
20941 * libm_test.inc (csqrt_test): Allow more spurious underflow
20942 exceptions.
20943 (j0_test): Likewise.
20944 (j1_test): Likewise.
20945 (y0_test): Likewise.
20946 (y1_test): Likewise.
20947
771766df
CD
209482012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20949
20950 * po/Makefile (libc.pot): Use UTF-8 charset.
20951
ceb9e56b
PP
209522012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20953
20954 [BZ #14210]
20955 Suppress sign-conversion warning from FD_SET.
20956 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20957 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20958 not unsigned long int.
20959 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20960
ddb28975
L
209612012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20962
20963 [BZ #14050]
20964 [BZ #14117]
20965 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20966 __extern_always_inline instead of __extern_inline.
20967 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20968 (__signbit): Likewise.
20969 (__signbitl): Support C++ namespace.
20970 (lrintf): New inline function.
20971 (lrint): Likewise.
20972 (llrintf): Likewise.
20973 (llrint): Likewise.
20974 (fmaxf): Likewise.
20975 (fmax): Likewise.
20976 (fminf): Likewise.
20977 (fmin): Likewise.
20978 (rint): Likewise.
20979 (rintf): Likewise.
20980 (ceil): Likewise.
20981 (ceilf): Likewise.
20982 (floor): Likewise.
20983 (floorf): Likewise.
20984 (nearbyint): Likewise.
20985 (nearbyintf): Likewise.
20986
d7b4fb26
TS
209872012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20988
20989 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20990 non-default versions.
20991
eb55f5c2
RM
209922012-06-11 Roland McGrath <roland@hack.frob.com>
20993
20994 [BZ #14218]
20995 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20996
366af02c
TS
209972012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20998
99ff6e5c
TS
20999 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21000 (FE_UPWARD, FE_DOWNWARD): Don't define.
21001 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21002 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21003
366af02c
TS
21004 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21005 reading it.
21006 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21007 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21008
793ea851
KK
210092012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21010
21011 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21012 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21013 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21014 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21015
a728a38f
L
210162012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21017
21018 [BZ #14117]
c08010c7
L
21019 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21020 * sysdeps/i386/fpu/Implies: New file.
21021 * sysdeps/x86_64/fpu/Implies: Likewise.
21022 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21023 * sysdeps/x86/fpu/bits/fenv.h: This.
21024
a728a38f
L
21025 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21026 __SSE_MATH__.
21027
6e230d11
SP
210282012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21029
21030 [BZ #14134]
21031 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21032 character 0xffff that matches the last element of the
21033 conversion table.
21034
1b671feb
AZ
210352012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21036
21037 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21038 fmodl commit.
21039
6043738b
AZ
210402012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21041
21042 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21043 values higher than 25.6283.
21044
34ae0b32
AZ
210452012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21046
21047 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21048 subnormal exponent extraction and add some __builtin_expect.
21049 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21050 Fix for subnormal mantissa calculation.
21051
1214ec8f
MF
210522012-06-04 Mike Frysinger <vapier@gentoo.org>
21053
21054 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21055 cpu2 is -1 and errno is not ENOSYS.
21056
f3d1f93c
L
210572012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21058
21059 [BZ #14117]
0e4a3cd7
L
21060 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21061 * sysdeps/x86/bits/string.h: This.
21062 * sysdeps/x86_64/bits/string.h: Removed.
21063
6704c645
L
21064 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21065 if not compiling for x86-64, but compiling for >= i486.
21066
48495318
L
21067 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21068 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21069
14adcbfc
L
21070 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21071 New macro from Linux kernel 3.4.0.
21072 (FP_XSTATE_MAGIC2): Likewise.
21073 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21074 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21075 (struct _fpx_sw_bytes): New struct.
21076 (struct _xsave_hdr): Likewise.
21077 (struct _ymmh_state): Likewise.
21078 (struct _xstate): Likewise.
21079
68e408ab
L
21080 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21081 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21082 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21083 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21084 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21085 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21086
f3d1f93c
L
21087 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21088 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21089 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21090 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21091 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21092 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21093
d9dc34cd
TMQMF
210942012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21095
21096 [BZ #13743]
21097 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21098 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21099 (sysdep_headers): Include sys/platform/ppc.h.
21100 * sysdeps/powerpc/test-gettimebase.c: Test for
21101 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21102 * manual/Makefile (appendices): Include platform.texi.
21103 * manual/contrib.texi (Contributors): Update @node pointers.
21104 * manual/maint.texi (Maintenance): Likewise.
21105 (Platform): New node.
21106 * manual/platform.texi: New file. Document the new features.
21107
4af3879c
SP
211082012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21109 Jakub Jelinek <jakub@redhat.com>
21110
21111 [BZ #14188]
21112 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21113 where __builtin_expect is unavailable.
21114
2fd6ff13
DM
211152012-06-03 David S. Miller <davem@davemloft.net>
21116
21117 * stdlib/longlong.h: Updated from GCC.
21118
173f7220
AS
211192012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21120
21121 [BZ #14042]
21122 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21123 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21124 __mcount_internal.
21125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21126 (GLIBC_2.16): Likewise.
21127
f34a1c6f
L
211282012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21129
21130 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21131
88a4576f
JM
211322012-06-01 Joseph Myers <joseph@codesourcery.com>
21133
ea32bcdd
JM
21134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21135 (default-abi): New variable.
21136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21137 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21138 variable.
21139 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21140 Likewise.
21141 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21142 Likewise.
21143 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21144 Likewise.
21145
88a4576f
JM
21146 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21147 definition. Document in comment.
21148
402fe938
DM
211492012-06-01 David S. Miller <davem@davemloft.net>
21150
21151 * stdlib/longlong.h: Updated from GCC.
21152
3553723f
L
211532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21154
21155 [BZ #14117]
3bd872c4
L
21156 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21157 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21158 sys/debugreg.h sys/io.h here.
21159 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21160 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21161 sys/io.h.
21162 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21163 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21164 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21165 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21166 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21167 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21168
3553723f
L
21169 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21170 Define only if __x86_64__ is defined.
21171
4842e4fe
JM
211722012-06-01 Joseph Myers <joseph@codesourcery.com>
21173
c5bfe3d5
JM
21174 [BZ #14048]
21175 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21176 Use int64_t for variable i.
21177 * math/libm-test.inc (fmod_test): Add more tests.
21178
4842e4fe
JM
21179 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21180 z computation is not scheduled after fetestexcept.
21181 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21182 Use math_force_eval instead of asm to ensure calculation scheduled
21183 before exception test.
21184 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21185 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21186
efb73488
AJ
211872012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21188
21189 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21190 computation is not scheduled after fetestexcept.
21191
29bcce7c
L
211922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21193
21194 [BZ #14117]
21195 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21196 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21197
73a68f94
AZ
211982012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21199
21200 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21201 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21202
67b6df78
L
212032012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21204
edf2933a 21205 [BZ #14117]
ebc64a18
L
21206 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21207 <bits/wordsize.h>.
21208 (__WCHAR_MIN): Support __WORDSIZE == 64.
21209 (__WCHAR_MAX): Likewise.
21210
edf2933a
L
21211 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21212 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21213
57c6cf40
L
21214 [BZ #14183]
21215 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21216 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21217
67b6df78 21218 [BZ #14117]
8eb6281e
L
21219 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21220 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21221
aac639f4
L
21222 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21223 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21224
67b6df78
L
21225 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21226 Defined to 1 if __x86_64__ isn't defined.
21227 (_STAT_VER_LINUX_OLD): New.
21228 (st_atime): Remove duplicate.
21229 (st_mtime): Likewise.
21230 (st_ctime): Likewise.
21231
1c2cfe81
DM
212322012-05-31 David S. Miller <davem@davemloft.net>
21233
21234 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21235 entries.
21236
5be8418c
AS
212372012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21238
e7725326
AS
21239 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21240 gen-libm-test.pl.
21241
5be8418c
AS
21242 [BZ #14132]
21243 * elf/dl-reloc.c: Include <_itoa.h>.
21244 (_dl_reloc_bad_type): Remove use of INTUSE.
21245 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21246 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21247 * stdio-common/psiginfo.c (psiginfo): Likewise.
21248 * stdio-common/psignal.c (psignal): Likewise.
21249 * string/strsignal.c (strsignal): Likewise.
21250 * include/signal.h (_sys_siglist): Declare hidden proto.
21251 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21252 INTVARDEF with libc_hidden_data_def.
21253 * stdio-common/itoa-udigits.c: Likewise.
21254 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21255 (_itoa_lower_digits_internal): Remove declaration.
21256 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21257 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21258 (_sys_sigabbrev_internal): Remove aliases.
21259 (_sys_siglist): Define hidden alias.
21260
507352f1
MT
212612012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21262
21263 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21264 bits/sysctl.h.
21265
42bbb1c3
L
212662012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21267
21268 [BZ #14117]
6bd784b6
L
21269 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21270 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21271
8bca20f0
L
21272 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21273 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21274 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21275 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21276 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21277 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21278
f9e890a9
L
21279 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21280 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21281 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21282
471101a1
L
21283 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21284 with __addr.
21285 (insw): Likewise.
21286 (insl): Likewise.
21287 (outsb): Likewise.
21288 (outsw): Likewise.
21289 (outsl): Likewise.
21290
6451c862
L
21291 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21292 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21293 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21294
a254b8c9
L
21295 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21296 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21297 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21298 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21299 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21300 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21301
b8dfdd92
L
21302 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21303 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21304
578cd270
L
21305 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21306 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21307
de662f5f
L
21308 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21309 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21310 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21311
25653439
L
21312 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21313 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21314 to ...
21315 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21316
6bad24a0
L
21317 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21318 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21319 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21320
42bbb1c3
L
21321 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21322 for x86-64.
21323 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21324
2d10d547
JM
213252012-05-31 Joseph Myers <joseph@codesourcery.com>
21326
21327 * math/math.h (M_El): Use two more decimal places.
21328 (M_LOG2El): Likewise.
21329 (M_LOG10El): Likewise.
21330 (M_LN2l): Likewise.
21331 (M_LN10l): Likewise.
21332 (M_PIl): Likewise.
21333 (M_PI_2l): Likewise.
21334 (M_PI_4l): Likewise.
21335 (M_1_PIl): Likewise.
21336 (M_2_PIl): Likewise.
21337 (M_2_SQRTPIl): Likewise.
21338 (M_SQRT2l): Likewise.
21339 (M_SQRT1_2l): Likewise.
21340
f230c29b
DM
213412012-05-31 David S. Miller <davem@davemloft.net>
21342
21343 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21344 values between float registers.
21345 * sysdeps/sparc/sparc64/memset.S: Likewise.
21346 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21347
fed806c3
MF
213482012-05-31 Mike Frysinger <vapier@gentoo.org>
21349
21350 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21351 -D_FORTIFY_SOURCE=1.
21352 (CPPFLAGS-tst-longjmp_chk.c): Define.
21353 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21354 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21355 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21356 CFLAGS-tst-wchar-h.c.
21357
30917259
MP
213582012-05-31 Marek Polacek <polacek@redhat.com>
21359
21360 [BZ #14132]
21361 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21362 __endmntent_internal): Remove declaration.
21363 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21364 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21365 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21366
1c58d5dc
DM
213672012-05-30 David S. Miller <davem@davemloft.net>
21368
21369 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21370 (___Q_simulate_exceptions): Use real FP ops rather than writing
21371 into the %fsr.
21372 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21373 Likewise.
21374
7dc00e0d
L
213752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21376
21377 [BZ #14117]
0bd53985
L
21378 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21379 * sysdeps/x86/bits/xtitypes.h: This.
21380
3a257e66
L
21381 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21382 * sysdeps/x86/bits/wordsize.h: This.
21383
62f62904
L
21384 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21385 * sysdeps/x86/bits/huge_vall.h: This.
21386
404fe9d9
L
21387 * sysdeps/i386/bits/select.h: Removed.
21388 * sysdeps/x86_64/bits/select.h: Renamed to ...
21389 * sysdeps/x86/bits/select.h: This.
21390
d48d0446
L
21391 * sysdeps/i386/bits/setjmp.h: Removed.
21392 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21393 * sysdeps/x86/bits/setjmp.h: This.
21394
7dc00e0d
L
21395 * sysdeps/i386/bits/mathdef.h: Removed.
21396 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21397 * sysdeps/x86/bits/mathdef.h: This.
21398
03277f8f
AS
213992012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21400
21401 [BZ #14132]
21402 * include/sys/socket.h (__connect_internal)
21403 (__libc_sa_len_internal): Remove declaration.
21404 (__connect, __libc_sa_len): Declare hidden_proto.
21405 (SA_LEN): Remove use of INTUSE.
21406 * socket/connect.c: Add libc_hidden_def.
21407 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21408 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21409 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21410 alias.
21411 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21412 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21413 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21414 of adding _internal alias.
21415
13764867
L
214162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21417
21418 [BZ #14117]
6bd97696
L
21419 * sysdeps/i386/bits/link.h: Removed.
21420 * sysdeps/i386/bits/linkmap.h: Likewise.
21421 * sysdeps/x86_64/bits/link.h: Renamed to ...
21422 * sysdeps/x86/bits/link.h: This.
21423 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21424 * sysdeps/x86/bits/linkmap.h: This.
21425
f726f0bb
L
21426 * sysdeps/i386/bits/endian.h: Removed.
21427 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21428 * sysdeps/x86/bits/endian.h: This.
21429
13764867
L
21430 * sysdeps/i386/bits/byteswap.h: Removed.
21431 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21432 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21433 * sysdeps/x86/bits/byteswap.h: This.
21434 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21435 * sysdeps/x86/bits/byteswap-16.h: This.
21436 * sysdeps/i386/Implies: Add x86.
21437 * sysdeps/x86_64/Implies: Likewise.
21438
ae251b0b
DM
214392012-05-30 David S. Miller <davem@davemloft.net>
21440
21441 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21442 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21443 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21444 (FP_TRAPPING_EXCEPTIONS): Define.
21445 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21446 (FP_TRAPPING_EXCEPTIONS): Define.
21447 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21448 subnormals only when inexact has been signalled or underflow
21449 exceptions are enabled.
21450 (_FP_PACK_CANONICAL): Likewise.
21451
d5c90867
L
214522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21453
21454 [BZ #14183]
21455 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21456 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21457
63f1549e
RH
214582012-05-30 Richard Henderson <rth@twiddle.net>
21459
8d8f2279
RH
21460 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21461 with #ifndef NOT_IN_libc.
21462
63f1549e
RH
21463 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21464 marked to avoid plt entry.
21465
0ab0291b
L
214662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21467
21468 [BZ #14112]
21469 * Makeconfig (default-abi): New macro.
21470 (abi-includes): Likewise.
21471 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21472 $(abi-$(default-abi)-lib-soname) for soname if defined.
21473 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21474 abi-variants.
21475 * Makefile (installed-stubs): Likewise.
21476 * include/stubs-biarch.h: Removed.
21477 * scripts/lib-names.awk: Only handle one library at a time.
21478 * scripts/soversions.awk: Remove WORDSIZE support.
21479 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21480 entries.
21481 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21482 Removed.
21483 (syscall-list-default-condition): Likewise.
21484 (syscall-list-default-condition): Likewise.
21485 (syscall-list-includes): Likewise.
21486 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21487 syscall-list-* with abi-*. Handle undefined abi-variants.
21488 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21489 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21490 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21491 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21492 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21493 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21494 Removed.
21495 (syscall-list-32-options): Likewise.
21496 (syscall-list-32-condition): Likewise.
21497 (syscall-list-64-options): Likewise.
21498 (syscall-list-64-condition): Likewise.
21499 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21500 macro.
21501 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21502 Renamed to ...
21503 (abi-*): This.
21504 (abi-64-ld-soname): New macro.
21505 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21506 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21507 Renamed to ...
21508 (abi-*): This.
21509 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21510 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21511
4da0431d
JM
215122012-05-30 Joseph Myers <joseph@codesourcery.com>
21513
3a85279c
JM
21514 * sysdeps/unix/sysv/linux/kernel-features.h
21515 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21516 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21517 include <kernel-features.h>.
21518 [!__NR_ftruncate64]: Remove conditional code.
21519 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21520 [__NR_ftruncate64]: Make code unconditional.
21521 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21522 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21523 include <kernel-features.h>.
21524 [!__NR_ftruncate64]: Remove conditional code.
21525 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21526 [__NR_ftruncate64]: Make code unconditional.
21527 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21529 include <kernel-features.h>.
21530 [!__NR_ftruncate64]: Remove conditional code.
21531 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21532 [__NR_ftruncate64]: Make code unconditional.
21533 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21535 include <kernel-features.h>.
21536 [!__NR_ftruncate64]: Remove conditional code.
21537 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21538 [__NR_ftruncate64]: Make code unconditional.
21539 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21540
4da0431d
JM
21541 * configure.in (libc_cv_fpie): Weaken to a compile test using
21542 LIBC_TRY_CC_OPTION.
21543 * configure: Regenerated.
21544
11ef492c
AK
215452012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21546
21547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21551 Refreshed.
21552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21558 Refreshed.
21559
d66ef399
DM
215602012-05-27 David S. Miller <davem@davemloft.net>
21561
21562 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21563 (___Q_zero): New.
21564 (__Q_simulate_exceptions): Return void. Change to simulate
21565 exceptions by writing into the %fsr.
21566 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21567 (__Qp_handle_exceptions): Likewise.
21568 (numbers): Delete.
21569 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21570 __Qp_handle_exceptions.
21571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21572 __Qp_handle_exceptions.
21573 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21574 as unused and give dummy FP_RND_NEAREST initializer.
21575 (FP_INHIBIT_RESULTS): Define.
21576 (___Q_simulate_exceptions): Update declaration.
21577 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21578 formatting.
21579 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21580 as unused and give dummy FP_RND_NEAREST initializer.
21581 (__Qp_handle_exceptions): Update declaration.
21582 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21583 formatting.
21584
04fb54b5
TS
215852012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21586
21587 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21588 the temporary FPU control word.
21589 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21590 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21591 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21592 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21593 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21594 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21595 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21596 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21597 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21598 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21599 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21600
3f99608f
KK
216012012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21602
21603 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21604 fields.
21605
65a4de4e
CLT
216062012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21607
21608 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21609 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21610 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21611 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21612 Likewise.
21613 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21614 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21615 Likewise.
21616
15749d40
UD
216172012-05-27 Ulrich Drepper <drepper@gmail.com>
21618
21619 * po/h.po: Update from translation team.
21620
25dbcb27
AS
216212012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21622
3d3f8e55
AS
21623 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21624
25dbcb27
AS
21625 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21626 handling of denormals.
21627 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21628 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21629 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21630 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21631 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21632 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21633 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21634 Likewise.
21635
7ad47a80 216362012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
21637
21638 [BZ #14152]
21639 * math/libm-test.inc (fma_test): Don't always expect underflow
21640 exception.
21641
9c6ea9fa
SP
216422012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21643
21644 [BZ #12416]
21645 * elf/tst-execstack.c: Include stackinfo.h.
21646 (do_test): Adjust test case to ensure that pthread_getattr_np
21647 behaviour remains the same after marking stack executable.
21648
a8239222
JM
216492012-05-25 Joseph Myers <joseph@codesourcery.com>
21650
21651 * sysdeps/unix/sysv/linux/kernel-features.h
21652 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21653 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21654 kernel-features.h.
21655 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21656 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21657 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21658 kernel-features.h.
21659 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21660 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21661
918b5606
L
216622012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21663
21664 * configure.in: Define the default includes to being none.
21665 * configure: Regenerated.
21666
3a097cc7
RM
216672012-05-25 Roland McGrath <roland@hack.frob.com>
21668
8422c9a5
RM
21669 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21670 * sysdeps/x86_64/setjmp.S: Likewise.
21671 * sysdeps/i386/bsd-setjmp.S: Likewise.
21672 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21673 * sysdeps/i386/setjmp.S: Likewise.
21674 * sysdeps/i386/__longjmp.S: Likewise.
21675 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21676 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21677
3a097cc7
RM
21678 * include/stap-probe.h: New file.
21679 * configure.in: Handle --enable-systemtap.
21680 * configure: Regenerated.
21681 * config.h.in (USE_STAP_PROBE): New #undef.
21682 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21683 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21684 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21685
21708942
JM
216862012-05-25 Joseph Myers <joseph@codesourcery.com>
21687
21688 [BZ #13717]
21689 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21690 to 2.4.0 where earlier.
21691 * sysdeps/unix/sysv/linux/configure: Regenerated.
21692 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21693 <kernel-features.h>.
21694 [__ASSUME_32BITUIDS]: Make code unconditional.
21695 [!__ASSUME_32BITUIDS]: Remove conditional code.
21696 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21697 <kernel-features.h>.
21698 [__ASSUME_32BITUIDS]: Make code unconditional.
21699 [!__ASSUME_32BITUIDS]: Remove conditional code.
21700 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21701 [__ASSUME_32BITUIDS]: Make code unconditional.
21702 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21703 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21704 <kernel-features.h>.
21705 [__ASSUME_32BITUIDS]: Make code unconditional.
21706 [!__ASSUME_32BITUIDS]: Remove conditional code.
21707 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21708 <kernel-features.h>.
21709 [__ASSUME_32BITUIDS]: Make code unconditional.
21710 [!__ASSUME_32BITUIDS]: Remove conditional code.
21711 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21712 <kernel-features.h>.
21713 [__ASSUME_32BITUIDS]: Make code unconditional.
21714 [!__ASSUME_32BITUIDS]: Remove conditional code.
21715 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21716 <kernel-features.h>.
21717 [__ASSUME_32BITUIDS]: Make code unconditional.
21718 [!__ASSUME_32BITUIDS]: Remove conditional code.
21719 * sysdeps/unix/sysv/linux/i386/getresgid.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/i386/getresuid.c: Do not include
21724 <kernel-features.h>.
21725 [__ASSUME_32BITUIDS]: Make code unconditional.
21726 [!__ASSUME_32BITUIDS]: Remove conditional code.
21727 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21728 <kernel-features.h>.
21729 [__ASSUME_32BITUIDS]: Make code unconditional.
21730 [!__ASSUME_32BITUIDS]: Remove conditional code.
21731 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21732 <kernel-features.h>.
21733 [__ASSUME_32BITUIDS]: Make code unconditional.
21734 [!__ASSUME_32BITUIDS]: Remove conditional code.
21735 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21736 <kernel-features.h>.
21737 [__ASSUME_32BITUIDS]: Make code unconditional.
21738 [!__ASSUME_32BITUIDS]: Remove conditional code.
21739 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21740 <kernel-features.h>.
21741 [__ASSUME_32BITUIDS]: Make code unconditional.
21742 [!__ASSUME_32BITUIDS]: Remove conditional code.
21743 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21744 <kernel-features.h>.
21745 [__NR_setresgid] (__setresgid): Do not declare.
21746 [__ASSUME_32BITUIDS]: Make code unconditional.
21747 [!__ASSUME_32BITUIDS]: Remove conditional code.
21748 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21749 <kernel-features.h>.
21750 [__NR_setresuid] (__setresuid): Do not declare.
21751 [__ASSUME_32BITUIDS]: Make code unconditional.
21752 [!__ASSUME_32BITUIDS]: Remove conditional code.
21753 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21754 <kernel-features.h>.
21755 [__ASSUME_32BITUIDS]: Make code unconditional.
21756 [!__ASSUME_32BITUIDS]: Remove conditional code.
21757 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21758 <kernel-features.h>.
21759 [__ASSUME_32BITUIDS]: Make code unconditional.
21760 [!__ASSUME_32BITUIDS]: Remove conditional code.
21761 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21762 <kernel-features.h>.
21763 [__ASSUME_32BITUIDS]: Make code unconditional.
21764 [!__ASSUME_32BITUIDS]: Remove conditional code.
21765 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21766 <kernel-features.h>.
21767 [__ASSUME_32BITUIDS]: Make code unconditional.
21768 [!__ASSUME_32BITUIDS]: Remove conditional code.
21769 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21770 <kernel-features.h>.
21771 [__ASSUME_32BITUIDS]: Make code unconditional.
21772 [!__ASSUME_32BITUIDS]: Remove conditional code.
21773 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21774 <kernel-features.h>.
21775 [__ASSUME_32BITUIDS]: Make code unconditional.
21776 [!__ASSUME_32BITUIDS]: Remove conditional code.
21777 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21778 <kernel-features.h>.
21779 [__ASSUME_32BITUIDS]: Make code unconditional.
21780 [!__ASSUME_32BITUIDS]: Remove conditional code.
21781 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21782 <kernel-features.h>.
21783 [__ASSUME_32BITUIDS]: Make code unconditional.
21784 [!__ASSUME_32BITUIDS]: Remove conditional code.
21785 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21786 <kernel-features.h>.
21787 [__ASSUME_32BITUIDS]: Make code unconditional.
21788 [!__ASSUME_32BITUIDS]: Remove conditional code.
21789 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21790 <kernel-features.h>.
21791 [__ASSUME_32BITUIDS]: Make code unconditional.
21792 [!__ASSUME_32BITUIDS]: Remove conditional code.
21793 * sysdeps/unix/sysv/linux/kernel-features.h
21794 (__ASSUME_SETRESUID_SYSCALL): Remove.
21795 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21796 (__ASSUME_32BITUIDS): Likewise.
21797 (__ASSUME_LDT_WORKS): Likewise.
21798 (__ASSUME_O_DIRECTORY): Likewise.
21799 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21800 architecture but not kernel version.
21801 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21802 (__ASSUME_MMAP2_SYSCALL): Likewise.
21803 (__ASSUME_STAT64_SYSCALL): Likewise.
21804 (__ASSUME_IPC64): Likewise.
21805 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21806 <kernel-features.h>.
21807 [__ASSUME_32BITUIDS]: Make code unconditional.
21808 [!__ASSUME_32BITUIDS]: Remove conditional code.
21809 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21810 <kernel-features.h>.
21811 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21812 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21813 132096]: Remove conditional code.
21814 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21815 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21816 <kernel-features.h>.
21817 [__ASSUME_32BITUIDS]: Make code unconditional.
21818 [!__ASSUME_32BITUIDS]: Remove conditional code.
21819 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21820 <kernel-features.h>.
21821 [__ASSUME_32BITUIDS]: Make code unconditional.
21822 [!__ASSUME_32BITUIDS]: Remove conditional code.
21823 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21824 <kernel-features.h>.
21825 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21826 unconditional.
21827 (__setresgid): Do not declare.
21828 [__ASSUME_32BITUIDS]: Make code unconditional.
21829 [!__ASSUME_32BITUIDS]: Remove conditional code.
21830 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21831 <kernel-features.h>.
21832 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21833 unconditional.
21834 (__setresuid): Do not declare.
21835 [__ASSUME_32BITUIDS]: Make code unconditional.
21836 [!__ASSUME_32BITUIDS]: Remove conditional code.
21837 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21838 <kernel-features.h>.
21839 [__ASSUME_32BITUIDS]: Make code unconditional.
21840 [!__ASSUME_32BITUIDS]: Remove conditional code.
21841 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21842 <kernel-features.h>.
21843 [__ASSUME_32BITUIDS]: Make code unconditional.
21844 [!__ASSUME_32BITUIDS]: Remove conditional code.
21845
a386f1cc
RH
218462012-05-25 Richard Henderson <rth@twiddle.net>
21847
21848 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21849 dl_hwcap to ifunc resolver.
21850 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21851 elf_ifunc_invoke.
21852 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21853 dl_hwcap to ifunc resolver.
21854 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21855
b6550497
JM
218562012-05-24 Joseph Myers <joseph@codesourcery.com>
21857
21858 [BZ #14153]
21859 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21860 for |x| <= 2**-26, not 2**-57.
21861 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21862 exception.
21863
b0bc23a1
JL
218642012-05-24 Jeff Law <law@redhat.com>
21865
21866 * stdio-common/Makefile (tests): Add bug25.
21867 * stdio-common/bug25.c: New test.
21868
347c92e9
L
218692012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21870
21871 [BZ #13576]
21872 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21873 multiple of MALLOC_ALIGNMENT in size.
21874 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21875
6bcc8b3f
JM
218762012-05-24 Joseph Myers <joseph@codesourcery.com>
21877
21878 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21879 Require >= 256.
21880 (FILENAME_MAX): Use macro-int-constant.
21881 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21882 (_IOFBF): Use macro-int-constant.
21883 (_IOLBF): Likewise.
21884 (_IONBF): Likewise.
21885 (SEEK_CUR): Likewise.
21886 (SEEK_END): Likewise.
21887 (SEEK_SET): Likewise.
21888 (TMP_MAX): Likewise.
21889 (EOF): Use macro-int-constant. Require < 0.
21890 (NULL): Use macro-constant. Require == 0.
21891 (stdin): Require type to be FILE *.
21892 (stdout): Likewise.
21893 (stderr): Likewise.
21894 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21895 macro-int-constant.
21896 (EXIT_SUCCESS): Likewise.
21897 (NULL): Use macro-constant. Require == 0.
21898 (RAND_MAX): Use macro-int-constant.
21899 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21900 [C99-based standards] (strtof): Require function.
21901 [C99-based standards] (strtold): Likewise.
21902 [C99-based standards] (strtoll): Likewise.
21903 [C99-based standards] (strtoull): Likewise.
21904 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21905 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21906 [ISO || ISO99 || ISO11] (math.h): Likewise.
21907 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21908 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21909 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21910
d18ea0c5
AS
219112012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21912
21913 [BZ #14132]
56d25bb8
AS
21914 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21915 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21916 * intl/dgettext.c (DCGETTEXT): Likewise.
21917 * intl/gettext.c (DCGETTEXT): Likewise.
21918 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21919 * posix/regex_internal.h (gettext): Likewise.
21920 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21921 Remove declaration.
21922 * include/argz.h (__argz_count_internal)
21923 (__argz_stringify_internal): Remove declaration.
21924 (__argz_count, __argz_stringify): Declare hidden proto.
21925 * intl/dcgettext.c: Remove use of INTDEF.
21926 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21927 * string/argz-stringify.c: Likewise.
21928 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21929 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21930 Declare hidden proto.
d18ea0c5
AS
21931 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21932 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21933 Declare hidden proto.
21934 * include/stdio.h (__asprintf_internal): Don't declare.
21935 (__asprintf): Don't define as macro. Declare hidden proto.
21936 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21937 (__fsetlocking): Declare hidden proto.
21938 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21939 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21940 hidden proto.
21941 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21942 (_IO_setlinebuf): Remove use of INTUSE.
21943 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21944 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21945 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21946 Remove declaration.
21947 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21948 (_IO_do_flush): Remove use of INTUSE.
21949 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21950 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21951 (_IO_adjust_column, _IO_least_wmarker)
21952 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21953 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21954 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21955 (_IO_default_doallocate, _IO_wdefault_doallocate)
21956 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21957 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21958 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21959 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21960 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21961 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21962 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21963 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21964 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21965 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21966 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21967 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21968 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21969 proto.
21970 (_IO_flush_all_internal, _IO_adjust_column_internal)
21971 (_IO_default_uflow_internal, _IO_default_finish_internal)
21972 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21973 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21974 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21975 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21976 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21977 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21978 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21979 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21980 (_IO_file_close_internal, _IO_file_close_it_internal)
21981 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21982 (_IO_file_init_internal, _IO_file_attach_internal)
21983 (_IO_file_fopen_internal, _IO_file_read_internal)
21984 (_IO_file_sync_internal, _IO_file_seek_internal)
21985 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21986 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21987 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21988 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21989 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21990 (_IO_list_all_internal, _IO_link_in_internal)
21991 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21992 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21993 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21994 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21995 (_IO_do_write_internal, _IO_padn_internal)
21996 (_IO_getline_info_internal, _IO_getline_internal)
21997 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21998 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21999 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22000 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22001 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22002 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22003 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22004 with libc_hidden_ver, remove use of INTUSE.
22005 * libio/genops.c: Likewise.
22006 * libio/freopen.c: Likewise.
22007 * libio/freopen64.c: Likewise.
22008 * libio/iofclose.c: Likewise.
22009 * libio/iofdopen.c: Likewise.
22010 * libio/iofflush.c: Likewise.
22011 * libio/iofflush_u.c: Likewise.
22012 * libio/iofgets.c: Likewise.
22013 * libio/iofgets_u.c: Likewise.
22014 * libio/iofopen.c: Likewise.
22015 * libio/iofopncook.c: Likewise.
22016 * libio/iofread.c: Likewise.
22017 * libio/iofread_u.c: Likewise.
22018 * libio/ioftell.c: Likewise.
22019 * libio/iofwrite.c: Likewise.
22020 * libio/iogetline.c: Likewise.
22021 * libio/iogets.c: Likewise.
22022 * libio/iogetwline.c: Likewise.
22023 * libio/iopadn.c: Likewise.
22024 * libio/iopopen.c: Likewise.
22025 * libio/ioseekoff.c: Likewise.
22026 * libio/ioseekpos.c: Likewise.
22027 * libio/iosetbuffer.c: Likewise.
22028 * libio/iosetvbuf.c: Likewise.
22029 * libio/ioungetc.c: Likewise.
22030 * libio/ioungetwc.c: Likewise.
22031 * libio/iovdprintf.c: Likewise.
22032 * libio/iovsprintf.c: Likewise.
22033 * libio/iovsscanf.c: Likewise.
22034 * libio/memstream.c: Likewise.
22035 * libio/obprintf.c: Likewise.
22036 * libio/oldfileops.c: Likewise.
22037 * libio/oldiofclose.c: Likewise.
22038 * libio/oldiofdopen.c: Likewise.
22039 * libio/oldiofopen.c: Likewise.
22040 * libio/oldiopopen.c: Likewise.
22041 * libio/oldstdfiles.c: Likewise.
22042 * libio/putc.c: Likewise.
22043 * libio/setbuf.c: Likewise.
22044 * libio/setlinebuf.c: Likewise.
22045 * libio/stdfiles.c: Likewise.
22046 * libio/strops.c: Likewise.
22047 * libio/vasprintf.c: Likewise.
22048 * libio/vscanf.c: Likewise.
22049 * libio/vsnprintf.c: Likewise.
22050 * libio/vswprintf.c: Likewise.
22051 * libio/wfiledoalloc.c: Likewise.
22052 * libio/wfileops.c: Likewise.
22053 * libio/wgenops.c: Likewise.
22054 * libio/wmemstream.c: Likewise.
22055 * libio/wstrops.c: Likewise.
22056 * libio/__fpurge.c: Likewise.
22057 * libio/__fsetlocking.c: Likewise.
22058 * assert/assert.c: Likewise.
22059 * debug/fgets_chk.c: Likewise.
22060 * debug/fgets_u_chk.c: Likewise.
22061 * debug/fread_chk.c: Likewise.
22062 * debug/fread_u_chk.c: Likewise.
22063 * debug/gets_chk.c: Likewise.
22064 * debug/obprintf_chk.c: Likewise.
22065 * debug/vasprintf_chk.c: Likewise.
22066 * debug/vdprintf_chk.c: Likewise.
22067 * debug/vsnprintf_chk.c: Likewise.
22068 * debug/vsprintf_chk.c: Likewise.
22069 * malloc/mtrace.c: Likewise.
22070 * misc/error.c: Likewise.
22071 * misc/syslog.c: Likewise.
22072 * stdio-common/asprintf.c: Likewise.
22073 * stdio-common/fxprintf.c: Likewise.
22074 * stdio-common/getw.c: Likewise.
22075 * stdio-common/isoc99_fscanf.c: Likewise.
22076 * stdio-common/isoc99_scanf.c: Likewise.
22077 * stdio-common/isoc99_vfscanf.c: Likewise.
22078 * stdio-common/isoc99_vscanf.c: Likewise.
22079 * stdio-common/isoc99_vsscanf.c: Likewise.
22080 * stdio-common/printf-prs.c: Likewise.
22081 * stdio-common/printf_fp.c: Likewise.
22082 * stdio-common/printf_fphex.c: Likewise.
22083 * stdio-common/printf_size.c: Likewise.
22084 * stdio-common/putw.c: Likewise.
22085 * stdio-common/scanf.c: Likewise.
22086 * stdio-common/sprintf.c: Likewise.
22087 * stdio-common/tmpfile.c: Likewise.
22088 * stdio-common/vfprintf.c: Likewise.
22089 * stdio-common/vfscanf.c: Likewise.
22090 * stdlib/strfmon_l.c: Likewise.
22091 * sunrpc/openchild.c: Likewise.
22092 * sunrpc/xdr_stdio.c: Likewise.
22093 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22094 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22095
d6c33fda
RM
220962012-05-24 Roland McGrath <roland@hack.frob.com>
22097
c1487492
RM
22098 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22099
22100 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22101 in the third column, to generate for the shared library an IFUNC
22102 that uses _dl_vdso_vsym.
22103 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22104 * Makeconfig (object-suffixes-noshared): New variable.
22105
22106 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22107 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22108 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22109 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22110
d6c33fda
RM
22111 [BZ #14132]
22112 * include/sys/time.h (__gettimeofday): Remove macro.
22113 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22114 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22115 Remove INTDEF.
22116 (__gettimeofday): Add libc_hidden_def.
22117 (gettimeofday): Add libc_hidden_weak.
22118 * sysdeps/mach/gettimeofday.c: Likewise.
22119 * sysdeps/posix/gettimeofday.c: Likewise.
22120 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22121 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22122 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22123 (__gettimeofday_internal): Remove strong_alias.
22124 (__gettimeofday): Add libc_hidden_def.
22125 (gettimeofday): Add libc_hidden_weak.
22126 * sysdeps/unix/syscalls.list (gettimeofday):
22127 Remove __gettimeofday_internal alias.
22128
b5a2bbe6
L
221292012-05-24 Daniel Jacobowitz <drow@false.org>
22130 H.J. Lu <hongjiu.lu@intel.com>
22131
22132 [BZ #12495]
22133 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22134 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22135 (largebin_index_32_big): New.
22136 (largebin_index): Use it for 16-byte alignment.
22137 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22138 correction with front_misalign.
22139
cfba4fda
L
221402012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22141
7f907421
L
22142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22144 Likewise.
22145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22146 Likewise.
22147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22148 Likewise.
22149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22150 Likewise.
22151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22152 Likewise.
22153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22154 Likewise.
22155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22156 Likewise.
22157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22158 Likewise.
22159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22160 Likewise.
22161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22162 Likewise.
22163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22164 Likewise.
22165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22166 Likewise.
22167
cfba4fda
L
22168 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22169 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22170
80bad0cc
JM
221712012-05-24 Joseph Myers <joseph@codesourcery.com>
22172
7a25eb06
JM
22173 [BZ #10846]
22174 [BZ #14036]
22175 * math/libm-test.inc (exp_test): Add test from bug 14036.
22176 (pow_test): Add test from bug 10846.
22177
795405f9
JM
22178 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22179 and other flags.
22180 (special_function): Do not include flags in test name.
22181 (parse_args): Likewise.
22182 * sysdeps/i386/fpu/libm-test-ulps: Update.
22183 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22184 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22185 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22187
80bad0cc
JM
22188 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22189 exceptions.
22190 * math/libm-test.inc ("Philosophy"): Update comment about
22191 exception testing.
22192 (UNDERFLOW_EXCEPTION): New macro.
22193 (UNDERFLOW_EXCEPTION_OK): Likewise.
22194 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22195 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22196 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22197 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22198 (INVALID_EXCEPTION_OK): Update value.
22199 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22200 (OVERFLOW_EXCEPTION_OK): Likewise.
22201 (IGNORE_ZERO_INF_SIGN): Likewise.
22202 (test_exceptions): Handle underflow exceptions.
22203 (acos_test): Update for underflow exception expectations.
22204 (cexp_test): Likewise.
22205 (clog_test): Likewise.
22206 (clog10_test): Likewise.
22207 (csqrt_test): Likewise.
22208 (ctan_test): Likewise.
22209 (ctanh_test): Likewise.
22210 (exp_test): Likewise.
22211 (exp10_test): Likewise.
22212 (exp2_test): Likewise.
22213 (expm1_test): Likewise.
22214 (fma_test): Likewise.
22215 (j0_test): Likewise.
22216 (jn_test): Likewise.
22217 (nexttoward_test): Likewise.
22218 (pow_test): Likewise.
22219 (scalbn_test): Likewise.
22220 (scalbln_test): Likewise.
22221 (tan_test): Likewise.
22222 (y1_test): Likewise.
22223 * sysdeps/i386/fpu/libm-test-ulps: Update.
22224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22225
9e0e3d0b
DM
222262012-05-23 David S. Miller <davem@davemloft.net>
22227
22228 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22229 (__libc_sigaction): Remove unused local variables.
22230
ccd0a08f
L
222312012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22232
22233 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22234
62bdf9a6
PE
222352012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22236
f8591f80
PE
22237 mktime: avoid signed integer overflow
22238 * time/mktime.c (__mktime_internal): Do not mishandle the case
22239 where diff == INT_MIN.
22240
94c7d826
PE
22241 mktime: simplify computation of average
22242 * time/mktime.c (ranged_convert): Use new time_t_avg function
22243 instead of rolling our own (probably-slower) code.
22244
ce73d683
PE
22245 mktime: do not assume signed right shift propagates sign bit
22246 * time/mktime.c (isdst_differ): New static function.
22247 (__mktime_internal): No need to normalize tm_isdst now.
22248 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22249 tm_isdst values.
22250
72a22e59
PE
22251 mktime: merge another wrapv change from gnulib
22252 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22253 from some compilers.
22254
68605433
PE
22255 mktime: remove incorrect attempt at unusual arithmetics
22256 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22257 The code didn't really work on such machines anyway.
22258 (TYPE_MINIMUM): Assume two's complement.
22259 (twos_complement_arithmetic): Verify that long_int and time_t
22260 are two's complement (or unsigned, in the latter case).
22261
03cf7fe3
PE
22262 mktime: check signed shifts on long_int and time_t, too
22263 * time/mktime.c (SHR): Check that shifts work as desired
22264 on the types long_int and time_t too, as SHR is used on
22265 such types.
22266
f04dfbc2
PE
22267 mktime: do not assume 'long' is wide enough
22268 * time/mktime.c (verify): Move decl up.
22269 (long_int): New type.
22270 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22271 to remove assumption in the code that 'long' is wide enough to
22272 store year values. This assumption is not true on x32 and on
22273 some non-glibc platforms.
22274
62bdf9a6
PE
22275 mktime: merge wrapv change from gnulib
22276 * time/mktime.c (WRAPV): New macro.
22277 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22278 (guess_time_tm, __mktime_internal): Do not assume that signed
22279 integer overflow wraps around; modern compilers generate code
22280 where this assumption is no longer valid.
22281
5e292e4f
L
222822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22283
22284 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22285 Replace "jmp L(pseudo_end)" with "ret".
22286 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22287 Likewise.
22288
8caf8c87
AJ
222892012-05-23 Andreas Jaeger <aj@suse.de>
22290
22291 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22292 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22293
1a09dc56
AJ
222942012-05-23 Andreas Jaeger <aj@suse.de>
22295 Maximilian Attems <max@stro.at>
22296
22297 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22298 New macros.
22299
1c87aba0
L
223002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22301
22302 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22303 code so that pseudo_end is just ret and the stack pointer is
22304 correct also for static library in error case.
22305
40e45bd5
JM
223062012-05-23 Joseph Myers <joseph@codesourcery.com>
22307
c2670533
JM
22308 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22309 move to syscalls.list.
22310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22314
40e45bd5
JM
22315 * manual/install.texi (Running make install): Do not mention Linux
22316 kernel version for which pt_chown is not needed.
22317 (Linux): Do not mention problems with nscd with 2.0 kernels.
22318 * INSTALL: Regenerated.
22319
be08eda5
AJ
223202012-05-23 Andreas Jaeger <aj@suse.de>
22321
22322 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22323 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22324 macro.
22325 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22326 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22327 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22328 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22329 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22330 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22331 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22332 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22333 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22334 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22335 * sysdeps/unix/sysv/linux/bits/in.h
22336 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22337
a6a056bb
RM
223382012-05-22 Roland McGrath <roland@hack.frob.com>
22339
22340 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22341 (PREPARE_VERSION): Just use assert instead, it will be elided
22342 under [NDEBUG] anyway.
22343
c9009328
L
223442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22345
22346 * sysdeps/unix/sysv/linux/Makefile: Include
22347 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 22348 (sysdep_routines): Remove sysctl.
c9009328
L
22349 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22350 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22351 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22352 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22353 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22354
73338355
AJ
223552012-05-22 Andreas Jaeger <aj@suse.de>
22356
22357 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22358 that pseudo_end is just ret and the stack pointer is correct also
22359 for static library in error case.
22360
d44638b0
PP
223612012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22362
22363 [BZ #14122]
22364 * nss/nsswitch.c (defconfig_entries): New variable.
22365 (__nss_database_lookup): Don't leak defconfig entries.
22366 (nss_parse_service_list): Don't leak on error paths.
22367 (free_database_entries): New function.
22368 (free_defconfig): New function.
22369 (free_mem): Move common code to free_database_entries.
22370
31a39bd8
L
223712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22372
da0331a8
L
22373 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22374 Add arch_prctl.
22375 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22376
31a39bd8
L
22377 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22378 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22380 New macro.
22381 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22382 (INTERNAL_SYSCALL_TYPES): Likewise.
22383 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22384 (LOAD_REGS_TYPES_[1-6]): Likewise.
22385 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22386 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22387
45470df3
AZ
223882012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22389
22390 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22391 copysignl for GLIBC_2_0.
22392 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22393 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22394 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22395 logbl for GLIBC_2_0.
22396 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22397 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22398
98a61bcb
L
223992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22400
a4f6e481
L
22401 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22402 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22403
f63d5db6
L
22404 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22405 Use "neg %eax".
22406
98a61bcb
L
22407 * time/mktime.c: Update copyright years.
22408
95770f14
PE
224092012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22410
6226efbd
PE
22411 mktime: merge comment-quoting-style change from gnulib
22412 * time/mktime.c: Quote 'like this' in comments.
22413 The GNU coding standards suggest that we no longer quote `like this',
22414 as "`" and "'" are typically rendered asymmetrically nowadays.
22415 The typical gnulib style is to quote 'like this' when quoting
22416 code, and "like this" when quoting English.
22417
b99e4f78
PE
22418 * time/mktime.c (compile-command): Add "-I.".
22419
643e01e6
PE
22420 mktime: merge mktime-internal.h change from gnulib
22421 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22422
2554247d
PE
22423 mktime: merge time_r change from gnulib
22424 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22425
826dd0ab
PE
22426 mktime: merge DEBUG change from gnulib
22427 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22428 case system <time.h> has a #define.
22429
bd83aabe
PE
22430 mktime: merge <sys/types.h> change from gnulib
22431 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22432 since <time.t> is now guaranteed to define time_t.
22433
95770f14
PE
22434 mktime: merge HAVE_CONFIG_H change from gnulib
22435 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22436
5e1a27a9
L
224372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22438
0e44a77e
L
22439 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22440 Use "neg %eax".
22441
5e1a27a9
L
22442 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22443 __rlim_t cast.
22444 (struct rusage): Use anonymous union to pad each field to
22445 __syscall_slong_t.
22446
46259bec
DM
224472012-05-21 David S. Miller <davem@davemloft.net>
22448
22449 * Makefules (o-iterator): Remove .s cases.
22450 (compile-command.s): Delete.
22451 (COMPILE.s): Delete.
22452 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22453
59f0c22e
JM
224542012-05-21 Joseph Myers <joseph@codesourcery.com>
22455
22456 * configure.in (libc_cv_predef_stack_protector): Only consider
22457 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22458 * configure: Regenerated.
22459
20c07380
L
224602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22461
bbb3154b
L
22462 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22463 New macro. Use R*LP on int and pointer.
22464 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
22465 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22466 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
22467 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22468
20c07380
L
22469 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22470 [__WORDSIZE_TIME64_COMPAT32] instead of
22471 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22472 (struct utmp): Likewise.
22473 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22474 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22475 Renamed to ...
22476 (__WORDSIZE_TIME64_COMPAT32): This.
22477 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22478 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22479 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22480 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22481 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22482 (__WORDSIZE_TIME64_COMPAT32): New macro.
22483
d8d1017e
AJ
224842012-05-21 Andreas Jaeger <aj@suse.de>
22485
22486 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22487 only if [SHARED]. Add prototype for __wcschr_ia32.
22488
6c7fb145
RM
224892012-05-21 Roland McGrath <roland@hack.frob.com>
22490
22491 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22492 of %rbp unmolested in the jmp_buf while mangling the low bits.
22493 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22494 unmolested high bits of %rbp while demangling the low bits.
22495 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22496
66274218
AJ
224972012-05-21 Andreas Jaeger <aj@suse.de>
22498
07c58f8f
AJ
22499 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22500 * sunrpc/svc_simple.c: Use it for registerrpc.
22501 * sunrpc/xcrypt.c: Use it for passwd2des.
22502
66274218
AJ
22503 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22504
61f65140
L
225052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22506
22507 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22508 Don't define if [__SYSCALL_WORDSIZE != 32].
22509 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22510 New macro.
22511
5fefb436
AJ
225122012-05-21 Bruno Haible <bruno@clisp.org>
22513 Andreas Jaeger <aj@suse.de>
22514
22515 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22516 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22517 inptr and inend for must_buffer_ch.
22518 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22519 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22520 * stdio-common/Makefile (tests): Remove bug15.
22521 (bug15-ENV): Remove macro.
22522 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22523 anymore.
22524
d8e272ab
AJ
225252012-05-19 Andreas Jaeger <aj@suse.de>
22526 Roland McGrath <roland@hack.frob.com>
22527
22528 * manual/contrib.texi: Completely rewritten. It contains now an
22529 alphabetical list of contributors and their contributions.
22530
4a56a162
RH
225312012-05-21 Richard Henderson <rth@twiddle.net>
22532
22533 * misc/getauxval.c (__getauxval): Use unsigned long int.
22534 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22535 (getauxval): Use unsigned long int.
22536
d024d23c
L
225372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22538
22539 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22540
cbc00a03
RM
225412012-05-21 Roland McGrath <roland@hack.frob.com>
22542
22543 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22544 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22545 __alignof__ (long double).
22546
478143fa
AZ
225472012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22548
22549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22550
c7683a6d
RH
225512012-05-20 Richard Henderson <rth@twiddle.net>
22552
22553 * misc/getauxval.c: New file.
22554 * misc/sys/auxv.h: New file.
22555 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22556 (routines): Add getauxval.
22557 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22558 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22559 * elf/dl-sysdep.c (_dl_auxv): Remove.
22560 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22561 * elf/dl-support.c (_dl_auxv): New variable.
22562 (_dl_aux_init): Initialize it.
22563 * manual/startup.texi (Auxiliary Vector): New node.
22564 * sysdeps/generic/bits/hwcap.h: New file.
22565 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22566 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22567 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22568 * sysdeps/sparc/sysdep.h: ... here. Include it.
22569 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22570 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
22571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22572 Update.
c7683a6d
RH
22573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22576 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22581
a6f1845d
AZ
225822012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22583
22584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22585
cbcbe830
DM
225862012-05-19 David S. Miller <davem@davemloft.net>
22587
22588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22589
e0b16cc2
JM
225902012-05-19 Joseph Myers <joseph@codesourcery.com>
22591
22592 [BZ #14123]
22593 * math/s_ccosh.c: Include <float.h>
22594 (__ccosh): Avoid internal overflow calculating sinh and cosh
22595 values before multiplying by sin and cos values.
22596 * math/s_ccoshf.c: Likewise.
22597 * math/s_ccoshl.c: Likewise.
22598 * math/s_csin.c: Likewise.
22599 * math/s_csinf.c: Likewise.
22600 * math/s_csinl.c: Likewise.
22601 * math/s_csinh.c: Likewise.
22602 * math/s_csinhf.c: Likewise.
22603 * math/s_csinhl.c: Likewise.
22604 * math/libm-test.inc (ccos_test): Add more tests.
22605 (ccosh_test): Likewise.
22606 (csin_test): Likewise.
22607 (csinh_test): Likewise.
22608 * sysdeps/i386/fpu/libm-test-ulps: Update.
22609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22610
6ad13e08
L
226112012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22612
f66f0ce8
L
22613 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22614 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22615
6ad13e08
L
22616 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22617
b1d072a7
JM
226182012-05-19 Joseph Myers <joseph@codesourcery.com>
22619
22620 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22621 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22622 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22623 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22624 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22625 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22626 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22627 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22628 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22629 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22630 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22631 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22632 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22633 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22634 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22635 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22636 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22637 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22638 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22639 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22640 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22641 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22642 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22643 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22644 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22645 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22646 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22647 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22648 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22649 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22650 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22651
9eae47cb
AJ
226522012-05-18 Andreas Jaeger <aj@suse.de>
22653
22654 * csu/.gitignore: Delete.
22655
bb07f69f
L
226562012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22657
22658 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22659 (timex): Use __syscall_slong_t.
22660
e6bdb741
AJ
226612012-05-18 Andreas Jaeger <aj@suse.de>
22662 Carlos O'Donell <carlos_odonell@mentor.com>
22663
22664 * manual/install.texi (Configuring and compiling): Update
22665 description about files modified in the source directory.
d6c33fda 22666 * INSTALL: Regenerated.
e6bdb741 22667
1b74487e
L
226682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22669
22670 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22671 value. Use "or" to set return value to -1.
22672 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22673 negate return value.
22674
a88b64b9
TMQMF
226752012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22676
22677 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22678 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22679 failure if the compiler has Graphite support disabled.
22680 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22681 Likewise.
22682 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22683 CFLAGS-memmove.c): Likewise.
22684 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22685 Likewise.
22686
3707636e
L
226872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22688
610b8622
L
22689 * sysdeps/x86_64/x32/_itoa.h: New file.
22690
7cd195df
L
22691 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22692 getdents system call only if kernel and user dirents have the
22693 same d_ino and d_off.
22694
94b07d20
L
22695 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22696 LLONG_MAX != LONG_MAX.
22697 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22698 (_fitoa_word): Likewise.
22699
18298070
L
22700 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22701 years.
22702 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22703 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22704 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22705
553c7ea4
L
22706 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22707 include <bits/wordsize.h>. Check __x86_64__ instead of
22708 __WORDSIZE.
22709 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22710 if __x86_64__ is defined. Use anonymous union on fpstate.
22711
3707636e
L
22712 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22713 anonymous union.
22714
b53ef01a
AS
227152012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22716
37fb1dc0
AS
22717 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22718 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22719 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22720 Refer to _rtld_local_ro instead of _rtld_global_ro.
22721 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22722 Likewise.
22723 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22724 Likewise.
22725 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22726 Likewise.
22727 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22728 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22729 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22730
b53ef01a
AS
22731 * sysdeps/powerpc/powerpc32/dl-machine.c
22732 (__elf_machine_runtime_setup) [PROF]: Don't reference
22733 _dl_prof_resolve.
22734
7a185db2
AJ
227352012-05-18 Andreas Jaeger <aj@suse.de>
22736
22737 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22738 function only available for GCCs before 3.4 since GCC 3.4
22739 introduced a builtin.
22740 (lrint): Likewise.
22741 (llrintf): Likewise.
22742 (llrint): Likewise.
22743 (fmaxf): Likewise.
22744 (fmax): Likewise.
22745 (fminf): Likewise.
22746 (fmin): Likewise.
22747 (rint): Likewise.
22748 (rintf): Likewise.
22749 (nearbyint): Likewise.
22750 (nearbyintf): Likewise.
22751 (ceil): Likewise.
22752 (ceilf): Likewise.
22753 (floor): Likewise.
22754 (floorf): Likewise.
22755
3e5aef87
L
227562012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22757
428bd707
L
22758 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22759 on both fields and cast pointer to __syscall_ulong_t.
22760
3e5aef87
L
22761 * bits/types.h (__fsword_t): New type.
22762 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22763 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22764 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22765 (__FSWORD_T_TYPE): Likewise.
22766 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22767 (__FSWORD_T_TYPE): Likewise.
22768 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22769 (__FSWORD_T_TYPE): Likewise.
22770 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22771 (__FSWORD_T_TYPE): Likewise.
22772 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22773 __SWORD_TYPE with __fsword_t.
22774 (statfs64): Likewise.
22775
1ba7c3dc
DM
227762012-05-17 David S. Miller <davem@davemloft.net>
22777
22778 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22779
59910343
AJ
227802012-05-17 Andreas Jaeger <aj@suse.de>
22781
22782 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22783 warning.
22784
2e4c1e9e
L
227852012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22786
22787 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22788
de7f5ce7
AJ
227892012-05-17 Andreas Jaeger <aj@suse.de>
22790
22791 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22792 when it is used.
22793
286abc3d
CM
227942012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22795
22796 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22797
477cc68e
L
227982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22799
22800 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22801 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22802
1a0994f5
CD
228032012-05-17 Andreas Jaeger <aj@suse.de>
22804 Carlos O'Donell <carlos_odonell@mentor.com>
22805
22806 [BZ #14059]
22807 * sysdeps/x86_64/multiarch/init-arch.h
22808 (bit_YMM_Usable): Rename to...
22809 (bit_AVX_Usable): ... this.
22810 (bit_FMA4_Usable): New macro.
22811 (bit_XMM_state): New macro.
22812 (bit_YMM_state): New macro.
22813 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22814 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22815 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22816 (CPUID_OSXSAVE): New macro.
22817 (CPUID_AVX): New macro.
22818 (CPUID_FMA4): New macro.
22819 (index_YMM_Usable): Rename to...
22820 (index_AVX_Usable): ... this.
22821 (HAS_AVX): Use HAS_ARCH_FEATURE.
22822 (HAS_FMA4): Likewise.
22823 (HAS_YMM_USABLE): Remove.
22824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22825 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22826 are present.
22827 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22828 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22829 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22830 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22831 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22832
0af797de
CM
228332012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22834
22835 * math/libm-test.c: Support platforms without multiple rounding modes.
22836 * math/bug-nextafter.c: Support platforms without FP exceptions.
22837 * math/bug-nexttoward.c: Likewise.
22838 * math/test-fenv.c: Likewise.
22839 * math/test-misc.c: Likewise.
22840 * stdlib/bug-getcontext.c: Likewise.
22841
e39745ff
AJ
228422012-05-17 Andreas Jaeger <aj@suse.de>
22843
22844 * manual/examples/search.c (critter_cmp): Change signature to
22845 avoid warnings.
22846 * manual/string.texi (Collation Functions): Likewise.
22847
48970aba
L
228482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22849
22850 * bits/types.h: Fold copyright years.
22851 * bits/typesizes.h: Likewise.
22852 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22853 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22854 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22855 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22856 * time/time.h: Likewise.
22857
bedee953
PP
228582012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22859
22860 [BZ #208]
22861 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22862 in instead of returning them. Return void.
22863 (__libc_mallinfo): Accumulate over all arenas.
22864 (__malloc_stats): Adjust for change in int_mallinfo interface.
22865
61653dfb
RM
228662012-05-16 Roland McGrath <roland@hack.frob.com>
22867
30b99d79
RM
22868 [BZ #10375]
22869 * configure.in (NM): Add AC_CHECK_TOOL for it.
22870 (libc_extra_cflags): New substituted variable.
22871 Check for -fstack-protector being used implicitly.
22872 * configure: Regenerated.
22873 * config.make.in (config-extra-cflags): New variable,
22874 gets @libc_extra_cflags@.
22875 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22876
61653dfb
RM
22877 [BZ #10375]
22878 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22879 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22880 * configure: Regenerated.
22881 * config.make.in (CPPUNDEFS): New substituted variable.
22882 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22883 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22884 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22885
661768bb
L
228862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22887
22888 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22889 (mq_attr): Use __syscall_slong_t.
22890
d4261567
L
228912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22892
22893 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22894 Check __x86_64__ instead of __WORDSIZE.
22895 (_STAT_VER_LINUX): Likewise.
22896 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22897 __syscall_ulong_t and __syscall_slong_t.
22898 (stat64): Likewise.
22899
cf3ff365
L
229002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22901
22902 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22903
76cf3e4d
L
229042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22905
22906 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22907
a637753a
L
229082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22909
22910 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22911 __syscall_ulong_t.
22912
d5e05119
L
22913 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22914 include <bits/wordsize.h>. Check __x86_64__ instead of
22915 __WORDSIZE.
22916 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22917 defined.
22918 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22919
f62ee380
L
22920 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22921 include <bits/wordsize.h>. Check __x86_64__ instead of
22922 __WORDSIZE.
22923 (user_regs_struct): Use "__extension__ unsigned long long"
22924 instead of "unsigned long" if __x86_64__ is defined.
22925 (user): Likewise. Pad after pointer field if __ILP32__ is
22926 defined.
22927
4e124ced
JM
229282012-05-16 Joseph Myers <joseph@codesourcery.com>
22929
6a3951a0
JM
22930 * configure.in (makeinfo): Require version 4.5 or later. Allow
22931 versions 5 to 9.
22932 * configure: Regenerated.
22933 * manual/install.texi (texinfo): Increase version requirement to
22934 4.5 or later.
22935 * INSTALL: Regenerated.
22936
4e124ced
JM
22937 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22938
953ca31a
L
229392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22940
22941 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22942
617aca05
L
22943 * sysdeps/x86_64/x32/ffs.c: New file.
22944
5762f7ae
L
22945 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22946 __syscall_ulong_t.
22947 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22948 defined. Use __syscall_ulong_t.
22949 (shminfo): Use __syscall_ulong_t.
22950 (shm_info): Likewise.
22951
a26b6856
L
22952 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22953 __syscall_ulong_t.
22954
cb2b9ef7
L
22955 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22956 <bits/wordsize.h>.
22957 (msgqnum_t): Use __syscall_ulong_t.
22958 (msglen_t): Likewise.
22959 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22960 __syscall_ulong_t.
22961
34683bb0
L
22962 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22963 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22964
84a68786
L
22965 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22966
48baa5f1
L
22967 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22968 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22969
180be88b
L
22970 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22971 __syscall_slong_t.
22972
5e90c8ad
L
22973 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22974 include <bits/wordsize.h>. Check __x86_64__ instead of
22975 __WORDSIZE.
22976
23dfb58b
L
22977 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22978 "unsigned long long int" if __x86_64__ is defined.
22979 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22980
ce5d54b0
L
22981 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22982 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22983 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22984
13dc9eac
L
22985 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22986 <stdint.h>.
22987 (GET_PC): Cast to uintptr_t first.
22988 (GET_FRAME): Likewise.
22989 (GET_STACK): Likewise.
22990
a7895d15
L
22991 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22992 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22993 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22994 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22995 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22996 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22997 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22998 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22999 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23000 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23001 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23002 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23003 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23004 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23005 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23006 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23007 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23008 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23009 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23010 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23011 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23012 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23013 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23014 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23015 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23016 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23017 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23018 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23019 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23020
656416c9
AS
230212012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23022
5bd66283
AS
23023 * Makerules (+depfiles): Also collect depfiles from .oS in
23024 $(extra-objs).
23025 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23026 .oS, $(libnldbl-routines)).
23027
656416c9
AS
23028 * Makerules (native-compile-mkdep-flags): Define.
23029 * sunrpc/Makefile (extra-objs): Add $(addprefix
23030 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23031 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23032 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23033 calling $(make-target-directory).
23034
a46f2169
L
230352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23036
23037 * bits/types.h (__snseconds_t): Removed.
23038 * time/time.h (struct timespec): Replace __snseconds_t with
23039 __syscall_slong_t.
23040 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23041 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23042 Likewise.
23043 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23044 (__SNSECONDS_T_TYPE): Likewise.
23045 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23046 (__SNSECONDS_T_TYPE): Likewise.
23047 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23048 (__SNSECONDS_T_TYPE): Likewise.
23049
6af6528b
L
230502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23051
23052 * sysdeps/mach/hurd/bits/typesizes.h
23053 (__SYSCALL_SLONG_TYPE): New macro.
23054 (__SYSCALL_ULONG_TYPE): Likewise.
23055
de986b56
L
230562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23057
23058 * bits/types.h (__syscall_slong_t): New type.
23059 (__syscall_ulong_t): Likewise.
23060
23061 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23062 (__SYSCALL_ULONG_TYPE): Likewise.
23063 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23064 (__SYSCALL_SLONG_TYPE): Likewise.
23065 (__SYSCALL_ULONG_TYPE): Likewise.
23066 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23067 (__SYSCALL_SLONG_TYPE): Likewise.
23068 (__SYSCALL_ULONG_TYPE): Likewise.
23069 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23070 (__SYSCALL_SLONG_TYPE): Likewise.
23071 (__SYSCALL_ULONG_TYPE): Likewise.
23072
85736dc7
L
230732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23074
23075 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23076 Add sigaltstack-offsets.sym.
23077 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23078 <sigaltstack-offsets.h>.
23079 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23080 longjmp_msg pointer.
23081 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23082 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23083 signal stack.
23084 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23085
cc03b296
JM
230862012-05-15 Joseph Myers <joseph@codesourcery.com>
23087
a9538892
JM
23088 * elf/stackguard-macros.h: Remove file.
23089 * sysdeps/generic/stackguard-macros.h: New file.
23090 * sysdeps/i386/stackguard-macros.h: Likewise.
23091 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23092 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23093 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23094 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23095 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23096 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23097 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23098 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23099 <elf/stackguard-macros.h>.
23100
cc03b296
JM
23101 [BZ #14109]
23102 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23103 __aligned__ in attribute.
23104 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23105 (gregset_t): Likewise.
23106
93171016
L
231072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23108
23109 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23110 * sysdeps/x86_64/64/Implies-after: Here. New file.
23111 * sysdeps/x86_64/x32/Implies-after: New file.
23112
d86813a0
L
231132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23114
23115 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23116 and access return value for _dl_profile_fixup. Use R10_LP to
23117 load frame size.
23118
2953ec75
L
231192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23120
23121 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23122
3b550e9e
L
231232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23124
23125 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23126 * sysdeps/x86_64/x32/sysdep.h: New file.
23127
eda41706
L
231282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23129
23130 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23131 * sysdeps/x86_64/setjmp.S: Likewise.
23132
9ea01d93
AZ
231332012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23134
23135 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23136 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23137 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23138 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23139 remove unused global constant.
23140
02a91938
CM
231412012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23142
23143 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23144 include of <not-cancel.h>.
23145
6540185f
RM
231462012-05-15 Roland McGrath <roland@hack.frob.com>
23147
23148 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23149
509072a0
AJ
231502012-05-15 Jeff Law <law@redhat.com>
23151 Andreas Jaeger <aj@suse.de>
23152
23153 [BZ #13594]
23154 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23155 out from...
23156 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23157 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23158 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23159 code changing __hst_map_handle.map.
23160
ba75122d
RM
231612012-05-15 Roland McGrath <roland@hack.frob.com>
23162
23163 * configure.in (sysnames): Look for Implies-before and Implies-after
23164 files.
23165 * configure: Regenerated.
23166
890d8bd8
L
231672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23168
23169 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23170 8-byte data alignment with LP_SIZE alignment.
23171
f6ee6623
L
231722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23173
23174 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23175 into R10_LP.
23176
ea2626f6
L
231772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23178
23179 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23180
085f715e
L
231812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23182
23183 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23184 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23185 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23186 Likewise.
23187 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23188
be8498fc
L
231892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23190
23191 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23192 (stackinfo_sub_sp): Likewise.
23193
70bc83b9
L
231942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23195
23196 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23197 RAX_LP.
23198
9bc0b730
L
231992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23200
23201 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23202 into R*_LP.
23203
6d2850e7
L
232042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23205
23206 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23207 sizes into R*_LP.
23208
3cb84561
L
232092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23210
23211 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23212
54e2ed81
L
232132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23214
23215 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23216 into R11_LP and load __x86_64_shared_cache_size_half into
23217 R8_LP.
23218
8a17f349
L
232192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23220
23221 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23222 R8_LP.
23223
777b1eea
AZ
232242012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23225
23226 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23227 logb for POWER7.
23228 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23229 logbf for POWER7.
23230 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23231 logbl for POWER7.
23232 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23233 powerpc32/power7/fpu/s_logb.c via #include.
23234 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23235 powerpc32/power7/fpu/s_logbf.c via #include.
23236 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23237 powerpc32/power7/fpu/s_logbl.c via #include.
23238
d20d4ac2
JM
232392012-05-15 Joseph Myers <joseph@codesourcery.com>
23240
23241 * README.libm: Remove file.
23242
6cdef1ab
L
232432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23244
23245 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23246 count for x32. Use R*_LP and omit operand-size suffix.
23247
0b254d8f
L
232482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23249
23250 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23251 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23252 * sysdeps/x86_64/x32/shlib-versions: New file.
23253
ceb809dc
RM
232542012-05-14 Roland McGrath <roland@hack.frob.com>
23255
23256 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23257 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23258 Use _dl_fatal_printf instead.
23259
37f1abd4
JM
232602012-05-14 Joseph Myers <joseph@codesourcery.com>
23261
23262 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23263 set if not set by the user. Do not allow for being unset.
23264 * sysdeps/unix/sysv/linux/configure: Regenerated.
23265
11de3a33
L
232662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23267
23268 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23269 the `q' suffix from lea and replace .quad with ASM_ADDR.
23270
e02f153a
L
232712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23272
23273 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23274 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23275 instead of $17.
23276 (PTR_DEMANGLE): Likewise.
23277
520ae0fd
L
232782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23279
23280 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23281 (LP_OP): Likewise.
23282 (ASM_ADDR): Likewise.
23283 (RAX_LP): Likewise.
23284 (RBP_LP): Likewise.
23285 (RBX_LP): Likewise.
23286 (RCX_LP): Likewise.
23287 (RDI_LP): Likewise.
23288 (RSI_LP): Likewise.
23289 (RSP_LP): Likewise.
23290 (R8_LP): Likewise.
23291 (R9_LP): Likewise.
23292 (R10_LP): Likewise.
23293 (R10_LP): Likewise.
23294 (R11_LP): Likewise.
23295 (R12_LP): Likewise.
23296 (R13_LP): Likewise.
23297 (R14_LP): Likewise.
23298 (R15_LP): Likewise.
23299
b985be81
L
233002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23301
23302 * sysdeps/x86_64/x32/dl-machine.h: New file.
23303
6a4888ff
AJ
233042012-05-14 Andreas Jaeger <aj@suse.de>
23305
23306 * manual/Makefile (subdir): Remove export of subdir.
23307 (all): Remove target.
23308 (.PHONY): Remove all from list.
23309 (mkinstalldirs): Remove.
23310 (.PHONY): Remove installdirs from list.
23311 ($(inst_infodir)/libc.info): Use make-target-directory.
23312 (installdirs): Remove.
23313 (subdir_%): Remove.
23314 (glibc-targets): Remove.
23315 (lib): Remove.
23316 (stubs): Remove.
23317 ($(objpfx)stubs ../po/manual.pot): Remove.
23318 ($(objpfx)stamp%): Remove.
23319 (make-target-directory): Remove.
23320 (subdir_install): Remove.
23321 (routines): Remove.
23322 (aux): Remove.
23323 (sources): Remove.
23324 (objects): Remove.
23325 (headers): Remove.
23326
23327 [BZ #13750]
23328 * manual/.gitignore: Remove, it's not needed anymore.
23329 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23330 all files in it.
23331 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23332 directory.
23333 (texis): Renamed to $(objpfx)texis.
23334 (texis-path): New, contains path to generated files.
23335 (chapters.%): Use texis-path for complete path, add extra argument
23336 libc-texinfo.sh.
23337 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23338 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23339 (summary,texi, stamp-summary): Use complete path of
23340 files. Generate files in build dir.
23341 (dir-add.texi): Build in build dir.
23342 (libm-err.texi,stamp-libm-err): Likewise.
23343 (version.texi, stamp-version): Likewise.
23344 (.%c.texi): Likewise.
23345 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23346 (mostlyclean): Remove target.
23347 (realclean): Remove target.
23348 (generated): Add new variable with contents from mostlyclean and
23349 realclean, remove entries duplicated in common-mostlyclean, add
23350 stamp-libm-err and stamp-version.
23351 (generated-dirs): Add libc directory.
23352 ($(inst_infodir)/libc.info): Install files from build dir.
23353
23354 * manual/install.texi (Configuring and compiling): Adjust since
23355 the info files are not part of the tar ball anymore.
23356
7ac77294
AJ
233572012-05-14 Andreas Jaeger <aj@suse.de>
23358
23359 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23360 variable.
23361
ffb7875d
JM
233622012-05-14 Joseph Myers <joseph@codesourcery.com>
23363
23364 [BZ #13717]
23365 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23366 to 2.2.0 where earlier.
23367 * sysdeps/unix/sysv/linux/configure: Regenerated.
23368 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23369 Remove conditional code.
23370 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23371 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23372 Remove conditional code.
23373 [!__NR_lchown]: Likewise.
23374 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23375 [__NR_lchown]: Likewise.
23376 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23377 comment referencing __ASSUME_LCHOWN_SYSCALL.
23378 * sysdeps/unix/sysv/linux/i386/sigaction.c
23379 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23380 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23381 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23382 Remove conditional code.
23383 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23384 (__protocol_available): Remove #if 0 code.
23385 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23386 conditional code.
23387 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23388 * sysdeps/unix/sysv/linux/kernel-features.h
23389 (__ASSUME_GETCWD_SYSCALL): Don't define.
23390 (__ASSUME_REALTIME_SIGNALS): Likewise.
23391 (__ASSUME_PREAD_SYSCALL): Likewise.
23392 (__ASSUME_PWRITE_SYSCALL): Likewise.
23393 (__ASSUME_POLL_SYSCALL): Likewise.
23394 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23395 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23396 non-SPARC.
23397 (__ASSUME_SIOCGIFNAME): Don't define.
23398 (__ASSUME_MSG_NOSIGNAL): Likewise.
23399 (__ASSUME_SENDFILE): Define unconditionally.
23400 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23401 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23402 conditional code.
23403 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23404 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23405 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23406 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23407 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23408 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23409 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23411 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23412 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23414 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23415 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23417 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23418 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23420 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23421 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23423 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23424 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23426 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23427 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23429 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23430 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23432 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23433 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23434 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23435 Remove conditional code.
23436 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23437 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23438 Remove conditional code.
23439 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23440 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23441 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23442 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23443 Remove conditional code.
23444 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23445 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23446 Remove conditional code.
23447 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23448 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23449 Remove conditional code.
23450 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23451 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23452 Remove conditional code.
23453 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23454 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23455 Remove conditional code.
23456 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23457 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23458 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23459 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23460 * sysdeps/unix/sysv/linux/sigaction.c
23461 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23462 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23463 * sysdeps/unix/sysv/linux/sigpending.c
23464 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23465 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23466 * sysdeps/unix/sysv/linux/sigprocmask.c
23467 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23468 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23469 * sysdeps/unix/sysv/linux/sigsuspend.c
23470 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23471 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23472 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23473 (__libc_missing_rt_sigs): Remove.
23474 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23475 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23476 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23477 Remove conditional code.
23478 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23479 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23480 return 1.
23481 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23482 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23483 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23484 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23485
1bfb7291
AJ
234862012-05-14 Andreas Jaeger <aj@suse.de>
23487
caae5a81
AJ
23488 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23489 it's not used in glibc.
23490 (__coshm1): Likewise.
23491 (__acosh1p): Likewise.
23492 (__sgn): Likewise.
23493
1bfb7291
AJ
23494 * manual/string.texi (Copying and Concatenation): Add missing
23495 variable in concat example.
23496 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23497
c044d724
L
234982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23499
144c5467 23500 [BZ #14103]
c044d724
L
23501 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23502 __builtin_clzl with __builtin_clzll.
23503
2523c62b
L
235042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23505
23506 [BZ #14104]
23507 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23508 libc_freeres_ptr.
23509
d7bb4c42
LD
235102012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23511
23512 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23513 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23514 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23515 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23516
9dc4e1fb
MF
235172012-05-14 Mike Frysinger <vapier@gentoo.org>
23518
23519 * NEWS: Update ia64 info.
23520
c7df0112
AS
235212012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23522
23523 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23524 used as bcopy.
23525
dc70356c
TS
235262012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23527
23528 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23529 * sysdeps/unix/syscalls.list (dup3): Likewise.
23530 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23531 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23532
9fb1a21f
L
235332012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23534
23535 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23536 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23537
4822a2a5
L
235382012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23539
23540 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23541 thread pointer.
23542 (TLS_IE): Use mov/add instead of movq/addq to load thread
23543 pointer.
23544 (TLS_GD_PREFIX): New.
23545 (TLS_GD): Use it.
23546
842b81d6
DM
235472012-05-11 David S. Miller <davem@davemloft.net>
23548
23549 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23550 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23551 (_FPU_SETCW): Likewise.
23552
1cf463cd
L
235532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23554
23555 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23556 is 32-byte aligned.
23557
60cc4a18
AS
235582012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23559
23560 [BZ #11837]
23561 * iconvdata/gb18030.c: Update tables.
23562 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23563 characters specially.
23564 (BODY for TO_LOOP): Add encoding of missing ranges.
23565
febb44a4
TS
235662012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23567
23568 [BZ #13673]
23569 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23570 * sysdeps/mach/hurd/dup3.c: Likewise.
23571 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23572 * sysdeps/powerpc/memmove.c:: Likewise.
23573
0a10fb9e
L
235742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23575
23576 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23577 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23578
df8a552f
L
235792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23580
23581 * elf/elf.h (R_X86_64_RELATIVE64): New.
23582 (R_X86_64_NUM): Updated.
23583 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23584 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23585 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23586 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23587 tst-quad1pie tst-quad2pie
23588 (modules-names): Add tst-quadmod1 tst-quadmod2.
23589 ($(objpfx)tst-quad1): New dependency.
23590 ($(objpfx)tst-quad2): Likewise.
23591 ($(objpfx)tst-quad1pie): Likewise.
23592 ($(objpfx)tst-quad2pie): Likewise.
23593 * sysdeps/x86_64/tst-quad1.c: New file.
23594 * sysdeps/x86_64/tst-quad1pie.c: New file.
23595 * sysdeps/x86_64/tst-quad2.c: Likewise.
23596 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23597 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23598 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23599 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23600 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23601
f34d6f84
ST
236022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23603
f42d41d1
ST
23604 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23605 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23606 * streams/stropts.h (t_scalar_t): Define type.
23607
3c3571fc
ST
23608 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23609 (_PATH_PRESERVE): Set to "/var/lib".
23610 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23611
61f06bd3
ST
23612 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23613 instead of int.
23614
918d4d71
ST
23615 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23616 if __dir_mkfile succeeded.
23617
f34d6f84
ST
23618 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23619 checking for _hurd_dtablesize. Unlock it right after having
23620 finished _hurd_dtable allocation.
23621
10589b4a
TS
236222012-05-10 Thomas Schwinge <thomas@schwinge.name>
23623
674cdbc7
TS
23624 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23625 * sysdeps/mach/hurd/configure: Regenerated.
23626 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23627 special-casing to...
23628 * sysdeps/gnu/configure.in: ... this new file.
23629 * sysdeps/unix/sysv/linux/configure: Regenerated.
23630 * sysdeps/gnu/configure: New generated file.
23631
8e41b99f
TS
23632 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23633 for Linux: use nsec instead of usec, as well as:
23634 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23635 members of type struct timespec.
23636 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23637 New macros.
23638 (struct stat64): Likewise.
23639 (_STATBUF_ST_NSEC): New macro.
23640 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23641
10589b4a
TS
23642 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23643 __strtoul_internal rather than strtoul.
23644
63643c85
PT
236452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23646
23647 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23648 and reject them.
23649
3faebe6a
ST
236502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23651
23652 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23653 which preserves existing values.
23654 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23655
c6474b07
PT
236562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23657
23658 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23659 TIMEOUT values. Return EINVAL for NFDS values either negative or
23660 greater than FD_SETSIZE.
23661
1043890b
ST
236622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23663
23664 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23665 allocated, call __vm_protect to finish enabling the existing space, and
23666 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23667 allocate the remainder.
23668
37ed8b9b
PT
236692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23670
23671 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23672 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23673
db653660
ST
236742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23675
37ed8b9b
PT
23676 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23677 sysdeps/mach/hurd/readlink.c.
b29d4053 23678
db653660
ST
23679 * posix/tst-sysconf.c (posix_options): Only use
23680 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23681 _POSIX_SYNCHRONIZED_IO when they are defined
23682 * sysdeps/mach/hurd/bits/posix_opt.h:
23683 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23684 (_XOPEN_REALTIME): Undefine macro.
23685 (_XOPEN_REALTIME_THREADS): Undefine macro.
23686 (_XOPEN_SHM): Undefine macro.
23687 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23688 macro to -1.
23689 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23690 macro to -1.
23691 (_POSIX_ASYNC_IO): Undefine macro.
23692 (_POSIX_PRIORITIZED_IO): Undefine macro.
23693 (_POSIX_SPIN_LOCKS): Define macro to -1.
23694
ee16e894
ST
23695 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23696 SA_NODEFER, SA_RESETHAND.
23697 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23698 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23699 F_DUPFD_CLOEXEC.
23700
6103ae3b
TS
237012012-05-10 Thomas Schwinge <thomas@schwinge.name>
23702
23703 * elf/Makefile (pldd-modules): Define unconditionally.
23704
80b4e5f3
TS
237052012-05-10 Thomas Schwinge <thomas@schwinge.name>
23706
23707 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23708
edadcbd6
ST
237092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23710
23711 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23712 Return ENOENT when name is empty.
23713 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23714
80694780
TS
237152012-05-10 Thomas Schwinge <thomas@schwinge.name>
23716
1792c087
TS
23717 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23718
80694780
TS
23719 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23720
6b645f0d
ST
237212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23722
80694780
TS
23723 Fix mlock in all cases except non-readable pages.
23724 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23725 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 23726
6b645f0d
ST
23727 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23728 (__mkdir): When path is `/', just fail with EEXIST.
23729 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23730
e468f8a3
TS
237312012-05-10 Thomas Schwinge <thomas@schwinge.name>
23732
23733 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23734 <sys/uio.h> (for writev).
23735 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23736 and <sys/param.h> (for MIN).
23737
a4186cff
PT
237382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23739
23740 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23741 REQUESTED_TIME. Properly set the remaining time and return EINTR
23742 if interrupted.
23743
510bbf14
TS
237442012-05-10 Thomas Schwinge <thomas@schwinge.name>
23745
23746 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23747 Depend on against $(link-rpcuserlibs).
23748
5d5722e8
ST
237492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23750
a4186cff
PT
23751 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23752 (__libc_stack_end): Do not use attribute_relro.
23753 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23754 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 23755 to libthread-provided value.
a4186cff
PT
23756 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23757 attribute_relro.
5d5722e8 23758
37233df9
TS
237592012-05-10 Thomas Schwinge <thomas@schwinge.name>
23760
be971a2b
TS
23761 [BZ #3748]
23762 * bits/libc-lock.h (__libc_once_get): New macro.
23763 * sysdeps/mach/bits/libc-lock.h: Likewise.
23764 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23765 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23766 instead of using implementation details.
23767
37233df9
TS
23768 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23769 * libio/freopen.c: Likewise.
23770 * libio/freopen64.c: Likewise.
23771 * misc/syslog.c: Likewise.
23772 * nscd/connections.c: Likewise.
23773 * nscd/netgroupcache.c: Likewise.
23774 * sysdeps/posix/getcwd.c: Likewise.
23775
38de94a5
RM
237762012-05-10 Roland McGrath <roland@hack.frob.com>
23777
23778 * math/w_ilogbf.c: Add #include <limits.h>.
23779
67530489
ST
237802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23781
a4186cff 23782 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
23783 path instead of returning without unlocking.
23784
67530489
ST
23785 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23786 immediate-write ioctls.
23787 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23788
5aa3a74a
TS
237892012-05-10 Thomas Schwinge <thomas@schwinge.name>
23790
18bad2ae
TS
23791 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23792 __builtin_frame_address instead of making assumptions about the
23793 location of the return address relative to DATA. Force early load of
23794 the return address.
23795 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23796 __builtin_frame_address.
23797
5aa3a74a
TS
23798 dup3 for GNU Hurd.
23799 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23800 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23801 implement dup3 and do some further code clean-ups.
23802 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23803 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23804
ecd0de9a
ST
238052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23806
cd9fa985
ST
23807 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23808
a4186cff
PT
23809 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23810 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23811 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23812 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23813 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23814 d->port.lock.
802ca5a5 23815
a4186cff
PT
23816 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23817 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23818 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 23819
bcf55240
TS
238202012-05-10 Thomas Schwinge <thomas@schwinge.name>
23821
6960eb42
TS
23822 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23823 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23824 definitions.
23825
eb43375f
TS
23826 accept4 for GNU Hurd.
23827 * include/sys/socket.h (__libc_accept4): New prototype.
23828 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23829 to implement __libc_accept4.
23830 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23831 __libc_accept4.
23832 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23833
bcf55240
TS
23834 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23835 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23836 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23837 signal-defines.sym.
23838
6178c55b
ST
238392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23840
a4186cff 23841 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 23842
6f080c2f
TS
238432012-05-10 Thomas Schwinge <thomas@schwinge.name>
23844
23845 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23846 assertion on O_CLOEXEC flag.
23847 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23848 * hurd/intern-fd.c: Likewise.
23849 * hurd/port2fd.c: Likewise.
23850
bcfe3a54
ST
238512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23852
23853 [BZ #3906]
23854 * bits/in.h (IPV6_PKTINFO): Define new macro.
23855 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23856
89c9aa49
AZ
238572012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23858
23859 [BZ #13954]
23860 [BZ #13955]
23861 [BZ #13956]
23862 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23863 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23864 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23865 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23866 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23867 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23868 * math/libm-test.inc (logb_test) : Additional logb tests.
23869
021db4be
AJ
238702012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23871 Andreas Jaeger <aj@suse.de>
23872
23873 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23874 * configure: Regenerated.
23875 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23876 * config.make.in (link-obsolete-rpc): New substituted variable.
23877 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23878 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23879 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23880 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23881 so that libc.a contains the symbols.
23882 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23883 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23884 * sunrpc/auth_none.c: Likewise.
23885 * sunrpc/auth_unix.c: Likewise.
23886 * sunrpc/authdes_prot.c: Likewise.
23887 * sunrpc/authuxprot.c: Likewise.
23888 * sunrpc/clnt_gen.c: Likewise.
23889 * sunrpc/clnt_perr.c: Likewise.
23890 * sunrpc/clnt_raw.c: Likewise.
23891 * sunrpc/clnt_simp.c: Likewise.
23892 * sunrpc/clnt_tcp.c: Likewise.
23893 * sunrpc/clnt_udp.c: Likewise.
23894 * sunrpc/clnt_unix.c: Likewise.
23895 * sunrpc/des_crypt.c: Likewise.
23896 * sunrpc/des_soft.c: Likewise.
23897 * sunrpc/get_myaddr.c: Likewise.
23898 * sunrpc/key_call.c: Likewise.
23899 * sunrpc/key_prot.c: Likewise.
23900 * sunrpc/netname.c: Likewise.
23901 * sunrpc/pm_getmaps.c: Likewise.
23902 * sunrpc/pm_getport.c: Likewise.
23903 * sunrpc/pmap_clnt.c: Likewise.
23904 * sunrpc/pmap_prot.c: Likewise.
23905 * sunrpc/pmap_prot2.c: Likewise.
23906 * sunrpc/pmap_rmt.c: Likewise.
23907 * sunrpc/publickey.c: Likewise.
23908 * sunrpc/rpc_cmsg.c: Likewise.
23909 * sunrpc/rpc_common.c: Likewise.
23910 * sunrpc/rpc_dtable.c: Likewise.
23911 * sunrpc/rpc_prot.c: Likewise.
23912 * sunrpc/rpc_thread.c: Likewise.
23913 * sunrpc/rtime.c: Likewise.
23914 * sunrpc/svc.c: Likewise.
23915 * sunrpc/svc_auth.c: Likewise.
23916 * sunrpc/svc_raw.c: Likewise.
23917 * sunrpc/svc_run.c: Likewise.
23918 * sunrpc/svc_tcp.c: Likewise.
23919 * sunrpc/svc_udp.c: Likewise.
23920 * sunrpc/svc_unix.c: Likewise.
23921 * sunrpc/svcauth_des.c: Likewise.
23922 * sunrpc/xcrypt.c: Likewise.
23923 * sunrpc/xdr.c: Likewise.
23924 * sunrpc/xdr_array.c: Likewise.
23925 * sunrpc/xdr_float.c: Likewise.
23926 * sunrpc/xdr_intXX_t.c: Likewise.
23927 * sunrpc/xdr_mem.c: Likewise.
23928 * sunrpc/xdr_rec.c: Likewise.
23929 * sunrpc/xdr_ref.c: Likewise.
23930 * sunrpc/xdr_sizeof.c: Likewise.
23931 * sunrpc/xdr_stdio.c: Likewise.
23932
b5c086a2
RM
239332012-05-10 Roland McGrath <roland@hack.frob.com>
23934
23935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23936 change. Update copyright years.
23937
6d74dd09
JM
239382012-05-10 Joseph Myers <joseph@codesourcery.com>
23939
23940 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23941
28e72501
MK
239422012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23943 Joseph Myers <joseph@codesourcery.com>
23944 Paul Pluzhnikov <ppluzhnikov@google.com>
23945
23946 [BZ #14012]
23947 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23948 requiring rpcgen.
23949 [cross-compiling] (extra-libs): Likewise.
23950 [cross-compiling] (extra-libs-others): Likewise.
23951 [cross-compiling] (librpcsvc-routines): Likewise.
23952 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23953 [cross-compiling] (omit-deps): Likewise.
23954 (sunrpc-CPPFLAGS): New variable.
23955 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23956 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23957 (cross-rpcgen-objs): New variable.
23958 (extra-objs): Append $(cross-rpcgen-objs).
23959 ($(cross-rpcgen-objs)): New rule.
23960 ($(objpfx)cross-rpcgen): Likewise.
23961 (rpcgen-cmd): Define to use $(built-program-file). Expand
23962 comment.
23963 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23964 ($(objpfx)x%.stmp): Likewise.
23965 * sunrpc/proto.h [IS_IN_build] (_): Define.
23966 [IS_IN_build] (_libc_intl_domainname): Likewise.
23967
c8c59454
L
239682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23969
23970 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23971 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23972 and R_X86_64_TPOFF64.
23973
6f27cd16
JM
239742012-05-10 Joseph Myers <joseph@codesourcery.com>
23975
23976 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23977 sysdeps/unix/sysv/syscalls.list.
23978 (stime): Likewise.
23979 (utime): Likewise.
23980 * sysdeps/unix/sysv/syscalls.list: Remove file.
23981
02467e1c
PE
239822012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23983
23984 [BZ #3440]
23985 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23986 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23987 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23988 (__LC_IDENTIFICATION): Make these macros useful in #if
23989 expressions, as required by C99.
23990
da392631
AS
239912012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23992
23993 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23994 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23995 after this.
23996
8115f29b
L
239972012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23998
23999 * stdlib/longlong.h: Updated from GCC.
24000
bdd74070
AJ
240012012-05-09 Andreas Jaeger <aj@suse.de>
24002
edfe0dbe
AJ
24003 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24004 default is first entry.
24005 (run_mode): Set type.
24006 (main): Remove informal message about syslog.
24007 (options): Fix typo.
24008
bcfe3a54
ST
24009 [BZ #14053]
24010 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 24011 to asm.
bcfe3a54
ST
24012 (lrint): Likewise.
24013 (llrintf): Likewise.
24014 (llrint): Likewise.
24015 (rint): Likewise.
24016 (rintf): Likewise.
24017 (nearbyint): Likewise.
24018 (nearbyintf): Likewise.
bdd74070 24019
91d8d69e
AJ
240202012-05-09 Andreas Jaeger <aj@suse.de>
24021 Pedro Alves <palves@redhat.com>
24022
24023 * nscd/nscd.c (run_mode): Use enum.
24024 (main): Cleanup coding style issue.
24025
bb90b80b
AJ
240262012-05-09 Alexandre Oliva <aoliva@redhat.com>
24027 Andreas Jaeger <aj@suse.de>
24028
bcfe3a54
ST
24029 * nscd/nscd.c (go_background): Replaced with...
24030 (run_mode): ... this.
bb90b80b 24031 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
24032 (options): Add -F --foreground.
24033 (main): Implement it.
24034 (parse_opt): Parse it.
bb90b80b 24035
1a4b75a1
AJ
240362012-05-09 Andreas Jaeger <aj@suse.de>
24037
24038 [BZ #14083]
24039 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24040 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24041 -Wconversion warning.
24042 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24043 Likewise.
24044
b1cc2472
JM
240452012-05-09 Joseph Myers <joseph@codesourcery.com>
24046
24047 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24048 == 0.
24049 (LC_ALL): Use macro-int-constant.
24050 (LC_COLLATE): Likewise.
24051 (LC_CTYPE): Likewise.
24052 (LC_MESSAGES): Likewise.
24053 (LC_MONETARY): Likewise.
24054 (LC_NUMERIC): Likewise.
24055 (LC_TIME): Likewise.
24056 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24057 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24058 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24059 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24060 Specify type.
24061 [C99-based standards] (float_t): Expect type.
24062 [C99-based standards] (double_t): Expect type.
24063 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24064 type.
24065 [C99-based standards] (HUGE_VALL): Likewise.
24066 [C99-based standards] (INFINITY): Likewise.
24067 [C99-based standards] (NAN): Likewise.
24068 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24069 [C99-based standards] (FP_NAN): Likewise.
24070 [C99-based standards] (FP_NORMAL): Likewise.
24071 [C99-based standards] (FP_SUBNORMAL): Likewise.
24072 [C99-based standards] (FP_ZERO): Likewise.
24073 [C99-based standards] (FP_FAST_FMA): Use
24074 optional-macro-int-constant. Specify type. Require == 1.
24075 [C99-based standards] (FP_FAST_FMAF): Likewise.
24076 [C99-based standards] (FP_FAST_FMAL): Likewise.
24077 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24078 [C99-based standards] (FP_ILOGBNAN): Likewise.
24079 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24080 Specify type.
24081 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24082 [C99-based standards] (math_errhandling): Specify type.
24083 [ISO99 || ISO11] (signgam): Do not allow.
24084 [non-C99-based standards] (copysignf): Do not allow.
24085 [non-C99-based standards] (exp2f): Likewise.
24086 [non-C99-based standards] (log2f): Likewise.
24087 [non-C99-based standards] (modff): Allow.
24088 [non-C99-based standards] (erff): Do not allow.
24089 [non-C99-based standards] (erfcf): Likewise.
24090 [non-C99-based standards] (gammaf): Likewise.
24091 [non-C99-based standards] (hypotf): Likewise.
24092 [non-C99-based standards] (j0f): Likewise.
24093 [non-C99-based standards] (j1f): Likewise.
24094 [non-C99-based standards] (jnf): Likewise.
24095 [non-C99-based standards] (lgammaf): Likewise.
24096 [non-C99-based standards] (tgammaf): Likewise.
24097 [non-C99-based standards] (y0f): Likewise.
24098 [non-C99-based standards] (y1f): Likewise.
24099 [non-C99-based standards] (ynf): Likewise.
24100 [non-C99-based standards] (isnanf): Likewise.
24101 [non-C99-based standards] (acoshf): Likewise.
24102 [non-C99-based standards] (asinhf): Likewise.
24103 [non-C99-based standards] (atanhf): Likewise.
24104 [non-C99-based standards] (cbrtf): Likewise.
24105 [non-C99-based standards] (expm1f): Likewise.
24106 [non-C99-based standards] (ilogbf): Likewise.
24107 [non-C99-based standards] (log1pf): Likewise.
24108 [non-C99-based standards] (logbf): Likewise.
24109 [non-C99-based standards] (nextafterf): Likewise.
24110 [non-C99-based standards] (remainderf): Likewise.
24111 [non-C99-based standards] (rintf): Likewise.
24112 [non-C99-based standards] (scalbf): Likewise.
24113 [non-C99-based standards] (copysignl): Likewise.
24114 [non-C99-based standards] (exp2l): Likewise.
24115 [non-C99-based standards] (log2l): Likewise.
24116 [non-C99-based standards] (modfl): Allow.
24117 [non-C99-based standards] (erfl): Do not allow.
24118 [non-C99-based standards] (erfcl): Likewise.
24119 [non-C99-based standards] (gammal): Likewise.
24120 [non-C99-based standards] (hypotl): Likewise.
24121 [non-C99-based standards] (j0l): Likewise.
24122 [non-C99-based standards] (j1l): Likewise.
24123 [non-C99-based standards] (jnl): Likewise.
24124 [non-C99-based standards] (lgammal): Likewise.
24125 [non-C99-based standards] (tgammal): Likewise.
24126 [non-C99-based standards] (y0l): Likewise.
24127 [non-C99-based standards] (y1l): Likewise.
24128 [non-C99-based standards] (ynl): Likewise.
24129 [non-C99-based standards] (isnanl): Likewise.
24130 [non-C99-based standards] (acoshl): Likewise.
24131 [non-C99-based standards] (asinhl): Likewise.
24132 [non-C99-based standards] (atanhl): Likewise.
24133 [non-C99-based standards] (cbrtl): Likewise.
24134 [non-C99-based standards] (expm1l): Likewise.
24135 [non-C99-based standards] (ilogbl): Likewise.
24136 [non-C99-based standards] (log1pl): Likewise.
24137 [non-C99-based standards] (logbl): Likewise.
24138 [non-C99-based standards] (nextafterl): Likewise.
24139 [non-C99-based standards] (remainderl): Likewise.
24140 [non-C99-based standards] (rintl): Likewise.
24141 [non-C99-based standards] (scalbl): Likewise.
24142 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24143 [non-C99-based standards] (FP_*): Do not allow.
24144 [C99-based standards] (FP_*): Change to
24145 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24146 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24147 allow.
24148 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24149 (SIG_ERR): Likewise.
24150 [X/Open-based standards] (SIG_HOLD): Likewise.
24151 (SIG_IGN): Likewise.
24152 (SIGABRT): Use macro-int-constant. Specify type. Require
24153 positive value.
24154 (SIGFPE): Likewise.
24155 (SIGILL): Likewise.
24156 (SIGINT): Likewise.
24157 (SIGSEGV): Likewise.
24158 (SIGTER): Likewise.
24159 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24160 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24161 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24162 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24163 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24164 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24165 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24166 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24167 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24168 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24169 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24170 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24171 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24172 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24173 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24174 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24175 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24176 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24177 [X/Open-based standards] (SIGTRAP): Likewise.
24178 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24179 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24180 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24181 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24182 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24183 allow.
24184
b9f1922d
IW
241852012-05-08 Ian Wienand <ianw@vmware.com>
24186
24187 [BZ #14080]
24188 * time/tzset.c (__tzset_parse_tz): Update default rules for
24189 daylight time changes in the Energy Policy Act of 2005.
24190
1db86e88
AJ
241912012-05-09 Andreas Jaeger <aj@suse.de>
24192
24193 [BZ #13983]
24194 * elf/ldconfig.c (parse_conf): Change string to make clear that
24195 ldconfig only issued a warning if ld.so.conf does not exist.
24196
dee4a4e3
DM
241972012-05-08 David S. Miller <davem@davemloft.net>
24198
ee0db190
DM
24199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24200 movxtod instead of popping the value on the stack.
24201
dee4a4e3
DM
24202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24203
6a43ec98
CD
242042012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24205
24206 * config.h.in: Add HAVE_ARM_PCS_VFP.
24207
05c2c961
RMG
242082012-05-08 Roland Mc Grath <roland@hack.frob.com>
24209
bcfe3a54
ST
24210 [BZ #13979]
24211 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24212 checking but the checks are disabled for any reason.
05c2c961 24213
4b30f61a
L
242142012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24215
24216 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24217 and ELF64_R_TYPE with ELFW(R_TYPE).
24218
eee2bc67
JM
242192012-05-08 Joseph Myers <joseph@codesourcery.com>
24220
7ea5391a
JM
24221 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24222 (ulimit): Likewise.
24223
eee2bc67
JM
24224 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24225 (settimeofday): Likewise.
24226
abb66a67
MF
242272012-05-08 Mike Frysinger <vapier@gentoo.org>
24228
24229 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24230 a struct th_u2 inside the union, and move tu_block/tu_code into
24231 a new th_u3 union of tu_block/tu_code inside of that. Move
24232 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24233 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24234 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24235 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24236 (th_stuff): Change to th_u1.tu_stuff.
24237 (th_data): Define.
24238 (th_msg): Change to th_u1.th_u2.tu_data.
24239
7f18b530
DM
242402012-05-07 David S. Miller <davem@davemloft.net>
24241
05760585
DM
24242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24243
7f18b530
DM
24244 [BZ #14074]
24245 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24246 (SETUP_PIC_REG): Use it.
24247 (SETUP_PIC_REG_LEAF): Use it.
24248
495fd99f
JM
242492012-05-07 Joseph Myers <joseph@codesourcery.com>
24250
24251 [BZ #13885]
24252 [BZ #13923]
24253 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24254 USE_AS_EXPM1L.
24255 (EXPL_FINITE): Likewise.
24256 (FLDLOG): Likewise.
24257 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24258 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24259 e_expl.S.
24260 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24261 USE_AS_EXPM1L.
24262 (EXPL_FINITE): Likewise.
24263 (FLDLOG): Likewise.
24264 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24265 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24266 e_expl.S.
24267 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24268 test of -max_value argument for long double.
24269 * sysdeps/i386/fpu/libm-test-ulps: Update.
24270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24271
6693d694
DM
242722012-05-06 David S. Miller <davem@davemloft.net>
24273
24274 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24275 quad soft-float symbols whose references which are compiler
24276 generated.
24277 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24278
6c23e11c
JM
242792012-05-06 Joseph Myers <joseph@codesourcery.com>
24280
d8b82cad
JM
24281 [BZ #13884]
24282 [BZ #13914]
24283 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24284 USE_AS_EXP10L.
24285 (EXPL_FINITE): Likewise.
24286 (FLDLOG): Likewise.
24287 (c0): Likewise.
24288 (c1): Likewise.
24289 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24290 Adjust comments for base varying.
24291 (__expl_finite): Change alias to EXPL_FINITE.
24292 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24293 e_expl.S.
24294 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24295 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24296 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24297 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24298 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24299 USE_AS_EXP10L.
24300 (EXPL_FINITE): Likewise.
24301 (FLDLOG): Likewise.
24302 (c0): Likewise.
24303 (c1): Likewise.
24304 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24305 Adjust comments for base varying.
24306 (__expl_finite): Change alias to EXPL_FINITE.
24307 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24308 tests for bugs.
24309 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24310
6c23e11c
JM
24311 [BZ #14064]
24312 * math/libm-test.inc (check_float_internal): Correct ulp
24313 calculation for subnormal expected results.
24314
29ba805c
AJ
243152012-05-06 Andreas Jaeger <aj@suse.de>
24316
24317 * Makeconfig (+math-flags): New, set to -frounding-math.
24318 (+cflags): Add +math-flags so that all of glibc gets compiled with
24319 it.
24320
24321 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24322
7b17aeda
JM
243232012-05-05 Joseph Myers <joseph@codesourcery.com>
24324
5779f134
JM
24325 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24326 Disable one test.
24327
41498f4d
JM
24328 [BZ #13787]
24329 [BZ #13922]
24330 [BZ #14036]
24331 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24332 (__ieee754_expl): Allow for and saturate large arguments.
24333 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24334 (u_threshold): Likewise.
24335 (__exp): Call __ieee754_exp before checking for overflow and
24336 underflow.
24337 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24338 (u_threshold): Likewise.
24339 (__expf): Call __ieee754_expf before checking for overflow and
24340 underflow.
24341 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24342 (u_threshold): Likewise.
24343 (__expl): Call __ieee754_expl before checking for overflow and
24344 underflow.
24345 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24346 (__ieee754_expl): Allow for and saturate large arguments.
24347 * math/libm-test.inc (exp_test): Add another test. Do not allow
24348 missing overflow exception on overflow.
24349 (expm1_test): Do not allow missing overflow exception on overflow.
24350
6698b8bf
JM
24351 * sysdeps/i386/fpu/e_expl.c: Move to ...
24352 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24353 rather than using inline asm.
24354 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24355 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24356 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24357
7b17aeda
JM
24358 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24359 (nice): Likewise.
24360 (poll): Likewise.
24361 (signal): Likewise.
24362 (time): Likewise.
24363 (times): Likewise.
24364
f7c85819
JM
243652012-05-04 Joseph Myers <joseph@codesourcery.com>
24366
24367 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24368 sysdeps/unix/common/syscalls.list.
24369 (fchmod): Likewise.
24370 (fchown): Likewise.
24371 (ftruncate): Likewise.
24372 (getrusage): Likewise.
24373 (gettimeofday): Likewise.
24374 (setpgid): Likewise.
24375 (setregid): Likewise.
24376 (setreuid): Likewise.
24377 (sigaction): Likewise.
24378 (truncate): Likewise.
24379 (vhangup): Likewise.
24380 * sysdeps/unix/common/syscalls.list: Remove file.
24381 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24382 * sysdeps/unix/sysv/linux/Implies: Likewise.
24383
336270d0
L
243842012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24385
24386 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24388 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24389 Moved to ...
24390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24391 Here.
24392 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24393 to ...
24394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24395 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24396 to ...
24397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24398 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24399 to ...
24400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24401 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24402 to ...
24403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24404 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24405 to ...
24406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24407 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24408 to ...
24409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24410 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24411 to ...
24412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24413 Here.
24414 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24415 to ...
24416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24417 Here.
24418 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24419 to ...
24420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24421 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24422 Moved to ...
24423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24424 Here.
24425 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24426 to ...
24427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24428
d128e450
JM
244292012-05-04 Joseph Myers <joseph@codesourcery.com>
24430
fa8ee516
JM
24431 * sysdeps/unix/common/bits/dirent.h: Remove file.
24432 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24433
d128e450
JM
24434 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24435 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24436 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24437 * sysdeps/unix/bsd/isatty.c: Likewise.
24438 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24439 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24440 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24441
ff8faaf0 244422012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 24443
62881be4 24444 [BZ #13563]
31dc8730
AZ
24445 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24446 long double comparison inaccuracies.
24447 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24449
6fef930c
AS
244502012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24451
24452 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24453 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24454
8f203e6c
JM
244552012-05-04 Joseph Myers <joseph@codesourcery.com>
24456
24457 [BZ #14049]
24458 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24459 nonzero digits before rounding a hex value.
24460 * stdlib/tst-strtod.c (tests): Add another test.
24461
5197d9c2
AK
244622012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24463
24464 * sysdeps/s390/fpu/libm-test-ulps: Update.
24465
f0c1dedf
AJ
244662012-05-03 Andreas Jaeger <aj@suse.de>
24467
24468 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24469 does not get optimized out.
24470 (malloc_opt_barrier): New.
24471
a65ef2ae 244722012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 24473 Roland McGrath <roland@hack.frob.com>
a65ef2ae 24474
2b942cb7 24475 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 24476 intermediate file deletion.
2b942cb7 24477 (generated): Add .symlist files.
a65ef2ae 24478
54b71e02
JM
244792012-05-03 Joseph Myers <joseph@codesourcery.com>
24480
24481 [BZ #13775]
24482 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24483 Redirect under this condition.
24484 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24485 [__USE_GNU] (__dprintf_chk): Not under this condition.
24486 [__USE_GNU] (__vdprintf_chk): Likewise.
24487 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24488 under this condition.
24489 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24490 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24491 [__USE_XOPEN2K8] (vdprintf): Likewise.
24492 [__USE_GNU] (__dprintf_chk): Not under this condition.
24493 [__USE_GNU] (__vdprintf_chk): Likewise.
24494 [__USE_GNU] (dprintf): Likewise.
24495 [__USE_GNU] (vdprintf): Likewise.
24496
d3dfcc41
RM
244972012-05-03 Roland McGrath <roland@hack.frob.com>
24498
24499 * elf/Makefile (common-generated): Set this instead of generated for
24500 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24501 $(all-built-dso)-derived lists.
24502
7ac30cc5
AJ
245032012-05-03 Andreas Jaeger <aj@suse.de>
24504
0c51e550
AJ
24505 * sysdeps/i386/fpu/libm-test-ulps: Update.
24506
7ac30cc5
AJ
24507 * FAQ: Removed.
24508 * FAQ.in: Likewise.
24509 * scripts/gen-FAQ.pl: Likewise.
24510 * manual/install.texi (Installation): Point to online location of
24511 FAQ.
24512 * Makefile (files-for-dist): Remove FAQ.
24513 (FAQ): Remove.
24514
d4c2917f
AM
245152012-05-02 Allan McRae <allan@archlinux.org>
24516
24517 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24518 (LDFLAGS-reldepmod5.so): Likewise.
24519 (LDFLAGS-reldep6mod1.so): Likewise.
24520 (LDFLAGS-reldep6mod4.so): Likewise.
24521 (LDFLAGS-reldep8mod3.so): Likewise.
24522 (LDFLAGS-unload4mod1.so): Likewise.
24523 (LDFLAGS-unload4mod2.so): Likewise.
24524 (LDFLAGS-tst-initorder): Likewise.
24525 (LDFLAGS-tst-initordera2.so): Likewise.
24526 (LDFLAGS-tst-initordera3.so): Likewise.
24527 (LDFLAGS-tst-initordera4.so): Likewise.
24528 (LDFLAGS-tst-initorderb2.so): Likewise.
24529 (LDFLAGS-noload): Likewise.
24530 (LDFLAGS-next): Likewise.
24531 (LDFLAGS-order2mod1.so): Likewise.
24532 (LDFLAGS-order2mod2.so): Likewise.
24533 (LDFLAGS-tst-initorder2): Likewise.
24534 (LDFLAGS-tst-initorder2a.so): Likewise.
24535 (LDFLAGS-tst-initorder2b.so): Likewise.
24536 (LDFLAGS-tst-initorder2c.so): Likewise.
24537 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24538
d77f993f
DM
245392012-05-02 David S. Miller <davem@davemloft.net>
24540
24541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24542
171a70b4
PP
245432012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24544
24545 [BZ #14055]
24546 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24547
0be196ad
AJ
245482012-05-02 Andreas Jaeger <aj@suse.de>
24549
24550 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24551 since we manipulate rounding mode.
24552 (CPPFLAGS-test-idouble.c): Likewise.
24553 (CPPFLAGS-test-ifloat.c): Likewise.
24554 (CFLAGS-test-ldouble.c): Likewise.
24555 (CFLAGS-test-double.c): Likewise.
24556 (CFLAGS-test-float.c): Likewise.
24557 (CFLAGS-test-misc.c): Likewise.
24558 (CFLAGS-test-test-fenv.c): Likewise.
24559
4f9d04aa
AZ
245602012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24561
2b942cb7
RM
24562 [BZ #2550]
24563 [BZ #2570]
24564 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24565 comparisons to determine direction to adjust input.
4f9d04aa 24566
82a79e7d
RM
245672012-05-01 Roland McGrath <roland@hack.frob.com>
24568
f5a01ca9
RM
24569 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24570 output to the target.
24571
90fe4186
RM
24572 * scripts/localplt.awk: New file.
24573 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24574 (check-localplt-CFLAGS): Variable removed.
24575 ($(all-built-dso:=.jmprel)): New static pattern rule.
24576 (generated): Add those targets.
24577 (localplt-built-dso): New variable.
24578 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24579
24580 * elf/check-localplt.c: File removed.
24581
82397ed6
RM
24582 * scripts/check-execstack.awk: New file.
24583 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24584 (check-execstack-CFLAGS): Variable removed.
24585 ($(objpfx)check-execstack.h): Target removed.
24586 ($(objpfx)execstack-default): New target.
24587 (generated): Add that instead of check-execstack.h.
24588 ($(all-built-dso:=.phdr)): New static pattern rule.
24589 (generated): Add those targets.
24590 * elf/check-execstack.c: File removed.
24591
82a79e7d
RM
24592 * scripts/check-textrel.awk: New file.
24593 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24594 (check-textrel-CFLAGS): Variable removed.
24595 (all-built-dso): Use := to define.o
24596 ($(all-built-dso:=.dyn)): New static pattern rule.
24597 (generated): Add those targets.
24598 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24599 * config.make.in (READELF): New substituted variable.
24600 * elf/check-textrel.c: File removed.
24601
62fde54f 246022012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 24603
615605c9
JM
24604 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24605 allow.
24606 * conform/data/ctype.h-data [C99-based standards] (isblank):
24607 Expect function.
24608 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24609 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24610 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24611 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24612 Specify type. Require positive value.
24613 (EILSEQ): Likewise.
24614 (ERANGE): Likewise.
24615 [ISO || POSIX] (EILSEQ): Do not expect.
24616 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24617 Specify type. Require positive value.
24618 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24619 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24620 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24621 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24622 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24623 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24624 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24625 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24626 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24627 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24628 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24629 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24630 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24631 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24632 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24633 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24634 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24635 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24636 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24637 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24638 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24639 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24640 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24641 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24642 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24643 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24644 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24645 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24646 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24647 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24648 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24649 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24650 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24651 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24652 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24653 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24654 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24655 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24656 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24657 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24658 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24659 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24660 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24661 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24662 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24663 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24664 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24665 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24666 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24667 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24668 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24669 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24670 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24671 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24672 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24673 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24674 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24675 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24676 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24677 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24678 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24679 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24680 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24681 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24682 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24683 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24684 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24685 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24686 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24687 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24688 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24689 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24690 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24691 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24692 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24693 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24694 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24695 Require >= 2.
24696 (FLT_ROUNDS): Expect as macro, not constant.
24697 (FLT_MANT_DIG): Use macro-int-constant.
24698 (DBL_MANT_DIG): Likewise.
24699 (LDBL_MANT_DIG): Likewise.
24700 (FLT_DIG): Likewise.
24701 (DBL_DIG): Likewise.
24702 (LDBL_DIG): Likewise.
24703 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24704 (DBL_MIN_EXP): Likewise.
24705 (LDBL_MIN_EXP): Likewise.
24706 (FLT_MAX_EXP): Use macro-int-constant.
24707 (DBL_MAX_EXP): Likewise.
24708 (LDBL_MAX_EXP): Likewise.
24709 (FLT_MAX_10_EXP): Likewise.
24710 (DBL_MAX_10_EXP): Likewise.
24711 (LDBL_MAX_10_EXP): Likewise.
24712 (FLT_MAX): Use macro-constant.
24713 (DBL_MAX): Likewise.
24714 (LDBL_MAX): Likewise.
24715 (FLT_EPSILON): Use macro-constant. Give upper bound.
24716 (DBL_EPSILON): Likewise.
24717 (LDBL_EPSILON): Likewise.
24718 (FLT_MIN): Likewise.
24719 (DBL_MIN): Likewise.
24720 (LDBL_MIN): Likewise.
24721 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24722 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24723 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24724 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24725 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24726 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24727 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24728 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24729 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24730 [ISO11] (FLT_TRUE_MIN): Likewise.
24731 [ISO11] (LDBL_TRUE_MIN): Likewise.
24732 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24733 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24734 (SCHAR_MIN): Use macro-int-constant. Specify type.
24735 (SCHAR_MAX): Likewise.
24736 (UCHAR_MAX): Likewise.
24737 (CHAR_MIN): Likewise.
24738 (CHAR_MAX): Likewise.
24739 (MB_LEN_MAX): Use macro-int-constant.
24740 (SHRT_MIN): Use macro-int-constant. Specify type.
24741 (SHRT_MAX): Likewise.
24742 (USHRT_MAX): Likewise.
24743 (INT_MAX): Likewise.
24744 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24745 bound negative.
24746 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24747 bound with "U".
24748 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24749 bound with "L".
24750 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24751 bound negative. Suffix upper bound with "L".
24752 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24753 bound with "UL".
24754 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24755 Specify type.
24756 [C99-based standards] (LLONG_MAX): Likewise.
24757 [C99-based standards] (ULLONG_MAX): Likewise.
24758 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24759 == 0.
24760 [ISO11] (max_align_t): Require type.
24761 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24762
c9140a62
JM
24763 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24764 from $CFLAGS, without defining away __attribute__ calls.
24765 (checknamespace): Use $CFLAGS_namespace.
24766
9af0bf29
JM
24767 * conform/conformtest.pl (@keywords): Only include C99 keywords
24768 for standards based on C99 or C11.
24769
343222a2
JM
24770 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24771 Disable tests.
24772 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24773 UNIX98]: Likewise.
24774
661f8cf0
JM
24775 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24776 usability of symbols in #if.
24777
ee74b9cb
JM
24778 * conform/conformtest.pl: If macro or constant types start
24779 "promoted:", expect the symbol to be of the following type
24780 promoted by the integer promotions.
62fde54f 24781
aafc49b3
JM
24782 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24783 in one place. Also handle "macro-constant".
24784
fefdf574
JM
24785 * conform/conformtest.pl: Only accept expected macro values with
24786 "==". Parse all "macro" lines in one place.
24787 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24788
f2d922fe
JM
24789 * conform/conformtest.pl: Handle braced types on "constant" lines
24790 instead of handling "typed-constant".
24791 * conform/data/signal.h-data: Use "constant" instead of
24792 "typed-constant".
24793
d22956c9
JM
24794 * conform/conformtest.pl: Handle "optional-" at start of lines in
24795 one place rather than duplicating several cases. Handle each
24796 format of "macro" line with initial "optional-".
24797
028e2e38
JM
24798 * conform/conformtest.pl: Only accept expected constant or
24799 optional-constant values with "==". Parse all "constant" lines in
24800 one place. Parse all "optional-constant" lines in one place.
24801 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24802 * conform/data/fmtmsg.h-data: Likewise.
24803 * conform/data/netinet/in.h-data: Likewise.
24804 * conform/data/tar.h-data: Likewise.
24805 * conform/data/limits.h-data: Use "==" form on "constant" and
24806 "optional-constant" lines.
24807
1b8f2850
JM
24808 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24809 Use -std=c99 for XOPEN2K.
24810 (@knownproblems): Remove.
24811 (newtoken): Don't check %isknown.
24812
a05a144b
JM
24813 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24814 Do not expect macro.
24815 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24816 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24817 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24818 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24819 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24820 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24821 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24822 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24823 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24824 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24825 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24826 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24827 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24828 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24829 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24830 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24831 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24832 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24833 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24834 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24835 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24836 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24837 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24838 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24839 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24840 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24841 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24842 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24843 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24844 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24845 [XPG3] (acosh): Likewise.
24846 [XPG3] (asinh): Likewise.
24847 [XPG3] (atanh): Likewise.
24848 [XPG3] (cbrt): Likewise.
24849 [XPG3] (expm1): Likewise.
24850 [XPG3] (ilogb): Likewise.
24851 [XPG3] (log1p): Likewise.
24852 [XPG3] (logb): Likewise.
24853 [XPG3] (nextafter): Likewise.
24854 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24855 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24856 [XPG3] (remainder): Likewise.
24857 [XPG3] (rint): Likewise.
24858 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24859 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24860 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24861 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24862 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24863 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24864 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24865 [UNIX98 || XOPEN2K] (scalb): Expect.
24866 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24867 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24868 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24869 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24870 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24871 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24872 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24873 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24874 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24875 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24876 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24877 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24878 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24879 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24880 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24881 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24882 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24883 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24884 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24885 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24886 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24887 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24888 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24889 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24890 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24891 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24892 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24893 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24894 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24895 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24896 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24897 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24898 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24899 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24900 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24901 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24902 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24903 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24904 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24905 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24906 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24907 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24908 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24909 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24910 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24911 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24912 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24913 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24914 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24915 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24916 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24917 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24918 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24919 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24920 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24921 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24922 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24923 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24924 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24925 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24926 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24927 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24928 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24929 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24930 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24931 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24932 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24933 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24934 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24935 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24936 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24937 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24938 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24939 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24940 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24941 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24942 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24943 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24944 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24945 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24946 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24947 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24948 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24949 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24950 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24951 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24952 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24953 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24954 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24955 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24956 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24957 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24958 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24959 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24960 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24961 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24962 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24963 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24964 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24965 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24966 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24967 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24968 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24969 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24970 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24971 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24972 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24973 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24974 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24975 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24976 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24977 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24978 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24979 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24980 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24981 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24982 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24983 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24984 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24985 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24986 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24987 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24988 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24989 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24990 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24991 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24992 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24993 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24994 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24995 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24996 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24997 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24998 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24999 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25000 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25001 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25002 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25003
73c5ebe3
JM
25004 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25005 _XOPEN_SOURCE_EXTENDED for XPG4.
25006
39c33b6c
JM
25007 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25008
62fde54f
JM
25009 * Makeconfig (localtime): Remove variable.
25010 (inst_localtime-file): Likewise.
25011
0741d64c
AS
250122012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25013
25014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25015 Update.
25016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25017 Update.
25018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25019 Update.
25020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25021 Update.
25022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25023 Update.
25024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25025 Update.
25026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25027 Update.
25028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25029 Update.
25030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25031 Update.
25032
7cb029ee
JM
250332012-05-01 Joseph Myers <joseph@codesourcery.com>
25034
25035 [BZ #2550]
25036 [BZ #2570]
25037 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25038 comparisons to determine direction to adjust input.
25039 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25040 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25041 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25042 Likewise.
25043 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25044 Likewise.
25045 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25046 Likewise.
25047 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25048 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25049 Likewise.
25050 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25051 Likewise.
25052 * math/libm-test.inc (nexttoward_test): Add more tests.
25053
412bd966
AS
250542012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25055
25056 [BZ #14040]
25057 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25058 in version GLIBC_2.1, not GLIBC_2.0.
25059 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25060 Likewise.
25061
9568c0c2
JM
250622012-04-30 Joseph Myers <joseph@codesourcery.com>
25063
adfbc8ac
JM
25064 [BZ #13942]
25065 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25066 (1 - x) * (1 + x).
25067 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25068 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25069 * math/libm-test.inc (acos_test): Add more tests.
25070 (asin_test): Likewise.
25071 * sysdeps/i386/fpu/libm-test-ulps: Update.
25072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25073
5ba3cc69
JM
25074 [BZ #14034]
25075 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25076 of square root.
25077 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25078 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25079 * math/libm-test.inc (acos_test_tonearest): New function.
25080 (acos_test_towardzero): Likewise.
25081 (acos_test_downward): Likewise.
25082 (acos_test_upward): Likewise.
25083 (asin_test_tonearest): Likewise.
25084 (asin_test_towardzero): Likewise.
25085 (asin_test_downward): Likewise.
25086 (asin_test_upward): Likewise.
25087 (main): Call the new functions.
25088 * sysdeps/i386/fpu/libm-test-ulps: Update.
25089 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25090
9568c0c2
JM
25091 [BZ #13884]
25092 [BZ #13924]
25093 * math/e_exp10.c: Include <float.h>.
25094 (__ieee754_exp10): Handle underflow here rather than multiplying
25095 large negative argument by M_LN10.
25096 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25097 of __ieee754_expf.
25098 * math/e_exp10l.c: Include <float.h>.
25099 (__ieee754_exp10l): Handle underflow here rather than multiplying
25100 large negative argument by M_LN10l.
25101 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25102 spurious overflow exception on underflow.
25103
5ac3ea17
MP
251042012-04-29 Marek Polacek <polacek@redhat.com>
25105
25106 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25107 (__fortify_function): New macro.
25108 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25109 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25110 __extern_always_inline.
25111 * libio/bits/stdio2.h: Likewise.
25112 * libio/bits/stdio.h: Likewise.
25113 * string/string.h: Likewise.
25114 * string/bits/string3.h: Likewise.
25115 * include/stdio.h: Likewise.
25116 * stdlib/bits/stdlib.h: Likewise.
25117 * stdlib/stdlib.h: Likewise.
25118 * rt/bits/mqueue2.h: Likewise.
25119 * rt/mqueue.h: Likewise.
25120 * posix/bits/unistd.h: Likewise.
25121 * posix/unistd.h: Likewise.
25122 * io/bits/poll2.h: Likewise.
25123 * io/bits/fcntl2.h: Likewise.
25124 * io/fcntl.h: Likewise.
25125 * io/sys/poll.h: Likewise.
25126 * misc/bits/syslog.h: Likewise.
25127 * misc/bits/syslog-ldbl.h: Likewise.
25128 * misc/sys/syslog.h: Likewise.
25129 * socket/bits/socket2.h: Likewise.
25130 * socket/sys/socket.h: Likewise.
25131 * debug/tst-chk1.c: Likewise.
25132 * wcsmbs/bits/wchar2.h: Likewise.
25133 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25134 * wcsmbs/wchar.h: Likewise.
25135
ecf0ebfb
AJ
251362012-04-29 Andreas Jaeger <aj@suse.de>
25137
25138 * Makerules (tests): Remove enable-check-abi protection.
25139 (check-abi-warn): Remove.
25140 (check-abi-%): Remove check-abi-warn usage.
25141
25142 * configure.in: Remove check-abi configure option.
25143 * configure: Regenerated.
25144 * config.make.in (enable-check-abi): Remove.
25145
6d5c57fa
AS
251462012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25147
24c5d07e 25148 [BZ #14033]
ded5180a
AS
25149 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25150 double functions to double *_finite functions.
25151
7e0d315d
AS
25152 [BZ #13941]
25153 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25154 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25155 LDBL_MIN_EXP.
25156 * stdio-common/Makefile (tests): Add tst-sprintf3.
25157 * stdio-common/tst-sprintf3.c: New file.
25158
6d5c57fa
AS
25159 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25160 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25161
0749ff8b
JM
251622012-04-28 Joseph Myers <joseph@codesourcery.com>
25163
25164 * conform/conformtest.pl: Remove duplicate typed-constant
25165 handling.
25166
8dbd5d7b
DM
251672012-04-28 David S. Miller <davem@davemloft.net>
25168
25169 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25170 (check-abi-%): Remove AWK script prerequisite and explicit
25171 abilist directory.
25172 (check-abi): Rewrite to just diff the symlist with the abilist.
25173 (config-tls, config-abi-config): Delete, no longer used.
25174 (update-abi-%): Remove AWK script and explicit abilist directory.
25175 (update-abi): Rewrite to simply compare and conditionally copy the
25176 symlist and the sysdep abilist file. Remove update-abi-config
25177 checks.
25178 * abilist/ld.abilist: Remove.
25179 * abilist/libBrokenLocale.abilist: Remove.
25180 * abilist/libanl.abilist: Remove.
25181 * abilist/libcrypt.abilist: Remove.
25182 * abilist/libdl.abilist: Remove.
25183 * abilist/librt.abilist: Remove.
25184 * abilist/libthread_db.abilist: Remove.
25185 * abilist/libutil.abilist: Remove.
25186 * scripts/extract-abilist.awk: Remove.
25187 * scripts/merge-abilist.awk: Remove.
25188 * sysdeps/generic/libcidn.abilist: New file.
25189 * sysdeps/generic/libnss_compat.abilist: New file.
25190 * sysdeps/generic/libnss_db.abilist: New file.
25191 * sysdeps/generic/libnss_dns.abilist: New file.
25192 * sysdeps/generic/libnss_files.abilist: New file.
25193 * sysdeps/generic/libnss_hesiod.abilist: New file.
25194 * sysdeps/generic/libnss_nis.abilist: New file.
25195 * sysdeps/generic/libnss_nisplus.abilist: New file.
25196 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25197 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25198 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25199 file.
25200 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25201 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25202 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25203 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25204 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25205 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25206 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25207 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25208 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25209 file.
25210 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25211 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25212 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25213 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25214 file.
25215 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25216 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25217 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25218 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25219 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25220 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25221 file.
25222 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25223 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25224 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25225 file.
25226 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25227 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25228 New file.
25229 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25230 New file.
25231 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25232 New file.
25233 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25234 New file.
25235 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25236 New file.
25237 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25238 New file.
25239 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25240 New file.
25241 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25242 New file.
25243 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25244 New file.
25245 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25246 New file.
25247 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25248 New file.
25249 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25250 New file.
25251 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25252 New file.
25253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25254 file.
25255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25256 New file.
25257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25258 New file.
25259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25260 file.
25261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25262 New file.
25263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25264 New file.
25265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25266 file.
25267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25268 New file.
25269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25270 New file.
25271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25272 New file.
25273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25274 New file.
25275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25276 New file.
25277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25278 New file.
25279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25281 file.
25282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25283 New file.
25284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25285 file.
25286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25287 file.
25288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25289 file.
25290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25291 file.
25292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25293 file.
25294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25295 New file.
25296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25297 file.
25298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25299 file.
25300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25301 New file.
25302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25303 file.
25304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25306 file.
25307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25308 New file.
25309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25310 file.
25311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25312 file.
25313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25314 file.
25315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25316 file.
25317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25318 file.
25319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25320 New file.
25321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25322 file.
25323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25324 file.
25325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25326 New file.
25327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25328 file.
25329 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25330 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25331 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25332 file.
25333 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25334 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25335 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25336 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25337 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25338 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25339 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25340 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25341 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25342 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25345 file.
25346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25347 New file.
25348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25349 file.
25350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25351 file.
25352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25353 file.
25354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25355 file.
25356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25357 file.
25358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25359 New file.
25360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25361 New file.
25362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25363 file.
25364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25365 New file.
25366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25367 file.
25368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25370 file.
25371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25372 New file.
25373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25374 file.
25375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25376 file.
25377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25378 file.
25379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25380 file.
25381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25382 file.
25383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25384 New file.
25385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25386 New file.
25387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25388 file.
25389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25390 New file.
25391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25392 file.
25393
41d73a1b
JM
253942012-04-28 Joseph Myers <joseph@codesourcery.com>
25395
25396 * conform/conformtest.pl: Fix typo in handling typed-constant from
25397 allow-header.
25398
28aeeda4
JM
253992012-04-27 Joseph Myers <joseph@codesourcery.com>
25400
adae8f5e
JM
25401 * README: Cut down references to pre-2.6 Linux kernels and
25402 Linuxthreads. Update lists of configurations in libc and ports
25403 and sort alphabetically. Say "or newer" with Linux kernel version
25404 requirements.
25405
28aeeda4
JM
25406 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25407
a462cb63
RA
254082012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25409
25410 [BZ #887]
25411 * math/libm-test.inc (logb_test_downward): New test to expose
25412 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25413 rounding mode.
25414
6ad3493e
JM
254152012-04-27 Joseph Myers <joseph@codesourcery.com>
25416
25417 [BZ #14027]
25418 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25419 to be done.
25420 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25421 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25422
2ce4f015
JM
254232012-04-26 Joseph Myers <joseph@codesourcery.com>
25424
5aeb141a
JM
25425 * sysdeps/unix/i386/brk.S: Remove file.
25426 * sysdeps/unix/i386/dl-brk.S: Likewise.
25427 * sysdeps/unix/i386/pipe.S: Likewise.
25428 * sysdeps/unix/i386/sigreturn.S: Likewise.
25429 * sysdeps/unix/i386/syscall.S: Likewise.
25430 * sysdeps/unix/i386/vfork.S: Likewise.
25431 * sysdeps/unix/i386/wait.S: Likewise.
25432
7143acae
JM
25433 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25434 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25435
2ce4f015
JM
25436 * configure.in (arm*-none*): Do not allow without
25437 --enable-hacker-mode.
25438 (netbsd*): Remove case setting base_os.
25439 (386bsd*): Likewise.
25440 (freebsd*): Likewise.
25441 (bsdi*): Likewise.
25442 (osf*): Likewise.
25443 (sunos*): Likewise.
25444 (ultrix*): Likewise.
25445 (newsos*): Likewise.
25446 (dynix*): Likewise.
25447 (*bsd*): Likewise.
25448 (sysv*): Likewise.
25449 (isc*): Likewise.
25450 (esix*): Likewise.
25451 (sco*): Likewise.
25452 (minix*): Likewise.
25453 (irix4*): Likewise.
25454 (irix6*): Likewise.
25455 (solaris[2-9]*): Likewise.
25456 (none): Likewise.
25457 * configure: Regenerated.
25458
0ac229c8
AZ
254592012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25460
25461 [BZ #11521]
25462 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25463 overflow or cancellation in calculating denominator.
25464 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25465 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25466 down expression to avoid unexpected rounding in newer GCCs.
25467 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25468
33f244f4
DM
254692012-04-26 David S. Miller <davem@davemloft.net>
25470
25471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25472 long-double compat symbols.
25473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25486
cfa1f3e8
DM
254872012-04-25 David S. Miller <davem@davemloft.net>
25488
25489 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25490 HWCAP_* values only after the memory barriers have been defined.
25491 (atomic_full_barrier): Define.
25492 (atomic_read_barrier): Define.
25493 (atomic_write_barrier): Define.
25494
6e236b92
SP
254952012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25496
25497 * shlib-versions: Add libgcc_s version information.
25498 * sysdeps/generic/libgcc_s.h: Remove.
25499 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25500 libgcc_s.h.
25501 * sysdeps/gnu/unwind-resume.c: Likewise.
25502 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25503
aab39a09
DM
255042012-04-25 David S. Miller <davem@davemloft.net>
25505
25506 * sysdeps/unix/sparc/brk.S: Delete.
25507 * sysdeps/unix/sparc/dl-brk.S: Delete.
25508 * sysdeps/unix/sparc/pipe.S: Delete.
25509 * sysdeps/unix/sparc/sysdep.S: Delete.
25510 * sysdeps/unix/sparc/sysdep.h: Delete.
25511 * sysdeps/unix/sparc/vfork.S: Delete.
25512 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25513 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25514 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25515 ret_ERRVAL, r0, r1, MOVE): Define.
25516 (JUMPTARGET): Remove.
25517 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25518 sysdeps/unix/sparc/sysdep.h
25519 (ENTRY, END): Remove.
25520 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25521
a3cc4f48
JM
255222012-04-25 Joseph Myers <joseph@codesourcery.com>
25523
2ed8cda2
JM
25524 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25525 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25526 -DIS_IN_build.
25527
35d76d59
JM
25528 * timezone/README: Update upstream location and email address for
25529 tzcode and tzdata.
25530 * timezone/zdump.c: Update from tzcode 2012b.
25531 * timezone/zic.c: Likewise.
25532
a3cc4f48
JM
25533 * configure.in (libc_cv_as_needed): Remove test.
25534 * configure: Regenerated.
25535 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25536 conditional definition.
25537 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25538 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25539 * config.make.in (have-as-needed): Remove variable.
25540
ceab42c3
SP
255412012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25542 Paul Pluzhnikov <ppluzhnikov@google.com>
25543
25544 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25545 strings correctly.
25546
3ce2865f
CLT
255472012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25548
25549 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25550 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25551 * sysdeps/sh/strlen.S: Likewise.
25552
f37e0d68
JM
255532012-04-24 Joseph Myers <joseph@codesourcery.com>
25554
ae186e9a
JM
25555 * sysdeps/unix/fork.S: Remove file.
25556 * sysdeps/unix/i386/fork.S: Likewise.
25557 * sysdeps/unix/sparc/fork.S: Likewise.
25558
b96914af
JM
25559 * sysdeps/unix/system.c: Remove file.
25560 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25561
f37e0d68
JM
25562 * sysdeps/unix/getegid.S: Remove file.
25563 * sysdeps/unix/geteuid.S: Likewise.
25564
87ef29ca
RM
255652012-04-24 Roland McGrath <roland@hack.frob.com>
25566
83bcd236
RM
25567 * scripts/check-localplt.awk: New file.
25568 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25569 of diff.
25570 * scripts/data/localplt-generic.data: Add a comment.
25571
87ef29ca
RM
25572 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25573 NODE when __dir_mkfile failed.
25574 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25575 Reported by Ludovic Courtès <ludo@gnu.org>.
25576
e5a6e567
AJ
255772012-04-24 Andreas Jaeger <aj@suse.de>
25578
25579 * Makerules (common-clean): Also remove gen-as-const-headers
25580 files.
25581
c1820385
JM
255822012-04-24 Joseph Myers <joseph@codesourcery.com>
25583
25584 * Makerules (native-compile): Do not change working directory for
25585 build. Use $(OUTPUT_OPTION) in command.
25586 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25587
94e02fc4
AZ
255882012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25589
25590 [BZ #13886]
25591 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25592 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25593 * math/libm-test.inc (floor_test): Add more tests.
25594 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25595
3a533ca3
JM
255962012-04-24 Joseph Myers <joseph@codesourcery.com>
25597
940ab4b3
JM
25598 * sysdeps/unix/getdents.c: Remove file.
25599 * sysdeps/unix/sysv/getdents.c: Likewise.
25600 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25601
90e037bd
JM
25602 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25603 sysdeps/unix/mman/syscalls.list.
25604 (mmap): Likewise.
25605 (mprotect): Likewise.
25606 (msync): Likewise.
25607 (munmap): Likewise.
25608 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25609 * sysdeps/unix/mman/syscalls.list: Remove.
25610 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25611
3a533ca3
JM
25612 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25613 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25614 * configure: Regenerated.
25615 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25616 $(libgcc_s_suffix).
25617 * config.make.in (libgcc_s_suffix): Remove variable.
25618
1ad743de
JM
256192012-04-23 Joseph Myers <joseph@codesourcery.com>
25620
4ad451e2
JM
25621 * sysdeps/unix/sysv/gethostname.c: Move to ...
25622 * sysdeps/posix/gethostname.c: ... here.
25623
5e37ce39
JM
25624 * sysdeps/unix/execve.S: Remove file.
25625
1ad743de
JM
25626 * sysdeps/unix/_exit.S: Remove file.
25627
4e681b5b
AJ
256282012-04-23 Andreas Jaeger <aj@suse.de>
25629
25630 [BZ #13739]
25631 * manual/Makefile: Remove make dist support, there's no
25632 need for a stand-alone documentation tar ball.
25633 (TEXI2DVI): Define always, it's not in Makeconfig.
25634 (dist): Removed.
25635 (tar-it): Removed.
25636 (edition): Removed.
25637 (glibc-doc-$(edition).tar): Removed
25638 (%.Z): Removed.
25639 (%.gz): Removed.
25640 (%.uu): Removed.
25641 (ETAGS): Remove, it's in Makeconfig.
25642 (move-if-change): Remove, it's in Makeconfig.
25643
38686a03 256442012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
25645
25646 [BZ #13970]
25647 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25648 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25649 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25650 (strtod_l, strtof_l, strtold_l): Remove __wur.
25651 It is not necessarily an error to ignore strtol's return value.
25652 One can reliably look at the stored endptr to decide whether
25653 the number had valid syntax.
25654
7c0616fa
AJ
256552012-04-21 Andreas Jaeger <aj@suse.de>
25656
803cb6b7 25657 [BZ #13739]
7c0616fa
AJ
25658 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25659
b0fe253f
JM
256602012-04-21 Joseph Myers <joseph@codesourcery.com>
25661
25662 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25663 * sysdeps/unix/sysv/Versions: Remove file.
25664
8280f22d
MT
256652012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25666
25667 [BZ #13927]
25668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25669
75ce411f 256702012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
25671
25672 [BZ #7064]
25673 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25674 version from __vm86.
25675
097d59fa
JM
256762012-04-20 Joseph Myers <joseph@codesourcery.com>
25677
a90f3bcb
JM
25678 * sysdeps/unix/common/lxstat.c: Remove file.
25679 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25680
edc7ea78
JM
25681 * sysdeps/unix/sysv/Makefile: Remove file.
25682
cb78c221
JM
25683 * sysdeps/unix/sysv/direct.h: Remove file.
25684
efa6a45f
JM
25685 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25686 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25687 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25688 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25689 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25690 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25691 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25692
9c9f2d0c
JM
25693 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25694
4541c83b
JM
25695 * sysdeps/unix/xmknod.c: Remove file.
25696 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25697
f5d153a0
JM
25698 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25699
aa746595
JM
25700 * sysdeps/unix/sysv/i386/time.S: Remove file.
25701
cce5905e
JM
25702 * sysdeps/unix/fxstat.c: Remove file.
25703 * sysdeps/unix/xstat.c: Likewise.
25704 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25705
37fa3841
JM
25706 * sysdeps/unix/sysv/sigaction.c: Remove file.
25707
ff1962a3
JM
25708 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25709 (sysdep_headers): Remove variable.
25710 [termio.h not in sysdep_headers] (generated): Likewise.
25711 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25712 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25713 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25714 * sysdeps/unix/sysv/tcflow.c: Likewise.
25715 * sysdeps/unix/sysv/tcflush.c: Likewise.
25716 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25717 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25718 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25719 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25720 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25721
e7740d31
JM
25722 * sysdeps/unix/siglist.c: Remove file.
25723
ee06f18b
JM
25724 * sysdeps/unix/getppid.S: Remove file.
25725
097d59fa
JM
25726 * sysdeps/unix/mkdir.c: Remove file.
25727 * sysdeps/unix/rmdir.c: Likewise.
25728
ff3d51ec
AS
257292012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25730
25731 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25732 ERR_MAX value.
25733 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25734 errlist-compat value.
25735
50f81fd7
DM
257362012-04-18 David S. Miller <davem@davemloft.net>
25737
25738 * sysdeps/generic/memcopy.h (reg_char): Delete.
25739 * debug/strcat_chk.c: Use char, not reg_char.
25740 * debug/strcpy_chk.c: Likewise.
25741 * debug/strncat_chk.c: Likewise.
25742 * debug/strncpy_chk.c: Likewise.
25743 * string/memchr.c: Likewise.
25744 * string/memrchr.c: Likewise.
25745 * string/rawmemchr.c: Likewise.
25746 * string/strcat.c: Likewise.
25747 * string/strchr.c: Likewise.
25748 * string/strchrnul.c: Likewise.
25749 * string/strcmp.c: Likewise.
25750 * string/strcpy.c: Likewise.
25751 * string/strncat.c: Likewise.
25752 * string/strncmp.c: Likewise.
25753 * string/strncpy.c: Likewise.
25754
8ff41c46
WS
257552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25756
25757 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25758 __builtin_memcopy is called when src and dest ranges are known to not
25759 overlap.
25760
6b652f46
WS
257612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25762
25763 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25764 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25765 fwd_align_merge macro call.
25766 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25767 bwd_align_merge macro call.
25768 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25769
b282631e
WS
257702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25771
25772 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25773 bwd_align_merge macros.
25774 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25775 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25776 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25777
95aa737c
DM
257782012-04-18 David S. Miller <davem@davemloft.net>
25779
25780 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25781
7a99a614
AJ
257822012-04-18 Andreas Jaeger <aj@suse.de>
25783
25784 [BZ# 6794]
25785 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25786 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25787 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25788
25789 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25790 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25791 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25792
25793 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25794 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25795 Adjust for changed ldbl-128 files.
25796
25797 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25798 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25799 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25800
e5270c23
DM
258012012-04-17 David S. Miller <davem@davemloft.net>
25802
25803 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25804
fb5e92c9
AS
258052012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25806
25807 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25808 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25809 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25810 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25811 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25812 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25813
76da7265
AZ
258142012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25815
25816 [BZ #6794]
25817 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25818 * math/libm-test.inc: Add ilogb errno and exception tests.
25819 * math/w_ilogb.c: New file: ilogb wrapper.
25820 * math/w_ilogbf.c: New file: ilogbf wrapper.
25821 * math/w_ilogbl.c: New file: ilogbl wrapper.
25822 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25823 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25824 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25825 exception being thrown with 0.0 as argument.
25826 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25827 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25828 exception being thrown with 0.0 as argument.
25829 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25830 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25831 exception being thrown with 0.0 as argument.
25832 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25833 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25834 exception being thrown with 0.0 as argument.
25835 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25836 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 25837 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
25838 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25839 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25840 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25841 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25842 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25843 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25844
0396e69d
PB
258452012-04-17 Petr Baudis <pasky@ucw.cz>
25846
25847 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25848 with altivec.
25849
750b5926
MP
258502012-04-16 Marek Polacek <polacek@redhat.com>
25851
25852 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25853
751728a1
MP
258542012-04-16 Marek Polacek <polacek@redhat.com>
25855
25856 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25857 operands of fdivp instruction.
25858
34a27407
L
258592012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25860
25861 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25862 * elf/tst-auditmod3b.c: Likewise.
25863 * elf/tst-auditmod4b.c: Likewise.
25864 * elf/tst-auditmod5b.c: Likewise.
25865 * elf/tst-auditmod6b.c: Likewise.
25866 * elf/tst-auditmod6c.c: Likewise.
25867 * elf/tst-auditmod7b.c: Likewise.
25868 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25869 * sysdeps/x86_64/preconfigure.in: Likewise.
25870 * sysdeps/x86_64/preconfigure: Regenerated.
25871
7e73e17d
L
258722012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25873
25874 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25875 __ILP32__.
25876
c7a6ab72
AB
258772012-04-13 Antoine Balestrat <merkil33@gmail.com>
25878
25879 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25880 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25881
a9e8e0e0
CL
258822012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25883
25884 [BZ #13973]
25885 * locale/iso-639.def: Fix gl language name. Spotted by
25886 Yaron Shahrabani.
25887
ec98af7d
RM
258882012-04-12 Roland McGrath <roland@hack.frob.com>
25889
25890 [BZ #2074]
25891 * libio/libio.h (__io_write_fn): Update comment.
25892
247c3ede
PB
258932012-04-12 Petr Baudis <pasky@ucw.cz>
25894
25895 [BZ #2074]
25896 * stdio.texi (Hook Functions): The user provided writer function
25897 is not allowed to return -1.
25898
55939d6d
DM
258992012-04-11 David S. Miller <davem@davemloft.net>
25900
25901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25902
90020f5a
MF
259032012-04-11 Mike Frysinger <vapier@gentoo.org>
25904
25905 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25906 Add a leading slash to rtkaio.
25907
288f9098
JM
259082012-04-11 Jim Meyering <meyering@redhat.com>
25909
90020f5a
MF
25910 [BZ #11959]
25911 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25912 It is not necessarily an error to ignore fwrite's return
25913 value. One can reliably use ferror to test for errors after
25914 the fact.
288f9098 25915
4be2b570
L
259162012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25917
25918 * bits/types.h (__snseconds_t): New type.
25919 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25920
25921 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25922 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25923 (__SNSECONDS_T_TYPE): Likewise.
25924 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25925 (__SNSECONDS_T_TYPE): Likewise.
25926 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25927 (__SNSECONDS_T_TYPE): Likewise.
25928
288f9098 259292012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
25930
25931 [BZ #2636]
25932 * manual/time.texi (Processor Time): Return type of times is
25933 elapsed real time since an arbitrary point in the past.
25934 (CPU Time): Move CLK_TCK from here...
25935 (Processor Time): ...to here. Correct description.
25936 * manual/conf.texi (Constants for Sysconf): Correct description of
25937 _SC_CLK_TCK.
25938
d7dd4413
DM
259392012-04-10 David S. Miller <davem@davemloft.net>
25940
25941 [BZ #13967]
25942 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25943 where the is a gap between DT_REL(A) and DT_JMPREL.
25944
b46068fc
L
259452012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25946
25947 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25948 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25949 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25950
73d65cc3
SP
259512012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25952
25953 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25954 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25955 (dl_main): Handle --inhibit-cache.
25956 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25957 _dl_inhibit_cache.
25958 * elf/dl-load.c (_dl_map_object): Use it.
25959 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25960
bcc8d661
JM
259612012-04-09 Joseph Myers <joseph@codesourcery.com>
25962
8f9a2fae
JM
25963 [BZ #13872]
25964 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25965 (__ieee754_powl): Saturate large exponents rather than testing for
25966 overflow of y*log2(x).
25967 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25968 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25969 exceptions.
25970
bcc8d661
JM
25971 [BZ #11521]
25972 * math/s_ctan.c: Include <float.h>.
25973 (__ctan): Avoid internal overflow or cancellation in calculating
25974 denominator.
25975 * math/s_ctanf.c: Likewise.
25976 * math/s_ctanl.c: Likewise.
25977 * math/s_ctanh.c: Likewise.
25978 * math/s_ctanhf.c: Likewise.
25979 * math/s_ctanhl.c: Likewise.
25980 * math/libm-test.inc (ctan_test): Add more tests.
25981 (ctanh_test): Likewise.
25982 * sysdeps/i386/fpu/libm-test-ulps: Update.
25983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25984
823fbbb4
AJ
259852012-04-09 Andreas Jaeger <aj@suse.de>
25986
03879793
AJ
25987 [BZ #6894]
25988 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25989 is an optional BSD extension.
25990
823fbbb4
AJ
25991 [BZ #10254]
25992 * manual/stdio.texi (Opening Streams): Document additional fopen
25993 parameters.
25994
8de131cb
RM
259952012-04-09 Roland McGrath <roland@hack.frob.com>
25996
25997 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25998 %eax without telling the compiler.
25999
c0ed9d7d
CD
260002012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26001
26002 [BZ # 13963]
26003 * manual/install.texi: Use sourceware.org.
26004
c483f6b4
JM
260052012-04-09 Joseph Myers <joseph@codesourcery.com>
26006
d7dd9453
JM
26007 [BZ #13873]
26008 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26009 (__ieee754_pow): Generate overflow and underflow using huge*huge
26010 and tiny*tiny rather than just returning constant infinity or zero
26011 for large exponents.
26012 * math/libm-test.inc (pow_test): Require overflow exceptions for
26013 applicable cases of large exponents.
26014
c483f6b4
JM
26015 [BZ #706]
26016 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26017 (__ieee754_pow): Use iterative multiplication algorithm only for
26018 integer exponents with absolute value below 1024. Check for odd
26019 integer exponents when using algorithm for real exponents.
26020 * math/libm-test.inc (pow_test): Add more tests.
26021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26022
d2de7579
JM
260232012-04-08 Joseph Myers <joseph@codesourcery.com>
26024
26025 [BZ #13705]
26026 * math/libm-test.inc (exp_test): Do not allow overflow exception
26027 on underflow test.
26028
f77f1232
AJ
260292012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26030
26031 [BZ #13705]
26032 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26033 instead of __kernel_standard_f.
26034
3884932b
MF
260352012-04-08 Mike Frysinger <vapier@gentoo.org>
26036
26037 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26038 * sysdeps/x86_64/memset_chk.S: Likewise.
26039
54472e9c
AJ
260402012-04-08 Andreas Jaeger <aj@suse.de>
26041
6ab0fbfc
AJ
26042 [BZ #10153]
26043 * manual/startup.texi (Environment Access): Describe return value
26044 for putenv and setenv.
26045
61efba8c
AJ
26046 [BZ #6895]
26047 * manual/filesys.texi (Directory Entries): Add description for
26048 DT_LNK.
26049
95c3f29a
AJ
26050 [BZ #6890]
26051 * manual/filesys.texi (Directory Entries): Clarify that it's file
26052 system not operating system in the description of DT_UNKNOWN.
26053
54472e9c
AJ
26054 [BZ #6578]
26055 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26056
624254b1
SC
260572012-04-08 Stephen Compall <s11@member.fsf.org>
26058
26059 [BZ #6649]
26060 * manual/llio.texi (Opening and Closing Files): Add cross
26061 reference to explain mode argument.
26062
1e4920e0
MF
260632012-04-07 Mike Frysinger <vapier@gentoo.org>
26064
26065 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26066 * sysdeps/x86_64/memset_chk.S: Likewise.
26067
5ed848f3
DM
260682012-04-07 David S. Miller <davem@davemloft.net>
26069
26070 * elf/elf.h (R_SPARC_WDISP10): Define.
26071 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26072 R_SPARC_SIZE32.
26073 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26074 R_SPARC_SIZE64 and R_SPARC_H34.
26075
96154cd8
CD
260762012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26077
26078 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26079 conditions and remove no longer applicable assertion.
26080
9904dc47
L
260812012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26082
26083 * bits/byteswap.h: Include <features.h>.
26084 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26085 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26086
f8887d0a
L
260872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26088
26089 * bits/byteswap.h (__bswap_16): Removed.
26090 Include <bits/byteswap-16.h> to get __bswap_16.
26091 * sysdeps/i386/bits/byteswap.h: Likewise.
26092 * sysdeps/s390/bits/byteswap.h: Likewise.
26093 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26094 * bits/byteswap-16.h: New file.
26095 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26096 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26097 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26098 * string/Makefile (headers): Add bits/byteswap-16.h.
26099
62470f60
PP
261002012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26101
26102 [BZ #13895]
26103 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26104 extra indirection.
26105 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26106 * nss/tst-nss-static.c: New.
26107
4dad7bab
RM
261082012-04-06 Robert Millan <rmh@gnu.org>
26109
26110 [BZ #6486]
26111 * manual/llio.texi (File Position Primitive): lseek
26112 refers to WHENCE when it really means OFFSET.
26113
e9142a17
AJ
261142012-04-06 Andreas Jaeger <aj@suse.de>
26115
2c040eff
AJ
26116 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26117 strncmp declarations.
26118
e9142a17
AJ
26119 * abilist/libc.abilist: Add __poll and __ppoll.
26120
ff9f1c5f
DM
261212012-04-05 David S. Miller <davem@davemloft.net>
26122
dcd2ae90
DM
26123 * scripts/check-local-headers.sh: Accept a host triplet in the
26124 path matched by the exclude regexp.
26125
993eb054
DM
26126 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26127 definition.
26128 * sysdeps/powerpc/powerpc32/dl-machine.h
26129 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26130 * sysdeps/s390/s390-32/dl-machine.h
26131 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26132 * sysdeps/sparc/sparc32/dl-machine.h
26133 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26134 * sysdeps/sparc/sparc64/dl-machine.h
26135 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26136
ff9f1c5f
DM
26137 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26138 lazy binding.
48e2e132 26139 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
26140 undefined symbol errors.
26141
48e2e132 26142 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
26143 DT_NEEDED entries.
26144
e80d6f94
MM
261452012-04-05 Michael Matz <matz@suse.de>
26146
26147 [BZ #13592]
26148 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26149
349fa79f
AJ
261502012-04-05 Andreas Jaeger <aj@suse.de>
26151
26152 [BZ #13908]
26153 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26154 comment.
26155
f402708f
KK
261562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26157
26158 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26159 which ROUND is no valid rounding mode.
26160
2ecccfc9
KK
261612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26162
26163 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26164 read again.
26165 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26166
8a53f50f
KK
261672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26168
26169 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26170 an exception using FPU order intentionally.
26171
261722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26173
26174 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26175 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26176 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26177 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26178
d653abb7
SJ
261792012-04-05 Simon Josefsson <simon@josefsson.org>
26180
26181 [BZ #12340]
26182 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26183 EINVAL when BUFLEN is too smal.
26184
c3b1bf7d
TS
261852012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26186
26187 [BZ #13553]
26188 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26189 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26190
b1aa60f3
AJ
261912012-04-03 Andreas Jaeger <aj@suse.de>
26192
c3b1bf7d 26193 [BZ #13938]
67f60a26
AJ
26194 * manual/setjmp.texi (System V contexts): Fix sentence.
26195
b1aa60f3
AJ
26196 [BZ #13926]
26197 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26198 New macro for this case.
26199 [!__GNUC__] (__bswap_64): New inline function for this case.
26200 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26201 * bits/byteswap.h: Likewise.
26202 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26203 ull, guard with __GLIBC_HAVE_LONG_LONG.
26204
26205 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26206 __GLIBC_HAVE_LONG_LONG.
26207
26208 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26209 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26210
39c59c35
TMQMF
262112012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26212
26213 [BZ #13691]
26214 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26215 inptr and inend, rather than using last_ch.
26216
135ffda8
DM
262172012-04-02 David S. Miller <davem@davemloft.net>
26218
26219 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26220 * stdio-common/printf-parse.h (read_int): Change return type to
26221 'int', return -1 on INT_MAX overflow.
26222 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26223 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26224 overflows INT_MAX. Check for overflow of in-format-string precision
26225 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26226 SIZE_MAX not INT_MAX for integer overflow test.
26227 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26228 skip the construct in the format string but do not record anything.
26229 * stdio-common/bug22.c: Adjust to test both width/prevision
26230 INT_MAX overflow as well as total length INT_MAX overflow. Check
26231 explicitly for proper errno values.
26232
228c019e
TS
262332012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26234
302cadd3
TS
26235 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26236 CHAR_MAX.
26237 * string/test-strcmp.c [! WIDE]: Likewise.
26238 * time/tst-mktime2.c: Likewise for INT_MAX.
26239 * string/test-string.h: #include <sys/param.h> for MIN.
26240
228c019e
TS
26241 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26242 * sysdeps/i386/init-first.c (init): Likewise.
26243 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26244 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26245 * sysdeps/sh/init-first.c (init): Likewise.
26246
cfa633f5
UD
262472012-04-01 Ulrich Drepper <drepper@gmail.com>
26248
26249 * po/ru.po: Update from translation team.
d1635ef8 26250 * po/vi.po: Likewise.
cfa633f5 26251
6cd0a5ea
SP
262522012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26253
26254 * resolv/nss_dns/dns-host.c: Merge copyright years.
26255
4b43400f
LD
262562012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26257
26258 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26259 Optimize memcpy with prefetch if
26260 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26261 src, dst pointers have unequal 16 byte alignments.
26262
48c41d04
SP
262632012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26264
26265 [BZ #13928]
26266 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26267 from a CNAME entry and return the minimum ttl for the query.
26268 (gaih_getanswer_slice): Likewise.
26269
b8dc394d
JL
262702012-03-30 Jeff Law <law@redhat.com>
26271
26272 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26273 due to long keys.
26274 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26275 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26276
2f5a5ed0
JL
26277 * resolv/nss_dns/dns-host.c: Update copyright year.
26278
1d39e359
UD
262792012-03-30 Ulrich Drepper <drepper@gmail.com>
26280
c030f70c 26281 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 26282 requests to save a system call. Fix check that all bytes are sent.
c030f70c 26283
1d39e359
UD
26284 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26285 comments for sendmmsg.
26286
262872012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
26288
26289 [BZ #13691]
26290 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26291 with only 1 character between 0x0041 and 0x01b0.
26292 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26293 * wcsmbs/tst-mbsnrtowcs.c: New file.
26294
20fde227
DM
262952012-03-29 David S. Miller <davem@davemloft.net>
26296
26297 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26298 small copies by hand.
26299
984a4237
JL
263002012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26301
26302 [BZ #13761]
26303 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26304 _nss_compat_initgroups_dyn): Fall back to malloc/free
26305 for large group memberships.
26306
18c9d62b
DM
263072012-03-28 David S. Miller <davem@davemloft.net>
26308
88d85d4f
DM
26309 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26310 that branches into memcpy.
26311 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26312 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26313 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26314 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26315 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26316 bits.
26317 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26318 implementation too.
26319 * sysdeps/sparc/mempcpy.S: New file.
26320
e5aa83e1
DM
26321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26322 the IFUNC routine in the libc case.
26323 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26324
88570753
DM
26325 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26326 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26327 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26328 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26329 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26330 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26331 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26332 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26333
249d7567
DM
26334 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26335 loop to 256 bytes instead of 64 bytes and fix test signedness.
26336
18c9d62b
DM
26337 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26338 * sysdeps/sparc/sparc32/Makefile: rather than here...
26339 * sysdeps/sparc/sparc64/Makefile: and here.
26340
05f3d1f6
UD
263412012-03-28 Ulrich Drepper <drepper@gmail.com>
26342
26343 * malloc/mallocbug.c: Avoid warnings about unused variables.
26344
86ae07a8
JL
263452012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26346
26347 [BZ #13760]
26348 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26349 in the right place. Discard and retry query if response is
26350 larger than input buffer size.
26351
41bf21a1
JM
263522012-03-28 Joseph Myers <joseph@codesourcery.com>
26353
d6270972
JM
26354 [BZ #369]
26355 [BZ #2678]
26356 [BZ #3866]
26357 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26358 x for large integer exponent.
26359 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26360 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26361 sign of result as needed afterwards.
26362 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26363 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26364 result for underflowing pow the same as for overflow.
26365 (__kernel_standard_l): Handle powl overflow and underflow here
26366 rather than calling __kernel_standard.
26367 * math/libm-test.inc (pow_test): Add more tests.
26368
414fca03 26369 [BZ #3868]
41bf21a1
JM
26370 [BZ #13879]
26371 [BZ #13910]
26372 [BZ #13911]
26373 [BZ #13912]
26374 [BZ #13913]
26375 [BZ #13915]
26376 [BZ #13916]
26377 [BZ #13917]
26378 [BZ #13918]
26379 [BZ #13919]
26380 [BZ #13920]
26381 [BZ #13921]
26382 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26383 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26384 (__kernel_standard_l): New function.
26385 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26386 __kernel_standard.
26387 * math/w_acosl.c (__acosl): Likewise.
26388 * math/w_asinl.c (__asinl): Likewise.
26389 * math/w_atan2l.c (__atan2l): Likewise.
26390 * math/w_atanhl.c (__atanhl): Likewise.
26391 * math/w_coshl.c (__coshl): Likewise.
26392 * math/w_exp10l.c (__exp10l): Likewise.
26393 * math/w_exp2l.c (__exp2l): Likewise.
26394 * math/w_fmodl.c (__fmodl): Likewise.
26395 * math/w_hypotl.c (__hypotl): Likewise.
26396 * math/w_j0l.c (__j0l, __y0l): Likewise.
26397 * math/w_j1l.c (__j1l, __y1l): Likewise.
26398 * math/w_jnl.c (__jnl, __ynl): Likewise.
26399 * math/w_lgammal.c (__lgammal): Likewise.
26400 * math/w_log10l.c (__log10l): Likewise.
26401 * math/w_log2l.c (__log2l): Likewise.
26402 * math/w_logl.c (__logl): Likewise.
26403 * math/w_powl.c (__powl): Likewise.
26404 * math/w_remainderl.c (__remainderl): Likewise.
26405 * math/w_scalbl.c (sysv_scalbl): Likewise.
26406 * math/w_sinhl.c (__sinhl): Likewise.
26407 * math/w_sqrtl.c (__sqrtl): Likewise.
26408 * math/w_tgammal.c (__tgammal): Likewise.
26409 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26410 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26411 * math/libm-test.inc (acos_test): Add more tests.
26412 (acosh_test): Likewise.
26413 (asin_test): Likewise.
26414 (atanh_test): Likewise.
26415 (exp_test): Likewise.
26416 (exp10_test): Likewise.
26417 (exp2_test): Likewise.
26418 (expm1_test): Likewise.
26419 (lgamma_test): Likewise.
26420 (log_test): Likewise.
26421 (log10_test): Likewise.
26422 (log1p_test): Likewise.
26423 (log2_test): Likewise.
26424 (pow_test): Do not allow some spurious overflow exceptions.
26425 (sqrt_test): Add more tests.
26426 (tgamma_test): Likewise.
26427 (y0_test): Likewise.
26428 (y1_test): Likewise.
26429 (yn_test): Likewise.
26430
dd62fda6
AB
264312012-03-27 Anton Blanchard <anton@samba.org>
26432
26433 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26434 MAP_HUGETLB.
26435 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26436 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26437 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26438
1e3cdfda
AJ
264392012-03-27 David S. Miller <davem@davemloft.net>
26440
b855ab85
DM
26441 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26442
1e3cdfda
AJ
26443 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26444 have-as-vis3 check.
26445
264462012-03-27 Andreas Jaeger <aj@suse.de>
26447
26448 * sysdeps/x86_64/elf/configure.in: Moved to ...
26449 * sysdeps/x86_64/configure.in: ... here.
26450 * sysdeps/x86_64/elf/start.S: Moved to ...
26451 * sysdeps/x86_64/start.S: ... here.
26452 * sysdeps/x86_64/elf/configure: Delete.
26453
26454 * sysdeps/x86_64/configure.in: Merge contents from
26455 sysdeps/i386/configure.in (without i686 check).
26456
26457 * sysdeps/i386/elf/Versions: Merge into ...
26458 * sysdeps/i386/Versions: ... this.
26459 * sysdeps/i386/elf/Versions: Delete file.
26460 * sysdeps/i386/elf/start.S: Moved to ...
26461 * sysdeps/i386/start.S: ...here.
26462 * sysdeps/i386/elf/configure.in: Merge into...
26463 * sysdeps/i386/configure.in: ...here.
26464 * sysdeps/i386/elf/configure.in: Delete file.
26465 * sysdeps/i386/elf/configure: Delete file.
26466
26467 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26468 * debug/backtracesyms.c: ... here.
26469 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26470 * debug/backtracesymsfd.c: ... here.
26471 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26472 * sysdeps/generic/ifunc-sel.h: ... here.
26473
26474 * sysdeps/unix/i386/start.c: Delete file.
26475 * sysdeps/unix/sparc/start.c: Delete file.
26476 * sysdeps/unix/start.c: Delete file.
26477
26478 * sysdeps/sh/elf/configure.in: Moved to ...
26479 * sysdeps/sh/configure.in: ... here.
26480 * sysdeps/sh/elf/start.S: Moved to ...
26481 * sysdeps/sh/start.S: ... here.
26482 * sysdeps/sh/elf/configure: Delete file.
26483
26484 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26485 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26486 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26487 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26488 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26489 * sysdeps/powerpc/powerpc64/start.S: here.
26490 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26491 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26492 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26493 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26494 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26495
26496 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26497 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26498 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26499 * sysdeps/powerpc/powerpc32/start.S: ... here.
26500 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26501 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26502 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26503
26504 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26505 * sysdeps/powerpc/ifunc-sel.h: ... here.
26506 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26507 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26508
26509 * sysdeps/sparc/elf/configure.in: Moved to ...
26510 * sysdeps/sparc/configure.in: ... here.
26511 * sysdeps/sparc/elf/configure: Delete file.
26512 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26513 * sysdeps/sparc/sparc32/start.S: ... here.
26514 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26515 * sysdeps/sparc/sparc64/start.S: ... here.
26516 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26517 * sysdeps/sparc/sparc32/Makefile: ... this.
26518 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26519 * sysdeps/sparc/sparc64/Makefile: ... this.
26520
26521 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26522 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26523 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26524 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26525 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26526 * sysdeps/s390/s390-32/setjmp.S: ... here.
26527 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26528 * sysdeps/s390/s390-32/configure.in: ... here.
26529 * sysdeps/s390/s390-32/elf/configure: Delete file.
26530 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26531 * sysdeps/s390/s390-32/start.S: ... here.
26532
26533 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26534 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26535 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26536 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26537 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26538 * sysdeps/s390/s390-64/setjmp.S: ... here.
26539 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26540 * sysdeps/s390/s390-64/configure.in: ... here
26541 * sysdeps/s390/s390-64/elf/configure: Delete file.
26542 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26543 * sysdeps/s390/s390-64/start.S: ... here.
26544 * sysdeps/s390/s390-64/elf/configure: Delete.
26545
26546 * configure.in: Remove support for elf directories in sysdeps.
26547
26548 * configure: Regenerated.
26549 * sysdeps/i386/configure: Regenerated.
26550 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26551 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26552 * sysdeps/s390/s390-32/configure: Regenerated.
26553 * sysdeps/s390/s390-64/configure: Regenerated.
26554 * sysdeps/sh/configure: Regenerated.
26555 * sysdeps/sparc/configure: Regenerated.
26556 * sysdeps/x86_64/configure: Regenerated.
26557
a3f61311
AS
265582012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26559
c876e002
AS
26560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26561
a3f61311
AS
26562 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26563 denormal result into account.
26564
ac4c54f0
RM
265652012-03-25 Roland McGrath <roland@hack.frob.com>
26566
26567 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26568 Reported by Allan McRae <allan@archlinux.org>.
26569
6a9b9c02
JL
265702012-03-23 Jeff Law <law@redhat.com>
26571
26572 * nss/getnssent.c (__nss_getent): Fix typo.
26573
4c42a0c1
DM
265742012-03-23 David S. Miller <davem@davemloft.net>
26575
26576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26577
1532c7ac
L
265782012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26579
26580 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26581 to pad to uint64_t for each field.
26582 (dl_tls_index): Replace unsigned long with uint64_t.
26583
3ff42526
PP
265842012-03-23 Daniel Jacobowitz <dmj@google.com>
26585 Paul Pluzhnikov <ppluzhnikov@google.com>
26586
26587 [BZ #6528]
26588 * grp/Makefile (otherlibs): Don't set it.
26589 * inet/Makefile (otherlibs): Likewise.
26590 * login/Makefile (otherlibs): Likewise.
26591 * nscd/Makefile (otherlibs): Likewise.
26592 * posix/Makefile (otherlibs): Likewise.
26593 * pwd/Makefile (otherlibs): Likewise.
26594 * rt/Makefile (otherlibs): Likewise.
26595 * sunrpc/Makefile (otherlibs): Likewise.
26596 * nss/Makefile (otherlibs): Likewise.
26597 Add libnss_files to routines and static-only-routines.
26598 ($(objpfx)getent): Remove rule.
26599 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26600 static-only-routines.
26601
7c69cd14
JM
266022012-03-22 Joseph Myers <joseph@codesourcery.com>
26603
26604 [BZ #13892]
26605 * math/s_cexp.c: Include <float.h>.
26606 (__cexp): Handle exp result overflowing not necessarily
26607 overflowing both real and imaginary parts of result.
26608 * math/s_cexpf.c: Likewise.
26609 * math/s_cexpl.c: Likewise.
26610 * math/libm-test.inc (cexp_test): Add more tests.
26611 * sysdeps/i386/fpu/libm-test-ulps: Update.
26612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26613
81b035fe
L
266142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26615
26616 * include/link.h (ELFW): New macro.
26617 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26618 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26619
1da7940c
L
266202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26621
26622 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26623 with uint64_t.
26624
b749dbb9
L
266252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26626
26627 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26628 declaration.
26629 (struct La_x32_retval): Likewise.
26630
2ff87f3f
L
266312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26632
26633 * sysdeps/x86_64/preconfigure.in: New file.
26634 * sysdeps/x86_64/preconfigure: New generated file.
26635
c0df8e69
JM
266362012-03-22 Joseph Myers <joseph@codesourcery.com>
26637
48e44791
JM
26638 [BZ #13824]
26639 * math/e_exp2l.c: Include <float.h>.
26640 (__ieee754_exp2l): Handle overflow and underflow cases
26641 separately. Only pass fractional part of argument to
26642 __ieee754_expl.
26643 * math/libm-test.inc (exp2_test): Add more tests.
26644
c0df8e69
JM
26645 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26646 negating x to take absolute value.
26647 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26648 Likewise.
26649 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26650 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26651 Likewise.
26652 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26653 computing low part if x was negated.
26654 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26655
c8e43ba7
L
266562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26657
26658 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26659 la_x32_gnu_pltexit.
26660 (pltexit): Cast int_retval to ptrdiff_t.
26661 * elf/tst-auditmod3b.c: Likewise.
26662 * elf/tst-auditmod4b.c: Likewise.
26663 * elf/tst-auditmod5b.c: Likewise.
26664 * elf/tst-auditmod6b.c: Likewise.
26665 * elf/tst-auditmod6c.c: Likewise.
26666 * elf/tst-auditmod7b.c: Likewise.
26667
26668 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26669 and x32_gnu_pltexit.
26670
26671 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26672 __ELF_NATIVE_CLASS.
26673 (La_x32_regs): New macro.
26674 (La_x32_retval): Likewise.
26675 (la_x32_gnu_pltenter): New function prototype.
26676 (la_x32_gnu_pltexit): Likewise.
26677
7998fa78
AS
266782012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26679
dcb33988
AS
26680 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26681 exponent.
26682
233fc563
AS
26683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26684
7998fa78
AS
26685 * configure.in (libc_cv_cc_nofma): Check for option to disable
26686 generation of FMA instructions.
26687 * configure: Regenerate.
26688 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26689 * sysdeps/ieee754/dbl-64/Makefile: New file.
26690 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26691 Remove brandred-fma4.
26692 (CFLAGS-brandred-fma4.c): Remove.
26693 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26694 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26695 define.
26696 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26697 define.
26698
8e95c99a
L
266992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26700
26701 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26702 LLONG_MAX != LONG_MAX.
26703 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26704 (_fitoa_word): Likewise.
26705 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26706 LLONG_MAX != LONG_MAX.
26707 * stdio-common/_itowa.h: Include <_itoa.h>.
26708 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26709 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26710 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26711 only if not defined.
26712 (_ITOA_WORD_TYPE): Likewise.
26713 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26714 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26715
6f4db457
DM
267162012-03-21 David S. Miller <davem@davemloft.net>
26717
26718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26719
7785fe5a
L
267202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26721
26722 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26723 of x86_64 when setting libc_cv_slibdir, libdir and
26724 libc_cv_localedir.
26725 * sysdeps/unix/sysv/linux/configure: Regenerated.
26726
4535cd55
JM
267272012-03-21 Joseph Myers <joseph@codesourcery.com>
26728
26729 * manual/lang.texi (Old Varargs): Remove section.
26730 (How Variadic): Update menu.
26731 (va_start): Do not mention varargs.h.
26732
17228132
TS
267332012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26734 Joseph Myers <joseph@codesourcery.com>
26735
26736 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26737 link test.
26738 * configure: Regenerated.
26739
8149f976
TS
267402012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26741
05f3d1f6
UD
26742 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26743 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26744 conformtest.pl
8149f976 26745
1a4ac776
JM
267462012-03-21 Joseph Myers <joseph@codesourcery.com>
26747
be22ce65
JM
26748 * NOTES: Remove.
26749 * Makefile (files-for-dist): Remove NOTES.
26750 (NOTES): Remove rule.
26751 * README: Don't refer to NOTES.
26752 * manual/creature.texi: Don't include macros.texi.
26753 * manual/intro.texi (creature.texi): Remove comment referring to
26754 NOTES.
26755
40b601fb
JM
26756 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26757 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26758 * configure: Regenerated.
26759 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26760 LIBC_TRY_CC_OPTION.
26761 (libc_cv_as_i686): Likewise.
26762 (libc_cv_cc_avx): Likewise.
26763 (libc_cv_cc_sse2avx): Likewise.
26764 (libc_cv_cc_fma4): Likewise.
26765 (libc_cv_cc_novzeroupper): Likewise.
26766 * sysdeps/i386/configure: Regenerated.
26767
1a4ac776
JM
26768 [BZ #13883]
26769 * sysdeps/i386/fpu/s_cexp.S: Remove.
26770 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26771 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26772 * math/libm-test.inc (cexp_test): Add more tests.
26773 * sysdeps/i386/fpu/libm-test-ulps: Update.
26774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26775
a458e7fe
AM
267762012-03-21 Allan McRae <allan@archlinux.org>
26777
26778 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26779
0cb7efc5
JM
267802012-03-21 Joseph Myers <joseph@codesourcery.com>
26781
26782 [BZ #13871]
26783 * math/w_exp2.c: Do not include <float.h>.
26784 (o_threshold, u_threshold): Remove.
26785 (__exp2): Calculate result before checking finiteness and calling
26786 __kernel_standard.
26787 * math/w_exp2f.c: Likewise.
26788 * math/w_exp2l.c: Likewise.
26789 * math/libm-test.inc (exp2_test): Require overflow exception for
26790 1e6 input.
2460d3aa
JM
26791
26792 [BZ #3866]
26793 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26794 range of signed 64-bit integers before using fistpll. Remove
26795 checks for whether integers fit in mantissa bits.
26796 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26797 the range of signed 32-bit integers before using fistpl. Remove
26798 checks for whether integers fit in mantissa bits.
26799 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26800 (__ieee754_powl): Test for y outside the range of signed 64-bit
26801 integers before using fistpll. Reduce 64-bit values to 63-bit
26802 ones as needed.
26803 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26804 divide-by-zero is raised for zero to large negative powers.
26805 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26806 (__ieee754_powl): Test for y outside the range of signed 64-bit
26807 integers before using fistpll. Reduce 64-bit values to 63-bit
26808 ones as needed.
26809 * math/libm-test.inc (pow_test): Add more tests.
26810
eb96ffb0
L
268112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26812
26813 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26814 <stdio-common/_itoa.h>.
26815 * debug/segfault.c: Likewise.
26816 * elf/dl-cache.c: Likewise.
26817 * elf/dl-minimal.c: Likewise.
26818 * elf/dl-misc.c: Likewise.
26819 * elf/dl-sysdep.c: Likewise.
26820 * elf/dl-version.c: Likewise.
26821 * elf/rtld.c: Likewise.
26822 * hurd/hurdsock.c: Likewise.
26823 * hurd/lookup-retry.c: Likewise.
26824 * malloc/malloc.c: Likewise.
26825 * malloc/mtrace.c: Likewise.
26826 * nscd/nscd_getgr_r.c: Likewise.
26827 * nscd/nscd_getpw_r.c: Likewise.
26828 * nscd/nscd_getserv_r.c: Likewise.
26829 * posix/getopt_init.c: Likewise.
26830 * posix/wordexp.c: Likewise.
26831 * stdio-common/_itoa.c: Likewise.
26832 * stdio-common/printf_fphex.c: Likewise.
26833 * stdio-common/vfprintf.c: Likewise.
26834 * string/_strerror.c: Likewise.
26835 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26836 * sysdeps/i386/i686/hp-timing.h: Likewise.
26837 * sysdeps/mach/_strerror.c: Likewise.
26838 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26839 * sysdeps/mach/hurd/sethostid.c: Likewise.
26840 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26841 * sysdeps/mach/xpg-strerror.c: Likewise.
26842 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26843 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26844 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26845 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26846 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26847 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26848 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26849 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26850 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26851 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26852 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26853 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26854 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26855 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26856 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26857 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26858 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26859 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26860 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26861 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26862 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26863
26864 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26865
26866 * stdio-common/_itoa.h: Moved to ...
26867 * sysdeps/generic/_itoa.h: Here.
26868
26869 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26870
26871 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26872 instead of "_itoa.h" and "_itowa.h".
26873 * stdio-common/vfprintf.: Likewise.
26874
d1af992d
L
268752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26876
26877 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26878 <bits/wordsize.h>.
26879 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26880 (__signbit): Likwise.
26881 (llrintf): Likwise.
26882 (llrint): Likwise.
26883
114883e0
L
268842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26885
26886 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26887 __WORDSIZE != 64.
26888
c135cc1b
JM
268892012-03-20 Joseph Myers <joseph@codesourcery.com>
26890
26891 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26892 OVERFLOW_EXCEPTION_OK.
26893 * math/libm-test.inc ("Philosophy"): Update comment about
26894 exception testing.
26895 (OVERFLOW_EXCEPTION): Define.
26896 (OVERFLOW_EXCEPTION_OK): Likewise.
26897 (INVALID_EXCEPTION_OK): Renumber.
26898 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26899 (IGNORE_ZERO_INF_SIGN): Likewise.
26900 (test_exceptions): Handle FE_OVERFLOW.
26901 (exp10_test): Expect overflow exceptions.
26902 (exp2_test): Likewise.
26903 (expm1_test): Likewise.
26904 (nextafter_test): Likewise.
26905 (pow_test): Likewise.
26906 (scalbn_test): Likewise.
26907 (scalbln_test): Likewise.
26908
95443d88
L
269092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26910
26911 * sysdeps/x86_64/bits/atomic.h
26912 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26913 64bit integer.
26914 (atomic_exchange_acq): Likewise.
26915 (__arch_exchange_and_add_body): Likewise.
26916 (__arch_add_body): Likewise.
26917 (atomic_add_negative): Likewise.
26918 (atomic_add_zero): Likewise.
26919
490df6c4
L
269202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26921
c2722551 26922 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
26923 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26924
5e52b189
L
269252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26926
26927 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26928 Check __x86_64__ instead of __WORDSIZE.
26929
a9879d4c
L
269302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26931
26932 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26933
5df98260
DM
269342012-03-19 David S. Miller <davem@davemloft.net>
26935
e1497744
DM
26936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26937
5df98260
DM
26938 * sysdeps/sparc/fpu/fenv_private.h: New file.
26939 * sysdeps/sparc/fpu/math_private.h: Use it.
26940 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26941 Remove.
26942 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26943 (libc_feholdexcept_setroundl): Remove.
26944 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26945 Remove.
26946 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26947 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26948
b4c35121
L
269492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26950
26951 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26952 int64_t instead of long int.
26953 (INSERT_WORDS64): Likwise.
26954
56965fd7
L
269552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26956
26957 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26958 _Unwind_GetCFA return to _Unwind_Ptr first.
26959
83d1aec8
JM
269602012-03-19 Joseph Myers <joseph@codesourcery.com>
26961
1897ad44
JM
26962 [BZ #13629]
26963 * math/s_clog.c: Include <float.h>.
26964 (__clog): Scale large or subnormal inputs.
26965 * math/s_clogf.c: Likewise.
26966 * math/s_clogl.c: Likewise.
26967 * math/s_clog10.c: Include <float.h>.
26968 (M_LOG10_2): Define.
26969 (__clog10): Scale large or subnormal inputs.
26970 * math/s_clog10f.c: Likewise.
26971 * math/s_clog10l.c: Likewise.
26972 * math/libm-test.inc (clog_test): Add more tests.
26973 (clog10_test): Likewise.
26974 * sysdeps/i386/fpu/libm-test-ulps: Update.
26975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26976
7726d6a9
JM
26977 [BZ #11451]
26978 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26979 x and y.
26980 * math/libm-test.inc (atan2_test): Add another test.
26981
83d1aec8
JM
26982 * Makerules (common-objdir-compile): Remove.
26983 * sysdeps/unix/Makefile (config-generated): Do not add
26984 $(unix-generated) to variable.
26985 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26986 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26987 Remove rule.
26988 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26989 Likewise.
26990 [generic bits/local_lim.h] (before-compile): Do not append to
26991 variable.
26992 [generic bits/local_lim.h] (common-generated): Likewise.
26993 [generic sys/param.h] (before-compile): Do not append to variable.
26994 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26995 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26996 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26997 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26998 include.
26999 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27000 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27001 [generic sys/param.h] ($(addprefix
27002 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27003 [generic sys/param.h] (common-generated): Do not append to
27004 variable.
27005 [generic sys/param.h] (sysdep_headers): Likewise.
27006 [generic bits/errno.h] (before-compile): Do not append to
27007 variable.
27008 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27009 rule.
27010 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27011 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27012 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27013 [generic bits/errno.h] (common-generated): Do not append to
27014 variable.
27015 [generic bits/ioctls.h] (before-compile): Do not append to
27016 variable.
27017 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27018 rule.
27019 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27020 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27021 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27022 rule.
27023 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27024 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27025 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27026 [generic bits/ioctls.h] (common-generated): Do not append to
27027 variable.
27028 [generic sys/syscall.h] (syscall.h): Remove variable.
27029 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27030 rule.
27031 [generic sys/syscall.h] (before-compile): Do not append to
27032 variable.
27033 [generic sys/syscall.h] (common-generated): Likewise.
27034 * sysdeps/unix/errnos-tmpl.c: Remove file.
27035 * sysdeps/unix/errnos.awk: Likewise.
27036 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27037 * sysdeps/unix/ioctls.awk: Likewise.
27038 * sysdeps/unix/mk-local_lim.c: Likewise.
27039 * sysdeps/unix/snarf-ioctls: Likewise.
27040
4851a949
RH
270412012-03-19 Richard Henderson <rth@twiddle.net>
27042
bd37f2ee
RH
27043 * sysdeps/i386/fpu/fenv_private.h: New file.
27044 * sysdeps/i386/fpu/math_private.h: Use it.
27045 (math_opt_barrier, math_force_eval): Remove.
27046 (libc_feholdexcept_setround_53bit): Remove.
27047 (libc_feupdateenv_53bit): Remove.
27048 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27049 (math_opt_barrier, math_force_eval): Remove.
27050 (libc_feholdexcept): Remove.
27051 (libc_feholdexcept_setround): Remove.
27052 (libc_fetestexcept, libc_fesetenv): Remove.
27053 (libc_feupdateenv_test): Remove.
27054 (libc_feupdateenv, libc_feholdsetround): Remove.
27055 (libc_feresetround): Remove.
27056
d0adc922
RH
27057 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27058 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27059
0fe0f1f8
RH
27060 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27061 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27062 (libc_feupdateenv_testl): New.
27063 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27064 (libc_feupdateenv_testf): New.
27065 (libc_feupdateenv): Use libc_feupdateenv_test.
27066 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27067 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27068
eb92c487
RH
27069 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27070 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27071 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27072 (libc_feresetround_noex): New.
27073 (libc_feresetround_noexf): New.
27074 (libc_feresetround_noexl): New.
27075 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27076 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27077 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27078 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27079 SET_RESTORE_ROUND.
27080 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27081 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27082 (__cos): Likewise.
27083 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27084 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27085 SET_RESTORE_ROUND_NOEX.
27086 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27087 SET_RESTORE_ROUND_NOEXF.
27088 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27089 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27090 (libc_feholdsetroundf): New.
27091 (libc_feresetround, libc_feresetroundf): New.
27092
7d2e8012
RH
27093 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27094 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27095 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27096
b4dabbb4
RH
27097 * sysdeps/generic/math_private.h: Include <fenv.h>.
27098 (default_libc_feholdexcept): New.
27099 (default_libc_feholdexcept_setround): New.
27100 (default_libc_fesetenv, default_libc_feupdateenv): New.
27101 (libc_feholdexcept): Only define if undefined.
27102 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27103 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27104 (libc_feholdexcept_setroundl): Likewise.
27105 (libc_feholdexcept_setround_53bit): Likewise.
27106 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27107 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27108 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27109 (libc_feupdateenv_53bit): Likewise.
27110 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27111 (libc_feholdexcept): Convert from macro to inline function.
27112 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27113 (libc_fesetenv, libc_feupdateenv): Likewise.
27114
4851a949
RH
27115 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27116 not previously defined.
27117 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27118 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27119 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27120 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27121 * sysdeps/ieee754/flt-32/math_private.h: New file.
27122 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27123 math_private.h below SET_FLOAT_WORD.
27124 (__isnan, __isinf_ns, __finite): Remove.
27125 (__isnanf, __isinf_nsf, __finitef): Remove.
27126
e79d442e
AS
271272012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27128
27129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27130
90b80344
DM
271312012-03-17 David S. Miller <davem@davemloft.net>
27132
27133 [BZ #6471]
27134 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27135 for 2.16.
27136
edc21804
DM
271372012-03-16 David S. Miller <davem@davemloft.net>
27138
77e927af
DM
27139 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27140 warnings.
27141
374976dd
DM
27142 [BZ #6471]
27143 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27144 properly.
27145 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27146 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27147 sysdep_routines when subdir is sysvipc.
27148 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27149 __getshmlba helper.
27150
edc21804
DM
27151 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27152
473c3ef3
L
271532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27154
27155 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27156 [__LP64__].
27157
eb0f39b6
L
271582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27159
27160 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27161 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27162 (__lround): Renamed to ...
27163 (__llround): This. Replace long int with long long int.
27164 Define lround functions as aliases of llround functions.
27165 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27166
6b6cd74b
L
271672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27168
27169 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27170 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27171 adresses to uintptr_t. Replace "long int" and "unsigned long
27172 int" with "greg_t" on va_arg.
27173
f1a77b01
L
271742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27175
27176 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27177 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27178
27179 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27180 Move e_machine check before EI_CLASS check. Handle x32
27181 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27182 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27183 SKIP_EM_IA_64 and include
27184 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27185
27186 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27187 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27188 (add_system_dir): New macro.
27189
27190 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27191 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27192
11b90b9f
JM
271932012-03-16 Joseph Myers <joseph@codesourcery.com>
27194
c36e1d23
JM
27195 [BZ #2551]
27196 [BZ #2552]
27197 [BZ #2553]
27198 [BZ #2554]
27199 [BZ #2562]
27200 [BZ #2563]
27201 [BZ #2565]
27202 [BZ #2566]
27203 [BZ #2576]
27204 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27205 (y0): Likewise.
27206 * math/w_j0f.c (j0f): Likewise.
27207 (y0f): Likewise.
27208 * math/w_j0l.c (__j0l): Likewise.
27209 (__y0l): Likewise.
27210 * math/w_j1.c (j1): Likewise.
27211 (y1): Likewise.
27212 * math/w_j1f.c (j1f): Likewise.
27213 (y1f): Likewise.
27214 * math/w_j1l.c (__j1l): Likewise.
27215 (__y1l): Likewise.
27216 * math/w_jn.c (jn): Likewise.
27217 (yn): Likewise.
27218 * math/w_jnf.c (jnf): Likewise.
27219 (ynf): Likewise.
27220 * math/w_jnl.c (__jnl): Likewise.
27221 (__ynl): Likewise.
27222 * math/libm-test.inc (j0_test): Add more tests.
27223 (j1_test): Likewise.
27224 (jn_test): Likewise. Add trailing semicolon to existing test.
27225 (y0_test): Likewise.
27226 (y1_test): Likewise.
27227 * sysdeps/i386/fpu/libm-test-ulps: Update.
27228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27229
11b90b9f
JM
27230 [BZ #13851]
27231 [BZ #13854]
27232 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27233 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27234 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27235 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27236 (__tanl): Set errno for infinite argument.
27237 * sysdeps/i386/fpu/mptan.c: Remove.
27238 * sysdeps/i386/fpu/s_tan.S: Likewise.
27239 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27240 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27241 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27242 * math/libm-test.inc (tan_test): Add more tests and enable more
27243 tests for double and long double.
27244 * sysdeps/i386/fpu/libm-test-ulps: Update.
27245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27246
6a1bd2a1
JK
272472012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27248
27249 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27250 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27251
10a803e0
RM
272522012-03-16 Roland McGrath <roland@hack.frob.com>
27253
27254 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27255 * configure.in: Use it for both main tree and add-ons.
27256 * configure: Regenerated.
27257
f196c7f7
L
272582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27259
27260 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27261
8848d99d
JM
272622012-03-16 Joseph Myers <joseph@codesourcery.com>
27263
96cbe7f4
JM
27264 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27265 in comment.
27266
8848d99d
JM
27267 [BZ #13851]
27268 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27269 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27270 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27271 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27272 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27273 infinite argument.
27274 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27275 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27276 != 0 for prec == 2.
27277 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27278 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27279 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27280 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27281 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27282 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27283 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27284 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27285 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27286 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27287 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27288 * math/libm-test.inc (cos_test): Add more tests and enable more
27289 tests for long double.
27290 (sin_test): Likewise.
27291 (sincos_test): Likewise.
27292 * sysdeps/i386/fpu/libm-test-ulps: Update.
27293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27294
dd7f4703
DM
272952012-03-16 David S. Miller <davem@davemloft.net>
27296
27297 * sysdeps/sparc/fpu/math_private.h: New file.
27298
006f1daa
DM
272992012-03-15 David S. Miller <davem@davemloft.net>
27300
c0c83bc8
DM
27301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27302 file.
e6a62e18 27303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
27304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27305 file.
e6a62e18
DM
27306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27311 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27312 sysdep routines.
27313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27314
88cb87d9
DM
27315 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27316 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27317
006f1daa 27318 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
27319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27320 sparc-ifunc.h
006f1daa 27321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
27322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27323 Likewise.
27324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27325 Likewise.
006f1daa
DM
27326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
27329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27330 Likewise.
006f1daa
DM
27331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
27335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27336 Likewise.
27337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27338 Likewise.
006f1daa
DM
27339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27343 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27344 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27345 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27346 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27347 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27348 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27352 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27354 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27355 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27356 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27357 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27358 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27359 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27360 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27361 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27362 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27363
11e0098e
AS
273642012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27365
27366 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27367 scaling.
27368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27369
e85b09d0
AJ
273702012-03-15 Andreas Jaeger <aj@suse.de>
27371
27372 [BZ #13852]
27373 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27374 ieee754/flt-32 implementation for sin, cos and sincos.
27375 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27376 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27377 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27378 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27379 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27380 ieee754/flt-32 implementation for tan.
27381
27382 * math/libm-test.inc (cos_test): Enable some large input tests for
27383 float as well
27384 (sin_test): Likewise.
27385 (sincos_test): Likewise.
27386 (tan_test): Add tests for large input.
27387
27388 * sysdeps/i386/fpu/libm-test-ulps: Update.
27389
81c64153
AJ
273902012-03-15 Andreas Jaeger <aj@suse.de>
27391
27392 [BZ #13658]
27393 * math/libm-test.inc (cos_test): Add more test cases.
27394 (sin_test): Likewise.
27395 (sincos_test): Likewise.
27396
7bbfa5c6
AJ
273972012-03-15 Andreas Jaeger <aj@suse.de>
27398
27399 [BZ #13837]
27400 * math/libm-test.inc (cos_test): Add a test case for large input
27401 value.
27402 (sin_test): Likewise.
27403 (sincos_test): Likewise.
27404
274052012-03-15 Andreas Jaeger <aj@suse.de>,
27406 Joseph Myers <joseph@codesourcery.com>
27407
27408 [BZ #13658]
0671f479 27409 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
27410 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27411 * sysdeps/i386/fpu/branred.c: Likewise.
27412 * sysdeps/i386/fpu/dosincos.c: Likewise.
27413 * sysdeps/i386/fpu/mpa.c: Likewise.
27414 * sysdeps/i386/fpu/s_cos.S: Likewise.
27415 * sysdeps/i386/fpu/s_sin.S: Likewise.
27416 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27417 * sysdeps/i386/fpu/sincos32.c: Likewise.
27418
27419 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27420 Define.
27421 (libc_feupdateenv_53bit): Define.
27422 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27423 Define.
27424 (libc_feupdateenv_53bit): Define.
27425
27426 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27427 53 bit (without extend i386 double precision).
27428
27429 * math/libm-test.inc (sincos_test): Add tests for large input.
27430 (sin): Likewise.
27431 (cos): Likewise.
27432
27433 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27434
9cad04ea
AS
274352012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27436
27437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27438
f7062b9a
DM
274392012-03-15 David S. Miller <davem@davemloft.net>
27440
27441 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27442 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27443 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27444 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
27456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27457 file.
f7062b9a 27458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
27459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27460 file.
f7062b9a 27461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
27462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27463 file.
f7062b9a 27464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
27465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27466 file.
f7062b9a
DM
27467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27468 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27469 fmin/fmax sysdep routines.
27470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27471
7bd951ff
DM
274722012-03-14 David S. Miller <davem@davemloft.net>
27473
559398ab
DM
27474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27475 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27476 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27477 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27478 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27479 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27480 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27481 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27483 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27484 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27485 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27486 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27488 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27491 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27492 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27493 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27494 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27495 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27496 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27497 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27498 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27499 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27500 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27501 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27502 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27503 routines.
27504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27505 file.
559398ab 27506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
27507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27508 file.
559398ab 27509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
27510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27511 file.
559398ab 27512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
27513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27514 file.
559398ab 27515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
27516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27517 file.
559398ab 27518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
27519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27520 file.
27521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27522 file.
27523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27524 file.
27525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27526 file.
27527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27528 New file.
27529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27530 file.
27531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27532 file.
559398ab 27533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
27534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27535 file.
559398ab 27536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27538 file.
559398ab 27539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
27540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27541 file.
559398ab 27542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
27543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27544 VIS3 routines.
559398ab
DM
27545
27546 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27547 New file.
27548
5a1c1e32
DM
27549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27550
eae47a36
DM
27551 * sysdeps/sparc/configure.in: New file.
27552 * sysdeps/sparc/configure: Generate.
27553 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27554 * configure: Regenerate.
27555 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27556 * config.make.in (have-as-vis3): New.
27557 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27558 available use -Av9d instead of -Av9a.
27559 * sysdeps/sparc/sparc64/Makefile: Likewise.
27560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
27561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27562 New file.
27563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27564 file.
27565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27566 New file.
27567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27568 file.
eae47a36
DM
27569 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27570 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27571 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27572 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27573 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27574
c0c83bc8
DM
27575 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27576 fzeros/fnegs to load 0x80000000 into a float register instead of
27577 using the stack.
7bd951ff
DM
27578 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27579
bd951ccb
JM
275802012-03-14 Joseph Myers <joseph@codesourcery.com>
27581
27582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27583 bits/syscall.h.
27584 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27585 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27586 ($(inst_includedir)/bits/syscall.h): Remove rule.
27587 ($(objpfx)bits/syscall.d): Include instead of
27588 $(objpfx)syscall-list.d.
27589 (generated): Change syscall-list.h and syscall-list.d to
27590 bits/syscall.h and bits/syscall.d.
27591
bb4e6db2
RM
275922012-03-14 Roland McGrath <roland@hack.frob.com>
27593
27594 [BZ #13846]
27595 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27596
aa4a2ae1
JM
275972012-03-14 Joseph Myers <joseph@codesourcery.com>
27598
e456826d
JM
27599 [BZ #13841]
27600 * math/s_csqrt.c: Include <float.h>.
27601 (__csqrt): Scale large or subnormal inputs.
27602 * math/s_csqrtf.c: Likewise.
27603 * math/s_csqrtl.c: Likewise.
27604 * math/libm-test.inc (csqrt_test): Add more tests.
27605 * sysdeps/i386/fpu/libm-test-ulps: Update.
27606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27607
aa4a2ae1
JM
27608 [BZ #13840]
27609 * math/libm-test.inc (hypot_test): Add more tests.
27610
7c10fd35
DM
276112012-03-13 David S. Miller <davem@davemloft.net>
27612
27613 [BZ #13840]
27614 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27615 double-precision for the calculation instead of scaling.
27616
f453b98b
JM
276172012-03-13 Joseph Myers <joseph@codesourcery.com>
27618
27619 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27620 manipulate bits before adding and subtracting TWO52[sx].
27621 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27622 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27623 Likewise.
27624 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27625
09a3453f
DM
276262012-03-13 David S. Miller <davem@davemloft.net>
27627
8e59da90
DM
27628 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27629 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27630 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27631 rtld-global-offsets.h
27632 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27633
2a8ab7f2
DM
27634 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27635 large parameters.
27636
10f62770
DM
27637 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27638
5f0bdb18
DM
27639 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27640 'err' in the ifdef scope in which it is actually used.
27641
09a3453f
DM
27642 * nss/nss_db/db-init.c: Include string.h
27643
b4b2eb5e
DM
276442012-03-12 David S. Miller <davem@davemloft.net>
27645
98bb2f1c
DM
27646 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27647 masking out of the most significant byte of random value used.
27648 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27649 Fix coding style in previous change.
27650
b4b2eb5e
DM
27651 * sysdeps/unix/sysv/linux/kernel-features.h
27652 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27653 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27654 expression.
27655 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27656 later.
27657
6e226b09
DM
276582012-03-11 David S. Miller <davem@davemloft.net>
27659
a1bcbd40
DM
27660 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27661 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27662 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27663 for 'resultvar' otherwise things get truncated on 64-bit.
27664
cb9d6174
DM
27665 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27666 Fix masking out of the most significant byte of random value used.
27667
6e226b09
DM
27668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27669
058c132d
AS
276702012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27671
27672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27673
2d2cd515
DM
276742012-03-09 David S. Miller <davem@davemloft.net>
27675
27676 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27677 variables with appropriate CPP guards.
27678 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27679 frame pointer, not the stack pointer. Correct layout comments. Fix test
27680 on resulting framesize and the management of the outregs buffer for pltexit.
27681 Preserve floating point return values across _dl_call_pltexit call.
27682 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27683 framesize and the management of the outregs buffer for pltexit.
27684 Preserve floating point return values across _dl_call_pltexit
27685 call.
27686 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27687 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27688 (print_exit): Fix format string for return register value.
27689
9a07f9d0
JM
276902012-03-10 Joseph Myers <joseph@codesourcery.com>
27691
27692 * sunrpc/Makefile (others): Add rpcgen.
27693 ($(objpfx)rpcgen): Remove special build rule and dependency on
27694 libc.
27695 * sunrpc/rpcgen.c: New file.
27696
547b5e30
PE
276972012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27698
c524201a
PE
27699 [BZ #13673]
27700 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27701 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27702 * sysdeps/i386/crti.S: Likewise.
27703 * sysdeps/i386/crtn.S: Likewise.
27704 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27705 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27706 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27707 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27708 * sysdeps/sh/crti.S: Likewise.
27709 * sysdeps/sh/crtn.S: Likewise.
27710 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27711
7b6235f2
PE
27712 [BZ #13673]
27713 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27714 with URL.
27715 * locale/programs/locfile-kw.gperf: Likewise.
27716 * locale/programs/charmap-kw.h: Regenerated.
27717 * locale/programs/locfile-kw.h: Likewise.
27718
547b5e30
PE
27719 [BZ #13673]
27720 * intl/plural.y: Replace FSF snail mail address with URL.
27721 * intl/plural.c: Regenerated.
27722
5f0a5dae
RH
277232012-03-09 Richard Henderson <rth@twiddle.net>
27724
27725 * include/math_private.h: Remove file.
27726 * math/math_private.h: Move file ...
27727 * sysdeps/generic/math_private.h: ... here.
27728
b8c03620
RH
27729 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27730 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27731 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27732
4e234f5d 27733 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
27734 and <math_private.h>.
27735 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27736 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27737 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27738 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27739 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27740 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27741 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27742 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27743 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27744 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27745 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27746 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27747 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27748 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27749 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27750 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27751 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27752 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27753 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27754 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27756 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27757 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27758 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27759 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27760 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27761 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27762 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27763 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27764 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27765 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27766 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27767 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27768 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27769 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27770 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27771 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27772 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27773 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27774 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27775 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27776 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27777 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27778 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27779 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27780 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27781 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27782 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27783 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27784 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27785 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27786 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27787 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27788 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27789 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27790 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27791 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27792 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27793 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27794 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27795 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27796 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27797 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27798 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27799 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27800 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27801 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27802 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27803 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27804 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27805 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27806 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27807 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27808 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27809 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27810 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27811 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27812 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27813 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27814 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27815 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27816 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27817 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27818 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27819 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27820 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27821 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27822 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27823 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27824 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27825 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27826 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27827 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27828 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27829 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27830 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27831 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27832 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27833 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27834 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27835 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27836 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27837 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27838 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27839 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27840 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27841 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27842 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27843 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27844 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27845 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27846 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27847 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27848 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27849 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27850 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27851 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27852 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27853 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27854 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27855 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27856 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27857 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27858 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27859 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27860 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27861 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27862 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27863 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27864 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27865 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27866 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27867 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27868 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27869 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27870 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27871 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27872 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27873 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27874 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27875 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27876 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27877 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27878 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27879 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27880 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27881 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27882 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27883 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27884 * sysdeps/ieee754/k_standard.c: Likewise.
27885 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27886 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27887 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27888 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27889 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27890 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27891 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27892 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27893 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27894 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27895 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27896 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27897 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27898 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27899 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27900 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27901 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27902 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27903 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27904 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27905 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27906 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27907 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27908 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27909 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27910 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27911 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27912 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27913 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27914 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27915 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27916 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27917 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27918 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27919 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27920 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27921 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27922 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27923 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27924 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27925 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27926 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27927 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27928 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27929 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27930 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27931 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27932 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27933 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27934 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27935 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27936 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27937 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27938 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27939 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27940 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27941 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27942 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27943 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27944 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27945 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27946 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27947 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27948 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27949 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27950 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27951 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27952 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27953 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27954 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27955 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27956 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27957 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27958 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27959 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27960 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27961 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27962 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27963 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27964 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27965 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27966 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27967 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27968 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27969 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27970 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27971 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27972 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27973 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27974 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27975 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27976 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27977 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27978 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27979 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27980 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27981 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27982 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27983 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27984 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27985 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27986 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27987 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27988 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27989 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27990 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27991 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27992 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27993 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27994 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27995 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27996 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27997 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27998 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27999 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28000 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28001 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28002 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28003 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28004 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28005 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28006 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28007 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28008 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28009 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28010 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28011 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28012 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28013 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28014 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28015 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28016 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28017 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28018 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28019 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28020 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28021 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28022 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28023 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28024 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28025 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28026 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28027 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28028 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28029 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28030 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28031 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28032 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28033 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28034 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28035 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28036 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28037 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28038 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28039 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28040 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28041 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28042 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28043 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28044 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28045 * sysdeps/ieee754/s_lib_version.c: Likewise.
28046 * sysdeps/ieee754/s_matherr.c: Likewise.
28047 * sysdeps/ieee754/s_signgam.c: Likewise.
28048 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28049 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28050 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28051 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28052 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28053 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28054 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28055 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28056 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28057 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28058 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28059 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28060 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28061 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28062 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28063 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28064 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28065 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28066 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28067 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28068 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 28069
1991fa03
JM
280702012-03-09 Joseph Myers <joseph@codesourcery.com>
28071
28072 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28073 * sunrpc/rpc_main.c: Likewise.
28074 * sunrpc/rpc_svcout.c: Likewise.
28075
60d6f5a6
DM
280762012-03-09 David S. Miller <davem@davemloft.net>
28077
28078 * include/math_private.h: New file.
28079
4962050e
JM
280802012-03-09 Joseph Myers <joseph@codesourcery.com>
28081
02a6f887
JM
28082 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28083 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28084 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28085 from <bits/socket_type.h>.
28086 (enum __socket_type): Don't define here.
28087 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28089 bits/socket_type.h.
28090
c6e013c1
JM
28091 [BZ #13566]
28092 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28093 checking __USE_GNU.
28094
4962050e
JM
28095 * Makerules ($(inst_includedir)/%.h): New rule.
28096 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28097 (install-others): Remove variable setting.
28098 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28099
38842f45
RH
281002012-03-08 Richard Henderson <rth@twiddle.net>
28101
67bb6da6
RH
28102 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28103 from macro to inline function; merge with the
28104 !__LIBC_INTERNAL_MATH_INLINES version.
28105 (__ieee754_sqrtf): Likewise.
28106
15194b4b
RH
28107 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28108 to inline function.
28109 (__rintf, __floor, __floorf): Likewise.
28110
64e21ede
RH
28111 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28112 macro to inline function.
28113 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28114
38842f45
RH
28115 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28116 not <math/math_private.h>.
28117
c64bf5fe
DM
281182012-03-08 David S. Miller <davem@davemloft.net>
28119
28120 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28121 copyright year.
28122 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28123
82d86f28
TS
281242012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28125
28126 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28127 normalization.
28128 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28129 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28130
aea5d727
UD
281312012-03-08 Ulrich Drepper <drepper@gmail.com>
28132
28133 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28134 be defined individually, they must be defined as a block. Define
28135 S for printing a string instead of hidint the different by using a
28136 macro for adding the 'l'.
28137 * stdio-common/tst-fphex-wide.c: Adjust.
28138
70bca0a3
MP
281392012-03-07 Marek Polacek <polacek@redhat.com>
28140
28141 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28142
65b81130
MP
281432012-03-08 Marek Polacek <polacek@redhat.com>
28144
28145 [BZ #13806]
28146 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28147 * stdio-common/tst-fphex.c: Define a few macros to make the
28148 test reusable. Use them.
28149 * stdio-common/tst-fphex-wide.c: New file.
28150
07037eeb
JM
281512012-03-08 Joseph Myers <joseph@codesourcery.com>
28152
a7a93d50
JM
28153 [BZ #6911]
28154 * manual/macros.texi (gnusystems): New macro.
28155 (nongnusystems): Likewise.
28156 (gnulinuxhurdsystems): Likewise.
28157 (gnuhurdsystems): Likewise..
28158 (gnulinuxsystems): Likewise.
28159 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28160 variants of the GNU system, not "GNU system".
28161 * manual/conf.texi: Likewise.
28162 * manual/errno.texi: Likewise. Update example of errno macro
28163 expansion.
28164 * manual/filesys.texi: Likewise.
28165 (getumask): Document as specific to GNU/Hurd.
28166 * manual/install.texi: Likewise. Reword some references to
28167 GNU/Linux.
28168 * manual/intro.texi: Likewise.
28169 * manual/io.texi: Likewise.
28170 (File Name Portability): Detail which constraints are inapplicable
28171 to all GNU systems and which are only inapplicable to GNU/Hurd.
28172 * manual/job.texi: Likewise.
28173 * manual/llio.texi: Likewise.
28174 (O_NOCTTY): Document as present on GNU/Linux.
28175 * manual/maint.texi: Likewise.
28176 * manual/memory.texi: Likewise.
28177 * manual/pattern.texi: Likewise.
28178 * manual/pipe.texi: Likewise.
28179 * manual/process.texi: Likewise.
28180 * manual/resource.texi: Likewise.
28181 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28182 child on GNU/Hurd.
28183 * manual/setjmp.texi: Likewise.
28184 * manual/signal.texi: Likewise.
28185 * manual/startup.texi: Likewise.
28186 * manual/stdio.texi: Likewise.
28187 * manual/terminal.texi: Likewise.
28188 (ONLCR): Document as POSIX.
28189 (OXTABS): Document availability on GNU/Linux as XTABS.
28190 (ONOEOT): Document availability separately from other bits.
28191 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28192 * manual/time.texi: Likewise.
28193 * manual/users.texi: Likewise.
28194 * INSTALL: Regenerated.
28195 * sysdeps/gnu/errlist.c: Regenerated.
28196
07037eeb
JM
28197 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28198 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28199 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28200 puts.
28201 * configure: Regenerated.
28202
d1d3431a
JM
282032012-03-07 Joseph Myers <joseph@codesourcery.com>
28204
af6a1e37
JM
28205 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28206 default includes instead of AC_HEADER_CHECK.
28207 * sysdeps/i386/configure: Regenerated.
28208
d1d3431a
JM
28209 [BZ #10716]
28210 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28211 * math/s_cacoshf.c (__cacoshf): Likewise.
28212 * math/s_cacoshl.c (__cacoshl): Likewise.
28213 * math/s_casinh.c (__casinh): Set signs of result from argument.
28214 * math/s_casinhf.c (__casinhf): Likewise.
28215 * math/s_casinhl.c (__casinhl): Likewise.
28216 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28217 (casinh_test): Add more tests.
28218 * sysdeps/i386/fpu/libm-test-ulps: Update.
28219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28220
482ff4da
UD
282212012-03-07 Ulrich Drepper <drepper@gmail.com>
28222
872fda05
UD
28223 * po/zh_TW.po: Update from translation team.
28224
a4300c7a
UD
28225 * login/Makefile (distribute): Remove variable.
28226 * catgets/Makefile: Likewise.
28227 * mach/Makefile: Likewise.
28228 * malloc/Makefile: Likewise.
28229 * misc/Makefile: Likewise.
28230 * iconv/Makefile: Likewise.
28231 * nscd/Makefile: Likewise.
28232 * hurd/Makefile: Likewise.
28233 * manual/Makefile: Likewise.
28234 * locale/Makefile: Likewise.
28235 * intl/Makefile: Likewise.
28236 * conform/Makefile: Likewise.
28237 * nss/Makefile: Likewise.
28238 * time/Makefile: Likewise.
28239 * soft-fp/Makefile: Likewise.
28240 * dirent/Makefile: Likewise.
28241 * gmon/Makefile: Likewise.
28242 * po/Makefile: Likewise.
28243 * rt/Makefile: Likewise.
28244 * socket/Makefile: Likewise.
28245 * math/Makefile: Likewise.
28246 * signal/Makefile: Likewise.
28247 * debug/Makefile: Likewise.
28248 * elf/Makefile: Likewise.
28249 * timezone/Makefile: Likewise.
28250 * stdlib/Makefile: Likewise.
28251 * iconvdata/Makefile: Likewise.
28252 * sunrpc/Makefile: Likewise.
28253 * io/Makefile: Likewise.
28254 * argp/Makefile: Likewise.
28255 * inet/Makefile: Likewise.
28256 * hesiod/Makefile: Likewise.
28257 * grp/Makefile: Likewise.
28258 * csu/Makefile: Likewise.
28259 * wctype/Makefile: Likewise.
28260 * crypt/Makefile: Likewise.
28261 * libio/Makefile: Likewise.
28262 * string/Makefile: Likewise.
28263 * nis/Makefile: Likewise.
28264 * resolv/Makefile: Likewise.
28265 * stdio-common/Makefile: Likewise.
28266 * wcsmbs/Makefile: Likewise.
28267 * dlfcn/Makefile: Likewise.
28268 * posix/Makefile: Likewise.
28269
3b7c4e74 28270 [BZ #6959]
482ff4da
UD
28271 * timezone/Makefile: Don't install timezone files, just the programs
28272 and scripts.
28273
f72ed77d
UD
282742012-03-06 Ulrich Drepper <drepper@gmail.com>
28275
a000466f
UD
28276 * nss/databases.def: Add missing gshadow entry.
28277
f72ed77d
UD
28278 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28279
a53b7a4e
MP
282802012-03-06 Marek Polacek <polacek@redhat.com>
28281
28282 [BZ #13726]
28283 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28284 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28285 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28286 * stdio-common/tst-long-dbl-fphex.c: New file.
28287
e9258400
DM
282882012-03-06 David S. Miller <davem@davemloft.net>
28289
28290 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28291 (set_obp_int): New function.
28292 (get_obp_int): New function.
28293 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
28294 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28295 Avoid unused variable warnings on 'val' and use builtin_expect.
28296 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28297 __builtin_expect.
e9258400
DM
28298 (INLINE_CLONE_SYSCALL): Likewise.
28299
3bd2c723
DM
283002012-03-05 David S. Miller <davem@davemloft.net>
28301
28302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28303
bbb78d03
AS
283042012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28305
884c5db4
AS
28306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28307
bbb78d03
AS
28308 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28309 only for |x| >= 40.
28310 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28311
1c9f702a 283122012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
28313
28314 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28315 Replace gettimeofday with __vdso_gettimeofday.
28316
7be16f82
RM
28317 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28318 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28319 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
28320
28321 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28322 time with __vdso_time.
28323
ed58a00f
JM
283242012-03-05 Joseph Myers <joseph@codesourcery.com>
28325
28326 * manual/lang.texi (size_t): Note types to which size_t may be
28327 equivalent with the GNU C Library, but do not describe when
28328 differences between them are significant.
28329
30ee4ced
AJ
283302012-03-05 Andreas Jaeger <aj@suse.de>
28331
28332 * sysdeps/i386/fpu/libm-test-ulps: Update.
28333
b7cd39e8
JM
283342012-03-05 Joseph Myers <joseph@codesourcery.com>
28335
28336 [BZ #3976]
28337 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28338 (__ieee754_pow): Save and restore rounding mode and use
28339 round-to-nearest for main computations.
28340 * math/libm-test.inc (pow_test_tonearest): New function.
28341 (pow_test_towardzero): Likewise.
28342 (pow_test_downward): Likewise.
28343 (pow_test_upward): Likewise.
28344 (main): Call the new functions.
28345 * sysdeps/i386/fpu/libm-test-ulps: Update.
28346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
28347
28348 [BZ #3976]
28349 * math/libm-test.inc (cosh_test_tonearest): New function.
28350 (cosh_test_towardzero): Likewise.
28351 (cosh_test_downward): Likewise.
28352 (cosh_test_upward): Likewise.
28353 (sinh_test_tonearest): Likewise.
28354 (sinh_test_towardzero): Likewise.
28355 (sinh_test_downward): Likewise.
28356 (sinh_test_upward): Likewise.
28357 (main): Call the new functions.
28358 * sysdeps/i386/fpu/libm-test-ulps: Update.
28359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28360
6c6a98c9
TV
283612012-03-05 Tom de Vries <tom@codesourcery.com>
28362
28363 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28364 default stack guard is set in last bytes.
28365 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28366
21bb2d2e 283672012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 28368
21bb2d2e 28369 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 28370
21bb2d2e
AJ
28371 [BZ #13656]
28372 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28373 possibly allocate from heap instead of stack.
28374 * stdio-common/bug-vfprintf-nargs.c: New file.
28375 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 28376
c6922934
AS
283772012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28378
28379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28380
bc957d53
MP
283812012-03-03 Marek Polacek <polacek@redhat.com>
28382
28383 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28384 * math/math_private.h: Likewise.
28385 * stdlib/tst-strtod.c: Likewise.
28386 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28387 * sysdeps/x86_64/bits/atomic.h: Likewise.
28388
6358490d
DM
283892012-03-02 David S. Miller <davem@davemloft.net>
28390
28391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28395 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28396 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28397 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28398 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28399
01ae168d
RM
284002012-03-02 Roland McGrath <roland@hack.frob.com>
28401
d9a17c07
RM
28402 [BZ #13792]
28403 * manual/examples/README: New file, says the example source files
28404 can be used under GPL>=2.
28405 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28406 line containing just "*/".
28407 * manual/examples/add.c: Add copyright header (GPL>=2).
28408 * manual/examples/argp-ex1.c: Likewise.
28409 * manual/examples/argp-ex2.c: Likewise.
28410 * manual/examples/argp-ex3.c: Likewise.
28411 * manual/examples/argp-ex4.c: Likewise.
28412 * manual/examples/atexit.c: Likewise.
28413 * manual/examples/db.c: Likewise.
28414 * manual/examples/dir.c: Likewise.
28415 * manual/examples/dir2.c: Likewise.
28416 * manual/examples/execinfo.c: Likewise.
28417 * manual/examples/filecli.c: Likewise.
28418 * manual/examples/filesrv.c: Likewise.
28419 * manual/examples/fmtmsgexpl.c: Likewise.
28420 * manual/examples/genpass.c: Likewise.
28421 * manual/examples/inetcli.c: Likewise.
28422 * manual/examples/inetsrv.c: Likewise.
28423 * manual/examples/isockad.c: Likewise.
28424 * manual/examples/longopt.c: Likewise.
28425 * manual/examples/memopen.c: Likewise.
28426 * manual/examples/memstrm.c: Likewise.
28427 * manual/examples/mkfsock.c: Likewise.
28428 * manual/examples/mkisock.c: Likewise.
28429 * manual/examples/mygetpass.c: Likewise.
28430 * manual/examples/pipe.c: Likewise.
28431 * manual/examples/popen.c: Likewise.
28432 * manual/examples/rprintf.c: Likewise.
28433 * manual/examples/search.c: Likewise.
28434 * manual/examples/select.c: Likewise.
28435 * manual/examples/setjmp.c: Likewise.
28436 * manual/examples/sigh1.c: Likewise.
28437 * manual/examples/sigusr.c: Likewise.
28438 * manual/examples/stpcpy.c: Likewise.
28439 * manual/examples/strdupa.c: Likewise.
28440 * manual/examples/strftim.c: Likewise.
28441 * manual/examples/strncat.c: Likewise.
28442 * manual/examples/subopt.c: Likewise.
28443 * manual/examples/swapcontext.c: Likewise.
28444 * manual/examples/termios.c: Likewise.
28445 * manual/examples/testopt.c: Likewise.
28446 * manual/examples/testpass.c: Likewise.
28447 * manual/examples/timeval_subtract.c: Likewise.
28448
01ae168d
RM
28449 [BZ #13792]
28450 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28451 function to ...
28452 * manual/timeval_subtract.c.texi: ... here, new file.
28453
49efa33d
DM
284542012-03-02 David S. Miller <davem@davemloft.net>
28455
28456 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28457
28afd92d
JM
284582012-03-02 Joseph Myers <joseph@codesourcery.com>
28459
804360ed
JM
28460 [BZ #3976]
28461 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28462 (__sin): Save and restore rounding mode and use round-to-nearest
28463 for all computations.
28464 (__cos): Save and restore rounding mode and use round-to-nearest
28465 for all computations.
28466 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28467 <fenv.h>.
28468 (tan): Save and restore rounding mode and use round-to-nearest for
28469 all computations.
28470 * math/libm-test.inc (cos_test_tonearest): New function.
28471 (cos_test_towardzero): Likewise.
28472 (cos_test_downward): Likewise.
28473 (cos_test_upward): Likewise.
28474 (sin_test_tonearest): Likewise.
28475 (sin_test_towardzero): Likewise.
28476 (sin_test_downward): Likewise.
28477 (sin_test_upward): Likewise.
28478 (tan_test_tonearest): Likewise.
28479 (tan_test_towardzero): Likewise.
28480 (tan_test_downward): Likewise.
28481 (tan_test_upward): Likewise.
28482 (main): Call the new functions.
28483 * sysdeps/i386/fpu/libm-test-ulps: Update.
28484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28485
a6d06d7b
JM
28486 [BZ #10135]
28487 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28488 small n, then large n, before computing and testing k+n.
28489 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28490 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28491 Likewise.
28492 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28493 Likewise.
28494 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28495 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28496 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28497 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28498 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28499 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28500 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28501 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28502 * math/libm-test.inc (scalbn_test): Add more tests.
28503 (scalbln_test): Likewise.
28504
07e12bb3
JM
28505 * manual/filesys.texi (mode_t): Describe constraints on size and
28506 signedness, not exact equivalence to a particular type.
28507 (ino_t): Likewise.
28508 (ino64_t): Likewise.
28509 (dev_t): Likewise.
28510 (nlink_t): Likewise.
28511 (blkcnt_t): Likewise.
28512 (blkcnt64_t): Likewise.
28513 * manual/llio.texi (off_t): Likewise.
28514
28afd92d
JM
28515 [BZ #3976]
28516 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28517 (__ieee754_exp): Save and restore rounding mode and use
28518 round-to-nearest for all computations.
28519 * math/libm-test.inc (exp_test_tonearest): New function.
28520 (exp_test_towardzero): Likewise.
28521 (exp_test_downward): Likewise.
28522 (exp_test_upward): Likewise.
28523 (main): Call the new functions.
28524 * sysdeps/i386/fpu/libm-test-ulps: Update.
28525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28526
b1eeb65d
CD
285272012-03-01 Chris Demetriou <cgd@google.com>
28528
28529 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28530 have predictable order.
28531
53362a4b
DM
285322012-03-01 David S. Miller <davem@davemloft.net>
28533
3c969083
DM
28534 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28535
759707de
DM
28536 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28537 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28538 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28539 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28540
dfdb8ff2
DM
28541 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28542 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28543 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28545 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28546 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28547 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28548 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28549 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28550
ead89f96
DM
28551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28552
7f66bd07
DM
28553 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28554 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28555 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28556
53362a4b
DM
28557 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28558 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28559 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28560 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28561 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28562 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28563 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28564 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28565 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28566 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28567 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28568 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28569 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28570 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28571 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28572 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28573 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28574 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28575 * sysdeps/sparc/elf/configure: Regenerated.
28576
7b1902cb
JM
285772012-03-01 Joseph Myers <joseph@codesourcery.com>
28578
bec039bc
JM
28579 * configure.in (AS, LD): Require binutils 2.20 or later.
28580 * configure: Regenerated.
28581 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28582 as required minimum version.
28583 * INSTALL: Regenerated.
28584
7b1902cb
JM
28585 [BZ #2541]
28586 [BZ #4108]
28587 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28588 before squaring exponent.
28589 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28590 bottom long double and 27 bits of top long double before squaring
28591 exponent.
28592 * math/libm-test.inc (erfc_test): Add more tests.
28593 * sysdeps/i386/fpu/libm-test-ulps: Update.
28594 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28596
f775c276
KT
285972012-03-01 Kai Tietz <ktietz@redhat.com>
28598
28599 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28600 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28601 containing bit-fields.
28602 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28603 * soft-fp/single.h (_FP_UNION_S): Likewise.
28604 * soft-fp/double.h (_FP_UNION_D): Likewise.
28605
5b8a4d4a
JM
286062012-02-29 Joseph Myers <joseph@codesourcery.com>
28607
0bab47b6
JM
28608 [BZ #13786]
28609 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28610 not include ../strcmp.S.
28611 [USE_AS_STRNCASECMP_L]: Likewise.
28612 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28613 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28614 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28615 (__strncasecmp_l_ia32): Define as alias to
28616 __strncasecmp_l_nonascii.
28617
0fcad3e2
JM
28618 [BZ #5794]
28619 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28620 * sysdeps/i386/fpu/libm-test-ulps: Update.
28621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28622
5b8a4d4a
JM
28623 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28625
8fdceb2e
JL
286262012-02-29 Jeff Law <law@redhat.com>
28627
28628 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28629 out of bounds read.
28630
1f393a11
MP
286312012-02-29 Marek Polacek <polacek@redhat.com>
28632
28633 [BZ #13706]
28634 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28635 * elf/Makefile: Add rules to run tst-unused-dep.out.
28636
8847f037
DM
286372012-02-28 David S. Miller <davem@davemloft.net>
28638
28639 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28640 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28641 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28642 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28643 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28644 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28645
169d7f11
JM
286462012-02-29 Joseph Myers <joseph@codesourcery.com>
28647
28648 * math/libm-test.inc (llround_test): Move one test from
28649 lround_test. Use TEST_f_L in moved test.
28650 (lround_test): Move misplaced test to llround_test. Add testcase
28651 from bug 2561.
28652
39adf059
UD
286532012-02-28 Ulrich Drepper <drepper@gmail.com>
28654
28655 * sysdeps/x86_64/fpu/e_expf.S: New file.
28656 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28657
71b5d1c5
SB
286582012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28659
28660 [BZ #13637]
28661 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28662 of remain_len that may cause incomplete multi-byte character and
28663 false match.
28664 * posix/bug-regex33.c: New file.
28665 * posix/Makefile (tests): Add bug-regex33.
28666
1f77f049
JM
286672012-02-28 Joseph Myers <joseph@codesourcery.com>
28668
28669 * manual/macros.texi: New file.
28670 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28671 * manual/libc.texinfo: Include macros.texi.
28672 * manual/creatute.texi: Likewise.
28673 * manual/install.texi: Likewise.
28674 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28675 @glibcadj{} in references to the GNU C Library.
28676 * manual/charset.texi: Likewise.
28677 * manual/conf.texi: Likewise.
28678 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28679 when not using those macros.
28680 * manual/creature.texi: Likewise.
28681 * manual/crypt.texi: Likewise.
28682 * manual/errno.texi: Likewise.
28683 * manual/filesys.texi: Likewise.
28684 * manual/header.texi: Likewise.
28685 * manual/install.texi: Likewise.
28686 * manual/intro.texi: Likewise.
28687 * manual/io.texi: Likewise.
28688 * manual/job.texi: Likewise.
28689 * manual/lang.texi: Likewise.
28690 * manual/libc.texiinfo: Likewise.
28691 * manual/llio.texi: Likewise.
28692 * manual/locale.texi: Likewise.
28693 * manual/maint.texi: Likewise.
28694 * manual/math.texi: Likewise.
28695 * manual/memory.texi: Likewise.
28696 * manual/message.texi: Likewise.
28697 * manual/nss.texi: Likewise.
28698 * manual/pattern.texi: Likewise.
28699 * manual/process.texi: Likewise.
28700 * manual/resource.texi: Likewise.
28701 * manual/search.texi: Likewise.
28702 * manual/setjmp.texi: Likewise.
28703 * manual/signal.texi: Likewise.
28704 * manual/socket.texi: Likewise.
28705 * manual/startup.texi: Likewise.
28706 * manual/stdio.texi: Likewise.
28707 * manual/string.texi: Likewise.
28708 * manual/sysinfo.texi: Likewise.
28709 * manual/syslog.texi: Likewise.
28710 * manual/terminal.texi: Likewise.
28711 * manual/time.texi: Likewise.
28712 * manual/users.texi: Likewise.
28713 * INSTALL: Regenerated.
28714 * NOTES: Regenerated.
d40c5d54 28715 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 28716
450bf206
AS
287172012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28718
28719 * include/dirent.h: Include <dirstream.h> before
28720 <dirent/dirent.h>.
28721
741a235b
DM
287222012-02-28 David S. Miller <davem@davemloft.net>
28723
28724 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28725 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28726 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28727 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28728
d6b5aa58
DM
287292012-02-27 David S. Miller <davem@davemloft.net>
28730
1aff59a3
DM
28731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28733 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28734 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28735
d6b5aa58
DM
28736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28737 frame pointer instead of stack pointer relative arg slot.
28738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28739 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28740 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28741
433f48bf
CD
287422012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28743
28744 [BZ #3992]
28745 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28746
d674b76d
DM
287472012-02-27 David S. Miller <davem@davemloft.net>
28748
28749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28753 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28754 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28755 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28756 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28757
0e7727f7
JM
287582012-02-27 Joseph Myers <joseph@codesourcery.com>
28759
28760 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28761 later. Allow versions 5-9.
43be4ca2 28762 * configure: Regenerated.
0e7727f7
JM
28763 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28764 required minimum version and 4.6 as recommended version. Do not
28765 mention bugs in GCC 2.7 and 2.8.
43be4ca2 28766 * INSTALL: Regenerated.
0e7727f7 28767
a78bc654
DM
287682012-02-27 David S. Miller <davem@davemloft.net>
28769
428d5830
DM
28770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28774 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28775 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28776 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28777 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28778
a78bc654
DM
28779 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28780 manipulate bits before adding and subtracting TWO112[sx].
28781 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28782
4579f81c
RM
287832012-02-27 Roland McGrath <roland@hack.frob.com>
28784
36c8acb4
RM
28785 [BZ #13775]
28786 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28787 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28788 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28789 being in POSIX, because they are in 1003.1-2008.
28790
84ad622b
RM
28791 * rt/tst-aio.c: Include <fcntl.h>.
28792 * rt/tst-aio7.c: Likewise.
28793 * rt/tst-aio64.c: Likewise.
28794
4579f81c
RM
28795 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28796
abd923db
JM
287972012-02-27 Joseph Myers <joseph@codesourcery.com>
28798
28799 * manual/install.texi (--with-headers): Describe headers as
28800 interface headers, not private headers.
28801 (Specific advice for GNU/Linux systems): Describe use of headers
28802 from "make headers_install", not private headers from older
28803 kernels.
43be4ca2 28804 * INSTALL: Regenerated.
abd923db
JM
28805 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28806 Change to 2.6.19.
28807 * sysdeps/unix/sysv/linux/configure: Regenerated.
28808
6664049b
JM
28809 * manual/llio.texi (fclean): Remove documentation.
28810
bb8b6697
JM
28811 * manual/Makefile (libc-texi-generated): New variable. Include
28812 version.texi.
28813 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28814 $(libc-texi-generated), not duplicated list of files.
28815 (version.texi, stamp-version): New rules.
28816 (realclean): Remove $(libc-texi-generated), not individual files
28817 from that list. Do not remove dir-add.texinfo.
28818 * manual/libc.texinfo: Comment out uses of edition numbers and
28819 references to printed manual. Remove last-updated dates.
28820 (EDITION): Comment out.
28821 (ISBN): Likewise.
28822 (VERSION, UPDATED): Remove.
28823 (version.texi): Include.
28824
12e5c3b9
AS
288252012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28826
28827 * sysdeps/posix/spawni.c: Include <signal.h>.
28828 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28829 * sysdeps/pthread/aio_fsync.c: Likewise.
28830
4efeffc1 288312012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 28832
ba63ba08
UD
28833 * conform/Makefile (tests): Run only when not cross-compiling and
28834 when fast-check is not defined.
28835
d94a4670
UD
28836 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28837 * conform/data/limits.h-data: Fixes for POSIX2008.
28838 * conform/run-conformtest.sh: Run all tests.
28839 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28840 headers.
28841 * include/bits/dlfcn.h: Likewise.
28842 * include/langinfo.h: Likewise.
28843 * include/monetary.h: Likewise.
28844 * include/sys/poll.h: Likewise.
28845
28846 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28847 for __USE_GNU.
28848 * posix/spawn.h: Define __need_sigset_t.
28849 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28850 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28851 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28852 to get sigevent_t only.
28853 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28854 only for __USE_GNU.
28855 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28856 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28857 process_vm_writev only for __USE_GNU.
28858 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
28859
28860 * conform/Makefile: For now ignore errors from run-conformtest.
28861 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28862 POSIX to avoid namespace pollution. Don't prepend headers.
28863 * conform/data/aio.h-data: Fixes for POSIX testing.
28864 * conform/data/fcntl.h-data: Likewise.
28865 * conform/data/glob.h-data: Likewise.
28866 * conform/data/grp.h-data: Likewise.
28867 * conform/data/pthread.h-data: Likewise.
28868 * conform/data/pwd.h-data: Likewise.
28869 * conform/data/signal.h-data: Likewise.
28870 * conform/data/spawn.h-data: Likewise.
28871 * conform/data/stdio.h-data: Likewise.
28872 * conform/data/stdlib.h-data: Likewise.
28873 * conform/data/stropts.h-data: Likewise.
28874 * conform/data/sys/mman.h-data: Likewise.
28875 * conform/data/sys/stat.h-data: Likewise.
28876 * conform/data/sys/types.h-data: Likewise.
28877 * conform/data/sys/wait.h-data: Likewise.
28878 * conform/data/time.h-data: Likewise.
28879 * conform/data/unistd.h-data: Likewise.
28880 * conform/data/utime.h-data: Likewise.
28881
28882 * io/sys/stat.h: fchmod was always in POSIX.
28883 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28884 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28885 * rt/aio.h: Define __need_timespec before including <time.h>.
28886 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28887 struct. Add forward declaration of pthread_attr_t and use it in
28888 sigevent.
28889 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28890 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28891 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28892 always remove CLK_TCK definition.
28893
c20105c3
AS
288942012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28895
28896 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28897
7a270350
UD
288982012-02-25 Ulrich Drepper <drepper@gmail.com>
28899
31341567
UD
28900 * conform/run-conformtest.sh: New file.
28901 * conform/Makefile: Run run-conformtest for tests.
28902 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28903 support.
28904
28905 * conform/data/uchar.h-data: New file.
28906 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28907 * conform/data/arpa/inet.h-data: Likewise.
28908 * conform/data/assert.h-data: Likewise.
28909 * conform/data/complex.h-data: Likewise.
28910 * conform/data/cpio.h-data: Likewise.
28911 * conform/data/ctype.h-data: Likewise.
28912 * conform/data/dirent.h-data: Likewise.
28913 * conform/data/dlfcn.h-data: Likewise.
28914 * conform/data/errno.h-data: Likewise.
28915 * conform/data/fcntl.h-data: Likewise.
28916 * conform/data/float.h-data: Likewise.
28917 * conform/data/fmtmsg.h-data: Likewise.
28918 * conform/data/fnmatch.h-data: Likewise.
28919 * conform/data/ftw.h-data: Likewise.
28920 * conform/data/glob.h-data: Likewise.
28921 * conform/data/grp.h-data: Likewise.
28922 * conform/data/iconv.h-data: Likewise.
28923 * conform/data/inttypes.h-data: Likewise.
28924 * conform/data/langinfo.h-data: Likewise.
28925 * conform/data/libgen.h-data: Likewise.
28926 * conform/data/limits.h-data: Likewise.
28927 * conform/data/locale.h-data: Likewise.
28928 * conform/data/math.h-data: Likewise.
28929 * conform/data/monetary.h-data: Likewise.
28930 * conform/data/mqueue.h-data: Likewise.
28931 * conform/data/ndbm.h-data: Likewise.
28932 * conform/data/net/if.h-data: Likewise.
28933 * conform/data/netdb.h-data: Likewise.
28934 * conform/data/netinet/in.h-data: Likewise.
28935 * conform/data/nl_types.h-data: Likewise.
28936 * conform/data/poll.h-data: Likewise.
28937 * conform/data/pthread.h-data: Likewise.
28938 * conform/data/pwd.h-data: Likewise.
28939 * conform/data/regex.h-data: Likewise.
28940 * conform/data/sched.h-data: Likewise.
28941 * conform/data/search.h-data: Likewise.
28942 * conform/data/semaphore.h-data: Likewise.
28943 * conform/data/setjmp.h-data: Likewise.
28944 * conform/data/signal.h-data: Likewise.
28945 * conform/data/spawn.h-data: Likewise.
28946 * conform/data/stdarg.h-data: Likewise.
28947 * conform/data/stdio.h-data: Likewise.
28948 * conform/data/stdlib.h-data: Likewise.
28949 * conform/data/string.h-data: Likewise.
28950 * conform/data/strings.h-data: Likewise.
28951 * conform/data/stropts.h-data: Likewise.
28952 * conform/data/sys/ipc.h-data: Likewise.
28953 * conform/data/sys/mman.h-data: Likewise.
28954 * conform/data/sys/msg.h-data: Likewise.
28955 * conform/data/sys/resource.h-data: Likewise.
28956 * conform/data/sys/select.h-data: Likewise.
28957 * conform/data/sys/sem.h-data: Likewise.
28958 * conform/data/sys/shm.h-data: Likewise.
28959 * conform/data/sys/socket.h-data: Likewise.
28960 * conform/data/sys/stat.h-data: Likewise.
28961 * conform/data/sys/statvfs.h-data: Likewise.
28962 * conform/data/sys/time.h-data: Likewise.
28963 * conform/data/sys/timeb.h-data: Likewise.
28964 * conform/data/sys/times.h-data: Likewise.
28965 * conform/data/sys/types.h-data: Likewise.
28966 * conform/data/sys/uio.h-data: Likewise.
28967 * conform/data/sys/un.h-data: Likewise.
28968 * conform/data/sys/utsname.h-data: Likewise.
28969 * conform/data/sys/wait.h-data: Likewise.
28970 * conform/data/syslog.h-data: Likewise.
28971 * conform/data/tar.h-data: Likewise.
28972 * conform/data/termios.h-data: Likewise.
28973 * conform/data/utime.h-data: Likewise.
28974 * conform/data/utmpx.h-data: Likewise.
28975 * conform/data/varargs.h-data: Likewise.
28976 * conform/data/wchar.h-data: Likewise.
28977 * conform/data/wctype.h-data: Likewise.
28978 * conform/data/wordexp.h-data: Likewise.
28979
28980 * include/stropts.h: New file.
28981 * include/uchar.h: New file.
28982 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28983 * include/assert.h: Likewise.
28984 * include/ctype.h: Likewise.
28985 * include/dirent.h: Likewise.
28986 * include/dlfcn.h: Likewise.
28987 * include/fcntl.h: Likewise.
28988 * include/fnmatch.h: Likewise.
28989 * include/glob.h: Likewise.
28990 * include/grp.h: Likewise.
28991 * include/libio.h: Likewise.
28992 * include/locale.h: Likewise.
28993 * include/math.h: Likewise.
28994 * include/net/if.h: Likewise.
28995 * include/netdb.h: Likewise.
28996 * include/netinet/in.h: Likewise.
28997 * include/pthread.h: Likewise.
28998 * include/pwd.h: Likewise.
28999 * include/regex.h: Likewise.
29000 * include/sched.h: Likewise.
29001 * include/search.h: Likewise.
29002 * include/setjmp.h: Likewise.
29003 * include/signal.h: Likewise.
29004 * include/stdio.h: Likewise.
29005 * include/stdlib.h: Likewise.
29006 * include/string.h: Likewise.
29007 * include/sys/cdefs.h: Likewise.
29008 * include/sys/mman.h: Likewise.
29009 * include/sys/msg.h: Likewise.
29010 * include/sys/resource.h: Likewise.
29011 * include/sys/select.h: Likewise.
29012 * include/sys/socket.h: Likewise.
29013 * include/sys/stat.h: Likewise.
29014 * include/sys/statvfs.h: Likewise.
29015 * include/sys/time.h: Likewise.
29016 * include/sys/times.h: Likewise.
29017 * include/sys/uio.h: Likewise.
29018 * include/sys/utsname.h: Likewise.
29019 * include/sys/wait.h: Likewise.
29020 * include/termios.h: Likewise.
29021 * include/time.h: Likewise.
29022 * include/ulimit.h: Likewise.
29023 * include/unistd.h: Likewise.
29024 * include/utime.h: Likewise.
29025 * include/wchar.h: Likewise.
29026 * include/wctype.h: Likewise.
29027 * include/wordexp.h: Likewise.
29028
29029 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29030
7a270350
UD
29031 * time/time.h: TIME_UTC must be a macro.
29032 Make timespec_get available for ISO C11 only as well.
29033
7724defc
UD
290342012-02-24 Ulrich Drepper <drepper@gmail.com>
29035
29036 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29037 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29038
6b1d1d46
JM
290392012-02-24 Joseph Myers <joseph@codesourcery.com>
29040
29041 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 29042
0f8bbd69
JM
290432012-02-24 Joseph Myers <joseph@codesourcery.com>
29044
29045 * manual/texinfo.tex: Update to version 2012-01-19.16.
29046
66ab80bc
JM
290472012-02-24 Joseph Myers <joseph@codesourcery.com>
29048
29049 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29050
74981cc5
RM
290512012-02-24 Roland McGrath <roland@hack.frob.com>
29052
ee968201
RM
29053 [BZ #13738]
29054 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29055 * manual/fdl-1.3.texi: New file.
29056 * manual/fdl-1.1.texi: File removed.
29057
74981cc5
RM
29058 [BZ #13738]
29059 * manual/libc.texinfo (FDL_VERSION): New @set.
29060 Use it for mention of FDL in cover text.
29061 (Documentation License): Use it in @include file name.
29062
7bb764bc
JM
290632012-02-22 Joseph Myers <joseph@codesourcery.com>
29064 Roland McGrath <roland@hack.frob.com>
29065
29066 [BZ #5461]
29067 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29068 not LONG_LONG_MAX and LONG_LONG_MIN.
29069 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29070 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29071 name.
29072 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29073
6cbeae47
JM
290742012-02-22 Joseph Myers <joseph@codesourcery.com>
29075
29076 [BZ #2547]
29077 [BZ #11365]
29078 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29079 manipulate bits before adding and subtracting TWO23[sx].
29080 * math/libm-test.inc (nearbyint_test): Add more tests.
29081
fe45ce09
JM
290822012-02-22 Joseph Myers <joseph@codesourcery.com>
29083
29084 [BZ #2548]
29085 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29086 bits before adding and subtracting TWO23[sx].
29087 * math/libm-test.inc (rint_test): Add more tests.
29088 (rint_test_tonearest): Likewise.
29089 (rint_test_towardzero): Likewise.
29090 (rint_test_downward): Likewise.
29091 (rint_test_upward: Likewise.
29092
ff3b3d82
JM
290932012-02-22 Joseph Myers <joseph@codesourcery.com>
29094
29095 [BZ #10110]
29096 * include/stdc-predef.h: New file. Extracted from features.h.
29097 * include/features.h: Include stdc-predef.h.
29098 * Makefile (headers): Add stdc-predef.h.
29099 * CONFORMANCE (Compiler limitations): Update.
29100
ef0aab35
JM
291012012-02-22 Joseph Myers <joseph@codesourcery.com>
29102
29103 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29104
58639409
DM
291052012-02-21 David S. Miller <davem@davemloft.net>
29106
29107 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29108 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29109
c0e70b25
DM
291102012-02-20 David S. Miller <davem@davemloft.net>
29111
29112 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29113 using a normal save/restore sequence, rather than allocating a
29114 dummy stack frame just to store a frame pointer and restore.
29115 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29116
fb06851d
JM
291172012-02-21 Joseph Myers <joseph@codesourcery.com>
29118
29119 * manual/install.texi: Fix stray word in line-wrapped comment.
29120
7a8b71c3
DM
291212012-02-20 David S. Miller <davem@davemloft.net>
29122
d510c123
DM
29123 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29124 both binutils and gcc support GOTDATA.
29125
0722d7c2
DM
29126 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29127 "rd %pc" in the PIC register setup sequences.
29128
3d2b3019
DM
29129 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29130 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29131 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29132 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29133 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29134 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29135 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29136 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29137 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29138 (SYSCALL_ERROR_HANDLER): Likewise.
29139 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29140 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29141 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29142 (SYSCALL_ERROR_HANDLER): Likewise.
29143
c80098a9
DM
29144 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29145 (HAVE_GCC_GOTDATA): New.
29146 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29147 relocation support in both binutils and gcc.
29148 * sysdeps/sparc/elf/configure: Regenerate.
29149
3a2545a0
DM
29150 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29151 * sysdeps/sparc/sparc32/elf/configure: Delete.
29152 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29153 * sysdeps/sparc/sparc64/elf/configure: Delete.
29154 * sysdeps/sparc/elf/configure.in: New file.
29155 * sysdeps/sparc/elf/configure: Generate.
29156
7a8b71c3
DM
29157 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29158 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29159 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29160 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29161 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29162
f1e86fca
JM
291632012-02-21 Joseph Myers <joseph@codesourcery.com>
29164
29165 * manual/install.texi: Do not mention specific glibc version
29166 numbers.
29167 * manual/libc.texinfo (VERSION, UPDATED): Update.
29168 (@copying): Use @copyright{} and range of years.
29169
0e7dfaef
JM
291702012-02-21 Joseph Myers <joseph@codesourcery.com>
29171
29172 [BZ #13695]
29173 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29174 [crti.S not in sysdirs] (generated): Do not append.
29175 [crti.S not in sysdirs] (omit-deps): Likewise.
29176 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29177 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29178 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29179 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29180 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29181 Likewise.
29182 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29183 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29184 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29185 * csu/defs.awk: Remove file.
29186 * sysdeps/generic/initfini.c: Likewise.
29187 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29188 variable.
29189 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29190 Likewise.
29191
599af3ca
JM
291922012-02-20 Joseph Myers <joseph@codesourcery.com>
29193
29194 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29195 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29196 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29197 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29198 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29199 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29200 <bits/epoll.h>.
29201 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29202 (__EPOLL_PACKED): Define to empty if not defined by
29203 <bits/epoll.h>.
29204 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29206 bits/epoll.h.
29207
0e499750
JM
292082012-02-20 Joseph Myers <joseph@codesourcery.com>
29209
29210 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29211 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29212 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29213 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29214 <bits/timerfd.h>.
29215 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29216 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29217 bits/timerfd.h.
29218
5ad91f6e
JM
292192012-02-20 Joseph Myers <joseph@codesourcery.com>
29220
29221 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29222 in C locale.
29223 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29224 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29225 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29227
06b99b02
AJ
292282012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29229
29230 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29231 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29232
7638c0fd
AS
292332012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29234
29235 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29236 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29237 defined.
29238 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29239 Likewise.
29240 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29241 entry for 2.16.
29242
92221550
AJ
292432012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29244
29245 * math/w_acos.c: Use non-signaling floating-point comparisons.
29246 * math/w_acosf.c: Likewise.
29247 * math/w_acosh.c: Likewise.
29248 * math/w_acoshf.c: Likewise.
29249 * math/w_acoshl.c: Likewise.
29250 * math/w_acosl.c: Likewise.
29251 * math/w_asin.c: Likewise.
29252 * math/w_asinf.c: Likewise.
29253 * math/w_asinl.c: Likewise.
29254 * math/w_atanh.c: Likewise.
29255 * math/w_atanhf.c: Likewise.
29256 * math/w_atanhl.c: Likewise.
29257 * math/w_exp2.c: Likewise.
29258 * math/w_exp2f.c: Likewise.
29259 * math/w_exp2l.c: Likewise.
29260 * math/w_j0.c: Likewise.
29261 * math/w_j0f.c: Likewise.
29262 * math/w_j0l.c: Likewise.
29263 * math/w_j1.c: Likewise.
29264 * math/w_j1f.c: Likewise.
29265 * math/w_j1l.c: Likewise.
29266 * math/w_jn.c: Likewise.
29267 * math/w_jnf.c: Likewise.
29268 * math/w_log.c: Likewise.
29269 * math/w_log10.c: Likewise.
29270 * math/w_log10f.c: Likewise.
29271 * math/w_log10l.c: Likewise.
29272 * math/w_log2.c: Likewise.
29273 * math/w_log2f.c: Likewise.
29274 * math/w_log2l.c: Likewise.
29275 * math/w_logf.c: Likewise.
29276 * math/w_logl.c: Likewise.
29277 * math/w_sqrt.c: Likewise.
29278 * math/w_sqrtf.c: Likewise.
29279 * math/w_sqrtl.c: Likewise.
29280 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29281 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29282 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29283 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29284 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29285
ebaf36eb
JM
292862012-02-19 Joseph Myers <joseph@codesourcery.com>
29287
29288 [BZ #9739]
29289 * manual/string.texi (strnlen): Use correct parameter name in
29290 equivalent expression.
29291
71c254a6
JM
292922012-02-19 Joseph Myers <joseph@codesourcery.com>
29293
29294 [BZ #11174]
29295 * manual/users.texi (seteuid): Consistently use neweuid for
29296 argument name.
29297
16d2c631
JM
292982012-02-19 Joseph Myers <joseph@codesourcery.com>
29299
29300 [BZ #13704]
29301 * manual/nss.texi (Services in the NSS configuration): Correct
29302 list of services in example configuration file.
29303
cd837b09
NB
293042012-02-19 Nick Bowler <nbowler@draconx.ca>
29305
29306 [BZ #11322]
29307 * manual/arith.texi: Remove statements about negative zero
29308 behaving identically to zero.
29309
02c4bbad
JM
293102012-02-18 Joseph Myers <joseph@codesourcery.com>
29311
29312 [BZ #5993]
29313 * manual/install.texi: Do not document upgrading from libc5.
29314
366842e7
JM
293152012-02-18 Joseph Myers <joseph@codesourcery.com>
29316
29317 [BZ #4596]
29318 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29319
dd54084d
DM
293202012-02-18 David S. Miller <davem@davemloft.net>
29321
29322 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29323 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29324 %o7 across the call.
29325 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29326 instead.
29327 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29328 SETUP_PIC_REG_LEAF.
29329 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29330 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29331 * sysdeps/sparc/crtn.S: Likewise.
29332
2bcc53a3
UD
293332012-02-17 Ulrich Drepper <drepper@gmail.com>
29334
29335 * aout/Makefile: Remove.
29336
09c093b5
RK
293372012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29338
29339 [BZ #13058]
29340 * manual/examples/argp-ex1.c (main): Format definition in GNU
29341 style.
29342 * manual/examples/argp-ex2.c (main): Likewise.
29343 * manual/examples/argp-ex3.c (main): Likewise.
29344 * manual/examples/argp-ex4.c (main): Likewise.
29345 * manual/examples/longopt.c (main): Use new-style prototype
29346 definition.
29347 * manual/examples/strncat.c (main): Specify return type and use
29348 (void) for arguments.
29349 * manual/examples/subopt.c (main): Use char **argv argument.
29350
2ee633a2
JM
293512012-02-17 Joseph Myers <joseph@codesourcery.com>
29352
29353 [BZ #5077]
29354 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29355 rounding modes.
29356
0520adde
FB
293572012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29358
29359 [BZ #6907]
29360 * manual/string.texi (strchr): Change when strchrnul is
29361 recommended.
29362
3f4081cd
DGM
293632012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29364
29365 [BZ #174]
29366 * manual/locale.texi (setlocale): Document LOCPATH.
29367
d1b10e78
JM
293682012-02-17 Joseph Myers <joseph@codesourcery.com>
29369
29370 [BZ #10210]
29371 * manual/process.texi (execle): Move @dots{} before last argument.
29372
79c6869c
PB
293732012-02-17 Paul Bolle <pebolle@tiscali.nl>
29374
29375 [BZ #12047]
29376 * manual/charset.texi (Generic Charset Conversion): Fix typo
29377 (LC_TYPE -> LC_CTYPE).
29378
cc6e48bc
NB
293792012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29380
29381 [BZ #5805]
29382 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29383 (scalbnf): Likewise.
29384 (scalbnl): Likewise.
29385 (scalbln): Likewise.
29386 (scalblnf): Likewise.
29387 (scalblnl): Likewise.
29388 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29389 (vwarnx): Likewise.
29390 (verr): Likewise.
29391 (verrx): Likewise.
29392 * manual/filesys.texi (telldir): Use braces around return type.
29393 * manual/llio.texi (mmap): Add space after comma.
29394 (mmap64): Likewise.
29395 * manual/math.texi (jn): Use @var{} on parameter names.
29396 (jnf): Likewise.
29397 (jnl): Likewise.
29398 (yn): Likewise.
29399 (ynf): Likewise.
29400 (ynl): Likewise.
29401 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29402 line.
29403 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29404 "...".
29405 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29406 (sched_get_priority_max): Likewise.
29407 * manual/signal.texi (sigvec): Add space after comma.
29408 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29409 names.
29410 (if_indextoname): Likewise.
29411 (if_freenameindex): Likewise.
29412 (sendto): Use ',' instead of '.' in prototype.
29413 * manual/startup.texi (syscall): Use @dots{} instead of literal
29414 "...".
29415 * manual/stdio.texi (__fpending): Separate initial words of
29416 paragraph from @deftypefun line.
29417 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29418 "...".
29419 (vsyslog): Use @var{} on parameter names.
29420 * manual/terminal.texi (stty): Use @var{} on parameter names.
29421 * manual/users.texi (getutmp): Use @var{} on parameter names.
29422 (getutmpx): Likewise.
29423
5b23062f
JM
294242012-02-17 Joseph Myers <joseph@codesourcery.com>
29425
29426 [BZ #6884]
29427 * manual/stdio.texi (fopen): Fix typos in description of
29428 ",ccs=STRING".
29429
8dee4833
AJ
294302012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29431
29432 [BZ #4026]
29433 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29434 get clock_id definition.
29435
9078ce93
TS
294362012-02-17 Thomas Schwinge <thomas@schwinge.name>
29437
29438 [BZ #4822]
29439 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29440 (madvise): Cast every argument to void on its own.
29441
3835c55f
JM
294422012-02-17 Joseph Myers <joseph@codesourcery.com>
29443
29444 [BZ #9902]
29445 * manual/startup.texi (Exit Status): Fix typo.
29446
35c47e37
JM
294472012-02-17 Joseph Myers <joseph@codesourcery.com>
29448
29449 [BZ #10140]
29450 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29451 * manual/examples/argp-ex2.c: Likewise.
29452 * manual/examples/argp-ex3.c: Likewise.
29453
e3b69ca7
RH
294542012-02-16 Richard Henderson <rth@redhat.com>
29455
29456 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29457 * sysdeps/s390/s390-32/initfini.c: Remove.
29458 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29459 * sysdeps/s390/s390-64/initfini.c: Remove.
29460
df83af67
KK
294612012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29462
29463 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29464 compiler output for sysdeps/generic/initfini.c.
29465 * sysdeps/sh/elf/initfini.c: Remove file.
29466
f63f3380
DM
294672012-02-16 David S. Miller <davem@davemloft.net>
29468
fb59b3a4
DM
29469 [BZ #11494]
29470 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29471
f63f3380
DM
29472 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29473 * sysdeps/sparc/crti.S: New file.
29474 * sysdeps/sparc/crtn.S: New file.
29475 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29476 * sysdeps/sparc/sparc64/Makefile: Likewise.
29477
df6a4a4a
MF
294782012-02-15 Mike Frysinger <vapier@gentoo.org>
29479
6dd8f3dc 29480 [BZ #3335]
df6a4a4a
MF
29481 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29482
1cac7236
RM
294832012-02-15 Roland McGrath <roland@hack.frob.com>
29484
d2c736f8
RM
29485 [BZ #4822]
29486 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29487
1cac7236
RM
29488 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29489 (write, read, close): Likewise.
29490 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29491
8e475601
JM
294922012-02-15 Joseph Myers <joseph@codesourcery.com>
29493
29494 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29495 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29496 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29497 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29498 <bits/signalfd.h>.
29499 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29500 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29501 bits/signalfd.h.
29502
ed656b40
MP
295032012-02-14 Marek Polacek <polacek@redhat.com>
29504
29505 * sysdeps/x86_64/crti.S: New file.
29506 * sysdeps/x86_64/crtn.S: New file.
29507 * sysdeps/x86_64/elf/initfini.c: Remove file.
29508
2a979d3a
JM
295092012-02-13 Joseph Myers <joseph@codesourcery.com>
29510
29511 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29512 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29513 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29514 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29515 <bits/inotify.h>.
29516 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29517 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29518 bits/inotify.h.
29519
2a418ac3
JM
295202012-02-13 Joseph Myers <joseph@codesourcery.com>
29521
29522 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29523 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29524 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29525 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29526 <bits/eventfd.h>.
29527 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29528 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29529 bits/eventfd.h.
29530
fb779be7
TS
295312012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29532
e19e83c5
RM
29533 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29534 __feraiseexcept instead of feraiseexcept.
7c35ffed 29535
fb779be7
TS
29536 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29537 nanosleep invocations.
29538 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29539 strings, and add error checking for a nanosleep invocations.
29540
59ba27a6
PE
295412012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29542
29543 Replace FSF snail mail address with URLs, as per GNU coding standards.
29544 Most of the snail mail addresses were wrong anyway, and omitting
29545 them makes the source code easier to maintain. Almost all of the
29546 changes are to license notices and to locale LC_IDENTIFICATION
29547 addresses, except for this one:
29548 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29549 not its snail mail address.
29550
57b957eb
RH
295512012-02-09 Richard Henderson <rth@twiddle.net>
29552
af850b1c
RH
29553 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29554 of kernel-features.h.
29555
57b957eb
RH
29556 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29557
6b73181a
MP
295582012-02-08 Marek Polacek <polacek@redhat.com>
29559
29560 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29561 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29562 * sysdeps/gnu/_G_config.h: Likewise.
29563 * sysdeps/generic/_G_config.h: Likewise.
29564
26ecc33a
AS
295652012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29566
6c6dbc63
AS
29567 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29568 tests.
29569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29570
e216c012
AS
29571 * sysdeps/powerpc/powerpc32/crti.S: New file.
29572 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29573 * sysdeps/powerpc/powerpc64/crti.S: New file.
29574 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29575
26ecc33a
AS
29576 * Makeconfig (have-initfini): Don't set.
29577 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29578 * configure.in (nopic_initfini): Don't substitute.
29579 * config.h.in (HAVE_INITFINI): Don't #undef.
29580 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29581 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29582
3add8e13
JM
295832012-02-08 Joseph Myers <joseph@codesourcery.com>
29584
29585 Support crti.S and crtn.S provided directly by architectures.
29586 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29587 [crti.S in sysdirs] (omit-deps): Likewise.
29588 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29589 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29590 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29591 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29592 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29593 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29594 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29595 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29596 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29597 compiler output for sysdeps/generic/initfini.c.
29598 * sysdeps/i386/elf/Makefile: Remove file.
29599 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29600
a22f12b4
MP
296012012-02-07 Marek Polacek <polacek@redhat.com>
29602
29603 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29604 * sysdeps/gnu/_G_config.h: Likewise.
29605 * sysdeps/mach/hurd/_G_config.h: Likewise.
29606
148cf100
MP
296072012-02-07 Marek Polacek <polacek@redhat.com>
29608
29609 * math/Makefile (tests): Add tst-CMPLX2.
29610 * math/tst-CMPLX2.c: New file.
29611
cfdc0dd7
AS
296122012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29613
84ba42c4
AS
29614 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29615
cfdc0dd7
AS
29616 * math/libm-test.inc (jn_test): Add missing L suffix.
29617
622c86f4
MP
296182012-02-06 Marek Polacek <polacek@redhat.com>
29619
29620 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29621 * sysdeps/i386/fpu/e_powf.S: Likewise.
29622 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29623 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29624 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29625 * sysdeps/i386/fpu/e_pow.S: Likewise.
29626 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29627 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29628 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29629 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29630 * sysdeps/i386/fpu/e_log2.S: Likewise.
29631 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29632 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29633 * sysdeps/i386/fpu/e_powl.S: Likewise.
29634 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29635 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29636 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29637 * sysdeps/i386/fpu/e_logl.S: Likewise.
29638 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29639 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29640 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29641 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29642 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29643 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29644 * sysdeps/i386/fpu/e_log.S: Likewise.
29645 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29646 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29647 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29648 * sysdeps/i386/fpu/e_logf.S: Likewise.
29649 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29650 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29651 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29652 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29653 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29654 * sysdeps/i386/fpu/e_log10.S: Likewise.
29655 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29656 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29657 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29658 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29659 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29660 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29661 * sysdeps/i386/asm-syntax.h: Likewise.
29662 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29663 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29664 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29665 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29666 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29667 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29668 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29669 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29670 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29671 * sysdeps/powerpc/sysdep.h: Likewise.
29672 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29673 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29674
d4a54ac6
JM
296752012-02-06 Joseph Myers <joseph@codesourcery.com>
29676
29677 [BZ #411]
29678 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29679
314054ea
JM
296802012-02-06 Joseph Myers <joseph@codesourcery.com>
29681
29682 * sysdeps/i386/sysdep.h: Include <features.h>.
29683 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29684 version.
29685
d8e0ca50
JM
296862012-02-05 Joseph Myers <joseph@codesourcery.com>
29687
29688 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29689 Define.
29690 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29691 LOAD_PIC_REG_STR.
29692
b1da7dd9
JM
296932012-02-03 Joseph Myers <joseph@codesourcery.com>
29694
29695 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29696 (SETUP_PIC_REG): Use GET_PC_THUNK.
29697 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29698 macro.
29699
9a1d9254
JM
297002012-02-03 Joseph Myers <joseph@codesourcery.com>
29701
29702 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29703 for non-PIC compilation.
29704 (SETUP_PIC_REG): Add .p2align directive.
29705 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29706 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29707 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29708 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29709 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29710 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29711 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29712 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29713 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29714 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29715 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29716 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29717 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29718 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29719 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29720 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29721 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29722 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29723 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29724 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29725 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29726 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29727 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29728 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29729 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29730 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29731 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29732 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29733 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29734 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29735 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29736 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29737 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29738 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29739 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29740 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29741 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29742 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29743 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29744 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29745 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29746
65dc3b75
JM
297472012-02-03 Joseph Myers <joseph@codesourcery.com>
29748
29749 * math/tst-CMPLX.c: Include <stdio.h>.
29750
d55bf177
JM
297512012-01-31 Joseph Myers <joseph@codesourcery.com>
29752
29753 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29754 float.
29755 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29756 * sysdeps/sparc/bits/mathdef.h: Likewise.
29757
69db4f8f
MP
297582012-01-31 Marek Polacek <polacek@redhat.com>
29759
29760 * libio/libio.h: Don't define _PARAMS.
29761 * locale/programs/config.h: Don't define PARAMS.
29762 * stdlib/strtol_l.c: Likewise.
29763 (__strtol_l): Remove PARAMS from the prototype.
29764
41b81892
UD
297652012-01-31 Ulrich Drepper <drepper@gmail.com>
29766
3b49edc0
UD
29767 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29768 names. Just use the correct names. Remove unnecessary wrapper
29769 functions.
29770 * malloc/arena.c: Likewise.
29771 * malloc/hooks.c: Likewise.
29772
41b81892
UD
29773 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29774 ARENA_TEST says not to. Simplify test for creation of a new arena.
29775 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29776
27a25b6e
UD
297772012-01-30 Ulrich Drepper <drepper@gmail.com>
29778
29779 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29780 into tail calls.
29781 (update_get_addr): New function.
29782 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29783 GET_ADDR_MODULE parameter.
29784
c8a89e7d
JM
297852012-01-30 Joseph Myers <joseph@codesourcery.com>
29786
29787 * crypt/cert.c: Remove __STDC__ conditionals.
29788 * crypt/crypt-entry.c: Likewise.
29789 * crypt/crypt_util.c: Likewise.
29790 * libio/filedoalloc.c: Likewise.
29791 * libio/fileops.c: Likewise.
29792 * libio/genops.c: Likewise.
29793 * libio/iofclose.c: Likewise.
29794 * libio/iofdopen.c: Likewise.
29795 * libio/iofopen.c: Likewise.
29796 * libio/iofopen64.c: Likewise.
29797 * libio/iogetdelim.c: Likewise.
29798 * libio/iopopen.c: Likewise.
29799 * libio/obprintf.c: Likewise.
29800 * libio/oldfileops.c: Likewise.
29801 * libio/oldiofclose.c: Likewise.
29802 * libio/oldiofdopen.c: Likewise.
29803 * libio/oldiofopen.c: Likewise.
29804 * libio/oldiopopen.c: Likewise.
29805 * libio/wfiledoalloc.c: Likewise.
29806 * libio/wgenops.c: Likewise.
29807 * locale/programs/xmalloc.c: Likewise.
29808 * misc/syslog.c: Likewise.
29809 * stdio-common/xbug.c: Likewise.
29810 * string/memchr.c: Likewise.
29811 * string/memcmp.c: Likewise.
29812 * string/memrchr.c: Likewise.
29813 * string/rawmemchr.c: Likewise.
29814 * sysdeps/posix/getcwd.c: Likewise.
29815 * time/strftime_l.c: Likewise.
29816
3b100462
JM
298172012-01-30 Joseph Myers <joseph@codesourcery.com>
29818
29819 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
29820 * config.make.in (config-cflags-sse2avx): Define.
29821 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29822 Fix typo.
29823
607998af
CM
298242012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29825
29826 * scripts/config.guess: Update from upstream config git repository.
29827 * scripts/config.sub: Likewise.
29828
3601428f
CM
298292012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29830
3ac8b282
CM
29831 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29832 (EM_NUM): Update.
29833 (R_TILEPRO_*, R_TILEGX_*): New macros.
29834
e034841e
CM
29835 * scripts/firstversions.awk: Fix bug in version range handling.
29836
540d7568
CM
29837 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29838
3601428f
CM
29839 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29840
463de862
CM
29841 * include/sys/epoll.h: New file.
29842 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29843 libc_hidden_def.
29844
73139a76
UD
298452012-01-28 Ulrich Drepper <drepper@gmail.com>
29846
96bc5b45
UD
29847 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29848 Avoid unnecessary __WORDSIZE == 64 test.
29849 (fmaxf): Use VEX format if possible.
29850 (fmax): Likewise.
29851 (fminf): Likewise.
29852 (fmin): Likewise.
29853
56f6f6a2
UD
29854 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29855 * math/math_private.h: Remove libc_fegetround* and
29856 libc_fesetround*.
29857 * sysdeps/i386/configure.in: Check for -msse2avx.
29858 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29859 also if SSE2AVX is defined.
29860 Remove libc_fegetround* and libc_fesetround*.
29861 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29862 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29863 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29864 of HAS_YMM_USABLE.
29865 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29866 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29867 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29868 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29869 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29870
73139a76
UD
29871 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29872
d73f93a4
AZ
298732012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29874
29875 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29876 size is not set.
29877 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29878
6ee65ed6
UD
298792012-01-27 Ulrich Drepper <drepper@gmail.com>
29880
29881 [BZ #13618]
29882 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29883 relocation.
29884 * Makeconfig (libm): Define.
29885 * elf/Makefile: Add rules to build and run tst-relsort1.
29886 * elf/tst-relsort1.c: New file.
29887 * elf/tst-relsort1mod1.c: New file.
29888 * elf/tst-relsort1mod2.c: New file.
29889
8db21882
JM
298902012-01-27 Joseph Myers <joseph@codesourcery.com>
29891
29892 * math/s_ldexp.c: Remove __STDC__ conditionals.
29893 * math/s_ldexpf.c: Likewise.
29894 * math/s_ldexpl.c: Likewise.
29895 * math/s_nextafter.c: Likewise.
29896 * math/s_nexttowardf.c: Likewise.
29897 * math/s_significand.c: Likewise.
29898 * math/s_significandf.c: Likewise.
29899 * math/s_significandl.c: Likewise.
29900 * math/w_jnl.c: Likewise.
29901 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29902 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29903 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29904 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29905 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29906 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29907 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29908 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29909 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29910 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29911 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29912 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29913 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29914 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29915 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29916 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29917 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29918 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29919 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29920 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29921 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29922 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29923 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29924 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29925 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29926 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29927 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29928 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29929 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29930 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29931 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29932 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29933 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29934 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29935 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29936 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29937 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29938 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29939 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29940 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29941 * sysdeps/ieee754/k_standard.c: Likewise.
29942 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29943 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29944 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29945 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29946 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29947 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29948 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29949 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29950 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29951 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29952 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29953 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29954 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29955 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29956 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29957 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29958 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29959 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29960 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29961 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29962 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29963 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29964 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29965 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29966 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29967 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29968 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29969 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29970 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29971 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29972 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29973 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29974 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29975 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29976 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29977 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29978 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29979 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29980 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29981 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29982 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29983 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29984 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29985 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29986 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29987 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29988 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29989 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29990 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29991 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29992 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29993 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29994 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29995 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29996 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29997 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29998 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29999 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30000 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30001 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30002 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30003 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30004 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30005 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30006 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30007 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30008 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30009 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30010 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30011 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30012 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30013 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30014 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30015 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30016 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30017 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30018 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30019 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30020 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30021 * sysdeps/ieee754/s_matherr.c: Likewise.
30022 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30023 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30024 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30025 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30026
965a54a4
JM
300272012-01-26 Joseph Myers <joseph@codesourcery.com>
30028
30029 * crypt/md5.h: Remove __STDC__ conditionals.
30030 * libio/libioP.h: Likewise.
30031 * locale/programs/config.h: Likewise.
30032 * sysdeps/generic/sysdep.h: Likewise.
30033 * sysdeps/i386/asm-syntax.h: Likewise.
30034 * sysdeps/s390/asm-syntax.h: Likewise.
30035 * sysdeps/unix/sysdep.h: Likewise.
30036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30038
7071ad79
JM
300392012-01-26 Joseph Myers <joseph@codesourcery.com>
30040
30041 * libio/libio.h: Remove __STDC__ conditionals.
30042 * malloc/obstack.h: Likewise.
30043 * math/complex.h: Likewise.
30044 * math/math.h: Likewise.
30045 * sysdeps/generic/_G_config.h: Likewise.
30046 * sysdeps/gnu/_G_config.h: Likewise.
30047 * sysdeps/mach/hurd/_G_config.h: Likewise.
30048 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30049 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30050 * sysdeps/sparc/bits/mathdef.h: Likewise.
30051
afc5ed09
UD
300522012-01-26 Ulrich Drepper <drepper@gmail.com>
30053
30054 [BZ #13583]
30055 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 30056 Clean up HAS_* macros.
afc5ed09 30057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
30058 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30059 possible.
30060 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30061 HAS_AVX.
30062 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30063 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30064 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30065 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30066 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 30067
bdb6de1d
JM
300682012-01-25 Joseph Myers <joseph@codesourcery.com>
30069
30070 * elf/tst-unique3.cc (gets): Remove declaration.
30071 * elf/tst-unique3lib.cc (gets): Likewise.
30072 * elf/tst-unique3lib2.cc (gets): Likewise.
30073 * elf/tst-unique4.cc (gets): Likewise.
30074
b15549e6
UD
300752012-01-24 Ulrich Drepper <drepper@gmail.com>
30076
30077 * include/stdio.h: Add C++ protection. Add gets declarations and
30078 definitions.
30079 * debug/tst-chk1.c: Don't declare gets here.
30080 * stdio-common/tst-gets.c: Likewise.
30081
a037381f
JM
300822012-01-24 Joseph Myers <joseph@codesourcery.com>
30083
30084 * posix/glob: Remove directory.
30085
f1d4aa75
JM
300862012-01-24 Joseph Myers <joseph@codesourcery.com>
30087
30088 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30089
81c0c964
PT
300902012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30091
30092 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30093 of the non-standard EPFNOSUPPORT.
30094
0ea698ae
ST
300952011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30096
30097 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30098 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30099 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30100
d220b117
UD
301012012-01-21 Ulrich Drepper <drepper@gmail.com>
30102
30103 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30104
3e1aa84e
UD
301052012-01-20 Ulrich Drepper <drepper@gmail.com>
30106
30107 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30108 transient errors.
30109 * nscd/grpcache.c (cache_addgr): Likewise.
30110 * nscd/hstcache.c (cache_addhst): Likewise.
30111 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30112 * nscd/pwdcache.c (cache_addpw): Likewise.
30113 * nscd/servicescache.c (cache_addserv): Likewise.
30114
400aa020
UD
301152012-01-16 Ulrich Drepper <drepper@gmail.com>
30116
d77e7869
UD
30117 * malloc/malloc.c: Various cleanups.
30118 * malloc/hooks.c: Likewise.
30119
400aa020
UD
30120 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30121 * stdlib/bug-fmtmsg1.c: New file.
30122
30123 * stdlib/fmtmsg.c (init): Add missing unlock.
30124 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30125
e0a309cf
MP
301262012-01-12 Marek Polacek <polacek@redhat.com>
30127
30128 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30129 and _GNU_SOURCE.
30130
929d11c7
WS
301312012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30132
30133 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30134 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30135 macro to ensure uniqueness of label name.
30136 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30137 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30138
41d0e869
UD
301392012-01-11 Ulrich Drepper <drepper@gmail.com>
30140
0cc5ed3b
UD
30141 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30142
41d0e869
UD
30143 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30144 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30145 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30146 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30147
a47a831a
UD
301482012-01-10 Ulrich Drepper <drepper@gmail.com>
30149
daa891c0
UD
30150 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30151
30152 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30153 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30154 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30155
e58ef0f2
UD
30156 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30157
a47a831a 30158 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
30159 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30160 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 30161 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
30162
30163 * math/bits/math-finite.h: Add ldexp support.
30164
a0bfc9c7
MP
301652012-01-10 Marek Polacek <polacek@redhat.com>
30166
30167 * locale/programs/localedef.h (show_archive_content): Add noreturn
30168 attribute.
30169
d6e97a1d
UD
301702012-01-09 Ulrich Drepper <drepper@gmail.com>
30171
30172 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30173
d5835c26
UD
301742012-01-08 Ulrich Drepper <drepper@gmail.com>
30175
e5f484c6
UD
30176 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30177
d5835c26
UD
30178 * io/Makefile (headers): Add bits/poll2.h.
30179
d1f741e9
WS
301802011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30181
30182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30183 typo #include statement.
30184
ec09c1c4
UD
301852012-01-08 Ulrich Drepper <drepper@gmail.com>
30186
30187 * include/sys/cdefs.h: Define __attribute_alloc_size.
30188 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30189 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30190 * elf/pldd.c: Likewise.
30191 * iconv/iconv_charmap.c: Likewise.
30192 * iconv/iconvconfig.c: Likewise.
30193 * iconv/strtab.c: Likewise.
30194 * locale/programs/locale.c: Likewise.
30195 * locale/programs/localedef.h: Likewise.
30196 * locale/programs/simple-hash.c: Likewise.
30197 * nscd/nscd.h: Likewise.
30198 * nss/makedb.c: Likewise.
30199 * sysdeps/generic/ldconfig.h: Likewise.
30200 * locale/programs/localedef.c: Remove xmalloc prototype.
30201 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30202
20b38e03
PP
302032012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30204
30205 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30206 appropriate.
30207
a0da5fe1
UD
302082012-01-08 Ulrich Drepper <drepper@gmail.com>
30209
1d5a644a 30210 * math/Makefile (tests): Add tst-CMPLX.
669704fd 30211 * math/tst-CMPLX.c: New file.
1d5a644a 30212
8784a6db
UD
30213 * math/complex.h (CMPLXL): Fix typo.
30214
d9a216c0
UD
30215 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30216 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30217 GLIBC_2.16.
30218 * debug/tst-chk1.c: Add poll and ppoll tests.
30219 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30220 * include/sys/poll.h: Add hidden proto for ppoll.
30221 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30222 * sysdeps/mach/hurd/ppoll.c: Likewise.
30223 * io/ppoll.c: Likewise.
30224 * debug/poll_chk.c: New file.
30225 * debug/ppoll_chk.c: New file.
30226 * include/bits/poll2.h: New file.
30227 * io/bits/poll2.h: New file.
30228
ac097f5c
UD
30229 [BZ #1350]
30230 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30231
2119dcfa
UD
30232 * configure.in: static is always set to yes. Remove.
30233 * config.make.in: Don't set build-static.
30234 * Makeconfig: Remove use of build-static.
30235 * dlfcn/Makefile: Likewise.
30236 * elf/Makefile: Likewise.
30237 * math/Makefile: Likewise.
30238 * misc/Makefile: Likewise.
30239 * nptl/Makefile: Likewise.
30240 * sysdeps/mach/hurd/Makefile: Likewise.
30241
121766a9
UD
30242 * configure.in: PWD_P is not used anymore.
30243 * config.make.in: Remove PWD_P entry.
30244
51a1d39c 30245 * configure.in: Remove last remnants of RANLIB.
8720d066 30246 No need to check for signed size_t anymore.
215f4bdc
UD
30247 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30248 and IA-64.
3857022a 30249 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
30250 * aclocal.m4: Likewise.
30251
d3ed7225
UD
30252 * wcsmbs/mbrtoc16.c: Implement using towc function.
30253 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30254 * wcsmbs/wcsmbsload.c: Likewise.
30255 * iconv/gconv_simple.c: Likewise.
30256 * iconv/gconv_int.h: Likewise.
30257 * iconv/gconv_builtin.h: Likewise.
30258 * iconv/iconv_prog.c: Remove CHAR16 handling.
30259
30260 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30261
30262 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30263
a0da5fe1
UD
30264 * configure.in: Remove --with-elf and --enable-bounded options.
30265 Dont set base_machine for ia64. More non-ELF conditions removed.
30266 Remove testing and setting of leading underscore information.
30267 * config.make.in (build-bounded): Set to no.
30268 * config.h.in: Remove NO_UNDERSCORES entry.
30269 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30270 them.
30271 * csu/start.c: Remove !NO_UNDERSCORE code.
30272 * locale/localeinfo.h: Likewise.
30273 * sysdeps/generic/machine-gmon.h: Likewise.
30274 * sysdeps/generic/sysdep.h: Likewise.
30275 * sysdeps/i386/sysdep.h: Likewise.
30276 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30277 * sysdeps/mach/sysdep.h: Likewise.
30278 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30279 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30280 * sysdeps/sh/sysdep.h: Likewise.
30281 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30282 * sysdeps/unix/i386/sysdep.S: Likewise.
30283 * sysdeps/unix/sparc/start.c: Likewise.
30284 * sysdeps/unix/sparc/sysdep.S: Likewise.
30285 * sysdeps/unix/sparc/sysdep.h: Likewise.
30286 * sysdeps/unix/start.c: Likewise.
30287 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30288 * sysdeps/x86_64/sysdep.h: Likewise.
30289
df78418a
UD
302902012-01-07 Ulrich Drepper <drepper@gmail.com>
30291
a784e502
UD
30292 [BZ #13553]
30293 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30294 for non-gcc.
30295 * argp/argp-fmtstream.h: Use const instead __const.
30296 * argp/argp.h: Likewise.
30297 * assert/assert.h: Likewise.
30298 * bits/fenv.h: Likewise.
30299 * bits/sched.h: Likewise.
30300 * bits/sigset.h: Likewise.
30301 * bits/sigthread.h: Likewise.
30302 * catgets/nl_types.h: Likewise.
30303 * conform/data/pthread.h-data: Likewise.
30304 * crypt/crypt-private.h: Likewise.
30305 * crypt/crypt.h: Likewise.
30306 * crypt/crypt_util.c: Likewise.
30307 * ctype/ctype.h: Likewise.
30308 * debug/execinfo.h: Likewise.
30309 * debug/mbsnrtowcs_chk.c: Likewise.
30310 * debug/mbsrtowcs_chk.c: Likewise.
30311 * debug/wcsnrtombs_chk.c: Likewise.
30312 * debug/wcsrtombs_chk.c: Likewise.
30313 * debug/wcstombs_chk.c: Likewise.
30314 * dirent/dirent.h: Likewise.
30315 * dlfcn/dlfcn.h: Likewise.
30316 * elf/neededtest4.c: Likewise.
30317 * grp/grp.h: Likewise.
30318 * gshadow/gshadow.h: Likewise.
30319 * iconv/gconv.h: Likewise.
30320 * iconv/gconv_int.h: Likewise.
30321 * iconv/gconv_simple.c: Likewise.
30322 * iconv/iconv.h: Likewise.
30323 * iconv/loop.c: Likewise.
30324 * iconv/skeleton.c: Likewise.
30325 * include/aio.h: Likewise.
30326 * include/aliases.h: Likewise.
30327 * include/argz.h: Likewise.
30328 * include/arpa/inet.h: Likewise.
30329 * include/assert.h: Likewise.
30330 * include/dirent.h: Likewise.
30331 * include/dlfcn.h: Likewise.
30332 * include/execinfo.h: Likewise.
30333 * include/fcntl.h: Likewise.
30334 * include/fenv.h: Likewise.
30335 * include/glob.h: Likewise.
30336 * include/grp.h: Likewise.
30337 * include/libintl.h: Likewise.
30338 * include/mntent.h: Likewise.
30339 * include/netdb.h: Likewise.
30340 * include/pwd.h: Likewise.
30341 * include/rpc/netdb.h: Likewise.
30342 * include/sched.h: Likewise.
30343 * include/search.h: Likewise.
30344 * include/shadow.h: Likewise.
30345 * include/signal.h: Likewise.
30346 * include/stdio.h: Likewise.
30347 * include/stdlib.h: Likewise.
30348 * include/string.h: Likewise.
30349 * include/sys/socket.h: Likewise.
30350 * include/sys/stat.h: Likewise.
30351 * include/sys/statfs.h: Likewise.
30352 * include/sys/statvfs.h: Likewise.
30353 * include/sys/syslog.h: Likewise.
30354 * include/sys/time.h: Likewise.
30355 * include/sys/uio.h: Likewise.
30356 * include/time.h: Likewise.
30357 * include/unistd.h: Likewise.
30358 * include/utmp.h: Likewise.
30359 * include/wchar.h: Likewise.
30360 * include/wctype.h: Likewise.
30361 * inet/aliases.h: Likewise.
30362 * inet/arpa/inet.h: Likewise.
30363 * inet/netinet/ether.h: Likewise.
30364 * inet/netinet/in.h: Likewise.
30365 * intl/libintl.h: Likewise.
30366 * io/bits/fcntl2.h: Likewise.
30367 * io/fcntl.h: Likewise.
30368 * io/ftw.h: Likewise.
30369 * io/sys/poll.h: Likewise.
30370 * io/sys/stat.h: Likewise.
30371 * io/sys/statfs.h: Likewise.
30372 * io/sys/statvfs.h: Likewise.
30373 * io/utime.h: Likewise.
30374 * libio/bits/stdio.h: Likewise.
30375 * libio/bits/stdio2.h: Likewise.
30376 * libio/libio.h: Likewise.
30377 * libio/libioP.h: Likewise.
30378 * libio/stdio.h: Likewise.
30379 * locale/lc-ctype.c: Likewise.
30380 * locale/locale.h: Likewise.
30381 * login/utmp.h: Likewise.
30382 * malloc/arena.c: Likewise.
30383 * malloc/malloc.c: Likewise.
30384 * malloc/malloc.h: Likewise.
30385 * malloc/mcheck.c: Likewise.
30386 * malloc/mtrace.c: Likewise.
30387 * math/bits/mathcalls.h: Likewise.
30388 * math/fenv.h: Likewise.
30389 * math/math_private.h: Likewise.
30390 * misc/bits/error.h: Likewise.
30391 * misc/bits/syslog.h: Likewise.
30392 * misc/err.h: Likewise.
30393 * misc/error.h: Likewise.
30394 * misc/fstab.h: Likewise.
30395 * misc/mntent.h: Likewise.
30396 * misc/regexp.h: Likewise.
30397 * misc/search.h: Likewise.
30398 * misc/sgtty.h: Likewise.
30399 * misc/sys/mman.h: Likewise.
30400 * misc/sys/syslog.h: Likewise.
30401 * misc/sys/uio.h: Likewise.
30402 * misc/sys/xattr.h: Likewise.
30403 * misc/ttyent.h: Likewise.
30404 * nis/rpcsvc/ypclnt.h: Likewise.
30405 * nss/nss.h: Likewise.
30406 * posix/bits/unistd.h: Likewise.
30407 * posix/fnmatch.h: Likewise.
30408 * posix/glob.h: Likewise.
30409 * posix/sched.h: Likewise.
30410 * posix/spawn.h: Likewise.
30411 * posix/sys/wait.h: Likewise.
30412 * posix/unistd.h: Likewise.
30413 * posix/wordexp.h: Likewise.
30414 * pwd/pwd.h: Likewise.
30415 * resolv/netdb.h: Likewise.
30416 * resource/sys/resource.h: Likewise.
30417 * rt/aio.h: Likewise.
30418 * rt/bits/mqueue2.h: Likewise.
30419 * rt/mqueue.h: Likewise.
30420 * shadow/shadow.h: Likewise.
30421 * signal/signal.h: Likewise.
30422 * socket/send.c: Likewise.
30423 * socket/sendto.c: Likewise.
30424 * socket/sys/socket.h: Likewise.
30425 * stdio-common/printf.h: Likewise.
30426 * stdlib/bits/stdlib.h: Likewise.
30427 * stdlib/fmtmsg.h: Likewise.
30428 * stdlib/monetary.h: Likewise.
30429 * stdlib/stdlib.h: Likewise.
30430 * stdlib/ucontext.h: Likewise.
30431 * streams/stropts.h: Likewise.
30432 * string/argz.h: Likewise.
30433 * string/bits/string2.h: Likewise.
30434 * string/string.h: Likewise.
30435 * string/strings.h: Likewise.
30436 * sunrpc/rpc/auth.h: Likewise.
30437 * sunrpc/rpc/auth_des.h: Likewise.
30438 * sunrpc/rpc/clnt.h: Likewise.
30439 * sunrpc/rpc/netdb.h: Likewise.
30440 * sunrpc/rpc/pmap_clnt.h: Likewise.
30441 * sunrpc/rpc/xdr.h: Likewise.
30442 * sysdeps/generic/inttypes.h: Likewise.
30443 * sysdeps/generic/net/if.h: Likewise.
30444 * sysdeps/generic/sys/swap.h: Likewise.
30445 * sysdeps/gnu/net/if.h: Likewise.
30446 * sysdeps/gnu/utmpx.h: Likewise.
30447 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30448 * sysdeps/i386/i486/bits/string.h: Likewise.
30449 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30450 * sysdeps/s390/bits/string.h: Likewise.
30451 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30452 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30453 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30454 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30455 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30456 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30457 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30458 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30459 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30460 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30461 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30462 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30463 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30464 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30465 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30466 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30467 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30468 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30469 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30470 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30471 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30472 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30473 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30474 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30475 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30476 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30477 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30478 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30479 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30480 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30481 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30482 * sysvipc/sys/ipc.h: Likewise.
30483 * sysvipc/sys/msg.h: Likewise.
30484 * sysvipc/sys/sem.h: Likewise.
30485 * sysvipc/sys/shm.h: Likewise.
30486 * termios/termios.h: Likewise.
30487 * time/sys/time.h: Likewise.
30488 * time/time.h: Likewise.
30489 * wcsmbs/bits/wchar2.h: Likewise.
30490 * wcsmbs/uchar.h: Likewise.
30491 * wcsmbs/wchar.h: Likewise.
30492 * wctype/wctype.h: Likewise.
30493
0269750c
UD
30494 [BZ #13551]
30495 * Makeconfig: Remove all but ELF support including AIX support.
30496 * Makerules: Likewise.
30497 * config.h.in: Likewise.
30498 * config.make.in: Likewise.
30499 * configure: Likewise.
30500 * configure.in: Likewise.
30501 * csu/Makefile: Likewise.
30502 * csu/version.c: Likewise.
30503 * debug/Makefile: Likewise.
30504 * dlfcn/Makefile: Likewise.
30505 * elf/Makefile: Likewise.
30506 * extra-lib.mk: Likewise.
30507 * iconv/Makefile: Likewise.
30508 * include/libc-symbols.h: Likewise.
30509 * include/shlib-compat.h: Likewise.
30510 * resolv/Makefile: Likewise.
30511 * resolv/res_libc.c: Likewise.
30512 * rt/Makefile: Likewise.
30513 * sysdeps/i386/asm-syntax.h: Likewise.
30514 * sysdeps/i386/sysdep.h: Likewise.
30515 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30516 * sysdeps/mach/sysdep.h: Likewise.
30517 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30518 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30519 * sysdeps/s390/asm-syntax.h: Likewise.
30520 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30521 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30522 * sysdeps/sh/sysdep.h: Likewise.
30523 * sysdeps/unix/sparc/sysdep.h: Likewise.
30524 * sysdeps/wordsize-32/divdi3.c: Likewise.
30525 * sysdeps/x86_64/sysdep.h: Likewise.
30526
00bbd29b
UD
30527 * argp/Versions: Remove _argp_unlock_xxx.
30528
30529 [BZ #13559]
30530 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30531 * abilist/libBrokenLocale.abilist: Likewise.
30532 * abilist/libanl.abilist: Likewise.
30533 * abilist/libc.abilist: Likewise.
30534 * abilist/libcrypt.abilist: Likewise.
30535 * abilist/libdl.abilist: Likewise.
30536 * abilist/libm.abilist: Likewise.
30537 * abilist/libnsl.abilist: Likewise.
30538 * abilist/libpthread.abilist: Likewise.
30539 * abilist/libresolv.abilist: Likewise.
30540 * abilist/librt.abilist: Likewise.
30541 * abilist/libthread_db.abilist: Likewise.
30542 * abilist/libutil.abilist: Likewise.
30543 * abilist/libnss_db.abilist: New file.
30544
30545 * scripts/abilist.awk: Add support for indirect functions.
30546
a2693a0e
UD
30547 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30548
3f05895f
UD
30549 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30550
ecb6fb48
UD
30551 * shlib-versions: Remove entries for ports architectures.
30552
664f8cb9
UD
30553 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30554 files in ports.
30555 * elf/stackguard-macros.h: Remove support for IA-64.
30556 * elf/tst-auditmod1.c: Likewise.
30557 * sysdeps/generic/ldsodefs.h: Likewise.
30558
7ae81d88
UD
30559 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30560 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30561 configure files.
30562
bdeba135
UD
30563 [BZ #13552]
30564 * configure.in: Remove --enable-omitfp support.
30565 * FAQ.in: Adjust.
30566 * config.make.in: Likewise.
30567 * Makeconfig: Likewise.
30568 * manual/install.texi: Likewise.
30569
d75a0a62
UD
30570 In case anyone cares, the IA-64 architecture could move to ports.
30571 * sysdeps/ia64/*: Removed.
30572 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 30573 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 30574
dcc9756b
UD
30575 [BZ #13555]
30576 * configure.in: Remove entries for unsupported architectures.
30577
d3761ebc 30578 [BZ #13533]
9954432e
UD
30579 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30580 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30581 routines.
30582 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30583 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30584 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30585 fall back to using wcrtomb.
30586 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30587 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30588 renaming.
30589 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30590 * wcsmbs/tst-c16c32-1.c: New file.
30591
30592 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30593 local variable.
30594
c3a87236
UD
30595 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30596
28926a1b
UD
30597 * elf/tst-unique3.cc: Add explicit declaration of gets.
30598 * elf/tst-unique3lib.cc: Likewise.
30599 * elf/tst-unique3lib2.cc: Likewise.
30600 * elf/tst-unique4.cc: Likewise.
30601
df78418a
UD
30602 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30603
8ecd6b2a
JM
306042012-01-06 Joseph Myers <joseph@codesourcery.com>
30605
30606 [BZ #13566]
30607 * assert/assert.h (static_assert): Don't define for C++.
30608 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30609 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30610
9f115170
UD
306112012-01-03 Ulrich Drepper <drepper@gmail.com>
30612
5e0d0300
UD
30613 * iconv/loop.c (single loop): Fix assertion in storing of
30614 remaining bytes.
30615
9f115170
UD
30616 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30617
81fb02b0
UD
306182012-01-01 Ulrich Drepper <drepper@gmail.com>
30619
30620 * posix/getconf.c: Update copyright year.
30621 * nss/getent.c: Likewise.
a316c1f6 30622 * nss/makedb.c: Likewise.
81fb02b0
UD
30623 * iconv/iconvconfig.c: Likewise.
30624 * iconv/iconv_prog.c: Likewise.
30625 * elf/ldconfig.c: Likewise.
a316c1f6
UD
30626 * elf/pldd.c: Likewise.
30627 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
30628 * catgets/gencat.c: Likewise.
30629 * csu/version.c: Likewise.
30630 * elf/ldd.bash.in: Likewise.
30631 * elf/sprof.c (print_version): Likewise.
30632 * locale/programs/locale.c: Likewise.
30633 * locale/programs/localedef.c: Likewise.
a316c1f6 30634 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
30635 * nscd/nscd.c (print_version): Likewise.
30636 * debug/xtrace.sh: Likewise.
30637 * malloc/memusage.sh: Likewise.
30638 * malloc/mtrace.pl: Likewise.
30639 * debug/catchsegv.sh: Likewise.
30640
2ba92745
JJ
306412011-12-30 Jakub Jelinek <jakub@redhat.com>
30642
30643 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30644 pure attribute.
30645
dadebdae
UD
306462011-12-24 Ulrich Drepper <drepper@gmail.com>
30647
d3761ebc 30648 [BZ #13533]
db6af3eb
UD
30649 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30650 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30651 transformations.
30652 * iconv/gconv_int.h: Likewise.
30653 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30654 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30655 from libc for GLIBC_2.16.
30656 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30657 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30658 * wcsmbs/uchar.h: Really define mbstate_t.
30659 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30660 * wcsmbs/c16rtomb.c: New file.
30661 * wcsmbs/mbrtoc16.c: New file.
30662 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30663 for C/POSIX locale.
30664 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30665 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30666
dadebdae
UD
30667 * wcsmbs/wchar.h: Add missing __restrict.
30668
67371b56
UD
306692011-12-23 Ulrich Drepper <drepper@gmail.com>
30670
74033a25
UD
30671 [BZ #13532]
30672 * time/Makefile (routines): Add timespec_get.
30673 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30674 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30675 timespec for ISO C11.
30676 * time/timespec_get.c: New file.
30677 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30678 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30679
380d7e87
UD
30680 [BZ #13531]
30681 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30682 * stdlib/stdlib.h: Declare aligned_alloc.
30683 * Versions.def: Add GLIBC_2.16 for libc.
30684 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30685
4e9e7a35
UD
30686 [BZ 13527]
30687 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30688 ISO C11.
30689
380d7e87 30690 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
30691 code.
30692
03a71829
UD
30693 [BZ #13528]
30694 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30695
839e283e
UD
30696 [BZ #13529]
30697 * assert/assert.h (static_assert): Define.
30698
ce5294e2 30699 * version.h: Update for 2.16 development version.
90fa7312 30700
8d44e150 30701 [BZ #13526]
d7809905
UD
30702 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30703 _ISOC11_SOURCE.
30704
c0da14cd
UD
30705 * version.h (RELEASE): Bump for 2.15 release.
30706 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30707
530a3249
MP
30708 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30709 Patch by Marek Polacek <mpolacek@redhat.com>.
30710
67371b56
UD
30711 * bits/byteswap.h: Protect long long constants with __extension__.
30712 * sysdeps/i386/bits/byteswap.h: Likewise.
30713 * sysdeps/ia64/bits/byteswap.h: Likewise.
30714 * sysdeps/s390/bits/byteswap.h: Likewise.
30715 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30716
15db4de1
LD
307172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30718
30719 [BZ #13540]
bbe315ea
LD
30720 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30721 destination buffer.
15db4de1
LD
30722 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30723
2b2596b1
MP
307242011-12-23 Marek Polacek <polacek@redhat.com>
30725
30726 * elf/dl-addr.c (determine_info): Add inline keyword.
30727 * elf/tst-auditmod4b.c (check_avx): Likewise.
30728 * elf/tst-auditmod6b.c (check_avx): Likewise.
30729 * elf/tst-auditmod6c.c (check_avx): Likewise.
30730 * elf/tst-auditmod7b.c (check_avx): Likewise.
30731
70c6c246
UD
307322011-12-23 Ulrich Drepper <drepper@gmail.com>
30733
30734 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30735 !__SSE_MATH__.
30736
c044cf14
LD
307372011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30738
15db4de1 30739 [BZ #13540]
c044cf14
LD
30740 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30741 processing for last bytes.
30742
6b13d9d9
BH
307432011-08-06 Bruno Haible <bruno@clisp.org>
30744
d455f537
BH
30745 [BZ #13061]
30746 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30747 U+0385, not to U+1FEE.
30748
6b13d9d9
BH
30749 [BZ #13062]
30750 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30751 entry for U+00A5 U+0301.
30752
db910efd
UD
307532011-12-22 Ulrich Drepper <drepper@gmail.com>
30754
27deeafc
UD
30755 [BZ #13166]
30756 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30757 buffer for the output is too small.
30758
aed9d171
UD
30759 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30760 optimization.
30761
db910efd
UD
30762 [BZ #13185]
30763 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30764 SSE flags if possible.
30765
2bd779ae
LD
307662011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30767
e7f9dac3 30768 [BZ #13540]
2bd779ae
LD
30769 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30770 processing for last bytes.
30771
154bfc16
JM
307722011-12-22 Joseph Myers <joseph@codesourcery.com>
30773
30774 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30775 (syscall-list-default-options, syscall-list-default-condition)
30776 (syscall-list-includes): Define.
30777 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30778 list of ABIs and options and #if conditions for each ABI. Do not
30779 handle common syscalls between ABIs specially.
30780 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30781 Remove.
30782 (syscall-list-variants, syscall-list-32bit-options)
30783 (syscall-list-32bit-condition, syscall-list-64bit-options)
30784 (syscall-list-64bit-condition): Define.
30785 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30786 (syscall-list-variants, syscall-list-32bit-options)
30787 (syscall-list-32bit-condition, syscall-list-64bit-options)
30788 (syscall-list-64bit-condition): Define.
30789 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30790 Remove.
30791 (syscall-list-variants, syscall-list-32bit-options)
30792 (syscall-list-32bit-condition, syscall-list-64bit-options)
30793 (syscall-list-64bit-condition): Define.
30794 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30795 Remove.
30796 (syscall-list-variants, syscall-list-32bit-options)
30797 (syscall-list-32bit-condition, syscall-list-64bit-options)
30798 (syscall-list-64bit-condition): Define.
30799
21eaf3a5
UD
308002011-12-22 Ulrich Drepper <drepper@gmail.com>
30801
16c6f992
UD
30802 * locale/iso-639.def: Add brx entry.
30803
41043168
UD
30804 [BZ #13328]
30805 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30806 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30807
21eaf3a5
UD
30808 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30809 __feraiseexcept_renamed.
30810
e3a851a2
UD
308112011-12-21 Ulrich Drepper <drepper@gmail.com>
30812
4920765e
UD
30813 [BZ #13538]
30814 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30815 EPOLLET with unsigned values.
30816 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30817 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30818
e3a851a2
UD
30819 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30820 to large cancellation.
30821 * math/s_cacoshf.c: Likewise.
30822 * math/s_cacoshl.c: Likewise.
30823
b27e24b8
RK
308242011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30825
30826 [BZ #13305]
aebefeee 30827 [BZ #12786]
b27e24b8
RK
30828 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30829 * math/s_cacoshf.c: Likewise.
30830 * math/s_cacoshl.c: Likewise.
30831
ee190f67
UD
308322011-12-21 Ulrich Drepper <drepper@gmail.com>
30833
30834 [BZ #13439]
30835 * iconv/gconv.h: Define __GCONV_SWAP.
30836 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30837 * iconvdata/utf-16.c: Likewise.
30838 * iconvdata/utf-32.c: Likewise.
30839
707f25df
AS
308402011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30841
30842 [BZ #13524]
30843 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30844 numerator after shifting it by one limb.
30845
d2daaa1e
RÁE
308462011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30847
30848 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30849 under [__USE_EXTERN_INLINES].
30850
a4647e72
UD
308512011-12-17 Ulrich Drepper <drepper@gmail.com>
30852
30853 [BZ #13446]
30854 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30855
f0b264f1
AZ
308562011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30857
30858 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30859 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30860 optimized code.
30861 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30862 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30863 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30864 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30865 for strncasecmp/strncasecmp_l compilation.
30866 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30867 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30868
8ef4f244
MP
308692011-12-08 Marek Polacek <mpolacek@redhat.com>
30870
30871 [BZ #13484]
30872 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30873 of __asm__.
30874
97ac2654
UD
308752011-12-17 Ulrich Drepper <drepper@gmail.com>
30876
30877 [BZ #13506]
30878 * time/tzfile.c (__tzfile_read): Check values from file header.
30879
91d2a845
WS
308802011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30881
30882 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30883 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30884 * powerpc/powerpc32/dl-start.S: Likewise.
30885 * powerpc/powerpc32/elf/start.S: Likewise.
30886 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30887 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30888 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30889 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30890 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30891 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30892 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30893 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30894 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30895 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30896 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30897 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30898 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30899 * powerpc/powerpc32/memset.S: Likewise.
30900 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30901 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30902 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30903 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30904 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30905 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30906 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30907 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30908 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30909 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30910 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30911 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30912 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30913
a1267ba1
AZ
309142011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30915
30916 * math/libm-test.inc: Added more nearbyint tests.
30917 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30918 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30919 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30920 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30921
ad8ac1bd
RL
309222011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30923
30924 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30925 FD_CLOEXEC.
30926
1d3e4b61
UD
309272011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30928
30929 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30930 Add wcscpy-ssse3 wcscpy-c.
30931 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30932 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30933 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30934 * sysdeps/x86_64/wcschr.S: New file.
30935 * sysdeps/x86_64/wcsrchr.S: New file.
30936 * string/test-strcmp.c: Remove checking of wcscmp function for
30937 wrong alignments.
30938 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30939 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30940 wcsrchr-sse2 wcsrchr-c.
30941 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30942 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30943 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30944 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30945 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30946 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30947 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30948 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30949 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30950 * wcsmbc/wcschr.c (WCSCHR): New macro.
30951
5b330a2d
UD
309522011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30953
30954 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30955 * wcsmbs/test-wcsrchr.c: New file.
30956 * string/test-strrchr.c: Add wcsrchr support.
30957 (WIDE): New macro.
30958 * wcsmbs/test-wcscpy.c: New file.
30959 * string/test-strcpy.c: Add wcscpy support.
30960 (WIDE): New macro.
26428b7c 30961
f039c043
UD
309622011-12-10 Ulrich Drepper <drepper@gmail.com>
30963
30964 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30965 the inner loop.
30966
850fb039
AS
309672011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30968
30969 [BZ #13472]
30970 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30971
4efbd5cb
UD
309722011-12-04 Ulrich Drepper <drepper@gmail.com>
30973
52ff5dd0 30974 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 30975 Minor optimizations.
52ff5dd0 30976
4efbd5cb
UD
30977 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30978 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30979 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30980
8a426e12
UD
309812011-12-03 Ulrich Drepper <drepper@gmail.com>
30982
aff2453d
UD
30983 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30984 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30985 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30986 for gcc to avoid warnings.
30987 * inet/Makefile (tests): Add tst-checks.
30988 * inet/tst-checks.c: New file.
30989
30990 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30991 warning.
30992
30993 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30994 __wmemcmp_sse2.
30995
30996 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30997 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30998
8a426e12
UD
30999 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31000
9bea3473
UD
310012011-12-02 Ulrich Drepper <drepper@gmail.com>
31002
3a965496
UD
31003 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31004 problem.
31005
9bea3473
UD
31006 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31007
f101631b
UD
310082011-11-29 Joseph Myers <joseph@codesourcery.com>
31009
31010 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31011 conditional on GCC version.
31012 (__arch_compare_and_exchange_val_8_acq)
31013 (__arch_compare_and_exchange_val_16_acq)
31014 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31015 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31016 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31017
a98275aa
UD
310182011-12-02 Joseph Myers <joseph@codesourcery.com>
31019
31020 * sysdeps/sh/backtrace.c: New file.
31021
d4cc29a2
AS
310222011-12-02 Andreas Schwab <schwab@redhat.com>
31023
31024 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31025 parenthesis.
31026
6257af2d
AS
310272011-12-01 Andreas Schwab <schwab@redhat.com>
31028
31029 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31030 falling back to utime.
31031
b5f44c1a
AS
310322011-11-30 Andreas Schwab <schwab@redhat.com>
31033
31034 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31035 expectations for float.
31036
f3a6cc0a
AS
310372011-11-29 Andreas Schwab <schwab@redhat.com>
31038
31039 * locale/weight.h (findidx): Add parameter len.
31040 * locale/weightwc.h (findidx): Likewise.
31041 * posix/fnmatch_loop.c (FCT): Adjust caller.
31042 * posix/regcomp.c (build_equiv_class): Likewise.
31043 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31044 * posix/regexec.c (check_node_accept_bytes): Likewise.
31045 * string/strcoll_l.c (STRCOLL): Likewise.
31046 * string/strxfrm_l.c (STRXFRM): Likewise.
31047
9d65ea3a
UD
310482011-11-17 Ulrich Drepper <drepper@gmail.com>
31049
31050 * Makefile.in: Remove CVSOPT handling.
31051 * configure.in: Remove use of AC_REVISION.
31052 * iconvdata/Makefile (distribute): No need to filter out CVS.
31053 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31054 handling.
31055
5583a086
AS
310562011-11-16 Andreas Schwab <schwab@redhat.com>
31057
31058 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31059 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31060 [USE_AS_STRNCASECMP_L]: Likewise.
31061 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31062 NO_TLS_DIRECT_SEG_REFS.
31063 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31064 Fix argument offsets for non-PIC.
31065 [USE_AS_STRNCASECMP_L]: Likewise.
31066 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31067 NO_TLS_DIRECT_SEG_REFS.
31068
d62a8200
UD
310692011-11-15 Ulrich Drepper <drepper@gmail.com>
31070
9d65ea3a 31071 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
31072 O_CLOEXEC.
31073 * locale/loadlocale.c (_nl_load_locale): Likewise.
31074
09f93bd3
AS
310752011-11-15 Andreas Schwab <schwab@redhat.com>
31076
446514f9
AS
31077 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31078 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31079 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31080 (SYSCALL_GETTIME): Set errno on error.
31081
09f93bd3
AS
31082 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31083 count references to noai6ai_cached.
31084
312be3f9
UD
310852011-11-15 Ulrich Drepper <drepper@gmail.com>
31086
31087 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31088
31089 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31090 FD_CLOEXEC for /proc/self/maps.
31091
31092 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31093 FD_CLOEXEC for /proc/meminfo.
31094
31095 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31096 gai.conf.
31097
31098 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31099 FD_CLOEXEC for given file.
31100
31101 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31102
31103 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31104 FD_CLOEXEC for /etc/hosts.
31105 (_gethtent): Likewise.
31106
31107 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31108
31109 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31110 cancellation and set FD_CLOEXEC for /etc/netgroup.
31111
31112 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31113 reading /etc/publickey.
31114
31115 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31116 allow cancellation when reading /etc/group.
31117
31118 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31119 cancellation.
31120 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31121
31122 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31123 when using data file.
31124
31125 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31126
31127 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31128 (write_nis_obj): Use "c" and "e" in fopen.
31129
31130 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31131
31132 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31133
31134 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31135
31136 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31137
31138 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31139 locale.alias.
31140
31141 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31142
31143 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31144
31145 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31146
31147 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31148 file parsing and set FD_CLOEXEC.
31149
82af0fa8
UD
311502011-11-14 Ulrich Drepper <drepper@gmail.com>
31151
31152 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31153
a5fb313c
AS
311542011-11-14 Andreas Schwab <schwab@redhat.com>
31155
31156 * malloc/arena.c (arena_get2): Don't call reused_arena when
31157 _int_new_arena failed.
31158
6abf3465
UD
311592011-11-14 Ulrich Drepper <drepper@gmail.com>
31160
31161 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31162 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31163 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31164 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31165 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31166 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31167 to compile strcasecmp and strncasecmp.
31168 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31169 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31170
31171 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31172
76e3966e
UD
311732011-11-13 Ulrich Drepper <drepper@gmail.com>
31174
31175 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31176 locale-defines.sym to gen-as-const-headers.
31177 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31178 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31179 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31180 to compile strcasecmp and strncasecmp.
31181 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31182 strcasecmp_l and strncasecmp_l.
31183 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31184 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31185 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31186 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31187 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31188 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31189 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31190 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31191 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31192 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31193 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31194
ab26144e
UD
311952011-11-12 Ulrich Drepper <drepper@gmail.com>
31196
7edb22ef
UD
31197 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31198 result of SYSDEP_GETTIME_CPU to retval.
31199 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31200 parameter list to macro. Remove trailing semicolon. Adjust users.
31201
9694fc44
UD
31202 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31203 variable.
31204
8ad89ef8
UD
31205 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31206 mantissa words.
31207 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31208
0c822ef9
UD
31209 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31210 from unused variable.
31211
874e0564
UD
31212 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31213 DWARF definitions.
31214 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31215 for assembling.
31216
3a2edc79
UD
31217 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31218 over namespaces.
31219
f3c2577f
UD
31220 * sunrpc/rpc_prot.c (rejected): Fix case value.
31221
294ce126
UD
31222 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31223 unsigned long long int to avoid warnings in shift.
31224
5e2b63c6
UD
31225 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31226 of use of trans.
31227 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31228 variable tmp.
31229
e7f4b08e
UD
31230 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31231 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31232 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31233
ab26144e
UD
31234 * nis/nis_table.c (nis_list): Use variable of correct type for
31235 result of __follow_path call.
31236
8a6d5255
AZ
312372011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31238
31239 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31240 of math functions ceil, trunc, floor, round, and sqrt, when
31241 avaliable on the platform.
31242 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31243 name clash.
31244 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31245 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31246 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31247
aaddc98c
MP
312482011-10-30 Marek Polacek <mpolacek@redhat.com>
31249
31250 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31251 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31252
95b7042b
RM
312532011-11-11 Roland McGrath <roland@hack.frob.com>
31254
31255 * include/unistd.h: Fix __readlink return type.
31256 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31257
57769839
UD
312582011-11-11 Ulrich Drepper <drepper@gmail.com>
31259
31260 * stdlib/ucontext.h: Undo last change for makecontext.
31261
edc5984d
AS
312622011-11-11 Andreas Schwab <schwab@redhat.com>
31263
98591e58
AS
31264 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31265
edc5984d
AS
31266 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31267 * setjmp/setjmp.h: Mark functions as non-leaf.
31268 * setjmp/bits/setjmp2.h: Likewise.
31269 * stdlib/ucontext.h: Likewise.
31270
77cdc054
AS
312712011-11-10 Andreas Schwab <schwab@redhat.com>
31272
31273 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31274 (reused_arena): Don't check arena limit.
31275 (arena_get2): Atomically check arena limit.
31276
fe72eebd
UD
312772011-11-08 Ulrich Drepper <drepper@gmail.com>
31278
5f078c32
UD
31279 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31280 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31281
fe72eebd
UD
31282 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31283 instructions.
31284
ae1bc2fa
AS
312852011-11-07 Andreas Schwab <schwab@redhat.com>
31286
7583a88d
AS
31287 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31288 handler when locking.
31289
ae1bc2fa
AS
31290 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31291 Fix size of allocated buffer.
31292
10fb0bfa
AS
312932011-11-04 Andreas Schwab <schwab@redhat.com>
31294
998832a4
AS
31295 [BZ #10103]
31296 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31297 declarations for long double functions.
31298 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31299
10fb0bfa
AS
31300 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31301
3d7ba52b
AS
313022011-11-03 Andreas Schwab <schwab@redhat.com>
31303
a9ae54a1
AS
31304 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31305 installed.
31306
3d7ba52b
AS
31307 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31308 is disabled.
31309
bc8db248
ST
313102011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31311
31312 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31313
45b96dd6
AS
313142011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31315
647776f6
AS
31316 * include/alloca.h (stackinfo_alloca_round): Define.
31317 (extend_alloca): Use it.
31318 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31319 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31320 here.
31321
d91a8b93
AS
31322 * scripts/check-local-headers.sh: Ignore libaudit.h.
31323
45b96dd6
AS
31324 * nscd/Makefile (extra-objs): Make recursively expanded.
31325
432d41ce
UD
313262011-11-01 Ulrich Drepper <drepper@gmail.com>
31327
34372fc6
UD
31328 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31329 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31330
fadb59f8
UD
31331 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31332 * posix/tst-rfc3484-2.c: Likewise.
31333 * posix/tst-rfc3484-3.c: Likewise.
31334
78239589
UD
31335 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31336 process_vm_writev.
31337 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31338 process_vm_writev.
31339 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31340 process_vm_writev from libc using GLIBC_2.15 version.
31341
432d41ce
UD
31342 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31343
02f9c6cf
PP
313442011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31345
31346 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31347 stack usage.
31348
3a2c0242
UD
313492011-10-31 Ulrich Drepper <drepper@gmail.com>
31350
f4ec4833
UD
31351 [BZ #13367]
31352 * nss/getent.c (initgroups_keys): Show error message in case no group
31353 names are given.
31354
3a2c0242
UD
31355 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31356 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31357 __bump_nl_timestamp.
31358 * nscd/connections (nscd_init): When host database is served open
31359 netlink socket and request notification about configuration changes.
31360 (main_loop_poll): Track netlink file descriptor and bump timestamp
31361 in case data becomes available.
31362 (main_loop_epoll): Likewise.
31363 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31364 (database_pers_head): Add extra_data fileds.
31365 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31366 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31367 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31368 Adjust caller.
31369 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31370 in6ai data, call __free_in6ai.
31371 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31372 Add -DHAVE_NETLINK.
31373 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31374 interface information. Reuse previous data if netlink timestamp
31375 is not changed.
31376 (__bump_nl_timestamp): New function.
31377 (__free_in6ai): New function.
31378
636064eb
UD
313792011-10-30 Ulrich Drepper <drepper@gmail.com>
31380
31381 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31382 close_not_cancel_no_status here.
31383 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31384
9beb2334
UD
313852011-10-29 Ulrich Drepper <drepper@gmail.com>
31386
6ef76f3b
UD
31387 [BZ #13276]
31388 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31389 return value.
31390
0ffc4f3e 31391 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
31392 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31393 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31394
cb95113e
UD
313952011-07-03 Andreas Jaeger <aj@suse.de>
31396
31397 [BZ #10709]
31398 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31399 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31400 * math/libm-test.inc (sin_test): Add test case.
31401
a1b560ff
UD
314022011-10-29 Ulrich Drepper <drepper@gmail.com>
31403
c9aaface
UD
31404 [BZ #13337]
31405 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31406 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31407
d272e7f1
UD
31408 * elf/chroot_canon.c (chroot_canon): Cleanups.
31409
1bc33071
UD
31410 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31411
1760874d
TJ
31412 [BZ #13335]
31413 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31414 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31415
51d91b18
UD
31416 * string/test-strchr.c: Make usable for strchrnul testing.
31417 * string/test-strchrnul.c: New file.
31418 * string/Makefile (strop-tests): Add strchrnul.
31419
a1b560ff 31420 * po/it.po: Update from translation team.
b611fb81 31421 * po/es.po: Likewise.
a1b560ff 31422
a5b81e1f
UD
314232011-10-28 Ulrich Drepper <drepper@gmail.com>
31424
fd52bc6d
UD
31425 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31426 the three constants needed as parameters. Drop the others.
31427 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31428 __m128i_strloadu_tolower.
52e4b9eb
UD
31429 Create and initialize variable zero and use it in all the places
31430 where _mm_setzero_si128 was used.
fd52bc6d 31431
a5b81e1f
UD
31432 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31433 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31434 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31435 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31436 anymore.
31437 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31438 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31439 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31440 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31441 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31442 __mpranred, __mptan.
31443 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31444 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31445 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31446 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31447 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31448 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31449 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31450 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31451 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31452
b4343346
AS
314532011-10-28 Andreas Schwab <schwab@redhat.com>
31454
0c92d8a8
AS
31455 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31456 redefine if SHARED.
31457 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31458
b4343346
AS
31459 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31460 wide char related routines to wcsmbs subdir.
31461
3871f58f
AS
314622011-10-27 Andreas Schwab <schwab@redhat.com>
31463
31464 [BZ #13344]
31465 * misc/sys/cdefs.h (__THROWNL): Define.
31466 * posix/unistd.h: Use __THREADNL instead of __THREAD
31467 for memory synchronization functions.
31468
94d44d9f
RM
314692011-10-26 Roland McGrath <roland@hack.frob.com>
31470
21b64b15 31471 [BZ #13349]
94d44d9f
RM
31472 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31473 doesn't exist.
31474 * manual/stdio.texi (Obstack Streams): Node removed.
31475
f6ce9294
AS
314762011-10-26 Andreas Schwab <schwab@redhat.com>
31477
80479147
AS
31478 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31479 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31480 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31481
f6ce9294
AS
31482 * math/math_private.h (math_force_eval): Allow non-addressable
31483 arguments.
31484 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31485
618280a1
UD
314862011-10-25 Ulrich Drepper <drepper@gmail.com>
31487
e0016b11
UD
31488 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31489 file is not needed.
31490
31491 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31492 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31493 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31494 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31495 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31496 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31497 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31498 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31499 Add AVX variants.
31500 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31501 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31502 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31503 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31504 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31505 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31506 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31507 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31508 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31509 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31510 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31511 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31512 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31513 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31514 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31515 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31516 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31517 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31518 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31519
31520 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31521 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31522
618280a1
UD
31523 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31524 place. Use VEX encoding when compiling for AVX.
31525
37822576
AS
315262011-10-25 Andreas Schwab <schwab@redhat.com>
31527
1f1e1947
AS
31528 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31529 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31530
37822576
AS
31531 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31532
31ea014d
UD
315332011-10-25 Ulrich Drepper <drepper@gmail.com>
31534
d7826aa1 31535 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 31536 useless if() expression.
d7826aa1
UD
31537 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31538 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31539 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31540 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31541 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31542 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31543 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31544 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31545 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31546 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31547 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31548 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31549 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31550 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31551 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31552 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31553 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31554 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31555 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31556
31ea014d
UD
31557 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31558
16437fec
AS
315592011-10-25 Andreas Schwab <schwab@redhat.com>
31560
31561 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31562 condition.
31563 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31564
31d3cc00
UD
315652011-10-25 Ulrich Drepper <drepper@gmail.com>
31566
31567 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31568 .text section. Avoid duplicate constants.
31569 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31570 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31571 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31572 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31573 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31574 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31575 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31576 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31577 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31578 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31579 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31580 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31581 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31582 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31583 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31584 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31585 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31586 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31587 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31588 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31589 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31590 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31591 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31592 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31593 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31594 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31595 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31596 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31597 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31598 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31599 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31600 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31601 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31602 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31603 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31604 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31605 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31606 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31607 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31608 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31609 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31610 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31611 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31612 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31613 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31614
58985aa9
UD
316152011-10-24 Ulrich Drepper <drepper@gmail.com>
31616
202c9deb
UD
31617 * sysdeps/x86_64/dla.h: Move to ...
31618 * sysdeps/x86_64/fpu/dla.h: ...here.
31619 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31620 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 31621
af968f62
UD
31622 * config.make.in: Add have-mfma4 entry.
31623 * configure.in: Substitute libc_cv_cc_fma4.
31624 * math/Makefile (dbl-only-routines): Add sincostab.
31625 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31626 Use __sincostab not sincos.
31627 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31628 name is a macro.
31629 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31630 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31631 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31632 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31633 using __copysign.
31634 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31635 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31636 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31637 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31638 and __inv.
31639 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31640 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31641 __copysign.
31642 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31643 define aliases when function name is a macro.
31644 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31645 sysdeps/ieee754/dbl-64/sincos.tbl.
31646 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31647 fma4-enabled routines.
31648 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31649 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31650 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31651 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31652 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31653 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31654 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31655 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31656 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31657 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31658 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31659 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31660 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31661 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31662 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31663 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31664 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31665 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31666 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31667 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31668 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31669 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31670 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31671 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31672 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31673 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31674 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31675 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31676 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31677 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31678
58985aa9
UD
31679 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31680 rename.
31681 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31682 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31683 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31684 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31685 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31686 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31687 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31688 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31689
a201fbcf
AS
316902011-10-24 Andreas Schwab <schwab@redhat.com>
31691
31692 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31693
fc2ee42a
LD
316942011-10-23 Ulrich Drepper <drepper@gmail.com>
31695
bb3129bd
UD
31696 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31697
0275fff8
UD
31698 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31699 prediction.
31700 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31701
2fa2ae85
UD
31702 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31703 Remove unused variable magic_bits.
31704 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31705
fc2ee42a
LD
31706 * string/strnlen.c: Define and use STRNLEN macro.
31707 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31708 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31709 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31710 * wcsmbs/wcslen.c: Define and use WCSLEN.
31711 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31712 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31713 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31714 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31715 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31716 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31717 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31718
ce7dd29f
LD
317192011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31720
31721 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31722 strnlen-sse2-no-bsf.
31723 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31724 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31725 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31726 Add strnlen support.
31727 (USE_AS_STRNLEN): New macro.
31728 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31729 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31730 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31731 * sysdeps/x86_64/wcslen.S: New file.
31732
979c70a3
MZ
317332011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31734
31735 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31736 XMM-moves are used for copying on small sizes.
31737
2d09f82f
LD
317382011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31739
31740 * wcsmbs/Makefile (strop-tests): Add wcschr.
31741 * wcsmbs/test-wcschr.c: New file.
31742 * string/test-strchr.c: Update.
31743 Add wcschr support.
31744 (WIDE): New macro.
31745
619fccca
LD
317462011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31747
2d09f82f 31748 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
31749 * wcsmbs/test-wcslen.c: New file.
31750 * string/test-strlen.c: Update.
31751 Add wcslen support.
31752 (WIDE): New macro.
31753
09f699ea
UD
317542011-10-23 Ulrich Drepper <drepper@gmail.com>
31755
31756 * po/it.po: Update from translation team.
31757
95584d3b
LD
317582011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31759
31760 * sysdeps/x86_64/wcscmp.S: Update.
31761 Fix wrong comparison semantics.
31762 wcscmp shall use signed comparison not unsigned.
31763 Don't use substraction to avoid overflow bug.
31764 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31765 * wcsmbc/wcscmp.c: Likewise.
31766 * string/test-strcmp.c: Likewise.
31767 Add new tests to check cases with negative values.
31768
c8b3296b
UD
317692011-10-23 Ulrich Drepper <drepper@gmail.com>
31770
31771 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31772 * sysdeps/x86_64/dla.h: ...here. New file.
31773 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31774 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31775 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31776 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31777 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31778 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31779 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31780 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31781 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31782
246ad57a
AS
317832011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31784
31785 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31786 __ynl_finite aliases.
31787
a1a87169
UD
317882011-10-22 Ulrich Drepper <drepper@gmail.com>
31789
0d355eb7
UD
31790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31791
a1a87169
UD
31792 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31793 define DLA_FMA.
31794 [DLA_FMA] (EMULV): Use DLA_FMA.
31795 [DLA_FMA] (MUL12): Use EMULV.
31796 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31797 that are not needed.
31798 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31799 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31800 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31801 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31802 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31803 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31804 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31805
ee2aafe0
AS
318062011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31807
31808 * math/s_nan.c: Undef __nan.
31809 * math/s_nanf.c: Undef __nanf.
31810 * math/s_nanl.c: Undef __nanl.
31811 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31812 "math_private.h".
31813
bc62c2fb
UD
318142011-10-22 Ulrich Drepper <drepper@gmail.com>
31815
77425c63
UD
31816 * math/s_catan.c: Add branch predictions.
31817 * math/s_catanf.c: Likewise.
31818 * math/s_catanh.c: Likewise.
31819 * math/s_catanhf.c: Likewise.
31820 * math/s_catanhl.c: Likewise.
31821 * math/s_catanl.c: Likewise.
31822 * math/s_cexp.c: Likewise.
31823 * math/s_cexpf.c: Likewise.
31824 * math/s_cexpl.c: Likewise.
31825 * math/s_clog.c: Likewise.
31826 * math/s_clog10.c: Likewise.
31827 * math/s_clog10f.c: Likewise.
31828 * math/s_clog10l.c: Likewise.
31829 * math/s_clogf.c: Likewise.
31830 * math/s_clogl.c: Likewise.
31831 * math/s_csqrt.c: Likewise.
31832 * math/s_csqrtf.c: Likewise.
31833 * math/s_csqrtl.c: Likewise.
31834 * math/s_ctanf.c: Likewise.
31835 * math/s_ctanh.c: Likewise.
31836 * math/s_ctanhf.c: Likewise.
31837 * math/s_ctanhl.c: Likewise.
31838 * math/s_ctanl.c: Likewise.
31839
bc62c2fb
UD
31840 * math/math_private.h: Define __nan, __nanf, __nanl.
31841 * math/s_cacosh.c: Include <math_private.h>.
31842 * math/s_cacoshl.c: Likewise.
31843 * math/s_casinh.c: Likewise.
31844 * math/s_casinhf.c: Likewise.
31845 * math/s_casinhl.c: Likewise.
31846 * math/s_ccos.c: Rely entire on ccosh.
31847 * math/s_ccosf.c: Rely entire on ccoshf.
31848 * math/s_ccosl.c: Rely entirely on ccoshl.
31849 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31850 Remove tests for FE_INVALID.
31851 * math/s_ccoshf.c: Likewise.
31852 * math/s_ccoshl.c: Likewise.
31853 * math/s_csin.c: Likewise.
31854 * math/s_csinf.c: Likewise.
31855 * math/s_csinh.c Likewise.
31856 * math/s_csinhf.c: Likewise.
31857 * math/s_csinhl.c: Likewise.
31858 * math/s_csinl.c: Likewise.
31859 * math/s_ctan.c: Likewise.
31860 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31861 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31862 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31863
8ec250a4
UD
318642011-10-21 Ulrich Drepper <drepper@gmail.com>
31865
c196fed8
UD
31866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31867 compilation problems.
31868
8ec250a4
UD
31869 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31870 __builtin_expect.
31871
8d4f46c6
UD
318722011-10-20 Ulrich Drepper <drepper@gmail.com>
31873
ed72b654
UD
31874 * sysdeps/i386/configure.in: Test for -mfma4 option.
31875 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31876 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31877 COMMON_CPUID_INDEX_80000001.
31878 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31879 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31880 use it if FMA3 is not supported.
31881 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31882
8d4f46c6
UD
31883 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31884 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31885
d45c60c2
AS
318862011-10-20 Andreas Schwab <schwab@redhat.com>
31887
31888 [BZ #12892]
31889 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31890 it would create a cycle with a link time dependency.
31891
d9a4d2ab
UD
318922011-10-19 Ulrich Drepper <drepper@gmail.com>
31893
855d1560
UD
31894 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31895 instruction.
31896 * string/Makefile (strop-tests): Add rawmemchr.
31897 * string/test-rawmemchr.c: New file.
31898
d9a4d2ab
UD
31899 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31900 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31901 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31902 when compiling str{,n}casecmp and when AVX is available. Hook up
31903 new optimized code in initializers.
31904
8f3b1ffe
AS
319052011-10-19 Andreas Schwab <schwab@redhat.com>
31906
31907 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31908 __feraiseexcept instead of feraiseexcept.
31909
d38f1dba
UD
319102011-10-18 Ulrich Drepper <drepper@gmail.com>
31911
d9a8d0ab
UD
31912 * math/math_private.h: Define defaults for libc_fetestexcept and
31913 libc_feupdateenv.
31914 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31915 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31916 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31917 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31918 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31919 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31920 libc_fetestexcept and libc_feupdateenv.
31921
4855e3dd
UD
31922 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31923 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31924 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31925 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31926 libc_feholdexcept_setround.
31927
581d30e3
UD
31928 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31929 Add s_nearbyint-c and s_nearbyintf-c.
31930 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31931 nearbyintf inlines.
31932 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31933 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31934 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31935 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31936
d38f1dba
UD
31937 * math/math_private.h: Define defaults for libc_fegetround,
31938 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31939 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31940 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31941 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31942 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31943 standard functions.
31944 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31945 Remove comments and hacks for old compiler versions.
31946 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31947 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31948 libc_feholdexceptl.
31949
caa6c9d8
AS
319502011-10-18 Andreas Schwab <schwab@redhat.com>
31951
31952 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
31953 (__feraiseexcept_renamed): Add __NTH.
31954 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
31955 namespace violations.
31956
97c066e6
UD
319572011-10-17 Ulrich Drepper <drepper@gmail.com>
31958
99ce7b04
UD
31959 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31960
1004d182
UD
31961 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31962
228a984d
UD
31963 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31964 recently added interfaces.
31965 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31966
c8553a6a
UD
31967 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31968 about macro parameter expansion.
31969
ed22dcf6
UD
31970 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31971 __NO_MATH_INLINES is defined. Cleanups.
31972
31973 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31974 and __floorf is target has SSE4.1.
31975 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31976 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31977 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31978 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31979
b171c137
UD
31980 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31981 name.
31982 (floorf): Likewise.
31983
97c066e6
UD
31984 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31985
629f62ef
AS
319862011-10-17 Andreas Schwab <schwab@redhat.com>
31987
49a43d80
AS
31988 * misc/sys/cdefs.h: Fix last change.
31989
629f62ef
AS
31990 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31991 database lookup.
31992
e453f6cd
UD
319932011-10-16 Ulrich Drepper <drepper@gmail.com>
31994
aa78043a
UD
31995 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31996
ad0f5cad
UD
31997 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31998 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31999 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32000 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32001 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32002 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32003 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32004 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32005 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32006 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32007 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32008 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32009 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32010 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32011 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32012 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32013 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32014 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32015 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32016 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32017 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32018 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32019
32020 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32021 ceil, ceilf, floor, floorf.
32022
32023 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32024 Perform IRELATIVE relocations last.
32025
e453f6cd
UD
32026 * elf/do-rel.h: Add another parameter nrelative, replacing the
32027 local variable with the same name. Change name of the function
32028 to end in Rel or Rela (uppercase).
32029 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32030 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32031 elf_dynamic_do_##reloc function.
32032
fd5bdc09
UD
320332011-10-15 Ulrich Drepper <drepper@gmail.com>
32034
79b195b5
UD
32035 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32036 is sufficient, at least on modern CPUs.
32037
d4a28569
UD
32038 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32039
b61099b5
UD
32040 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32041 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32042
bcf01e6d
UD
32043 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32044 __expl_finite.
32045 * math/bits/math-finite.h: Add entries for exp.
32046 * math/e_expl.c: Add __*_finite alias.
32047 * sysdeps/i386/fpu/e_exp.S: Likewise.
32048 * sysdeps/i386/fpu/e_expf.S: Likewise.
32049 * sysdeps/i386/fpu/e_expl.c: Likewise.
32050 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32051 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32052 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32053 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32054 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32055 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32056 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32057
ba1a0d59
UD
32058 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32059 is sufficient, at least on modern CPUs.
32060
fd5bdc09
UD
32061 * ctype/ctype-info.c (__ctype_init): Define.
32062 * include/ctype.h (__ctype_init): Declare.
32063 (__ctype_b_loc): The variable is always initialized.
32064 (__ctype_toupper_loc): Likewise.
32065 (__ctype_tolower_loc): Likewise.
32066 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32067 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32068
7872cfb0
AS
320692011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32070
b468825a
AS
32071 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32072
7872cfb0
AS
32073 * configure.in: Also look in $cxxmachine/include for C++ system
32074 headers.
32075
be13f7bf
LD
320762011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32077
32078 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32079 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32080 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32081 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32082 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32083 (USE_AS_WMEMCMP): New macro.
32084 Fixing indents.
32085 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32086 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32087 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32088 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32089 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32090 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32091 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32092 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32093 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32094 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32095 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32096 (USE_AS_WMEMCMP): New macro.
32097 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32098 * sysdeps/string/test-memcmp.c: Update.
32099 Fix simple_wmemcmp.
32100 Add new tests.
32101 * wcsmbs/wmemcmp.c: Update.
32102 (WMEMCMP): New macro.
32103 Fix overflow bug.
32104
556a2007
AJ
321052011-10-12 Andreas Jaeger <aj@suse.de>
32106
32107 [BZ #13268]
32108 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32109
538faaa7
UD
321102011-10-15 Ulrich Drepper <drepper@gmail.com>
32111
ab6737ff
UD
32112 * libio/iofwide.c (do_length): Avoid warning.
32113
538faaa7
UD
32114 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32115
396a21b1
UD
321162011-10-14 Ulrich Drepper <drepper@gmail.com>
32117
cdf2901f
UD
32118 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32119
38ad40ce
UD
32120 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32121 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32122 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32123 * sysdeps/i386/i686/fpu/e_log.S: New file.
32124 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32125 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32126
396a21b1
UD
32127 * ctype/ctype.h: Add support for inlined isXXX functions when
32128 compiling C++ code.
32129
6b1f68c9
AS
321302011-10-14 Andreas Schwab <schwab@redhat.com>
32131
349290c0
AS
32132 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32133
6b1f68c9
AS
32134 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32135
f2282d42
RM
321362011-10-13 Roland McGrath <roland@hack.frob.com>
32137
32138 [BZ #13291]
32139 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32140
5298ffa8
AS
321412011-10-13 Andreas Schwab <schwab@redhat.com>
32142
714fad23
AS
32143 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32144 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32145 feraiseexcept.
32146
81dcc7fb
AS
32147 * sysdeps/x86_64/memrchr.S: Check for zero size.
32148
5298ffa8
AS
32149 * string/stratcliff.c: Add memrchr tests.
32150
951fbcec
LD
321512011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32152
32153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32154 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32155 rawmemchr-sse2 rawmemchr-sse2-bsf.
32156 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32157 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32158 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32159 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32160 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32161 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32162 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32163 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32164 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32165 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32166 * string/memrchr.c (MEMRCHR): New macro.
32167
0ac5ae23
UD
321682011-10-12 Ulrich Drepper <drepper@gmail.com>
32169
32170 Add integration with gcc's -ffinite-math-only and optimize wrapper
32171 functions in libm.
32172 * Versions.def: Define GLIBC_2.15 version for libm.
32173 * math/Makefile (headers): Add bits/math-finite.h.
32174 * math/bits/math-finite.h: New file.
32175 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32176 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32177 * math/e_acoshl.c: Add __*_finite alias.
32178 * math/e_acosl.c: Likewise.
32179 * math/e_asinl.c: Likewise.
32180 * math/e_atan2l.c: Likewise.
32181 * math/e_atanhl.c: Likewise.
32182 * math/e_coshl.c: Likewise.
32183 * math/e_exp10.c: Likewise.
32184 * math/e_exp10f.c: Likewise.
32185 * math/e_exp10l.c: Likewise.
32186 * math/e_exp2l.c: Likewise.
32187 * math/e_fmodl.c: Likewise.
32188 * math/e_gammal_r.c: Likewise.
32189 * math/e_hypotl.c: Likewise.
32190 * math/e_j0l.c: Likewise.
32191 * math/e_j1l.c: Likewise.
32192 * math/e_jnl.c: Likewise.
32193 * math/e_lgammal_r.c: Likewise.
32194 * math/e_log10l.c: Likewise.
32195 * math/e_log2l.c: Likewise.
32196 * math/e_logl.c: Likewise.
32197 * math/e_powl.c: Likewise.
32198 * math/e_sinhl.c: Likewise.
32199 * math/e_sqrtl.c: Likewise.
32200 * math/e_scalb.c: Completely rewritten and optimized.
32201 * math/e_scalbf.c: Likewise.
32202 * math/e_scalbl.c: Likewise.
32203 * math/w_acos.c: Likewise.
32204 * math/w_acosf.c: Likewise.
32205 * math/w_acosl.c: Likewise.
32206 * math/w_acosh.c: Likewise.
32207 * math/w_acoshf.c: Likewise.
32208 * math/w_acoshl.c: Likewise.
32209 * math/w_asin.c: Likewise.
32210 * math/w_asinf.c: Likewise.
32211 * math/w_asinl.c: Likewise.
32212 * math/w_atan2.c: Likewise.
32213 * math/w_atan2f.c: Likewise.
32214 * math/w_atan2l.c: Likewise.
32215 * math/w_atanh.c: Likewise.
32216 * math/w_atanhf.c: Likewise.
32217 * math/w_atanhl.c: Likewise.
32218 * math/w_exp10.c: Likewise.
32219 * math/w_exp10f.c: Likewise.
32220 * math/w_exp10l.c: Likewise.
32221 * math/w_fmod.c: Likewise.
32222 * math/w_fmodf.c: Likewise.
32223 * math/w_fmodl.c: Likewise.
32224 * math/w_j0.c: Likewise.
32225 * math/w_j0f.c: Likewise.
32226 * math/w_j0l.c: Likewise.
32227 * math/w_j1.c: Likewise.
32228 * math/w_j1f.c: Likewise.
32229 * math/w_j1l.c: Likewise.
32230 * math/w_jn.c: Likewise.
32231 * math/w_jnf.c: Likewise.
32232 * math/w_log.c: Likewise.
32233 * math/w_logf.c: Likewise.
32234 * math/w_logl.c: Likewise.
32235 * math/w_log10.c: Likewise.
32236 * math/w_log10f.c: Likewise.
32237 * math/w_log10l.c: Likewise.
32238 * math/w_log2.c: Likewise.
32239 * math/w_log2f.c: Likewise.
32240 * math/w_log2l.c: Likewise.
32241 * math/w_pow.c: Likewise.
32242 * math/w_powf.c: Likewise.
32243 * math/w_powl.c: Likewise.
32244 * math/w_remainder.c: Likewise.
32245 * math/w_remainderf.c: Likewise.
32246 * math/w_remainderl.c: Likewise.
32247 * math/w_scalb.c: Likewise.
32248 * math/w_scalbf.c: Likewise.
32249 * math/w_scalbl.c: Likewise.
32250 * math/w_sqrt.c: Likewise.
32251 * math/w_sqrtf.c: Likewise.
32252 * math/w_sqrtl.c: Likewise.
32253 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32254 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32255 used.
32256 * math/math_private.h: Declare __kernel_standard_f.
32257 * math/w_cosh.c: Remove cruft and optimize a bit.
32258 * math/w_coshf.c: Likewise.
32259 * math/w_coshl.c: Likewise.
32260 * math/w_exp2.c: Likewise.
32261 * math/w_exp2f.c: Likewise.
32262 * math/w_exp2l.c: Likewise.
32263 * math/w_hypot.c: Likewise.
32264 * math/w_hypotf.c: Likewise.
32265 * math/w_hypotl.c: Likewise.
32266 * math/w_lgamma.c: Likewise.
32267 * math/w_lgamma_r.c: Likewise.
32268 * math/w_lgammaf.c: Likewise.
32269 * math/w_lgammaf_r.c: Likewise.
32270 * math/w_lgammal.c: Likewise.
32271 * math/w_lgammal_r.c: Likewise.
32272 * math/w_sinh.c: Likewise.
32273 * math/w_sinhf.c: Likewise.
32274 * math/w_sinhl.c: Likewise.
32275 * math/w_tgamma.c: Likewise.
32276 * math/w_tgammaf.c: Likewise.
32277 * math/w_tgammal.c: Likewise.
32278 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32279 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32280 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32281 Minor optimizations. Pretty printing. Remove cruft.
32282 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32283 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32284 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32285 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32286 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32287 * sysdeps/i386/fpu/e_asin.S: Likewise.
32288 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32289 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32290 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32291 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32292 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32293 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32294 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32295 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32296 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32297 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32298 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32299 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32300 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32301 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32302 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32303 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32304 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32305 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32306 * sysdeps/i386/fpu/e_log.S: Likewise.
32307 * sysdeps/i386/fpu/e_log10.S: Likewise.
32308 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32309 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32310 * sysdeps/i386/fpu/e_log2.S: Likewise.
32311 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32312 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32313 * sysdeps/i386/fpu/e_logf.S: Likewise.
32314 * sysdeps/i386/fpu/e_logl.S: Likewise.
32315 * sysdeps/i386/fpu/e_pow.S: Likewise.
32316 * sysdeps/i386/fpu/e_powf.S: Likewise.
32317 * sysdeps/i386/fpu/e_powl.S: Likewise.
32318 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32319 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32320 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32321 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32322 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32323 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32324 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32325 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32326 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32327 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32328 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32329 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32330 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32331 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32332 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32333 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32334 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32335 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32336 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32337 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32338 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32339 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32340 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32341 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32342 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32343 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32344 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32345 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32346 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32347 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32348 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32349 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32350 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32351 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32352 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32353 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32354 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32355 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32356 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32357 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32358 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32359 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32360 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32361 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32362 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32363 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32364 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32365 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32366 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32367 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32368 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32369 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32370 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32371 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32372 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32373 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32374 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32375 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32376 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32377 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32378 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32379 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32380 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32381 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32382 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32383 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32384 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32385 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32386 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32387 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32388 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32389 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32390 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32391 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32392 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32393 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32394 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32395 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32396 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32397 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32398 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32399 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32400 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32401 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32402 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32403 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32404 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32405 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32406 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32407 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32408 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32409 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32410 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32411 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32412 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32413 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32414 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32415 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32416 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32417 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32418 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32419 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32420 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32421 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32422 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32423 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32424 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32425 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32426 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32427 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32428 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32429 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32430 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32431 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32432 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32433 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32434 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32435 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32436 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32437 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32438 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32439 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32440 (__isnanf): Likewise.
32441 (__isinf_ns): Likewise.
32442 (__isinf_nsf): Likewise.
32443 (__finite): Likewise.
32444 (__finitef): Likewise.
32445 (__ieee754_sqrt): Define as macro.
32446 (__ieee754_sqrtf): Define as macro.
32447 (__ieee754_sqrtl): Define as macro.
32448 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32449 inlined copy.
32450 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32451 __FINITE_MATH_ONLY__ consistent.
32452 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32453
12cc2fcd
AS
324542011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32455
a843a204
AS
32456 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32457 of rawmemchr.
32458
12cc2fcd
AS
32459 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32460
c853acd5
UD
324612011-10-09 Ulrich Drepper <drepper@gmail.com>
32462
32463 * po/ja.po: Update from translation team.
32464
c658d255
RM
324652011-10-08 Roland McGrath <roland@hack.frob.com>
32466
110946e4
RM
32467 * locale/programs/locarchive.c (prepare_address_space): New function.
32468 (create_archive, enlarge_archive, open_archive): Use it.
32469
50604220
RM
32470 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32471 inside [SHARED], where it is used.
32472
c658d255
RM
32473 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32474
32475 * nss/getent.c (netgroup_keys): Remove unused variable.
32476 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32477
6a621eb7
UD
324782011-10-08 Ulrich Drepper <drepper@gmail.com>
32479
7edb55ce
UD
32480 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32481 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32482 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32483 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32484 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32485 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32486 * math/Makefile (libm-calls): Add s_isinf_ns.
32487 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32488 * math/multc3.c: Likewise.
32489 * math/s_casin.c: Likewise.
32490 * math/s_casinf.c: Likewise.
32491 * math/s_casinl.c: Likewise.
32492 * math/s_ccos.c: Likewise.
32493 * math/s_ccosf.c: Likewise.
32494 * math/s_ccosl.c: Likewise.
32495 * math/s_ctan.c: Likewise.
32496 * math/s_ctanf.c: Likewise.
32497 * math/s_ctanh.c: Likewise.
32498 * math/s_ctanhf.c: Likewise.
32499 * math/s_ctanhl.c: Likewise.
32500 * math/s_ctanl.c: Likewise.
32501 * math/w_fmod.c: Likewise.
32502 * math/w_fmodf.c: Likewise.
32503 * math/w_fmodl.c: Likewise.
32504 * math/w_remainder.c: Likewise.
32505 * math/w_remainderf.c: Likewise.
32506 * math/w_remainderl.c: Likewise.
32507 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32508 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32509 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32510 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32511 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32512 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32513 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32514 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32515
187da0ae
UD
32516 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32517 of the number.
32518 * stdio-common/printf_fphex.c: Likewise.
32519 * stdio-common/printf_size.c: Likewise.
32520
9277c064
UD
32521 * math/e_exp10.c: Include math_private.h using <...> not "...".
32522 * math/e_exp10f.c: Likewise.
32523 * math/e_exp10l.c: Likewise.
32524 * math/e_exp2l.c: Likewise.
32525 * math/e_j0l.c: Likewise.
32526 * math/e_j1l.c: Likewise.
32527 * math/e_jnl.c: Likewise.
32528 * math/e_lgammal_r.c: Likewise.
32529 * math/e_rem_pio2l.c: Likewise.
32530 * math/e_scalb.c: Likewise.
32531 * math/e_scalbf.c: Likewise.
32532 * math/e_scalbl.c: Likewise.
32533 * math/k_cosl.c: Likewise.
32534 * math/k_sinl.c: Likewise.
32535 * math/k_tanl.c: Likewise.
32536 * math/s_cacoshf.c: Likewise.
32537 * math/s_catan.c: Likewise.
32538 * math/s_catanf.c: Likewise.
32539 * math/s_catanh.c: Likewise.
32540 * math/s_catanhf.c: Likewise.
32541 * math/s_catanhl.c: Likewise.
32542 * math/s_catanl.c: Likewise.
32543 * math/s_ccosh.c: Likewise.
32544 * math/s_ccoshf.c: Likewise.
32545 * math/s_ccoshl.c: Likewise.
32546 * math/s_cexp.c: Likewise.
32547 * math/s_cexpf.c: Likewise.
32548 * math/s_cexpl.c: Likewise.
32549 * math/s_clog.c: Likewise.
32550 * math/s_clog10.c: Likewise.
32551 * math/s_clog10f.c: Likewise.
32552 * math/s_clog10l.c: Likewise.
32553 * math/s_clogf.c: Likewise.
32554 * math/s_clogl.c: Likewise.
32555 * math/s_csin.c: Likewise.
32556 * math/s_csinf.c: Likewise.
32557 * math/s_csinh.c: Likewise.
32558 * math/s_csinhf.c: Likewise.
32559 * math/s_csinhl.c: Likewise.
32560 * math/s_csinl.c: Likewise.
32561 * math/s_csqrt.c: Likewise.
32562 * math/s_csqrtf.c: Likewise.
32563 * math/s_csqrtl.c: Likewise.
32564 * math/s_ctan.c: Likewise.
32565 * math/s_ctanf.c: Likewise.
32566 * math/s_ctanh.c: Likewise.
32567 * math/s_ctanhf.c: Likewise.
32568 * math/s_ctanhl.c: Likewise.
32569 * math/s_ctanl.c: Likewise.
32570 * math/s_ldexp.c: Likewise.
32571 * math/s_ldexpf.c: Likewise.
32572 * math/s_ldexpl.c: Likewise.
32573 * math/s_significand.c: Likewise.
32574 * math/s_significandf.c: Likewise.
32575 * math/s_significandl.c: Likewise.
32576 * math/w_acos.c: Likewise.
32577 * math/w_acosf.c: Likewise.
32578 * math/w_acosh.c: Likewise.
32579 * math/w_acoshf.c: Likewise.
32580 * math/w_acoshl.c: Likewise.
32581 * math/w_acosl.c: Likewise.
32582 * math/w_asin.c: Likewise.
32583 * math/w_asinf.c: Likewise.
32584 * math/w_asinl.c: Likewise.
32585 * math/w_atan2.c: Likewise.
32586 * math/w_atan2f.c: Likewise.
32587 * math/w_atan2l.c: Likewise.
32588 * math/w_atanh.c: Likewise.
32589 * math/w_atanhf.c: Likewise.
32590 * math/w_atanhl.c: Likewise.
32591 * math/w_cosh.c: Likewise.
32592 * math/w_coshf.c: Likewise.
32593 * math/w_coshl.c: Likewise.
32594 * math/w_dremf.c: Likewise.
32595 * math/w_exp10.c: Likewise.
32596 * math/w_exp10f.c: Likewise.
32597 * math/w_exp10l.c: Likewise.
32598 * math/w_exp2.c: Likewise.
32599 * math/w_exp2f.c: Likewise.
32600 * math/w_fmod.c: Likewise.
32601 * math/w_fmodf.c: Likewise.
32602 * math/w_fmodl.c: Likewise.
32603 * math/w_hypot.c: Likewise.
32604 * math/w_hypotf.c: Likewise.
32605 * math/w_hypotl.c: Likewise.
32606 * math/w_j0.c: Likewise.
32607 * math/w_j0f.c: Likewise.
32608 * math/w_j0l.c: Likewise.
32609 * math/w_j1.c: Likewise.
32610 * math/w_j1f.c: Likewise.
32611 * math/w_j1l.c: Likewise.
32612 * math/w_jn.c: Likewise.
32613 * math/w_jnf.c: Likewise.
32614 * math/w_jnl.c: Likewise.
32615 * math/w_lgamma.c: Likewise.
32616 * math/w_lgamma_r.c: Likewise.
32617 * math/w_lgammaf.c: Likewise.
32618 * math/w_lgammaf_r.c: Likewise.
32619 * math/w_lgammal.c: Likewise.
32620 * math/w_lgammal_r.c: Likewise.
32621 * math/w_log.c: Likewise.
32622 * math/w_log10.c: Likewise.
32623 * math/w_log10f.c: Likewise.
32624 * math/w_log10l.c: Likewise.
32625 * math/w_log2.c: Likewise.
32626 * math/w_log2f.c: Likewise.
32627 * math/w_log2l.c: Likewise.
32628 * math/w_logf.c: Likewise.
32629 * math/w_logl.c: Likewise.
32630 * math/w_pow.c: Likewise.
32631 * math/w_powf.c: Likewise.
32632 * math/w_powl.c: Likewise.
32633 * math/w_remainder.c: Likewise.
32634 * math/w_remainderf.c: Likewise.
32635 * math/w_remainderl.c: Likewise.
32636 * math/w_scalb.c: Likewise.
32637 * math/w_scalbf.c: Likewise.
32638 * math/w_scalbl.c: Likewise.
32639 * math/w_sinh.c: Likewise.
32640 * math/w_sinhf.c: Likewise.
32641 * math/w_sinhl.c: Likewise.
32642 * math/w_sqrt.c: Likewise.
32643 * math/w_sqrtf.c: Likewise.
32644 * math/w_sqrtl.c: Likewise.
32645 * math/w_tgamma.c: Likewise.
32646 * math/w_tgammaf.c: Likewise.
32647 * math/w_tgammal.c: Likewise.
32648
6a621eb7
UD
32649 * po/ja.po: Update from translation team.
32650
bf582445
AJ
326512011-09-29 Andreas Jaeger <aj@suse.de>
32652
f9efbf3a
AJ
32653 [BZ #13179]
32654 * sunrpc/netname.c (netname2host): Fix logic.
32655
bf582445
AJ
32656 [BZ #6779]
32657 [BZ #6783]
32658 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32659 correctly.
32660 * math/w_remainder.c (__remainder): Likewise.
32661 * math/w_remainderf.c (__remainderf): Likewise.
32662 * math/libm-test.inc (remainder_test): Add test cases.
32663
48693bea
AK
326642011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32665
32666 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32667 sdiv_qrnnd.
32668
42622229
LD
326692011-10-07 Ulrich Drepper <drepper@gmail.com>
32670
32671 * string/test-memcmp.c: Avoid unncessary #defines.
32672 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32673
093ecf92
LD
326742011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32675
32676 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32677 Use new sse2 version for core i3 - i7 as it's faster
32678 than sse42 version.
32679 (bit_Prefer_PMINUB_for_stringop): New.
32680 * sysdeps/x86_64/rawmemchr.S: Update.
32681 Replace with faster SSE2 version.
32682 * sysdeps/x86_64/memrchr.S: New file.
32683 * sysdeps/x86_64/memchr.S: Update.
32684 Replace with faster SSE2 version.
32685
fde56e5c
MP
326862011-09-12 Marek Polacek <mpolacek@redhat.com>
32687
32688 * elf/dl-load.c (lose): Add cast to avoid warning.
32689
21fd49a9
UD
326902011-10-07 Ulrich Drepper <drepper@gmail.com>
32691
5a06e643
UD
32692 * po/ca.po: Update from translation team.
32693
684ae515
UD
32694 * inet/getnetgrent_r.c: Hook up nscd.
32695 * nscd/Makefile (routines): Add nscd_netgroup.
32696 (nscd-modules): Add netgroupcache.
32697 (CFLAGS-netgroupcache.c): Define.
32698 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32699 (cache_search): Add const to second parameter.
32700 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32701 INNETGR.
32702 (dbs): Add netgrdb entry.
32703 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32704 (verify_persistent_db): Handle netgrdb.
32705 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32706 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32707 GETFDNETGR.
32708 (netgroup_response_header): Define.
32709 (innetgroup_response_header): Define.
32710 (datahead): Add netgroup_response_header and innetgroup_response_header
32711 elements.
32712 * nscd/nscd.conf: Add entries for netgroup cache.
32713 * nscd/nscd.h (dbtype): Add netgrdb.
32714 (_PATH_NSCD_NETGROUP_DB): Define.
32715 (netgroup_iov_disabled): Declare.
32716 (xmalloc, xcalloc, xrealloc): Move declarations here.
32717 (cache_search): Adjust prototype.
32718 Add netgroup-related prototypes.
32719 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32720 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32721 (__nscd_innetgr): Declare.
32722 * nscd/selinux.c (perms): Use access_vector_t as element type and
32723 add netgroup-related initializers.
32724 * nscd/netgroupcache.c: New file.
32725 * nscd/nscd_netgroup.c: New file.
32726 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32727 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32728 For four parameters use innetgr.
32729 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32730 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32731 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32732 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32733
21fd49a9
UD
32734 * nscd/connections.c (register_traced_file): Don't register file
32735 for disabled databases.
32736
054c0457
UD
327372011-10-06 Ulrich Drepper <drepper@gmail.com>
32738
32b63198
UD
32739 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32740
054c0457
UD
32741 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32742 from tree and freeing node.
32743
64031225
JO
327442011-09-25 Jiri Olsa <jolsa@redhat.com>
32745
32746 * nss/nsswitch.c (__nss_database_lookup): Handle
32747 nss_parse_service_list out of memory case.
32748
0490345c
JO
327492011-09-15 Jiri Olsa <jolsa@redhat.com>
32750
32751 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32752 out of memory case.
32753
3a62d00d
AS
327542011-10-04 Andreas Schwab <schwab@redhat.com>
32755
32756 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32757 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32758 pass it down.
32759 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32760 elf_machine_rela, elf_machine_lazy_rel.
32761 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32762 (ELF_DYNAMIC_DO_REL): Likewise.
32763 (ELF_DYNAMIC_DO_RELA): Likewise.
32764 (ELF_DYNAMIC_RELOCATE): Likewise.
32765 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32766 to ELF_DYNAMIC_DO_REL.
32767 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32768 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32769 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32770 elf_machine_rela.
32771 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32772 skip_ifunc, don't call ifunc function if non-zero.
32773 (elf_machine_rela): Likewise.
32774 (elf_machine_lazy_rel): Likewise.
32775 (elf_machine_lazy_rela): Likewise.
32776 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32777 (elf_machine_lazy_rel): Likewise.
32778 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32779 Likewise.
32780 (elf_machine_lazy_rel): Likewise.
32781 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32782 Likewise.
32783 (elf_machine_lazy_rel): Likewise.
32784 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32785 (elf_machine_lazy_rel): Likewise.
32786 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32787 (elf_machine_lazy_rel): Likewise.
32788 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32789 (elf_machine_lazy_rel): Likewise.
32790 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32791 (elf_machine_lazy_rel): Likewise.
32792 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32793 (elf_machine_lazy_rel): Likewise.
32794 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32795 (elf_machine_lazy_rel): Likewise.
32796
68577918
UD
327972011-09-28 Ulrich Drepper <drepper@gmail.com>
32798
32799 * nss/nss_files/files-init.c (_nss_files_init): Use static
32800 initialization for all the *_traced_file variables.
32801
68822d74
AS
328022011-09-28 Andreas Schwab <schwab@redhat.com>
32803
32804 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32805
2056100b
RM
328062011-09-27 Roland McGrath <roland@hack.frob.com>
32807
32808 [BZ #13226]
32809 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32810
32c76b63
AS
328112011-09-27 Andreas Schwab <schwab@redhat.com>
32812
32813 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32814 Reread the line before reparsing it.
32815
bf972c9d
AS
328162011-09-26 Andreas Schwab <schwab@redhat.com>
32817
32818 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32819
e057a1b5
JM
328202011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32821 Maxim Kuvyrkov <maxim@codesourcery.com>
32822 Joseph Myers <joseph@codesourcery.com>
32823
32824 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32825 if needed for __stack_chk_guard.
32826
bc7e1c36
RM
328272011-09-19 Roland McGrath <roland@hack.frob.com>
32828
ecb1482f
RM
32829 * sysdeps/posix/spawni.c (script_execute): Always define it.
32830 It will be optimized away if unused.
32831 (maybe_script_execute): New function.
32832 (__spawni): Call it.
32833
bc7e1c36
RM
32834 * Makerules: Don't include tls.make.
32835 (config-tls): Always set to thread.
32836 * tls.make.c: File removed.
32837
1c3b002b
MF
328382011-09-19 Mike Frysinger <vapier@gentoo.org>
32839
32840 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32841 * config.make.in (CPPFLAGS-config): New substituted variable.
32842
2840865d
UD
328432011-09-15 Ulrich Drepper <drepper@gmail.com>
32844
88738eb6
UD
32845 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32846
cbf645a6 32847 [BZ #13192]
2840865d
UD
32848 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32849 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32850
b402e91a
RM
328512011-09-15 Roland McGrath <roland@hack.frob.com>
32852
32853 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32854 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32855 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32856 (CALL_FAIL): Likewise.
32857 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32858 (CALL_FAIL): Macro removed.
32859 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32860
4c1a1f71
UD
328612011-09-15 Ulrich Drepper <drepper@gmail.com>
32862
32863 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32864 for __FINITE_MATH_ONLY__ == 1.
32865
edc121be
AS
328662011-09-15 Andreas Schwab <schwab@redhat.com>
32867
32868 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32869 __ieee754_sqrt instead of sqrt.
32870 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32871 __ieee754_sqrtf instead of sqrtf.
32872 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32873 __floorf instead of floorf.
32874 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32875 __floorf, __truncf instead of floorf, truncf.
32876
cd205654
UD
328772011-09-14 Ulrich Drepper <drepper@gmail.com>
32878
ee4d0315
UD
32879 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32880
cd205654
UD
32881 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32882 __extern_always_inline.
32883 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32884 32-bit.
32885
48b67d71
AS
328862011-09-14 Andreas Schwab <schwab@redhat.com>
32887
32888 * elf/rtld.c (dl_main): Also relocate in dependency order when
32889 doing symbol dependency testing.
32890
1ae12c75
AS
328912011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32892
32893 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32894 Always define `refsym'.
32895
995a80df
AS
328962011-09-13 Andreas Schwab <schwab@redhat.com>
32897
e529793b
AS
32898 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32899 (__FD_ELT): Renamed from __FDELT.
32900 * misc/bits/select2.h (__FD_ELT): Likewise.
32901 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32902 __FD_MASK instead of __FDELT, __FDMASK.
32903 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32904 Likewise.
32905 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32906 Likewise.
32907
52d4fef8
AS
32908 * elf/Makefile (gen-ldd): Fix pattern.
32909
995a80df
AS
32910 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32911 (init_tls): Likewise.
32912
8682f8b0
UD
329132011-09-12 Ulrich Drepper <drepper@gmail.com>
32914
32915 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32916
de82006d
AS
329172011-09-12 Andreas Schwab <schwab@redhat.com>
32918
a7c8e6a1
AS
32919 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32920 `struct cmsghdr *' instead of `void *'.
32921 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32922 Likewise.
32923
0f31fe77
AS
329242011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32925
32926 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32927 if non-absolute.
32928 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32929 ldd_rewrite_script.
0f31fe77 32930
32b4c839
UD
329312011-09-11 Ulrich Drepper <drepper@gmail.com>
32932
83cd1420
UD
32933 * configure.in: Remove --with-tls option.
32934 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32935 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32936 out in case it is missing.
32937 * sysdeps/ia64/elf/configure.in: Likewise.
32938 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32939 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32940 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32941 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32942 * sysdeps/sh/elf/configure.in: Likewise.
32943 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32944 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32945 * sysdeps/x86_64/elf/configure.in: Likewise.
32946 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32947 * sysdeps/mach/hurd/tls.h: Likewise.
32948
633f745d
UD
32949 [BZ #13067]
32950 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32951
f318beb8
UD
32952 [BZ #13090]
32953 * configure.in: Fix use of AC_INIT.
32954
32b4c839
UD
32955 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32956
3ce1f295
UD
329572011-09-10 Ulrich Drepper <drepper@gmail.com>
32958
bb016596
UD
32959 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32960 __set_errno.
8e58439c
UD
32961 * malloc/hooks.c: Likewise.
32962
aebae053 32963 [BZ #11929]
02d46fc4
UD
32964 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32965 variables statically.
32966 (narenas): Initialize.
32967 (list_lock): Initialize.
bb016596
UD
32968 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32969 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
32970 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32971 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32972 Add initializers to main_arena and mp_.
32973 (malloc_state): Remove pagesize member. Change all users to use
32974 GLRO(dl_pagesize).
32975
32976 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32977 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32978 is always initialized.
32979
22a89187
UD
32980 * malloc/malloc.c: Removed unused configurations and dead code.
32981 * malloc/arena.c: Likewise.
32982 * malloc/hooks.c: Likewise.
02d46fc4 32983 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 32984
d063d164
UD
32985 * include/tls.h: Removed. USE___THREAD must always be defined.
32986 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32987 * elf/dl-libc.c: Likewise.
32988 * elf/dl-tsd.c: Likewise.
32989 * include/errno.h: Likewise.
32990 * include/netdb.h: Likewise.
32991 * include/resolv.h: Likewise.
32992 * inet/herrno-loc.c: Likewise.
32993 * inet/herrno.c: Likewise.
32994 * malloc/arena.c: Likewise.
32995 * malloc/hooks.c: Likewise.
32996 * malloc/malloc.c: Likewise.
32997 * resolv/res-state.c: Likewise.
32998 * resolv/res_libc.c: Likewise.
32999 * sysdeps/i386/dl-machine.h: Likewise.
33000 * sysdeps/ia64/dl-machine.h: Likewise.
33001 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33002 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33003 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33004 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33005 * sysdeps/sh/dl-machine.h: Likewise.
33006 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33007 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33008 * sysdeps/unix/i386/sysdep.S: Likewise.
33009 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33010 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33011 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33012 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33013 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33014 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33015 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33016 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33017 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33018 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33019 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33020 * sysdeps/x86_64/dl-machine.h: Likewise.
33021 * tls.make.c: Likewise.
33022
3ce1f295
UD
33023 * configure.in: Remove --with-__thread option. Make tests for
33024 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33025 tls_model attribute fail if no support is available. Remove
33026 USE_IN_LIBIO.
33027 * Makeconfig: Adjust for dropped configure option. All features are
33028 now mandatory.
33029 * Makerules: Likewise.
33030 * Versions.def: Likewise.
33031 * argp/argp-fmtstream.c: Likewise.
33032 * argp/argp-fmtstream.h: Likewise.
33033 * argp/argp-help.c: Likewise.
33034 * assert/assert.c: Likewise.
33035 * config.h.in: Likewise.
33036 * config.make.in: Likewise.
33037 * configure: Likewise.
33038 * configure.in: Likewise.
33039 * csu/Versions: Likewise.
33040 * csu/init.c: Likewise.
33041 * elf/tst-audit2.c: Likewise.
33042 * elf/tst-tls10.c: Likewise.
33043 * elf/tst-tls10.h: Likewise.
33044 * elf/tst-tls11.c: Likewise.
33045 * elf/tst-tls12.c: Likewise.
33046 * elf/tst-tls14.c: Likewise.
33047 * elf/tst-tlsmod11.c: Likewise.
33048 * elf/tst-tlsmod12.c: Likewise.
33049 * elf/tst-tlsmod13.c: Likewise.
33050 * elf/tst-tlsmod13a.c: Likewise.
33051 * elf/tst-tlsmod14a.c: Likewise.
33052 * elf/tst-tlsmod15b.c: Likewise.
33053 * elf/tst-tlsmod16a.c: Likewise.
33054 * elf/tst-tlsmod16b.c: Likewise.
33055 * elf/tst-tlsmod7.c: Likewise.
33056 * elf/tst-tlsmod8.c: Likewise.
33057 * elf/tst-tlsmod9.c: Likewise.
33058 * gmon/gmon.c: Likewise.
33059 * grp/fgetgrent_r.c: Likewise.
33060 * grp/putgrent.c: Likewise.
33061 * hurd/fopenport.c: Likewise.
33062 * include/libc-symbols.h: Likewise.
33063 * include/tls.h: Likewise.
33064 * intl/gettextP.h: Likewise.
33065 * intl/loadinfo.h: Likewise.
33066 * locale/global-locale.c: Likewise.
33067 * locale/localeinfo.h: Likewise.
33068 * mach/devstream.c: Likewise.
33069 * malloc/arena.c: Likewise.
33070 * malloc/set-freeres.c: Likewise.
33071 * misc/err.c: Likewise.
33072 * misc/getttyent.c: Likewise.
33073 * misc/mntent_r.c: Likewise.
33074 * posix/getopt.c: Likewise.
33075 * posix/wordexp.c: Likewise.
33076 * pwd/fgetpwent_r.c: Likewise.
33077 * resolv/Versions: Likewise.
33078 * resolv/res_hconf.c: Likewise.
33079 * shadow/fgetspent_r.c: Likewise.
33080 * shadow/putspent.c: Likewise.
33081 * stdio-common/printf_fphex.c: Likewise.
33082 * stdio-common/tmpfile.c: Likewise.
33083 * stdlib/abort.c: Likewise.
33084 * stdlib/fmtmsg.c: Likewise.
33085 * sunrpc/auth_unix.c: Likewise.
33086 * sunrpc/clnt_perr.c: Likewise.
33087 * sunrpc/clnt_tcp.c: Likewise.
33088 * sunrpc/clnt_udp.c: Likewise.
33089 * sunrpc/clnt_unix.c: Likewise.
33090 * sunrpc/openchild.c: Likewise.
33091 * sunrpc/svc_simple.c: Likewise.
33092 * sunrpc/svc_tcp.c: Likewise.
33093 * sunrpc/svc_udp.c: Likewise.
33094 * sunrpc/svc_unix.c: Likewise.
33095 * sunrpc/xdr.c: Likewise.
33096 * sunrpc/xdr_array.c: Likewise.
33097 * sunrpc/xdr_rec.c: Likewise.
33098 * sunrpc/xdr_ref.c: Likewise.
33099 * sunrpc/xdr_stdio.c: Likewise.
33100
1248c1c4
PB
331012011-09-09 Ulrich Drepper <drepper@gmail.com>
33102
33103 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33104
331052011-07-03 Andreas Jaeger <aj@suse.de>
33106
33107 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33108 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33109 regenerate with gen-libm-tests.pl.
33110
331112010-05-12 Petr Baudis <pasky@suse.cz>
33112
33113 [BZ #11589]
33114 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33115 around j0() zero points by switching to j1().
33116 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33117 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33118 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33119 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33120
f22e1074
UD
331212011-09-09 Ulrich Drepper <drepper@gmail.com>
33122
f19009c1
UD
33123 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33124 instead of 0.
33125 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 33126 instead of 0.
f19009c1
UD
33127 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33128 Patch in part by Pavel Roskin <proski@gnu.org>.
33129
3f8cc204
UD
33130 [BZ #13138]
33131 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33132 realloc.
33133 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33134 Free memory block if necessary.
33135
f22e1074
UD
33136 [BZ #12847]
33137 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33138 be NULL. Don't lock in this case.
33139
0a2349f9
RM
331402011-09-09 Roland McGrath <roland@hack.frob.com>
33141
33142 * elf/elf.h (ELFOSABI_GNU): New macro.
33143 (ELFOSABI_LINUX): Define to that.
33144
f3cdd467
DZ
331452011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33146
33147 * string/strncat.c (strncat): Undef the symbol in case it has been
33148 defined in bits/string.h.
33149
74718d13
UD
331502011-09-09 Ulrich Drepper <drepper@gmail.com>
33151
633e9e0f
UD
33152 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33153
0a2349f9 33154 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
33155 link map.
33156
f9924780
AJ
331572011-08-17 Andreas Jaeger <aj@suse.de>
33158
33159 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33160
7f5517aa
PP
331612011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33162 Ian Lance Taylor <iant@google.com>
33163
33164 * math/libm-test.inc (lround_test): New testcase.
33165 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33166
762011fe
UD
331672011-09-08 Ulrich Drepper <drepper@gmail.com>
33168
92963737
UD
33169 * Makefile: Remove support for automatic cvs check-ins.
33170 * Makerules: Likewise.
33171 * config.make.in: Likewise.
33172 * configure.in: Likewise.
33173 * intl/Makefile: Likewise.
33174 * locale/Makefile: Likewise.
33175 * po/Makefile: Likewise.
33176 * posix/Makefile: Likewise.
33177 * sysdeps/gnu/Makefile: Likewise.
33178 * sysdeps/mach/hurd/Makefile: Likewise.
33179 * sysdeps/sparc/sparc32/Makefile: Likewise.
33180
b0727fd8
JS
33181 [BZ #13118]
33182 * posix/Makefile (bug-regex32-ENV): Define.
33183 Patch by John Stanley <jpsinthemix@verizon.net>.
33184
a0f33f99
UD
33185 * misc/Makefile (headers): Add bits/select2.h.
33186 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33187 * misc/bits/select2.h: New file.
33188 * include/bits/select2.h: New file.
33189 * debug/Makefile (routines): Add fdelt_chk.
33190 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33191 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33192 FD_ISSET.
33193 * debug/fdelt_chk.c: New file.
33194
762011fe
UD
33195 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33196 * wcsmbs/test-wmemcmp.c: Likewise.
33197 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 33198 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
33199
332002011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33201
33202 * string/Makefile (strop-tests): Add memcmp.
33203 * string/test-wmemcmp.c: New file.
33204 * string/test-memcmp.c: Add wmemcmp support.
33205
7f513ec8
RM
332062011-09-08 Roland McGrath <roland@hack.frob.com>
33207
0442afb4
RM
33208 [BZ #13153]
33209 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33210 2011-07-19 change.
33211
7f513ec8
RM
33212 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33213 garbage value in a __mach_port_mod_refs call in the cases of the
33214 task-self and thread-self ports.
33215
a12b2239
ST
332162011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33217
33218 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33219
610f9ab4
AS
332202011-09-08 Andreas Schwab <schwab@redhat.com>
33221
7f513ec8 33222 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 33223
48882a1a
LD
332242011-09-07 Ulrich Drepper <drepper@gmail.com>
33225
b49865be
UD
33226 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33227
fdc86bc9
UD
33228 * elf/dl-libc.c (dlerror_run): Pass back error code from
33229 dl_catch_error.
33230
c966526a
UD
33231 [BZ #13123]
33232 * elf/dl-load.c (lose): Free l_origin if it is valid.
33233
48882a1a
LD
33234 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33235 names.
33236 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33237 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33238 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33239 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33240 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33241 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33242
77a2a8b4
AZ
332432011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33244
33245 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33246 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33247 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33248 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33249 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33250 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33251 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33252 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33253 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33254 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33255
24f579d8
AM
332562011-08-15 Alan Modra <amodra@gmail.com>
33257
33258 [BZ #13092]
33259 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33260 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33261 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33262 ppc_mcount to static-only-routines.
33263 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33264 __mcount_internal.
33265 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33266 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33267
3d4837df
UD
332682011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33269
33270 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33271 for finite and infinity parameters.
33272
22700377
WS
332732011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33274
33275 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33276 and add nop instructions for throughput optimization.
33277 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33278
5025581e
WS
332792011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33280
33281 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33282 aligned copy for power7 with vector-scalar instructions.
33283 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33284
08a300c9
L
332852011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33286
33287 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33288 AVX check.
33289
59178ef9
AS
332902011-09-07 Andreas Schwab <schwab@redhat.com>
33291
33292 [BZ #13144]
33293 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33294 last change.
33295
e38ba7ab
UD
332962011-09-07 Ulrich Drepper <drepper@gmail.com>
33297
33298 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33299 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33300 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33301 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33302 clock_gettime.
33303
d53a73ac
UD
333042011-09-06 Ulrich Drepper <drepper@gmail.com>
33305
fc8bffcc
UD
33306 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33307 Forgot to demangle the pointer.
33308
ceaa0c5d
UD
33309 * sysdeps/i386/sysdep.h: Define atom_text_section.
33310 * sysdeps/x86_64/sysdep.h: Likewise.
33311 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33312 section with atom_text_section.
33313 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33314 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33315 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33316 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33317 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33318
a77d3c17
UD
33319 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33320 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33321 already be defined. Change to take two parameters and don't assign
33322 result to variable. Adjust all users.
33323 Define INTERNAL_GETTIME if not already defined.
33324 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33325 call.
33326 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33327 HAVE_CLOCK_GETTIME_VSYSCALL.
33328 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33329
d53a73ac
UD
33330 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33331 gettimeofday vsyscall, just use time.
33332
a8f84144
AS
333332011-09-06 Andreas Schwab <schwab@redhat.com>
33334
33335 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33336 <errno.h>.
33337
ef606249
UD
333382011-09-06 Ulrich Drepper <drepper@gmail.com>
33339
33340 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33341 syscall on x86-64.
33342 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33343 syscall.
33344 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33345 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33346 syscall if possible.
33347
6585cb60
UD
333482011-09-05 Ulrich Drepper <drepper@gmail.com>
33349
33350 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33351 e_ident. Don't pass to find_mapsXX.
33352 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33353
a5f524e4
LD
333542011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33355
33356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33357 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33358 * sysdeps/x86_64/multiarch/strchr.S: Update.
33359 Check bit_slow_BSF bit.
33360 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33361 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33362 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33363
554881ef
UD
333642011-09-05 Ulrich Drepper <drepper@gmail.com>
33365
d96de963
UD
33366 [BZ #13134]
33367 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33368 before glibc 2.15.
33369 (tryshell): Define.
33370 (__spawni): Change last parameter to be flag. Test
33371 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33372 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33373 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33374 * posix/spawni.c: Likewise.
33375 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33376 * posix/spawnp.c: Likewise. Change normal version to use
33377 SPAWN_XFLAGS_USE_PATH.
33378 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33379 SPAWN_XFLAGS_TRY_SHELL.
33380
d48e5868
UD
33381 [BZ #13150]
33382 * posix/glob.h: Remove gcc 1.x support.
33383
554881ef
UD
33384 [BZ #13068]
33385 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33386
693fb948
LD
333872011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33388
33389 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33390 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33391 strrchr-sse2-bsf
33392 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33393 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33394 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33395 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33396 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33397 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33398
1b48c537
UD
333992011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33400
49d42c37
UD
33401 * sysdeps/x86_64/wcscmp.S: New file.
33402
1b48c537
UD
33403 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33404 wcscmp-c wcscmp-sse2
33405 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33406 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33407 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33408 * wcsmbs/wcscmp.c: Allow renaming.
33409
15c95c5d
DM
334102011-09-05 David S. Miller <davem@davemloft.net>
33411
33412 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33413 stack slot, rather than the struct return pointer slot.
33414 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33415 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33417 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33418
2f0ad8f3
UD
334192011-09-05 Ulrich Drepper <drepper@gmail.com>
33420
d88ae418
UD
33421 * po/ja.po: Update from translation team.
33422
2f0ad8f3
UD
33423 [BZ #13144]
33424 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33425 kernel in 64-bit binaries.
33426
5f4318d1
DM
334272011-09-01 David S. Miller <davem@davemloft.net>
33428
33429 * elf/elf.h (HWCAP_SPARC_*): Move to..
33430 * sysdeps/sparc/sysdep.h: this new file and add new values.
33431 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33432 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33433 _DL_HWCAP_COUNT to 24.
33434 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33435 entries.
33436 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33437 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33438 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33439 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33440 instead of magic constants.
33441 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33442
3ba57516
DM
334432011-08-31 David S. Miller <davem@davemloft.net>
33444
33445 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33446 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33447 Reimplement to do errno handling inline.
33448 (SYSCALL_ERROR_HANDLER): New macro.
33449 (__SYSCALL_STRING): Do not do errno handling in asm.
33450 (__CLONE_SYSCALL_STRING): Delete.
33451 (__INTERNAL_SYSCALL_STRING): Delete.
33452 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33453 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33454 (PSEUDO): Reimplement to do errno handling inline.
33455 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33456 (SYSCALL_ERROR_HANDLER): New macro.
33457 (__SYSCALL_STRING): Do not do errno handling in asm.
33458 (__CLONE_SYSCALL_STRING): Delete.
33459 (__INTERNAL_SYSCALL_STRING): Delete.
33460 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33461 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33462 i386.
33463 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33464 (inline_syscall*): Add 'err' argument.
33465 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33466 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33467 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33468 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33469
33470 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33471 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33472
2bc17433
AS
334732011-08-30 Andreas Schwab <schwab@redhat.com>
33474
33475 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33476
fbeb5f4d
JO
334772011-08-29 Jiri Olsa <jolsa@redhat.com>
33478
33479 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33480 directive.
33481
ad69cc26
DM
334822011-08-24 David S. Miller <davem@davemloft.net>
33483
33484 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33485
39dd69df
AS
334862011-08-24 Andreas Schwab <schwab@redhat.com>
33487
33488 * elf/Makefile: Add rules to build and run unload8 test.
33489 * elf/unload8.c: New file.
33490 * elf/unload8mod1.c: New file.
33491 * elf/unload8mod1x.c: New file.
33492 * elf/unload8mod2.c: New file.
33493 * elf/unload8mod3.c: New file.
33494
33495 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33496 it wasn't used.
33497
2c0b250a
DM
334982011-08-23 David S. Miller <davem@davemloft.net>
33499
33500 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33501 subtract stack bias.
33502 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33503 %sp not %fp in calculations.
33504 (_JMPBUF_UNWINDS_ADJ): Likewise.
33505
22044b48
DM
33506 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33507 (aio_suspend): Call it to force an exception region around the
33508 AIO_MISC_WAIT() invocation.
33509
2cae4995
AS
335102011-08-23 Andreas Schwab <schwab@redhat.com>
33511
33512 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33513 backslash.
33514
873a772e
AJ
335152011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33516
33517 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33518 protection macro.
33519 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33520 and <dl-machine.h>.
33521 (Elf64_FuncDesc): Remove.
33522
25ad0df1
DM
335232011-08-22 David S. Miller <davem@davemloft.net>
33524
33525 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33526 sigaltstack check, add missing cfi directives.
33527 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33528 missing cfi directives, and sigaltstack handling.
33529
e888bcbe
AS
335302011-08-16 Andreas Schwab <schwab@redhat.com>
33531
33532 [BZ #11724]
33533 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33534 object is seen twice.
33535 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33536
33537 * elf/Makefile (distribute): Add tst-initorder2.c.
33538 (tests): Add tst-initorder2.
33539 (modules-names): Add tst-initorder2a tst-initorder2b
33540 tst-initorder2c tst-initorder2d. Add rules to build them.
33541 ($(objpfx)tst-initorder2.out): New rule.
33542 * elf/tst-initorder2.c: New file.
33543 * elf/tst-initorder2.exp: New file.
33544
87162f46
AS
335452011-08-22 Andreas Schwab <schwab@redhat.com>
33546
70538b7f
AS
33547 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33548
f55ffe58
AS
33549 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33550 dependencies back to end of function.
33551
87162f46
AS
33552 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33553 $(elfobjdir)/ld.so.
33554
91b392a4
UD
335552011-08-21 Ulrich Drepper <drepper@gmail.com>
33556
33557 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33558 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33559 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33560 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33561 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33562 of __vdso_gettimeofday.
33563 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33564 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33565 attribute_hidden.
33566 (_libc_vdso_platform_setup): Remove initialization of
33567 __vdso_gettimeofday and __vdso_time.
33568
5c43483f
UD
335692011-08-20 Ulrich Drepper <drepper@gmail.com>
33570
775a77e7
UD
33571 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33572 and fgetc_unlocked.
33573 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33574 getc_unlocked.
89f447ed 33575
49c74ba9
UD
33576 * elf/dl-open.c (add_to_global): Report additions to the global scope
33577 for LD_DEBUG=scopes.
33578 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 33579 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 33580
5c43483f
UD
33581 [BZ #13114]
33582 * stdio-common/Makefile (tests): Add bug24.
33583 * stdio-common/bug24.c: New file.
33584
a101b025
AJ
335852011-08-19 Andreas Jaeger <aj@suse.de>
33586
33587 [BZ #13114]
33588 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33589 non-existant file when using close-on-exec mode.
33590
c88f1766
UD
335912011-08-20 Ulrich Drepper <drepper@gmail.com>
33592
0276a718
UD
33593 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33594 the very first instruction.
33595
c88f1766
UD
33596 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33597 the CFI state in the end.
33598 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33599 inclusion of dl-trampoline.h.
33600 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33601
51ccffa0
AS
336022011-08-19 Andreas Schwab <schwab@redhat.com>
33603
94d7165f
AS
33604 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33605 expectations for long double.
33606
51ccffa0
AS
33607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33608 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33609
fd708658 336102011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
33611
33612 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33613 artificual limit depends upon the system page size.
33614
44f0a71e
UD
336152011-08-17 Ulrich Drepper <drepper@gmail.com>
33616
33617 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33618 * resolv/Makefile: Define CFLAGS-libresolv.
33619
8de79a24
AS
336202011-08-17 Andreas Schwab <schwab@redhat.com>
33621
33622 * nss/makedb.c (compute_tables): Make variables used in nested
33623 function static.
33624
27724598
UD
336252011-08-17 Ulrich Drepper <drepper@gmail.com>
33626
c5305d88
UD
33627 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33628 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33629 if buffer was too small.
33630
27724598
UD
33631 * elf/pldd.c (main): Attach to all threads in the process.
33632 Rewrite /proc handling to use *at functions.
33633
076fe015
UD
336342011-08-16 Ulrich Drepper <drepper@gmail.com>
33635
174baab3
UD
33636 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33637 specifies first scope to show.
33638 (dl_open_worker): Update callers. Move printing scope of new
33639 object to before the relocation.
44f0a71e 33640 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
33641 * sysdeps/generic/ldsodefs.h: Update declaration.
33642
076fe015
UD
33643 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33644 string for the scope number.
33645
a60df2c3
UD
336462011-08-14 Ulrich Drepper <drepper@gmail.com>
33647
33648 * nscd/servicescache.c (cache_addserv): Make sure written is always
33649 initialized.
33650
5e4287d1
RM
336512011-08-14 Roland McGrath <roland@hack.frob.com>
33652
85ae0589
RM
33653 * sysdeps/i386/i486/bits/atomic.h
33654 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33655 statement expression, so as to suppress "set but not used" warning.
33656 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33657
69f63097
RM
33658 * string/strncat.c (STRNCAT): Use prototype definition.
33659
675456ef
RM
33660 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33661 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33662 -Iprograms here.
33663 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33664 (localedef-modules): Add localedef.
33665 (locale-modules): Add locale.
33666
5e4287d1
RM
33667 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33668 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33669 to avoid a warning.
33670
9c96ff23
DM
336712011-08-14 David S. Miller <davem@davemloft.net>
33672
33673 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33674 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33675
f9ddf089
UD
336762011-08-13 Ulrich Drepper <drepper@gmail.com>
33677
44f0a71e 33678 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
33679 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33680 * elf/rtld.c (dl_main): Set l_name of vDSO.
33681 Call _dl_show_scope when DL_DEBUG_SCOPES.
33682 (process_dl_debug): Recognize scopes flag and also set it for all.
33683 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33684 Declare _dl_show_scope.
33685
1dc27704
UD
33686 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33687 (do_dlopen): Pass caller_dlopen to dl_open.
33688 (__libc_dlopen_mode): Initialize caller_dlopen.
33689
f9ddf089
UD
33690 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33691 of libc. Make tolower call locale-independent. Optimize a bit by
33692 using isdigit instead of isalnum.
33693 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33694
9ac533d3
UD
336952011-08-12 Ulrich Drepper <drepper@gmail.com>
33696
33697 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33698 was a dependency or dynamically loaded.
33699
89edf2e9
UD
337002011-08-11 Ulrich Drepper <drepper@gmail.com>
33701
8e999d29
UD
33702 * intl/l10nflist.c: Allow architecture-specific pop function.
33703 * sysdeps/x86_64/l10nflist.c: New file.
33704
89edf2e9
UD
33705 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33706 classification.
33707
14d96785
AS
337082011-08-10 Andreas Schwab <schwab@redhat.com>
33709
33710 * include/dirent.h: Add libc_hidden_proto for scandirat and
33711 scandirat64. Don't declare __scandirat64.
33712 * dirent/scandirat.c: Add libc_hidden_def.
33713 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33714 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33715
6761ac04
DM
337162011-08-10 David S. Miller <davem@davemloft.net>
33717
33718 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33719 enum.
33720 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33721 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33722 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33723
c55fbd1e
UD
337242011-08-09 Ulrich Drepper <drepper@gmail.com>
33725
33726 * Versions.def [libc]: Add GLIBC_2.15.
33727 * dirent/Makefile (routines): Add scandirat and scandirat64.
33728 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33729 GLIBC_2.15.
33730 * dirent/dirent.h: Declare scandirat and scandirat64.
33731 * dirent/scandirat.c: New file.
33732 * dirent/scandirat64.c: New file.
33733 * sysdeps/wordsize-64/scandirat.c: New file.
33734 * sysdeps/wordsize-64/scandirat64.c: New file.
33735 * dirent/opendir.c: Define opendirat.
33736 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33737 using scandirat.
33738 * dirent/scandir64.c: Adjust for scandir.c change.
33739 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33740 __scandirat64, and __scandir_cancel_handler.
33741 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33742 additional parameter and use openat instead of open (outside of ld.so).
33743 Add new __opendir as wrapper around __opendirat.
33744 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33745 here without requiring old scandirat implementation.
33746
879165f2
UD
337472011-08-08 Ulrich Drepper <drepper@gmail.com>
33748
33749 * dirent/scandir.c (cancel_handler): Renamed to
33750 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33751 defined. Adjust users.
33752 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33753 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33754
cb7e923b
UD
337552011-08-04 Ulrich Drepper <drepper@gmail.com>
33756
16292edd
UD
33757 * string/test-string.h (IMPL): Use __STRING to expand name and then
33758 stringify it.
33759
cb7e923b
UD
33760 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33761 of cleanups.
33762
cff82933
LD
337632011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33764
33765 * string/Makefile: Update.
33766 (strop-tests): Append strncat.
33767 * string/test-wcscmp.c: New file.
33768 New comprehensive test for wcscmp.
33769 * string/test-strcmp.c: Update.
33770 (WIDE): New define.
33771
9be9bfcc
AS
337722011-07-22 Andreas Schwab <schwab@redhat.com>
33773
33774 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33775 line.
33776
2e96f1c7
AS
337772011-07-26 Andreas Schwab <schwab@redhat.com>
33778
33779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33780 encoding to ACE if AI_IDN.
33781
85188888
JJ
337822011-08-01 Jakub Jelinek <jakub@redhat.com>
33783
33784 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33785 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33786
5fa16e9b
LD
337872011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33788
33789 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33790 Fix overflow bug in strncat.
33791 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33792
33793 * string/test-strncat.c: Update.
33794 Add new tests for checking overflow bugs.
33795
337962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33797
33798 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33799 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33800 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33801 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33802 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33803 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33804 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33805 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33806 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33807
33808 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33809 (USE_AS_STRCAT): Define.
33810 Add strcat and strncat support.
33811 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33812
8c1a459f
AS
338132011-07-25 Andreas Schwab <schwab@redhat.com>
33814
33815 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33816 __n bigger than INT_MAX+1.
33817 (__strncmp_g): Likewise.
33818
bba33c28
UD
338192011-07-23 Ulrich Drepper <drepper@gmail.com>
33820
798be72d
UD
33821 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33822 * libio/stido.h: Likewise.
33823
8accd4dc
UD
33824 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33825 (AF_NFC): Define.
33826 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33827 (AF_NFC): Define.
33828
cbff0d96
UD
33829 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33830 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33831 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33832 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33833 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33834
9191c04a
UD
33835 [BZ #13021]
33836 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33837 installed.
33838
bba33c28
UD
33839 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33840 typo.
33841 (_dl_x86_64_save_sse): Likewise.
33842
90f139dd
UD
338432011-07-22 Ulrich Drepper <drepper@gmail.com>
33844
1aae088a
UD
33845 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33846 OSXSAVE.
33847 (_dl_x86_64_save_sse): Likewise.
33848
8e2045f5
UD
33849 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33850
90f139dd
UD
33851 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33852
1d002f25
AS
338532011-07-21 Andreas Schwab <schwab@redhat.com>
33854
33855 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33856 change.
33857 (_dl_x86_64_save_sse): Use correct AVX check.
33858
21137f89
UD
338592011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33860
33861 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33862 bug in strncpy/strncat.
33863 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33864
a65c0b7a
UD
338652011-07-21 Ulrich Drepper <drepper@gmail.com>
33866
33867 * string/tester.c (test_strcat): Add tests for different alignments
33868 of source and destination.
33869 (test_strncat): Likewise.
33870
6986b98a
UD
338712011-07-20 Ulrich Drepper <drepper@gmail.com>
33872
90bb2039
UD
33873 [BZ #12852]
33874 * posix/glob.c (glob): Check passed in values before using them in
33875 expressions to avoid some overflows.
33876 (glob_in_dir): Likewise.
33877
5644ef54
UD
33878 [BZ #13007]
33879 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33880 check for AVX enablement so that we don't crash with old kernels and
33881 new hardware.
33882 * elf/tst-audit4.c: Add same checks here.
33883 * elf/tst-audit6.c: Likewise.
33884
33885 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 33886
bfc9dc9b
AS
338872011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33888
33889 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33890
702e64bb
UD
338912011-07-20 Ulrich Drepper <drepper@gmail.com>
33892
33893 * po/cs.po: Update from translation team.
33894 * po/bg.po: Likewise.
33895
295e904f
MP
338962011-07-12 Marek Polacek <mpolacek@redhat.com>
33897
33898 * misc/sys/cdefs.h: Add support for const attribute.
33899 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33900 to gnu_dev_{major,minor,makedev} functions.
33901
3ff94596
MP
339022011-07-20 Marek Polacek <mpolacek@redhat.com>
33903
33904 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33905
28b59fca
AS
339062011-07-20 Andreas Schwab <schwab@redhat.com>
33907
33908 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33909 strlen results.
33910
19df733e
AK
339112011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33912
33913 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33914 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33915 register in order to avoid conflicts with the soft frame pointer
33916 being held in r11 when necessary.
33917 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33918 (INTERNAL_VSYSCALL_NCS): Likewise.
33919
c8835729
MP
339202011-07-14 Marek Polacek <mpolacek@redhat.com>
33921
33922 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33923 * elf/dl-fini.c (_dl_fini): Adjust caller.
33924 * elf/dl-close.c (_dl_close_worker): Likewise.
33925 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33926
b902330c
MP
339272011-07-15 Marek Polacek <mpolacek@redhat.com>
33928
8991e135
MP
33929 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33930 "aux_cache->nlibs < 0".
33931
b902330c
MP
33932 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33933 in the reload-count case.
33934
99710781
LD
339352011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33936
33937 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33938 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33939 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33940 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33941 * sysdeps/x86_64/multiarch/strcat.S: New file.
33942 * sysdeps/x86_64/multiarch/strncat.S: New file.
33943 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33944 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33945 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33946 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33947 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33948 (USE_AS_STRCAT): Define.
33949 Add strcat and strncat support.
33950 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33951 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33952 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33953 * string/strncat.c: Update.
33954 (USE_AS_STRNCAT): Define.
33955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33956 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33957 and i7.
33958 * sysdeps/x86_64/multiarch/init-arch.h
33959 (bit_Prefer_PMINUB_for_stringop): New.
33960 (index_Prefer_PMINUB_for_stringop): Likewise.
33961 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33962 bit_Prefer_PMINUB_for_stringop.
33963
7dc6bd90
UD
339642011-07-19 Ulrich Drepper <drepper@gmail.com>
33965
33966 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33967 buffer64.
33968 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33969 of casting of buffer.
33970 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33971 buffer32 and buffer64.
33972 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33973 writes instead of casting of buffer.
33974 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33975 buffer32.
33976 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33977 casting of buffer.
33978
e0e72284
AS
339792011-07-19 Andreas Schwab <schwab@redhat.com>
33980
33981 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33982
feb1eb0b
UD
339832011-07-19 Ulrich Drepper <drepper@gmail.com>
33984
33985 * nscd/nscd.c (termination_handler): Don't do anything for a database
33986 if it has not yet been initialized.
33987
298711ff
UD
339882011-07-18 Ulrich Drepper <drepper@gmail.com>
33989
33990 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33991
339922011-07-15 Marek Polacek <mpolacek@redhat.com>
33993
33994 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33995
f9d68389
UD
339962011-07-18 Ulrich Drepper <drepper@gmail.com>
33997
33998 * po/nl.po: Update from translation team.
33999 * po/sv.po: Likewise.
34000
db290cf5
RM
340012011-07-16 Roland McGrath <roland@hack.frob.com>
34002
34003 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34004 now disallowed by GCC.
5c550700 34005
fd5e21c7
RM
34006 * configure.in (use-default-link): Default to yes if a test -shared
34007 link meets our qualifications.
34008 * configure: Regenerated.
34009
5c550700
RM
34010 * config.make.in (output-format): New variable.
34011 * configure.in: Check for ld --print-output-format support.
34012 * configure: Regenerated.
34013 * Makerules ($(common-objpfx)format.lds)
34014 [$(output-format) != unknown]: Just use $(output-format),
34015 instead of the linker-script munging.
34016
9fa2c032
RM
340172011-07-14 Roland McGrath <roland@hack.frob.com>
34018
a6928d51
RM
34019 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34020 of $(common-objpfx)shlib.lds.
34021 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34022
661607b3
RM
34023 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34024 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34025
9fa2c032
RM
34026 * configure.in (-z relro check): Adjust test code to add a large
34027 writable data section after it.
34028 * configure: Regenerated.
34029
defe9061
RM
340302011-07-11 Roland McGrath <roland@hack.frob.com>
34031
34032 * configure.in (-z relro check): Fix test code to make the variable
34033 truly const.
34034 * configure: Regenerated.
34035
319b9ad4
UD
340362011-07-11 Ulrich Drepper <drepper@gmail.com>
34037
34038 * nscd/nscd.h (struct traced_file): Define.
34039 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34040 elements. Add traced_files.
34041 (inotify_fd): Declare.
34042 (register_traced_file): Declare.
34043 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34044 (inotify_fd): Export.
34045 (resolv_conf_descr): Remove.
34046 (nscd_init): Move inotify descriptor creation to main.
34047 Don't register files for notification here.
34048 (register_traced_file): New function.
34049 (invalidate_cache): Don't use reset_res to determine whether to call
34050 res_init, go through the list of registered files.
34051 (main_loop_poll): The inotify descriptors are now stored in the
34052 structures for the traced files.
34053 (main_loop_epoll): Likewise
34054 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34055 to __nss_disable_nscd.
34056 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34057 for a database anymore. Check the records for all the registered
34058 files instead.
34059 * nss/Makefile (libnss_files-routines): Add files-init.
34060 (libnss_db-routines): Add db-init.
34061 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34062 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34063 * nss/nss_db/db-init.c: New file.
34064 * nss/nss_files/files-init.c: New file.
34065 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34066 __nss_lookup_function.
34067 (__nss_lookup_function): Call nss_load_library.
34068 (nss_load_all_libraries): New function.
34069 (__nss_disable_nscd): Take parameter with callback function for files
34070 to register. Set is_nscd. Load all the DSOs for the NSS modules
34071 used for the cached services.
34072 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34073 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34074 options for features to all the files in nscd.
34075
34076 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34077
23bee3e8
RM
340782011-07-10 Roland McGrath <roland@hack.frob.com>
34079
34080 * csu/elf-init.c (__libc_csu_init): Comment typo.
34081
46a5b7f0
UD
340822011-07-09 Ulrich Drepper <drepper@gmail.com>
34083
34084 * po/pl.po: Update from translation team.
34085 * po/ja.po: Likewise.
34086 * po/ru.po: Likewise.
34087 * po/ko.po: Likewise.
34088 * po/fr.po: Likewise.
34089
d30cf5bb
RM
340902011-07-09 Roland McGrath <roland@hack.frob.com>
34091
113ddea4
RM
34092 * configure.in (.ctors/.dtors header and trailer check):
34093 Use an empirical test on a built program.
34094 * configure: Regenerated.
34095
574920b4
RM
34096 * configure.in (-z relro check): Use an empirical test on a built DSO.
34097 Detect, but do not require, on ia64.
34098 * configure: Regenerated.
34099
d30cf5bb
RM
34100 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34101 Update tests that use readelf to use $READELF instead.
34102 * configure: Regenerated.
34103
8538fdb3
UD
341042011-07-08 Ulrich Drepper <drepper@gmail.com>
34105
34106 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34107 if the result is not used.
34108
04d08991
AJ
341092011-07-05 Andreas Jaeger <aj@suse.de>
34110
34111 [BZ#9696]
34112 * stdlib/tst-strtod.c: Add testcase.
34113
de283087
AD
341142011-07-07 Ulrich Drepper <drepper@gmail.com>
34115
4e5f31c8 34116 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 34117 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
34118 The latter has a higher limit. Take additional parameter to pass to
34119 the new function.
34120 (__pathconf): Pass file to __statfs_link_max.
34121 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34122 __statfs_link_max.
34123 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34124 __statfs_link_max.
34125
de283087
AD
34126 [BZ #12868]
34127 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34128 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34129 Handle Lustre.
34130 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34131 (__statfs_filesize_max): Likewise.
34132 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34133
c75fa153
AJ
341342011-07-05 Andreas Jaeger <aj@suse.de>
34135
34136 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34137
1a544854
UD
341382011-07-06 Marek Polacek <mpolacek@redhat.com>
34139
34140 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34141 `status' variable.
34142 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34143 Likewise.
34144
6f0eec67
UD
341452011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34146
34147 * Makefile (strop-tests): Add strncat.
34148 * string/test-strncat.c: New file.
34149
aae30307
UD
341502011-06-30 Marek Polacek <mpolacek@redhat.com>
34151
34152 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34153
c0cfb5eb
UD
341542011-06-21 Andreas Jaeger <aj@suse.de>
34155
34156 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34157 Copy rule from iconvdata/Makefile.
34158
01636b21
UD
341592011-07-06 Ulrich Drepper <drepper@gmail.com>
34160
34161 [BZ #12922]
34162 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34163 but no long options are defined, just return 'W'.
34164
9895c8bc
UD
341652011-06-22 Marek Polacek <mpolacek@redhat.com>
34166
34167 [BZ #9696]
34168 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34169
5d4cf042
UD
341702011-07-06 Ulrich Drepper <drepper@gmail.com>
34171
34172 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34173 netgroups to read.
960e5535 34174 (innetgr): Likewise.
5d4cf042 34175
751eb97e
RM
341762011-07-05 Roland McGrath <roland@hack.frob.com>
34177
34178 * config.make.in (install_root): Default to $(DESTDIR).
34179
f15f1e45
UD
341802011-07-05 Ulrich Drepper <drepper@gmail.com>
34181
34182 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34183
4e34ac6a
RM
341842011-07-02 Roland McGrath <roland@hack.frob.com>
34185
5e9b6af4
RM
34186 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34187
84f9ea0f
RM
34188 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34189 containing directory rather than embedding absolute directory names.
34190
ea5ee9f7
RM
34191 * scripts/check-local-headers.sh: Rewritten using awk.
34192 Match by word, not by line. Print error messages for matches.
34193 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34194
1b74661a
RM
34195 * Makerules [shlib-lds-flags empty]:
34196 ($(common-objpfx)libc_pic.opts): New target.
34197 ($(common-objpfx)libc_pic.os.clean): New target.
34198 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34199
34200 * config.make.in (OBJCOPY): New variable.
34201 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34202 * configure: Regenerated.
34203
f781ef40
RM
34204 * config.make.in (use-default-link): New variable.
34205 * configure.in (use_default_link): Grok --with-default-link to set it.
34206 * configure: Regenerated.
34207 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34208 (shlib-lds, shlib-lds-flags): Define to empty.
34209
2d4fa81e
RM
34210 * Makerules (shlib-lds): New variable.
34211 (shlib-lds-flags): New variable.
34212 (build-shlib, build-moduile, build-module-asneeded): Use it.
34213 ($(common-objpfx)libc.so): Use $(shlib-lds).
34214 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34215 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34216
31fffa6b
RM
34217 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34218 DT_FLAGS/DT_FLAGS_1 with zero flags.
34219
4e34ac6a
RM
34220 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34221 linker script munging.
34222
fcfc776b
UD
342232011-07-02 Ulrich Drepper <drepper@gmail.com>
34224
34225 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34226 as 128-bit value.
34227 * crypt/sha512.c (sha512_process_block): Perform total addition using
34228 128-bit if possible.
34229 (__sha512_finish_ctx): Likewise.
34230 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34231 as 64-bit value.
34232 * crypt/sha256.c (SWAP64): Define.
34233 (sha256_process_block): Perform total addition using 64-bit if
34234 possible.
34235 (__sha256_finish_ctx): Likewise.
34236
99231d9a
UD
342372011-07-01 Ulrich Drepper <drepper@gmail.com>
34238
34239 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34240 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34241 * nscd/hstcache.c (cache_addhst): Likewise.
34242 * nscd/grpcache.c (cache_addgr): Likewise.
34243 * nscd/aicache.c (addhstaiX): Likewise
34244 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34245
445b4a53
TK
342462011-07-01 Thorsten Kukuk <kukuk@suse.de>
34247
34248 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34249 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34250 * nscd/hstcache.c (cache_addhst): Likewise.
34251 * nscd/grpcache.c (cache_addgr): Likewise.
34252 * nscd/aicache.c (addhstaiX): Likewise
34253
6d4d8e8e
AS
342542011-07-01 Andreas Schwab <schwab@redhat.com>
34255
34256 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34257 domain only when needed.
34258
89f654c5
AS
342592011-06-30 Andreas Schwab <schwab@redhat.com>
34260
34261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34262 is always restored.
34263
cf3b23ff
UD
342642011-06-29 Ulrich Drepper <drepper@gmail.com>
34265
34266 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34267 are re-adding the entry.
34268 * nscd/servicescache.c (cache_addserv): Likewise.
34269
751626f9
AJ
342702011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34271
34272 * sysdeps/generic/dl-irel.h: fix protection against multiple
34273 inclusions.
34274 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34275
9113ea1f
UD
342762011-06-28 Ulrich Drepper <drepper@gmail.com>
34277
5c0b8d90
UD
34278 [BZ #12935]
34279 * malloc/memusage.sh: Fix quoting in message.
34280 * debug/xtrace.sh: Likewise.
34281
9113ea1f
UD
34282 * configure.in: Remove support for --experimental-malloc option, make
34283 it the default.
34284 * config.make.in: Likewise.
34285 * malloc/Makefile: Likewise.
34286
a4172181
AS
342872011-06-27 Andreas Schwab <schwab@redhat.com>
34288
34289 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34290 two-byte characters.
34291
78a7eee7
RM
342922011-06-27 Roland McGrath <roland@hack.frob.com>
34293
62bede13
RM
34294 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34295 AC_CACHE_CHECK invocation.
34296 * configure: Regenerated.
34297
78a7eee7
RM
34298 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34299
5ce33a62
UD
343002011-06-27 Ulrich Drepper <drepper@gmail.com>
34301
034807a9
UD
34302 [BZ #12350]
34303 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34304 bit from old_res_options.
34305
4902da17
UD
34306 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34307
5ce33a62
UD
34308 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34309 value type for setfct.
34310
c2344f56
L
343112011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34312
34313 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34314 __gettimeofday instead of gettimeofday.
34315
68468076
UD
343162011-06-26 Ulrich Drepper <drepper@gmail.com>
34317
34318 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34319
acb0d739
L
343202011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34321
34322 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34323
34324 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34325 info.
34326
8912479f
L
343272011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34328
34329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34330 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34331 strcpy-sse2-unaligned strncpy-sse2-unaligned
34332 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34333 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34334 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34335 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34336 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34337 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34338 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34339 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34340 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34341 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34342 (STRCPY): Support SSE2 and SSSE3 versions.
34343
d5495a11
UD
343442011-06-24 Ulrich Drepper <drepper@gmail.com>
34345
34346 [BZ #12874]
34347 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34348 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34349 kernels which artificially limit size of requests.
34350
0b1cbaae
L
343512011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34352
34353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34354 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34355 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34356 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34357 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34358 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34359 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34360 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34361 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34362 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34363 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34364 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34365 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34366 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34367 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34369 Enable unaligned load optimization for Intel Core i3, i5 and i7
34370 processors.
34371 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34372 Define.
34373 (index_Fast_Unaligned_Load): Define.
34374 (HAS_FAST_UNALIGNED_LOAD): Define.
34375
07f494a0
MP
343762011-06-23 Marek Polacek <mpolacek@redhat.com>
34377
34378 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34379
fa3fc0fe
UD
343802011-06-22 Ulrich Drepper <drepper@gmail.com>
34381
34382 [BZ #12907]
34383 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34384 until it is clear that the information is realy needed.
34385 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34386
e12df166
AS
343872011-06-22 Andreas Schwab <schwab@redhat.com>
34388
34389 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34390
852eb34d
UD
343912011-06-22 Ulrich Drepper <drepper@gmail.com>
34392
84e2a551
UD
34393 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34394 /sys/devices/system/cpu/online if it is usable.
34395
852eb34d
UD
34396 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34397 reading the information from the /proc filesystem to once a second.
34398
6e502e19
UD
343992011-06-21 Andreas Jaeger <aj@suse.de>
34400
34401 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34402 NULL after inclusion of kernel headers.
34403
75d39ff2
UD
344042011-06-21 Ulrich Drepper <drepper@gmail.com>
34405
51f9aa6a
UD
34406 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34407 calls to internal_setent.
34408
c0244a9d
UD
34409 [BZ #12885]
34410 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34411 addresses using gethostbyname4_r ignore IPv4 addresses.
34412
c5e3c2ae
UD
34413 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34414 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34415
75d39ff2
UD
34416 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34417
42675c6f
DM
344182011-06-20 David S. Miller <davem@davemloft.net>
34419
34420 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34421 inclusions.
34422 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34423
34424 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34425 (elf_irel): Use it.
34426 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34427 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34428 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34429 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34430 * sysdeps/x86_64/dl-irel.h: Likewise.
34431
34432 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34433 * elf/dl-sym.c: Likewise.
34434
57912a71
UD
344352011-06-15 Ulrich Drepper <drepper@gmail.com>
34436
34437 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34438 need to dereference resplen2.
34439
ee22793d
AS
344402011-06-14 Andreas Schwab <schwab@redhat.com>
34441
34442 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34443
a9e836b0
UD
344442011-06-15 Ulrich Drepper <drepper@gmail.com>
34445
77fb9117
UD
34446 * Makeconfig: Define vardbdir and inst_vardbdir.
34447 * nss/Makefile: Add rules to install db-Makefile.
34448
40c1b22c
UD
34449 * nss/nss_db/db-XXX.c: Cleanup.
34450
9f2da732
UD
34451 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34452 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34453 GLIBC_PRIVATE.
34454 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34455 * nss/makedb.c: Implement -g option to specify that value strings
34456 are generated and should not be added to table iterated over for
34457 get*ent calls.
34458 * nss/nss_db/db-initgroups.c: New file.
34459
82e9a1f7
UD
34460 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34461 interface.
34462
c41af17e
UD
34463 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34464 (internal_getgrouplist): Adjust to name change.
34465 Update use_initgroups_entry if this is not the first call.
34466 * nss/databases.def: Add initgroups entry.
34467
a9e836b0
UD
34468 * nss/makedb.c (compute_tables): Check result of multiple hash table
34469 sizes to minimize maximum chain length.
34470
2666d441
UD
344712011-06-14 Ulrich Drepper <drepper@gmail.com>
34472
34473 * Versions.def: Add entry for libnss_db.
34474 * shlib-versions: Likewise.
34475 * nss/Makefile: Add rules to build libnss_db.
34476 * nss/Versions: Add libnss_db information. Organize libnss_files
34477 entries better.
34478 * nss/db-Makefile: Add gshadow support. Change rules for the new
34479 makedb progra. Some minor improvements to generate smaller files.
34480 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34481 here from...
34482 * nss/makedb.c: ...here.
34483 Improve database format to be smaller and require less memory at
34484 runtime.
34485 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34486 db anymore.
34487 * nss/nss_db/db-netgrp.c: Likewise.
34488 * nss/nss_db/db-open.c: Likewise.
34489 * nss/nss_files/flies-XXX.x: Adjust comments.
34490 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34491 * nss/nss_files/files-grp.c: Likewise.
34492 * nss/nss_files/files-hosts.c: Likewise.
34493 * nss/nss_files/files-network.c: Likewise.
34494 * nss/nss_files/files-proto.c: Likewise.
34495 * nss/nss_files/files-pwd.c: Likewise.
34496 * nss/nss_files/files-rpc.c: Likewise.
34497 * nss/nss_files/files-service.c: Likewise.
34498 * nss/nss_files/files-sgrp.c: Likewise.
34499 * nss/nss_files/files-spwd.c: Likewise.
34500 * nss/nss_db/db-alias.c: Removed.
34501 * nss/nss_db/dummy-db.h: Removed.
34502
9ee76b5a
UD
345032011-06-02 Ulrich Drepper <drepper@gmail.com>
34504
34505 * nss/makedb.c: Rewritten to not use database library.
34506 * nss/Makefile: Update to build new makedb program.
34507
c71ca1f8
AJ
345082011-06-14 Andreas Jaeger <aj@suse.de>
34509
34510 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34511 memset declaration.
34512
3154bfb8
UD
345132011-06-10 Andreas Schwab <schwab@redhat.com>
34514
34515 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34516 tmpbuf.
34517
b350afab
RM
345182011-06-10 Roland McGrath <roland@hack.frob.com>
34519
decd4e50
RM
34520 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34521 * elf/Makefile ($(objpfx)ld.so): Likewise.
34522
5615eaf2
RM
34523 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34524 Don't list ld.so twice in dependencies.
34525
34526 * posix/bug-regex31.c: Include <stdlib.h>.
34527
34528 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34529
34530 * nis/nss_compat/compat-spwd.c
34531 (getspent_next_nss_netgr): Remove unused variable.
34532 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34533
34534 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34535 nonmembers" output to use the right array.
34536
34537 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34538
34539 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34540
34541 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34542 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34543 * catgets/gencat.c (read_input_file): Likewise.
34544 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34545
34546 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34547 variable definition inside #if's controlling its use.
34548
34549 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34550
34551 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34552
34553 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34554
34555 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34556 unreachable code.
34557
34558 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34559
b68e08db
RM
34560 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34561 * configure: Regenerated.
34562
b350afab
RM
34563 * Makerules: Revert last change.
34564 * elf/Makefile: Likewise.
34565
28368601
RM
345662011-06-09 Roland McGrath <roland@hack.frob.com>
34567
34568 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34569 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34570 (reloc-link): Likewise.
34571
11988f8f
UD
345722011-06-09 Ulrich Drepper <drepper@gmail.com>
34573
34574 * elf/Makefile: Add rules to build pldd.
34575 * elf/pldd.c: New file.
34576 * elf/pldd-xx.c: New file.
34577
e80fab37
UD
345782011-06-07 Ulrich Drepper <drepper@gmail.com>
34579
34580 * version.h: Update for 2.15 development version.
34581
9b849836
DM
345822011-06-07 David S. Miller <davem@davemloft.net>
34583
34584 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34585 ifuncs.
34586 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34587 elf_machine_lazy_rel): Likewise.
34588 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34589 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34590 elf_machine_lazy_rel): Likewise.
34591 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34592 dl_hwcap via passed in argument.
34593 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34594 Likewise.
34595
5a31b283
AK
345962011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34597
34598 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34599
069e52f8
RM
346002011-06-06 Roland McGrath <roland@hack.frob.com>
34601
34602 [BZ #12849]
34603 * manual/fdl-1.1.texi: New file, verbatim from:
34604 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34605 * manual/lgpl-2.1.texi: New file, verbatim from:
34606 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34607 * manual/Makefile (licenses): New variable, list those new file names.
34608 (texis): Use it.
34609 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34610
34611 * manual/fdl.texi: File removed.
34612 * manual/lesser.texi: File removed.
34613 * manual/libc.texinfo (Copying, Documentation License):
34614 Use new @include file names, put @appendix directive before @include.
34615
f16846a5
JJ
346162011-06-04 Jakub Jelinek <jakub@redhat.com>
34617
34618 [BZ #12841]
34619 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34620 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34621 (mq_open): Add __NTH.
34622
3d29045b
L
346232011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34624
34625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34626 Assume Intel Core i3/i5/i7 processor if AVX is available.
34627
8c297311
UD
346282011-05-31 Ulrich Drepper <drepper@gmail.com>
34629
34630 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34631 typo.
34632
c8fc0c91
UD
346332011-05-31 Andreas Schwab <schwab@redhat.com>
34634
34635 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34636 memory. Use alloca_account. Fix memory leak when retrying.
34637
5b27a807
UD
346382011-05-31 Ulrich Drepper <drepper@gmail.com>
34639
356f8bc6
UD
34640 * version.h (RELEASE): Bump for 2.14 release.
34641 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34642
5b27a807
UD
34643 * config.make.in (RANLIB): Remove entry.
34644
01f16ab0
UD
346452011-05-30 Ulrich Drepper <drepper@gmail.com>
34646
41fce8bd
UD
34647 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34648 (libc.pot): Work around missing support for .ksh extension in xgettext.
34649
4769ae77
UD
34650 [BZ #12684]
34651 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34652 if both request failed.
34653 (send_dg): In case of server errors clear resplen or *resplen2.
34654
6b1e7d19
UD
34655 [BZ #12454]
34656 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34657 when there are multiple maps.
34658 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34659 (_dl_fini): Remove test here.
34660
01f16ab0
UD
34661 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34662
b1ebd700
UD
346632011-05-29 Ulrich Drepper <drepper@gmail.com>
34664
7ae22829
UD
34665 [BZ #12350]
34666 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34667 bit from old_res_options.
34668 (gaih_inet): Likewise.
34669
553149f6 34670 [BZ #11099]
18a84741 34671 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
34672 as signed.
34673
652ffab1
UD
34674 * resolv/res_init.c (res_setoptions): Make the code more compact.
34675
16985fd0
UD
34676 [BZ #11558]
34677 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34678 set RES_USEVC.
34679
0464f746
UD
34680 [BZ #11634]
34681 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34682
7d17596c
UD
34683 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34684
cf6bbbd7
UD
34685 [BZ #11781]
34686 * malloc/malloc.h: Declare malloc hook variables as volatile.
34687
13f1ab36
UD
34688 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34689 in last patch.
34690
b1ebd700
UD
34691 [BZ #11799]
34692 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 34693 raise in the comment.
80e2212d
UD
34694 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34695 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34696 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 34697
ce67228d
UD
346982011-05-28 Ulrich Drepper <drepper@gmail.com>
34699
8887a920
UD
34700 [BZ #12811]
34701 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34702 grow the buffers more if it already has to be sufficient.
34703 (build_wcs_upper_buffer): Likewise.
34704 * posix/regexec.c (check_matching): Likewise.
34705 (clean_state_log_if_needed): Likewise.
34706 (extend_buffers): Don't enlarge buffers beyond size of the input
34707 buffer.
34708 Patches mostly by Emil Wojak <emil@wojak.eu>.
34709 * posix/bug-regex32.c: New file.
34710 * posix/Makefile (tests): Add bug-regex32.
34711
4f031072
UD
34712 * locale/findlocale.c (_nl_find_locale): Return right away if
34713 _nl_explode_name failed.
34714 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34715
d0478f0c
UD
34716 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34717
de81b246
UD
34718 * debug/xtrace.sh: Unify messages.
34719 * malloc/memusage.sh: Likewise.
34720
c738465a
UD
34721 [BZ #12813]
34722 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34723 time symbol from vDSO. Substitute with vsyscall if not available.
34724 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34725 __vdso_time.
34726
f1f929d7
UD
34727 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34728 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34729 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34730 Add sendmmsg and internal_sendmmsg.
34731 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34732 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34733 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34734
ce67228d
UD
34735 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34736 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34737 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34738
e57420c6
UD
347392011-05-27 Ulrich Drepper <drepper@gmail.com>
34740
a8509ca5
UD
34741 [BZ #12813]
34742 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34743 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34744 available.
34745 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34746 __vdso_getcpu.
34747
e57420c6
UD
34748 [BZ #12814]
34749 * iconvdata/Makefile (tests): Add bug-iconv9.
34750 * iconvdata/bug-iconv9.c: New file.
34751
4d07db15
AS
347522011-05-27 Andreas Schwab <schwab@redhat.com>
34753
34754 [BZ #12814]
34755 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34756
ea486f69
JJ
347572011-05-25 Jakub Jelinek <jakub@redhat.com>
34758
34759 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34760 (struct user_regs_struct): Change intcs field back to cs.
34761
6f038433
UD
347622011-05-25 Ulrich Drepper <drepper@gmail.com>
34763
34764 * po/ja.po: Update from translation team.
34765
67f86a25
UD
347662011-05-23 Ulrich Drepper <drepper@gmail.com>
34767
34768 [BZ #12795]
34769 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34770 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34771
def7fbd6
AS
347722011-05-20 Andreas Schwab <schwab@redhat.com>
34773
34774 * stdlib/longlong.h: Update from GCC.
34775
f50ef8f1
AS
347762011-05-23 Andreas Schwab <schwab@redhat.com>
34777
34778 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34779 parameter name.
34780 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34781 Add parameter name.
34782 (__sysconf): Pass it down.
34783
de7ce8f1
UD
347842011-05-22 Ulrich Drepper <drepper@gmail.com>
34785
f2962a71
UD
34786 [BZ #12671]
34787 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34788 some situations.
34789 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34790 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34791 add in in __libc_use_alloca calls. Adjust callers.
34792 (glob): Use malloc in some situations.
34793
de7ce8f1
UD
34794 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34795 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34796 pltexit.
34797
aec84f53
UD
347982011-05-21 Ulrich Drepper <drepper@gmail.com>
34799
05bb4a68
UD
34800 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34801 and CLOCK_BOOTTIME_ALARM.
34802
7ea72f99
UD
34803 [BZ #12782]
34804 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34805 is returned.
34806
7e4afad5
UD
34807 * string/_strerror.c (__strerror_r): Print negative errors as signed
34808 numbers.
34809
8e211fec
UD
34810 [BZ #12777]
34811 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34812 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34813 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34814
f7d82dc9
UD
34815 * configure.in: Fix typo in redirection and correct removal of test
34816 files in two cases.
34817
cc9e536d
UD
34818 [BZ #12788]
34819 * locale/setlocale.c (new_composite_name): Fix test to check for
34820 identical name of all categories.
34821
aec84f53
UD
34822 [BZ #12792]
34823 * libio/filedoalloc.c (local_isatty): New function.
34824 (_IO_file_doallocate): Use local_isatty.
34825 * stdio-common/perror.c (perror): In case a new stream is used
34826 forward the stream error.
34827 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34828 error flag.
34829
78e64fdc
RT
348302011-05-20 Ulrich Drepper <drepper@gmail.com>
34831
34a9094f
UD
34832 [BZ #11869]
34833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34834 alloca.
34835 * include/alloca.h (extend_alloca_account): Define.
34836
78e64fdc
RT
34837 [BZ #11857]
34838 * posix/regex.h: Fix comments with documentation of user-accessible
34839 fields after compilation and describe correct free'ing of pattern
34840 after re_compile_pattern.
34841 Patch by Reuben Thomas <rrt@sc3d.org>.
34842
457bddfc
RA
348432011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34844
34845 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34846 and -mno-altivec to prevent the compiler from using Altivec and/or
34847 VSX instructions when the corresponding registers are not available.
34848
a4527b51
AS
348492011-05-19 Andreas Schwab <schwab@redhat.com>
34850
34851 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34852
ed690b2f
UD
348532011-05-19 Ulrich Drepper <drepper@gmail.com>
34854
34855 * libio/freopen.c (freopen): Use __dup2, not dup2.
34856 * libio/freopen64.c (freopen64): Likewise.
34857
8db73634
L
348582011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34859
34860 [BZ #12775]
34861 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34862 * math/Makefile (tests): Add test-powl.
34863 (CFLAGS-test-powl.c): Define.
34864 * math/test-powl.c: New file.
34865
0a197a9d
L
348662011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34867
34868 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34869
ee30c380
UD
348702011-05-17 Ulrich Drepper <drepper@gmail.com>
34871
34872 [BZ #11837]
34873 * iconvdata/gb18030.c: Update to GB18020-2005.
34874
6ce75379
UD
348752011-05-16 Ulrich Drepper <drepper@gmail.com>
34876
a4b89fd8
AR
34877 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34878 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34879 Patch by Aharon Robbins <arnold@skeeve.com>.
34880
ea389b12
UD
34881 [BZ #11892]
34882 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34883 on the stack.
34884
68a3f91f
UD
34885 [BZ #11895]
34886 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34887 through underflows.
34888
15cc7dd1
UD
34889 [BZ #12766]
34890 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34891 point to strings before performing equality test for error_one_per_line
34892 mode.
34893
f3799213
UD
34894 [BZ #11697]
34895 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34896
d79a9c94
UD
34897 [BZ #11820]
34898 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34899 (struct user_fpregs_struct): Avoid __uint*_t types.
34900
56e5eb46
UD
34901 [BZ #6420]
34902 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34903 symbol info. Use it instead of calling _dl_addr locally.
34904 (lock_and_info): New function.
34905 (tr_freehook): Call lock_and_info and pass symbol info as additional
34906 parameter to tr_where.
34907 (tr_mallochook): Likewise.
34908 (tr_reallochook): Likewise.
34909 (tr_memalignhook): Likewise.
34910
6ce75379
UD
34911 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34912 used and couldn't be at all thread-safe.
34913
f8a3b5bf
UD
349142011-05-15 Ulrich Drepper <drepper@gmail.com>
34915
94b7cc37
UD
34916 * libio/freopen.c (freopen): Don't close old file descriptor
34917 before the new one is opened. Instead dup the new file descriptor
34918 to the old one after the new stream is created.
34919 * libio/freopen64.c (freopen64): Likewise.
34920 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34921 * libio/fileops.c (_IO_new_file_close_it): Handle new
34922 _IO_FLAGS2_NOCLOSE flag.
34923 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34924 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34925 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34926 _IO_FLAGS2_NOCLOSE flag.
34927 * include/unistd.h: Add hidden_proto for dup3.
34928 Define __have_dup3.
34929 * io/dup3.c: Define hidden symbol.
34930 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34931
bd25564e
UD
34932 [BZ #7101]
34933 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34934 when an incomplete long option is used.
34935 * posix/tst-getopt_long1.c: New file.
34936 * posix/Makefile (tests): Add tst-getopt_long1.
34937
c84cfef4
UD
34938 [BZ #10138]
34939 * scripts/config.guess: Update from autoconf-2.68.
34940 * scripts/config.sub: Likewise.
34941
3b85df27
UD
34942 [BZ #10157]
34943 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34944 tests into ...
34945 (has_cpuclock): ...this. New function.
34946 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34947 macro here based on has_cpuclock code.
34948
15a856b1
UD
34949 [BZ #10149]
34950 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34951 First byte (not low byte) is now always NUL.
34952 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34953
05f399e6
UD
34954 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34955 Use non-cancelable interfaces.
34956
10a52685 34957 [BZ #9809]
94ecc67d
UD
34958 * locale/iso-639.def: Add entry for Sorani.
34959
f8a3b5bf
UD
34960 [BZ #11901]
34961 * include/stdlib.h: Move include protection to the right place.
34962 Define abort_msg_s. Declare __abort_msg with it.
34963 * stdlib/abort.c (__abort_msg): Adjust type.
34964 * assert/assert.c (__assert_fail_base): New function. Majority
34965 of code from __assert_fail. Allocate memory for __abort_msg with
34966 mmap.
34967 (__assert_fail): Now call __assert_fail_base.
34968 * assert/assert-perr.c: Remove bulk of implementation. Use
34969 __assert_fail_base.
34970 * include/assert.hL Declare __assert_fail_base.
34971 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34972 mmap.
34973 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34974
1af4e298
UD
349752011-05-14 Ulrich Drepper <drepper@gmail.com>
34976
f8a3b5bf 34977 [BZ #11952]
d26dfc60
MG
34978 [BZ #12453]
34979 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34980 until all modules are registered in the DTV.
34981 * elf/Makefile: Add rules to build and run tst-tls19.
34982 * elf/tst-tls19.c: New file.
34983 * elf/tst-tls19mod1.c: New file.
34984 * elf/tst-tls19mod2.c: New file.
34985 * elf/tst-tls19mod3.c: New file.
34986 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34987
2fc54d6f
UD
34988 [BZ #12083]
34989 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34990 correctly.
34991
98d76b46
UD
34992 [BZ #12601]
34993 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34994 two-byte sequence errors.
34995 * iconvdata/Makefile (tests): Add bug-iconv8.
34996 * iconvdata/bug-iconv8.c: New file.
34997
da3c19ef
UD
34998 [BZ #12626]
34999 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35000 buf2 definition.
35001
ca408c15
UD
35002 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35003
d6f67f7d
UD
35004 [BZ #12432]
35005 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35006 (dummy_getcfa): New function.
35007 (init): Get _Unwind_GetCFA address, use dummy if not found.
35008 (backtrace_helper): In recursion check, also check whether CFA changes.
35009 (__backtrace): Completely initialize arg.
35010
1af4e298 35011 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
35012 storing incomplete byte sequence in state object. Avoid testing for
35013 guaranteed too small input if we know there is enough data available.
1af4e298 35014
da62f81b
AS
350152011-05-11 Andreas Schwab <schwab@redhat.com>
35016
35017 * Makeconfig (+link-pie): Indent.
35018 * Rules (binaries-pie): Define if $(have-fpie) and
35019 $(build-shared).
35020 (binaries-shared): Also filter out $(binaries-pie).
35021 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35022 * nscd/Makefile (others-pie): Add nscd.
35023 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35024 ($(objpfx)nscd): Remove command override.
35025 * login/Makefile (others-pie): Add pt_chown.
35026 ($(objpfx)pt_chown): Remove command override.
35027 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35028 remove command overrides.
35029
fcabc0f8
UD
350302011-05-13 Ulrich Drepper <drepper@gmail.com>
35031
20030ae6
UD
35032 * libio/tst_putwc.c: Fix error messages.
35033
fcabc0f8
UD
35034 [BZ #12724]
35035 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35036 currently writing and seek to current position when not.
35037 * libio/Makefile (tests): Add bug-fclose1.
35038 * libio/bug-fclose1.c: New file.
35039
320a5dc0
PB
350402011-05-12 Ulrich Drepper <drepper@gmail.com>
35041
35042 [BZ #12511]
35043 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35044 don't set DF_1_NODELETE here.
35045 (do_lookup_x): When entering new entry test for copy relocation
35046 and if necessary set DF_1_NODELETE flag.
35047 * elf/tst-unique4.cc: New file.
35048 * elf/tst-unique4.h: New file.
35049 * elf/tst-unique4lib.cc: New file.
35050 * elf/Makefile: Add rules to build and run tst-unique4.
35051 Patch by Piotr Bury <pbury@goahead.com>.
35052
22836f52
UD
350532011-05-11 Ulrich Drepper <drepper@gmail.com>
35054
f574184a
UD
35055 [BZ #12052]
35056 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35057
e1fb097f
UD
35058 [BZ #12625]
35059 * misc/mntent_r.c (addmntent): Flush the stream after the output
35060
22836f52
UD
35061 [BZ #12393]
35062 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35063 (is_trusted_path_normalize): Skip initial colon. Append slash
35064 to empty buffer. Duplicate is_trusted_path code but allow
35065 constructed patch to be prefix.
35066 (is_dst): Allow $ORIGIN followed by /.
35067 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35068 Correct testing of result of is_trusted_path_normalize
35069 (decompose_rpath): Fix warning.
35070
7b3b0b2a
UD
350712011-05-10 Ulrich Drepper <drepper@gmail.com>
35072
35073 [BZ #11257]
35074 * grp/initgroups.c (internal_getgrouplist): When we found the service
35075 list through the initgroups entry in nsswitch.conf do not always
35076 continue on a successful lookup. Don't always use the
eac80ce2 35077 __nss_group_database value if it is set.
7b3b0b2a
UD
35078 * nss/nsswitch.conf (initgroups): Change action for successful db
35079 lookup to continue for compatibility.
35080
2a81eaa5
UD
350812011-05-09 Ulrich Drepper <drepper@gmail.com>
35082
be97a69e
UD
35083 [BZ #11532]
35084 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35085 and CP774 modules.
35086 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35087 and CP774 modules.
35088 * iconvdata/tst-tables.sh: Likewise.
35089 * iconvdata/cp770.c: New file.
35090 * iconvdata/cp771.c: New file.
35091 * iconvdata/cp772.c: New file.
35092 * iconvdata/cp773.c: New file.
35093 * iconvdata/cp774.c: New file.
35094 * iconvdata/testdata/CP770: New file.
35095 * iconvdata/testdata/CP770..UTF8: New file.
35096 * iconvdata/testdata/CP771: New file.
35097 * iconvdata/testdata/CP771..UTF8: New file.
35098 * iconvdata/testdata/CP772: New file.
35099 * iconvdata/testdata/CP772..UTF8: New file.
35100 * iconvdata/testdata/CP773: New file.
35101 * iconvdata/testdata/CP773..UTF8: New file.
35102 * iconvdata/testdata/CP774: New file.
35103 * iconvdata/testdata/CP774..UTF8: New file.
35104
35105 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35106 END CHARMAP line.
35107 * iconvdata/gen-8bit-gap.sh: Likewise.
35108 * iconvdata/gen-8bit.sh: Likewise.
35109
c1e9e399
UD
35110 * locale/iso-639.def: Add ary entry.
35111
24c55fb3 35112 [BZ #11258]
96b4b1b0
UD
35113 * locale/C-translit.h.in: Add U20A1 transliteration.
35114
bdc2f971
KB
35115 [BZ #12178]
35116 * locale/iso-639.def: Add wae entry.
35117 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35118
2952b117
UD
35119 [BZ #12545]
35120 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35121 for n.
35122
2a81eaa5
UD
35123 [BZ #12711]
35124 * locale/C-translit.h.in: Add entry for U20B9.
35125 Patch by pravin.d.s@gmail.com.
35126
28377d1b
UD
351272011-05-08 Ulrich Drepper <drepper@gmail.com>
35128
7fb90fb8
UD
35129 [BZ #12713]
35130 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35131 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
35132 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35133 in rtld. Use *stat64.
7fb90fb8 35134 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 35135 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 35136 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
35137 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35138 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35139 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35140 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35141 __fstatat64 macros.
7fb90fb8
UD
35142 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35143 * dirent/rewinddir.c: Add libc_hidden_def.
35144 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 35145 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 35146
28377d1b
UD
35147 * include/dirent.h (__alloc_dir): Add flags parameter.
35148 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35149 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35150 __alloc_dir.
35151 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35152 from fdopendir if O_CLOEXEC is already set.
35153
66bdbaa4
AM
351542011-03-15 Alan Modra <amodra@gmail.com>
35155
35156 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35157 l_tls_firstbyte_offset non-zero. Save padding offset in
35158 l_tls_firstbyte_offset for later use.
35159 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35160 freeing static tls block.
35161
95721191
JN
351622011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35163
35164 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35165 where #ifdef was intended. The intent is to prevent ARG_MAX from
35166 being defined by the kernel headers.
35167
f87dfb1f
UD
351682011-05-07 Ulrich Drepper <drepper@gmail.com>
35169
35170 [BZ #12734]
35171 * resolv/resolv.h: Define RES_NOTLDQUERY.
35172 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35173 no-tld-query and set RES_NOTLDQUERY.
35174 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35175 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35176 modern BIND to search name as TLD unless forbidden.
35177
47c3cd7a
UD
351782011-05-07 Petr Baudis <pasky@suse.cz>
35179 Ulrich Drepper <drepper@gmail.com>
35180
35181 [BZ #12393]
35182 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35183 (is_trusted_path): ...to here.
c1e9ea35 35184 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 35185 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 35186 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 35187
8a35c912
PP
351882011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35189
35190 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35191 __BEGIN/__END_DECLS.
35192
acd41f47
UD
351932011-05-06 Ulrich Drepper <drepper@gmail.com>
35194
35195 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35196 NSS_STATUS_NOTFOUND if no record was found.
35197
597df647
AS
351982011-05-05 Andreas Schwab <schwab@redhat.com>
35199
35200 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35201 (headers-not-in-tirpc): Remove rpc/netdb.h
35202 * resolv/netdb.h: Revert last change.
35203
b9af1301
PP
352042011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35205
35206 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35207 circular dependency between libgcc.a and libc.a.
35208
4e34d5f5
AS
352092011-05-05 Andreas Schwab <schwab@redhat.com>
35210
35211 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35212 * nis/Makefile: Don't install rpcsvc/*.
35213 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35214 instead of <rpc/types.h>.
35215 (MAXHOSTNAMELEN): Define.
35216
00ee369c
AS
352172011-05-03 Andreas Schwab <schwab@redhat.com>
35218
35219 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35220
0b592a30
MB
352212011-04-28 Maciej Babinski <mbabinski@google.com>
35222
35223 [BZ #12714]
35224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35225 gethostbyname4_r when IPv6 results are possible.
35226
6e04cbbe
UD
352272011-05-02 Ulrich Drepper <drepper@gmail.com>
35228
35229 [BZ #12723]
35230 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35231 _PC_PIPE_BUF handling.
35232
e4ecafe0
BH
352332011-04-30 Bruno Haible <bruno@clisp.org>
35234
35235 [BZ #12717]
35236 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35237 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35238 to 'int'.
35239 * inet/getnameinfo.c (getnameinfo): Likewise.
35240
125ee683
UD
352412011-04-29 Ulrich Drepper <drepper@gmail.com>
35242
35243 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35244 to groups setting in database lookup.
35245 * nss/nsswitch.conf: Add initgroups entry.
35246
b722481a
EB
352472011-04-22 Ulrich Drepper <drepper@gmail.com>
35248
35249 [BZ #12685]
35250 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35251 mode string.
35252 Patch by Eric Blake <eblake@redhat.com>.
35253
4df46dbd
L
352542011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35255
35256 * sunrpc/Makefile (need-export-routines): Add svc_run.
35257 (routines): Remove svc_run.
35258 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35259 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35260 * sunrpc/svc_run.c (svc_run): Likewise.
35261 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35262
e84142d2
UD
352632011-04-21 Ulrich Drepper <drepper@gmail.com>
35264
35265 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35266 problem in reallocation in last patch.
35267
877175d8
UD
352682011-04-20 Ulrich Drepper <drepper@gmail.com>
35269
35270 * sunrpc/Makefile: Move inclusion of Rules.
35271
ab8eed78
UD
352722011-04-19 Ulrich Drepper <drepper@gmail.com>
35273
35274 * nss/nss_files/files-initgroups.c: New file.
35275 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35276 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35277 _nss_files_initgroups_dyn.
35278
e3d8f584
RS
352792011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35280
35281 * elf/elf.h (R_ARM_IRELATIVE): Define.
35282
af190f45
UD
352832011-04-19 Ulrich Drepper <drepper@gmail.com>
35284
35285 * po/ru.po: Update from translation team.
35286
53cf59ef
UD
352872011-04-17 Ulrich Drepper <drepper@gmail.com>
35288
35289 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35290 dependencies.
35291
4c559bcd
MF
352922011-02-06 Mike Frysinger <vapier@gentoo.org>
35293
35294 [BZ #12653]
35295 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35296 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35297 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35298 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35299 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35300
4420675c
AS
353012011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35302
35303 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35304 differing bytes.
35305 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35306 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35307 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35308
75ea32ab
UD
353092011-04-17 Ulrich Drepper <drepper@gmail.com>
35310
35311 [BZ #12420]
35312 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35313 storing it.
35314 * stdlib/bug-getcontext.c: New file.
35315 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35316
27390476
AK
353172011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35318
35319 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35320 instructions into .machine "z9-109".
35321 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35322 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35323
10442705
AK
353242011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35325
35326 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35327 between environment variables and auxiliary vector.
35328
7b57bfe5
UD
353292011-04-16 Ulrich Drepper <drepper@gmail.com>
35330
35331 * Makefile: Add rules to build linkobj/libc.so.
35332 * include/libc-symbols.h: Define libc_hidden_nolink.
35333 * include/rpc/auth.h: Mark functions which are to be hidden.
35334 * include/rpc/auth_des.h: Likewise.
35335 * include/rpc/auth_unix.h: Likewise.
35336 * include/rpc/clnt.h: Likewise.
35337 * include/rpc/des_crypt.h: Likewise.
35338 * include/rpc/key_prot.h: Likewise.
35339 * include/rpc/pmap_clnt.h: Likewise.
35340 * include/rpc/pmap_prot.h: Likewise.
35341 * include/rpc/pmap_rmt.h: Likewise.
35342 * include/rpc/rpc_msg.h: Likewise.
35343 * include/rpc/svc.h: Likewise.
35344 * include/rpc/svc_auth.h: Likewise.
35345 * include/rpc/xdr.h: Likewise.
35346 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35347 * nss/Makefile: Likewise.
35348 * sunrpc/Makefile: Don't install headers. Build library with normal
35349 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35350 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35351 for the compat linking library. Remove use of INTDEF/INTUSE.
35352 * sunrpc/auth_none.c: Likewise.
35353 * sunrpc/auth_unix.c: Likewise.
35354 * sunrpc/authdes_prot.c: Likewise.
35355 * sunrpc/authuxprot.c: Likewise.
35356 * sunrpc/clnt_gen.c: Likewise.
35357 * sunrpc/clnt_perr.c: Likewise.
35358 * sunrpc/clnt_raw.c: Likewise.
35359 * sunrpc/clnt_simp.c: Likewise.
35360 * sunrpc/clnt_tcp.c: Likewise.
35361 * sunrpc/clnt_udp.c: Likewise.
35362 * sunrpc/clnt_unix.c: Likewise.
35363 * sunrpc/des_crypt.c: Likewise.
35364 * sunrpc/des_soft.c: Likewise.
35365 * sunrpc/get_myaddr.c: Likewise.
35366 * sunrpc/key_call.c: Likewise.
35367 * sunrpc/key_prot.c: Likewise.
35368 * sunrpc/netname.c: Likewise.
35369 * sunrpc/pm_getmaps.c: Likewise.
35370 * sunrpc/pm_getport.c: Likewise.
35371 * sunrpc/pmap_clnt.c: Likewise.
35372 * sunrpc/pmap_prot.c: Likewise.
35373 * sunrpc/pmap_prot2.c: Likewise.
35374 * sunrpc/pmap_rmt.c: Likewise.
35375 * sunrpc/publickey.c: Likewise.
35376 * sunrpc/rpc_cmsg.c: Likewise.
35377 * sunrpc/rpc_common.c: Likewise.
35378 * sunrpc/rpc_dtable.c: Likewise.
35379 * sunrpc/rpc_prot.c: Likewise.
35380 * sunrpc/rpc_thread.c: Likewise.
35381 * sunrpc/rtime.c: Likewise.
35382 * sunrpc/svc.c: Likewise.
35383 * sunrpc/svc_auth.c: Likewise.
35384 * sunrpc/svc_authux.c: Likewise.
35385 * sunrpc/svc_raw.c: Likewise.
35386 * sunrpc/svc_run.c: Likewise.
35387 * sunrpc/svc_simple.c: Likewise.
35388 * sunrpc/svc_tcp.c: Likewise.
35389 * sunrpc/svc_udp.c: Likewise.
35390 * sunrpc/svc_unix.c: Likewise.
35391 * sunrpc/svcauth_des.c: Likewise.
35392 * sunrpc/xcrypt.c: Likewise.
35393 * sunrpc/xdr.c: Likewise.
35394 * sunrpc/xdr_array.c: Likewise.
35395 * sunrpc/xdr_float.c: Likewise.
35396 * sunrpc/xdr_intXX_t.c: Likewise.
35397 * sunrpc/xdr_mem.c: Likewise.
35398 * sunrpc/xdr_rec.c: Likewise.
35399 * sunrpc/xdr_ref.c: Likewise.
35400 * sunrpc/xdr_sizeof.c: Likewise.
35401 * sunrpc/xdr_stdio.c: Likewise.
35402
e6c61494
UD
354032011-04-10 Ulrich Drepper <drepper@gmail.com>
35404
35405 [BZ #12650]
35406 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35407 * sysdeps/ia64/dl-tls.h: Likewise.
35408 * sysdeps/powerpc/dl-tls.h: Likewise.
35409 * sysdeps/s390/dl-tls.h: Likewise.
35410 * sysdeps/sh/dl-tls.h: Likewise.
35411 * sysdeps/sparc/dl-tls.h: Likewise.
35412 * sysdeps/x86_64/dl-tls.h: Likewise.
35413 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35414
34fe483e
AS
354152011-03-14 Andreas Schwab <schwab@redhat.com>
35416
35417 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35418 rpath element also skip the following colon.
35419 (expand_dynamic_string_token): Add is_path parameter and pass
35420 down to DL_DST_REQUIRED and _dl_dst_substitute.
35421 (decompose_rpath): Call expand_dynamic_string_token with
35422 non-zero is_path. Ignore empty rpaths.
35423 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35424 with zero is_path.
35425
f12a32e6
AS
354262011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35427
35428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35429 Make cancelable.
35430
38a7d692
UD
354312011-04-09 Ulrich Drepper <drepper@gmail.com>
35432
35433 [BZ #12655]
35434 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35435 Patch by Filipe David Manana <fdmanana@apache.org>.
35436
e451d22b
AS
354372011-04-07 Andreas Schwab <schwab@redhat.com>
35438
35439 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35440 Maintain aligned stack.
35441 (CHECK_RSP): Remove unused macro.
35442
dedc7c7b
UD
354432011-04-03 Ulrich Drepper <drepper@gmail.com>
35444
35445 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35446 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35447
94521213
UD
354482011-04-02 Ulrich Drepper <drepper@gmail.com>
35449
35450 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35451
8cb700c0 35452 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 35453
0354e355
L
354542011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35455
35456 [BZ #12518]
35457 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35458 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35459 * sysdeps/x86_64/memmove.c: New file.
35460 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35461 (memcpy): Renamed to ...
35462 (__new_memcpy): This.
35463 (memcpy): Provide GLIBC_2_14 memcpy.
35464 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35465 (memcpy): Provide GLIBC_2_2_5 memcpy.
35466
8593482f
UD
354672011-04-01 Ulrich Drepper <drepper@gmail.com>
35468
35469 [BZ #12631]
35470 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35471
81a5726b
AS
354722011-03-30 Andreas Schwab <schwab@redhat.com>
35473
35474 * misc/syncfs.c: New file.
35475 * misc/Makefile (routines): Add syncfs.
35476 * posix/unistd.h: Declare syncfs.
35477 * sysdeps/unix/syscalls.list: Add syncfs.
35478
00e5419f
AS
354792011-04-01 Andreas Schwab <schwab@redhat.com>
35480
35481 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35482 open_by_handle_at.
35483 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35484 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35485 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35486 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35487 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35488 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35489 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35490
748876bf
UD
354912011-04-01 Ulrich Drepper <drepper@gmail.com>
35492
658e451d
UD
35493 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35494 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35495 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35496 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35497 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35498 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35499 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35500
748876bf
UD
35501 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35502 sync_file_range.c with -fexceptions.
35503 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35504 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35505 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35506 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35507 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35508 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35509 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
35510 sync_file_range as cancellation point
35511 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35512 now a wrapper around __call_sync_file_range with cancellation handling.
35513 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35514 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35515 function name to __call_sync_file_range.
35516 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35517 Add call_sync_file_range.
748876bf 35518
6e63d5e1
AS
355192011-04-01 Andreas Schwab <schwab@redhat.com>
35520
35521 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 35522 bits/timex.h.
6e63d5e1 35523
46998f74
UD
355242011-04-01 Ulrich Drepper <drepper@gmail.com>
35525
4c1423ed
UD
35526 * iconv/iconv.h: Fix typo in comment.
35527 * io/fcntl.h: Likewise.
35528 * libio/stdio.h: Likewise.
35529 * posix/spawn.h: Likewise.
35530 * posix/unistd.h: Likewise.
35531 * stdlib/stdlib.h: Likewise.
35532 * time/time.h: Likewise.
35533 * wcsmbs/wchar.h: Likewise.
35534
158648c0
UD
35535 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35536 open_by_handle): Add.
35537 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35538 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35539 Augment a few comments.
35540 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35541 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35542 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35543 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35544 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35545 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35546 open_by_handle.
35547
46998f74
UD
35548 * io/fcntl.h (AT_EMPTY_PATH): Define.
35549
83fe108b
UD
355502011-03-30 Ulrich Drepper <drepper@gmail.com>
35551
35552 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35553 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35554 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35555 to...
35556 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
35557 * Versions.def: Add GLIBC_2.14.
35558 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35559 Export.
83fe108b 35560
bb242059
UD
355612011-03-22 Ulrich Drepper <drepper@gmail.com>
35562
35563 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35564 round counter.
35565 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35566
c97a1282
L
355672011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35568
35569 [BZ #12597]
35570 * string/test-strncmp.c (do_page_test): New function.
35571 (check2): Likewise.
35572 (test_main): Call check2.
35573 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35574
2a115601
UD
355752011-03-20 Ulrich Drepper <drepper@gmail.com>
35576
35577 [BZ #12587]
35578 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35579 Handle cache information in CPU leaf 4.
35580 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35581
8126d904
UD
355822011-03-18 Ulrich Drepper <drepper@gmail.com>
35583
042c49c6 35584 [BZ #12583]
8126d904
UD
35585 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35586 character representation.
35587 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35588
ccfe366e
RA
355892011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35590
35591 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35592 END(__isnan) to END(__isnanf) to match function entry point/label
35593 EALIGN(__isnanf,...).
35594
c6e13027
JJ
355952011-03-10 Jakub Jelinek <jakub@redhat.com>
35596
35597 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35598
33f85a3f
UD
355992011-03-10 Ulrich Drepper <drepper@gmail.com>
35600
028478fa
UD
35601 [BZ #12510]
35602 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35603 copy from the symbol referenced in the relocation to initialize the
35604 used variable.
35605 Patch by Piotr Bury <pbury@goahead.com>.
35606 * elf/Makefile: Add rules to build and tst-unique3.
35607 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35608 * elf/tst-unique3.cc: New file.
35609 * elf/tst-unique3.h: New file.
35610 * elf/tst-unique3lib.cc: New file.
35611 * elf/tst-unique3lib2.cc: New file.
35612
33f85a3f
UD
35613 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35614
03592fc7
MF
356152011-03-10 Mike Frysinger <vapier@gentoo.org>
35616
35617 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35618 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35619 to _start.
03592fc7 35620
6a5ee102
UD
356212011-03-06 Ulrich Drepper <drepper@gmail.com>
35622
35623 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35624 to-be-loaded object along a path to loader is ld.so.
35625
7e4ba49c
HJ
356262011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35627 Ulrich Drepper <drepper@gmail.com>
35628
35629 * sysdeps/x86_64/memset.S: After aligning destination, code
35630 branches to different locations depending on the value of
35631 misalignment, when multiarch is enabled. Fix this.
35632
356332011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35634
35635 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35636 Set _x86_64_preferred_memory_instruction for AMD processsors.
35637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35638 Set bit_Prefer_SSE_for_memop for AMD processors.
35639
13a804de
UD
356402011-03-04 Ulrich Drepper <drepper@gmail.com>
35641
35642 * libio/fmemopen.c (fmemopen): Optimize a bit.
35643
9d25c392
AS
356442011-03-03 Andreas Schwab <schwab@redhat.com>
35645
35646 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35647
a5543c6a
RM
356482011-03-03 Roland McGrath <roland@redhat.com>
35649
35650 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35651
012d35f7
DM
356522011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35653
7e4ba49c 35654 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
35655 __bzero_ultra1 instead of __memset_ultra1.
35656
4bff6e01
AS
356572011-02-23 Andreas Schwab <schwab@redhat.com>
35658 Ulrich Drepper <drepper@gmail.com>
35659
35660 [BZ #12509]
35661 * include/link.h (struct link_map): Add l_orig_initfini.
35662 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35663 returning unsuccessfully.
35664 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35665 close of a file loaded at startup, restore the original l_initfini
35666 list.
35667 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35668 list, store the pointer.
35669 * elf/Makefile ($(objpfx)noload-mem): New rule.
35670 (noload-ENV): Define.
35671 (tests): Add $(objpfx)noload-mem.
35672 * elf/noload.c: Include <memcheck.h>.
35673 (main): Call mtrace. Close all opened handles.
35674
f2092faf
AS
356752011-02-17 Andreas Schwab <schwab@redhat.com>
35676
35677 [BZ #12454]
35678 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35679 dependencies are missing.
35680
6c8a2e88
ST
356812011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35682
f2092faf 35683 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
35684 Hurd needs munmap.
35685 * sysdeps/mach/hurd/ifreq.h: New file.
35686
84a42118
PB
356872011-01-27 Petr Baudis <pasky@suse.cz>
35688 Ulrich Drepper <drepper@gmail.com>
35689
071f805e 35690 [BZ 12445]#
84a42118
PB
35691 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35692 to extend_alloca().
35693 * stdio-common/bug23.c: New file.
35694 * stdio-common/Makefile (tests): Add bug23.
35695
e23fe25b
AS
356962010-09-28 Andreas Schwab <schwab@redhat.com>
35697 Ulrich Drepper <drepper@gmail.com>
35698
35699 [BZ #12489]
35700 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35701 before performing relro protection. At old place add assertion
35702 to make sure nothing changed.
35703
d3f02e10
NS
357042011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35705 Glauber de Oliveira Costa <glommer@gmail.com>
35706
35707 * elf/elf.h: Add new ARM TLS relocs.
35708
d55fd7a5
RA
357092011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35710
35711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35712 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35713 cast from r3.
35714 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35715 'tests' variable.
35716 * sysdeps/wordsize-64/tst-writev.c: New file.
35717
2206397e
RA
357182011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35719
35720 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35721 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35722 insns in _dl_start to prevent a TOC reference before relocs are
35723 resolved.
35724
e9433893
UD
357252011-02-15 Ulrich Drepper <drepper@gmail.com>
35726
35727 [BZ #12469]
35728 * Makeconfig: Remove RANLIB definition.
35729 * Makerules: Don't use RANLIB.
35730 * aclocal.m4: Remove ranlib test.
35731 * configure.in: No need to check for ranlib.
35732 * elf/rtld-Rules: Don't use RANLIB.
35733
f75286c6
ST
357342011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35735
8e31c82d
ST
35736 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35737 protection macro.
35738 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35739 inclusion protection macro.
35740
f75286c6
ST
35741 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35742 SIGRTMIN and SIGRTMAX and print information in that case only when
35743 SIGRTMIN is defined.
35744
c1d0e639
JJ
357452011-02-11 Jakub Jelinek <jakub@redhat.com>
35746
35747 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35748 arginfo fn returning -1.
35749
35750 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35751 and thousands string is zero terminated.
35752
edf9294e
AS
357532011-02-03 Andreas Schwab <schwab@redhat.com>
35754
35755 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35756 sysdeps/unix/sysv/linux/bits/socket.h.
35757
2b7e92df
ST
357582011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35759
edf9294e
AS
35760 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35761 (__CPU_COUNT): Remove old macros.
35762 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35763 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35764 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
35765 (__sched_cpualloc, __sched_cpufree): Add declarations.
35766
a4c7ea7b
UD
357672011-02-05 Ulrich Drepper <drepper@gmail.com>
35768
35769 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35770 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35771 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35772 (readdhstai): Return value of addhstaiX call.
35773 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35774 (addgrbyX): Return value returned by cache_addgr.
35775 (readdgrbyname): Return value returned by addgrbyX.
35776 (readdgrbygid): Likewise.
35777 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35778 (addpwbyX): Return value returned by cache_addpw.
35779 (readdpwbyname): Return value returned by addhstbyX.
35780 (readdpwbyuid): Likewise.
35781 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35782 (addservbyX): Return value returned by cache_addserv.
35783 (readdservbyname): Return value returned by addservbyX:
35784 (readdservbyport): Likewise.
35785 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35786 (addhstbyX): Return value returned by cache_addhst.
35787 (readdhstbyname): Return value returned by addhstbyX.
35788 (readdhstbyaddr): Likewise.
35789 (readdhstbynamev6): Likewise.
35790 (readdhstbyaddrv6): Likewise.
35791 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35792 (readdinitgroups): Return value returned by addinitgroupsX.
35793 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35794 (prune_cache): Keep track of timeout value of re-added entries.
35795 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35796 * nscd/nscd.h: Adjust prototypes of readd* functions.
35797
a0bf67cc
RM
357982011-02-04 Roland McGrath <roland@redhat.com>
35799
35800 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35801 (nis_stats): Likewise.
35802 * nis/nis_modify.c (nis_modify): Likewise.
35803 * nis/nis_remove.c (nis_remove): Likewise.
35804 * nis/nis_add.c (nis_add): Likewise.
35805
35806 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35807
35808 * posix/fnmatch_loop.c: Add some consts.
35809
35810 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35811
435b95eb
L
358122011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35813
35814 [BZ #12460]
35815 * config.make.in (config-cflags-novzeroupper): Define.
35816 * configure.in: Substitute libc_cv_cc_novzeroupper.
35817 * elf/Makefile (AVX-CFLAGS): Define.
35818 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35819 (CFLAGS-tst-auditmod4a.c): Likewise.
35820 (CFLAGS-tst-auditmod4b.c): Likewise.
35821 (CFLAGS-tst-auditmod6b.c): Likewise.
35822 (CFLAGS-tst-auditmod6c.c): Likewise.
35823 (CFLAGS-tst-auditmod7b.c): Likewise.
35824 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35825
8517b15e
UD
358262011-02-02 Ulrich Drepper <drepper@gmail.com>
35827
35828 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35829 function to the callback.
35830 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35831
10a656fe
AS
358322011-02-02 Andreas Schwab <schwab@redhat.com>
35833
35834 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35835 of errno.
35836
968dad0a
UD
358372011-01-19 Ulrich Drepper <drepper@gmail.com>
35838
9f94d2ea 35839 [BZ #11724]
968dad0a
UD
35840 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35841 of constructors.
35842 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35843 of destructors.
35844 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35845
35846 [BZ #11724]
35847 * elf/Makefile: Add rules to build and run new test.
35848 * elf/tst-initorder.c: New file.
35849 * elf/tst-initorder.exp: New file.
35850 * elf/tst-initordera1.c: New file.
35851 * elf/tst-initordera2.c: New file.
35852 * elf/tst-initordera3.c: New file.
35853 * elf/tst-initordera4.c: New file.
35854 * elf/tst-initorderb1.c: New file.
35855 * elf/tst-initorderb2.c: New file.
35856 * elf/tst-order-a1.c: New file.
35857 * elf/tst-order-a2.c: New file.
35858 * elf/tst-order-a3.c: New file.
35859 * elf/tst-order-a4.c: New file.
35860 * elf/tst-order-b1.c: New file.
35861 * elf/tst-order-b2.c: New file.
35862 * elf/tst-order-main.c: New file.
35863 New test case by George Gensure <werkt0@gmail.com>.
35864
86e92359
UD
358652010-10-01 Andreas Schwab <schwab@redhat.com>
35866
35867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35868 decoding ACE if AI_CANONIDN.
35869
5d5732b0
UD
358702011-01-18 Ulrich Drepper <drepper@gmail.com>
35871
35872 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35873
a77e8cbc
UD
358742011-01-17 Ulrich Drepper <drepper@gmail.com>
35875
6392473f
UD
35876 * version.h (RELEASE): Bump for 2.13 release.
35877 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35878
620a0529
UD
35879 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35880
18ba70a5
UD
35881 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35882 MADV_NOHUGEPAGE.
32465c3e
UD
35883 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35884 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35885 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35886 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35887 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35888 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35889
c0dafcf1
UD
35890 * posix/getconf.c: Update copyright year.
35891 * catgets/gencat.c: Likewise.
35892 * csu/version.c: Likewise.
35893 * debug/catchsegv.sh: Likewise.
35894 * debug/xtrace.sh: Likewise.
35895 * elf/ldconfig.c: Likewise.
35896 * elf/ldd.bash.in: Likewise.
35897 * elf/sprof.c (print_version): Likewise.
35898 * iconv/iconv_prog.c: Likewise.
35899 * iconv/iconvconfig.c: Likewise.
35900 * locale/programs/locale.c: Likewise.
35901 * locale/programs/localedef.c: Likewise.
35902 * malloc/memusage.sh: Likewise.
35903 * malloc/mtrace.pl: Likewise.
35904 * nscd/nscd.c (print_version): Likewise.
35905 * nss/getent.c: Likewise.
35906
a77e8cbc
UD
35907 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35908 PF_CAIF, and PF_ALG.
35909 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35910
77e8bddf
AS
359112011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35912
1f20b93a
AS
35913 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35914 (modules-names): Use them.
35915 (ifunc-test-modules, ifunc-pie-tests): Define.
35916 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35917 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35918 (test-extras): Likewise.
35919 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35920 $(compile-command.c).
35921 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35922 (all-built-dso): Define.
35923 (check-textrel.out, check-execstack.out): Depend on it.
35924
77e8bddf
AS
35925 * configure.in: Don't override --enable-multi-arch.
35926
bc425b33
UD
359272011-01-15 Ulrich Drepper <drepper@gmail.com>
35928
35929 [BZ #6812]
35930 * nscd/hstcache.c (tryagain): Define.
35931 (cache_addhst): Return tryagain not notfound for temporary errors.
35932 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35933 failed.
35934
794c3ad3
UD
359352011-01-14 Ulrich Drepper <drepper@gmail.com>
35936
70181fdd
UD
35937 [BZ #10563]
35938 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35939 to make the syscall.
35940 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35941
794c3ad3
UD
35942 [BZ #12378]
35943 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35944 and fall back to matching as normal character if the string ends before
35945 the matching ']' is found. This is what POSIX requires.
35946 * posix/testfnm.c: Adjust test result.
35947 * posix/globtest.sh: Adjust test result. Add new test.
35948 * posix/tst-fnmatch.input: Likewise.
35949 * posix/tst-fnmatch2.c: Add new test.
35950
68dc9497
AS
359512010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35952
35953 * elf/Makefile (check-execstack): Revert last change. Depend on
35954 check-execstack.h.
35955 (check-execstack.h): New target.
35956 (generated): Add check-execstack.h.
35957 * elf/check-execstack.c: Include "check-execstack.h".
35958 (main): Revert last change.
35959 (handle_file): Return zero if GNU_STACK is absent and
35960 DEFAULT_STACK_PERMS doesn't include PF_X.
35961
451f001b
UD
359622011-01-13 Ulrich Drepper <drepper@gmail.com>
35963
cfa28e56
UD
35964 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35965 in child fails because the descriptor is already closed.
8cf8ce17
UD
35966 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35967 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35968 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 35969
1086d70d
UD
35970 [BZ #12397]
35971 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35972 syscall.
35973
451f001b
UD
35974 [BZ #10484]
35975 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35976 temporary buffer used to handle multi lookups locally.
a85b5cb4 35977 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 35978
08769175
UD
359792011-01-12 Ulrich Drepper <drepper@gmail.com>
35980
35981 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35982 loader is ld.so.
35983
5e49c52e
UD
359842011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35985
35986 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35987 alignment for SSE2.
35988
60522a5f
UD
359892011-01-12 Ulrich Drepper <drepper@gmail.com>
35990
35991 [BZ #12394]
35992 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35993 characters. When rounding increased number of integer digits recompute
35994 number of groups.
35995 * stdio-common/tst-grouping.c: New file.
35996 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35997
f257bbd7
UD
359982011-01-09 Ulrich Drepper <drepper@gmail.com>
35999
36000 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36001 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36002
36003 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36004 void.
36005 * bits/select.h: Likewise.
36006
fa9c15cb
UD
360072011-01-08 Ulrich Drepper <drepper@gmail.com>
36008
36009 * po/ja.po: Update from translation team.
36010
16c2895f
DM
360112011-01-04 David S. Miller <davem@sunset.davemloft.net>
36012
36013 [BZ #11155]
36014 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36015 implementation just like for lxstat, fxstatat, et al.
36016
2543fef2
JM
360172010-12-27 Jim Meyering <meyering@redhat.com>
36018
36019 [BZ #12348]
36020 * posix/regexec.c (build_trtable): Return failure indication upon
36021 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36022
98727dbe
UD
360232010-12-25 Ulrich Drepper <drepper@gmail.com>
36024
5bd6dc5c
UD
36025 [BZ #12201]
36026 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36027 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36028 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36029 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36030
97983464
UD
36031 [BZ #12207]
36032 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36033
98727dbe
UD
36034 [BZ #12204]
36035 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36036 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36037
4a531bb0
L
360382010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36039
36040 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36041 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36042 script has SORT_BY_INIT_PRIORITY.
36043 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36044 NO_CTORS_DTORS_SECTIONS is defined.
36045 * elf/soinit.c: Likewise.
36046 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36047 NO_CTORS_DTORS_SECTIONS is defined.
36048 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36049 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36050 * sysdeps/sh/init-first.c: Likewise.
36051 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36052
07eb4b71
UD
360532010-12-24 Ulrich Drepper <drepper@gmail.com>
36054
36055 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36056 always use the slow path.
36057
30950a5f
RA
360582010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36059
36060 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36061 similar rule which adds the sysdep directories to the header search in
36062 order to pick up the correct platform stackinfo.h.
36063 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36064 perform test if it is, otherwise return successfully without testing.
36065 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36066 DEFAULT_STACK_PERMS define in stackinfo.h.
36067 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36068 defined in stackinfo.h.
36069 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36070 DEFAULT_STACK_PERMS defined in stackinfo.h.
36071 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36072 * sysdeps/ia64/stackinfo.h: Likewise.
36073 * sysdeps/s390/stackinfo.h: Likewise.
36074 * sysdeps/sh/stackinfo.h: Likewise.
36075 * sysdeps/sparc/stackinfo.h: Likewise.
36076 * sysdeps/x86_64/stackinfo.h: Likewise.
36077 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36078 PF_X for powerpc64. Retain PF_X for powerpc32.
36079
db753e2c
UD
360802010-12-19 Ulrich Drepper <drepper@gmail.com>
36081
14b697f7
UD
36082 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36083 accurately.
db753e2c
UD
36084 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36085 GETDENTS_64BIT_ALIGNED.
36086
28300719
UD
360872010-12-14 Ulrich Drepper <dreper@gmail.com>
36088
14b697f7 36089 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 36090
4f197237
AS
360912010-12-10 Andreas Schwab <schwab@redhat.com>
36092
dbb0472f
AS
36093 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36094 _GNU_SOURCE.
36095
4f197237
AS
36096 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36097 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36098 Remove __restrict.
36099 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36100 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36101
fb88ac72
UD
361022010-12-09 Ulrich Drepper <drepper@gmail.com>
36103
36104 [BZ #11655]
36105 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36106 are initialized.
36107
42acbb92
JJ
361082010-12-09 Jakub Jelinek <jakub@redhat.com>
36109
36110 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36111
c038d98d
UD
361122010-12-03 Ulrich Drepper <drepper@gmail.com>
36113
36114 * po/it.po: Update from translation team.
36115
3a4a2499
L
361162010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36117
36118 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36119 unused codes.
36120
1e24cf6e
UD
361212010-11-30 Ulrich Drepper <drepper@gmail.com>
36122
36123 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36124
a7690819
AS
361252010-11-24 Andreas Schwab <schwab@redhat.com>
36126
36127 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36128 specially.
36129 (gaih_getanswer_slice): Likewise.
36130
3bf8d1b1
JJ
361312010-10-20 Jakub Jelinek <jakub@redhat.com>
36132
36133 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36134
6db52fbb
PB
361352010-05-31 Petr Baudis <pasky@suse.cz>
36136
36137 [BZ #11149]
36138 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36139 silently even in the chroot mode.
36140
eaca7569
UD
361412010-11-22 Ulrich Drepper <drepper@gmail.com>
36142
36143 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36144 last patch a bit. Pretty printing
36145
3056dcdb
UD
361462010-05-31 Petr Baudis <pasky@suse.cz>
36147
36148 [BZ #10085]
36149 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36150 initialization of skip_initgroups_dyn.
36151
cf7c9078
UD
361522010-11-19 Ulrich Drepper <drepper@gmail.com>
36153
36154 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36155 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36156
a1fb5e3e
UD
361572010-11-16 Ulrich Drepper <drepper@gmail.com>
36158
36159 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36160
3540d66b
AS
361612010-11-11 Andreas Schwab <schwab@redhat.com>
36162
36163 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36164 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36165 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36166 ($(objpfx)tst-fnmatch-mem): New rule.
36167 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36168 * posix/tst-fnmatch.c (main): Call mtrace.
36169
13b69574
L
361702010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36171
36172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36173 Support Intel processor model 6 and model 0x2c.
36174
da93d214
LM
361752010-11-10 Luis Machado <luisgpm@br.ibm.com>
36176
36177 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36178 signed comparison.
36179
8ca52c6e
L
361802010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36181
36182 [BZ #12205]
36183 * string/test-strncasecmp.c (check_result): New function.
36184 (do_one_test): Use it.
36185 (check1): New function.
36186 (test_main): Use it.
36187 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36188 Support strcasecmp and strncasecmp.
36189
69da074d
UD
361902010-11-08 Ulrich Drepper <drepper@gmail.com>
36191
36192 [BZ #12194]
36193 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36194 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36195
ff02d528
L
361962010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36197
36198 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36199 IFUNC support.
36200 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36201 memset-x86-64.
36202 * sysdeps/x86_64/multiarch/bzero.S: New file.
36203 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36204 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36205 * sysdeps/x86_64/multiarch/memset.S: New file.
36206 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36208 Set bit_Prefer_SSE_for_memop for Intel processors.
36209 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36210 Define.
36211 (index_Prefer_SSE_for_memop): Define.
36212 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36213
344d0b54
LM
362142010-11-04 Luis Machado <luisgpm@br.ibm.com>
36215
36216 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36217 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36218
c0dde15b
UD
362192010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36220
36221 [BZ #12191]
36222 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36223 (__x86_64_raw_data_cache_size_half): Likewise.
36224 (__x86_64_raw_shared_cache_size): Likewise.
36225 (__x86_64_raw_shared_cache_size_half): Likewise.
36226
36227 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36228 (__x86_64_raw_data_cache_size_half): Likewise.
36229 (__x86_64_raw_shared_cache_size): Likewise.
36230 (__x86_64_raw_shared_cache_size_half): Likewise.
36231 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36232 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36233 and __x86_64_raw_shared_cache_size_half. Round
36234 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36235 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36236 to multiple of 256 bytes.
36237
0e516e0e
MS
362382010-11-03 Ulrich Drepper <drepper@gmail.com>
36239
36240 [BZ #12167]
36241 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36242 of inacessible symlinks. Verify result of symlink before returning it.
36243 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36244 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36245
0e012e87
ER
362462010-10-28 Erich Ritz <erichritz@gmail.com>
36247
36248 * math/math.h (isinf): Fix typo in comment.
36249
de0ff7bc
UD
362502010-11-01 Ulrich Drepper <drepper@gmail.com>
36251
36252 * po/da.po: Update from translation team.
36253
fa41c84d
UD
362542010-10-26 Ulrich Drepper <drepper@gmail.com>
36255
36256 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36257 is added to the list.
36258
f0967738
AK
362592010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36260 Ulrich Drepper <drepper@gmail.com>
36261
36262 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36263 the global list here. Move code to...
36264 (_dl_add_to_namespace_list): ...here. New function.
36265 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36266 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36267 * elf/dl-load.c (lose): Don't remove the element from the list.
36268 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36269 (_dl_map_object): Likewise.
36270
362712010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
36272
36273 [BZ #12159]
36274 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36275 into all bytes of SSE register.
36276 Patch by Richard Li <richardpku@gmail.com>.
36277
f0967738 362782010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
36279
36280 [BZ #12140]
36281 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36282 perturbing.
36283
d0b9e94f
MB
362842010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36285
36286 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36287 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36288 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36289 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36291 submachine.
36292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36293
8e9f92e9
AS
362942010-10-22 Andreas Schwab <schwab@redhat.com>
36295
36296 * include/dlfcn.h (__RTLD_SECURE): Define.
36297 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36298 mode & __RTLD_SECURE instead.
36299 (open_path): Rename preloaded parameter to secure.
36300 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36301 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36302 * elf/dl-deps.c (openaux): Likewise.
36303 * elf/rtld.c (struct map_args): Remove is_preloaded.
36304 (map_doit): Don't use it.
36305 (dl_main): Likewise.
36306 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36307 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36308
bc96fbda
AS
363092010-09-09 Andreas Schwab <schwab@redhat.com>
36310
36311 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36312 (sysd-rules-targets): Remove duplicates.
36313 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36314 rtld-%.$o dependency.
36315
22cd1c9b
AS
363162010-10-18 Andreas Schwab <schwab@redhat.com>
36317
36318 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36319 _dl_map_object do it.
36320
18edac48
UD
363212010-10-19 Ulrich Drepper <drepper@gmail.com>
36322
36323 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36324 fast fma builtins, define the macros in the C99 standard.
36325 (FP_FAST_FMAF): Likewise.
36326 (FP_FAST_FMAL): Likewise.
36327 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36328
36329 * bits/mathdef.h: Update copyright year.
36330 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36331
d2050124
MM
363322010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36333
36334 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36335 builtins, define the macros in the C99 standard.
36336 (FP_FAST_FMAF): Likewise.
36337 (FP_FAST_FMAL): Likewise.
36338 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36339 multiply/add.
36340 (FP_FAST_FMAF): Likewise.
36341
475facd1
JJ
363422010-10-15 Jakub Jelinek <jakub@redhat.com>
36343
36344 [BZ #3268]
36345 * math/libm-test.inc (fma_test): Some new testcases.
36346 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36347 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36348 y and infinite z. Do multiplication by C already in long double.
36349 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36351 y and infinite z. Do bitwise or of inexact bit into u.d.
36352 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36353 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36354 * sysdeps/i386/fpu/s_fma.S: Removed.
36355 * sysdeps/i386/fpu/s_fmal.S: Removed.
36356
7c08a05c
JJ
363572010-10-16 Jakub Jelinek <jakub@redhat.com>
36358
36359 [BZ #3268]
36360 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36361 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36362 computation is not scheduled after fetestexcept. Fix value
36363 of minimum denormal long double.
36364
f3f7372d
JJ
363652010-10-14 Jakub Jelinek <jakub@redhat.com>
36366
36367 [BZ #3268]
36368 * math/libm-test.inc (fma_test): Add some more tests.
36369 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36370 correctly.
36371
14d43591
AS
363722010-10-15 Andreas Schwab <schwab@redhat.com>
36373
36374 * scripts/data/localplt-s390-linux-gnu.data: New file.
36375 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36376
5e908464
JJ
363772010-10-13 Jakub Jelinek <jakub@redhat.com>
36378
36379 [BZ #3268]
36380 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36381 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36382 instead of dbl-64.
36383 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36384 inlines.
36385 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36386 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36387 if one of x and y is very large and the other is subnormal.
36388 * sysdeps/s390/fpu/s_fmaf.c: New file.
36389 * sysdeps/s390/fpu/s_fma.c: New file.
36390 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36391 * sysdeps/powerpc/fpu/s_fma.S: New file.
36392 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36393 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36394 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36395
363962010-10-12 Jakub Jelinek <jakub@redhat.com>
36397
36398 [BZ #3268]
36399 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36400 fma tests.
36401 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36402 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36403 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36404 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36405 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36406 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36407 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36408
b833d51f
UD
364092010-10-12 Ulrich Drepper <drepper@redhat.com>
36410
36411 [BZ #12078]
36412 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36413 * posix/bug-regex31.input: Add test case.
36414
1751705d
UD
364152010-10-11 Ulrich Drepper <drepper@gmail.com>
36416
e9b9cbf5
UD
36417 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36418 * posix/bug-regex31.input: New file.
36419
36420 [BZ #12078]
36421 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36422 (parse_sub_exp): Fix last change, use postorder.
36423
ef06edbe
UD
36424 * posix/bug-regex31.c: New file.
36425 * posix/Makefile: Add rules to build and run bug-regex31.
36426
a129c80d
UD
36427 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36428
36429 [BZ #12078]
36430 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36431
b76b818e
UD
36432 [BZ #12108]
36433 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36434 to have entries in sys_siglist.
36435
1751705d
UD
36436 [BZ #12093]
36437 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36438 be NULL.
36439
9ff8d36f
JJ
364402010-10-07 Jakub Jelinek <jakub@redhat.com>
36441
36442 [BZ #3268]
36443 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36444 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36445 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36446 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36447 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36448 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36449 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36450 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36451 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36452 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36453 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36454 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36455 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36456 * math/ftestexcept.c (fetestexcept): Likewise.
36457 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36458 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36459 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36460 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36461 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36462 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36463 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36464
af325969
UD
364652010-10-11 Ulrich Drepper <drepper@gmail.com>
36466
c579b202 36467 [BZ #12107]
af325969
UD
36468 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36469 newline.
36470
67a67b95
UD
364712010-10-06 Ulrich Drepper <drepper@gmail.com>
36472
36473 * string/bug-strstr1.c: New file.
36474 * string/Makefile: Add rules to build and run bug-strstr1.
36475
5fb308bc
EB
364762010-10-05 Eric Blake <eblake@redhat.com>
36477
36478 [BZ #12092]
36479 * string/str-two-way.h (two_way_long_needle): Always clear memory
36480 when skipping input due to the shift table.
36481
45db99c7
UD
364822010-10-03 Ulrich Drepper <drepper@gmail.com>
36483
3b111893
UD
36484 [BZ #12005]
36485 * malloc/mcheck.c: Handle large requests.
36486
45db99c7
UD
36487 [BZ #12077]
36488 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36489 for strncmp and strncasecmp.
36490 * string/stratcliff.c: Add tests for strcmp and strncmp.
36491 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36492
cf7a1eb8
NI
364932010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36494
36495 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36496 __set_fpscr.
36497
6484ba5e
AJ
364982010-09-30 Andreas Jaeger <aj@suse.de>
36499
36500 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36501 (CGROUP_SUPER_MAGIC): Define.
36502 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36503 Handle btrfs and cgroup file systems.
36504 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36505 Likewise.
36506
91c42559
LM
365072010-09-27 Luis Machado <luisgpm@br.ibm.com>
36508
36509 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36510 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36511
87a97932
AK
365122010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36513
36514 [BZ #12067]
36515 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36516 trying to locate the ELF header.
36517
c21cc9bc
AS
365182010-09-27 Andreas Schwab <schwab@redhat.com>
36519
36520 [BZ #11611]
36521 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36522 Mask out sign-bit copies when constructing f_fsid.
36523
315970f6
PB
365242010-09-24 Petr Baudis <pasky@suse.cz>
36525
36526 * debug/stack_chk_fail_local.c: Add missing licence exception.
36527 * debug/warning-nop.c: Likewise.
36528
1ac7a2c7
JM
365292010-09-15 Joseph Myers <joseph@codesourcery.com>
36530
36531 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36532 implementing getdents64 using getdents syscall, set d_type if
36533 __ASSUME_GETDENTS32_D_TYPE.
36534
56801c50
AS
365352010-09-16 Andreas Schwab <schwab@redhat.com>
36536
36537 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36538 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36539
dda51327
UD
365402010-09-21 Ulrich Drepper <drepper@redhat.com>
36541
36542 [BZ #12037]
36543 * posix/unistd.h: Undo change of feature selection for ftruncate from
36544 2010-01-11.
36545
8ffcee4a
UD
365462010-09-20 Ulrich Drepper <drepper@redhat.com>
36547
a545ecd9 36548 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
36549 detection.
36550
e24f0a8b
AS
365512010-09-20 Andreas Schwab <schwab@redhat.com>
36552
36553 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36554 fanotify_mark.
36555 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36556
7291c56f
AS
365572010-09-14 Andreas Schwab <schwab@redhat.com>
36558
36559 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36560 variables after CHECK_SP call.
36561 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36562
bc5fb037
AS
365632010-09-13 Andreas Schwab <schwab@redhat.com>
36564 Ulrich Drepper <drepper@redhat.com>
36565
36566 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36567 re-relocationg ld.so.
36568 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36569 _dl_init_paths call.
36570 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36571 here anymore.
36572
e66e7419
UD
365732010-09-14 Ulrich Drepper <drepper@redhat.com>
36574
36575 * resolv/res_init.c (__res_vinit): Count the default server we added.
36576
c044aa75
CLT
365772010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36578 Ulrich Drepper <drepper@redhat.com>
36579
36580 [BZ #11968]
36581 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36582 (____longjmp_chk): Use %ebx for saving value across system call.
36583 Add unwind info.
36584
32cf4069
AS
365852010-09-06 Andreas Schwab <schwab@redhat.com>
36586
36587 * manual/Makefile: Don't mix pattern rules with normal rules.
36588
817328ee
AS
365892010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36590
36591 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36592 operation.
36593 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36594 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36595 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36596 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36597 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36598 Likewise.
36599
29fddf61
UD
366002010-09-04 Ulrich Drepper <drepper@redhat.com>
36601
36602 [BZ #11979]
36603 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36604 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36605
0959ffc9
UD
366062010-09-02 Ulrich Drepper <drepper@redhat.com>
36607
36608 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36609 * sysdeps/x86_64/addmul_1.S: Likewise.
36610 * sysdeps/x86_64/lshift.S: Likewise.
36611 * sysdeps/x86_64/mul_1.S: Likewise.
36612 * sysdeps/x86_64/rshift.S: Likewise.
36613 * sysdeps/x86_64/sub_n.S: Likewise.
36614 * sysdeps/x86_64/submul_1.S: Likewise.
36615
ece29840
ST
366162010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36617
0959ffc9
UD
36618 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36619 Define __sched_param instead of SCHED_* and sched_param when
ece29840 36620 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 36621 * bits/sched.h [__need_schedparam]
ece29840 36622 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
36623 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36624 (__defined_schedparam): Define to 1.
ece29840
ST
36625 (__sched_param): New structure, identical to sched_param.
36626 (__need_schedparam): Undefine.
36627
e53a31fe
MF
366282010-08-31 Mike Frysinger <vapier@gentoo.org>
36629
fdc0c10d
MF
36630 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36631 (epoll_create1): Declare.
36632
e53a31fe
MF
36633 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36634
a726d796
AS
366352010-08-31 Andreas Schwab <schwab@redhat.com>
36636
36637 [BZ #7066]
36638 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36639 shifting retval into place.
36640
2f3e3dc7
UD
366412010-09-01 Ulrich Drepper <drepper@redhat.com>
36642
f2933da9
UD
36643 * nis/rpcsvc/nis.h: Update copyright notice.
36644 * nis/rpcsvc/nis.x: Likewise.
36645 * nis/rpcsvc/nis_callback.h: Likewise.
36646 * nis/rpcsvc/nis_callback.x: Likewise.
36647 * nis/rpcsvc/nis_object.x: Likewise.
36648 * nis/rpcsvc/nis_tags.h: Likewise.
36649 * nis/rpcsvc/yp.h: Likewise.
36650 * nis/rpcsvc/yp.x: Likewise.
36651 * nis/rpcsvc/ypupd.h: Likewise.
36652 * nis/yp_xdr.c: Likewise.
36653 * nis/ypupdate_xdr.c: Likewise.
36654
2f3e3dc7
UD
36655 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36656 mainly the body of pmap_getport. Add parameters to specify timeouts.
36657 (pmap_getport): Use __libc_rpc_getport.
36658 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36659 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36660 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36661
f3dcc2f9
AS
366622010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36663
36664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36665 fanotify_mark.
36666
6d34eb5b
RM
366672010-08-27 Roland McGrath <roland@redhat.com>
36668
36669 * sysdeps/i386/i686/multiarch/Makefile
36670 (CFLAGS-varshift.c): New variable.
36671
9ea3de11
UD
366722010-08-27 Ulrich Drepper <drepper@redhat.com>
36673
c96d23fc
UD
36674 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36675 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36676
9ea3de11
UD
36677 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36678
36679 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36680
623aac7f
L
366812010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36682
36683 * sysdeps/x86_64/strlen.S: Unroll the loop.
36684 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36685 strlen-sse2 strlen-sse2-bsf.
36686 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36687 __strlen_no_bsf if bit_Slow_BSF is set.
36688 (__strlen_sse42): Removed.
36689 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36690 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36691
8b2b7715
RM
366922010-08-25 Roland McGrath <roland@redhat.com>
36693
36694 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36695 * sysdeps/x86_64/multiarch/varshift.c: New file.
36696 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36697 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36698 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36699 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36700
e73015f2
L
367012010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36702
36703 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36704 strlen-sse2 strlen-sse2-bsf.
36705 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36706 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36707 (__strlen_sse2): Removed.
36708 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36709 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36711 bit_Slow_BSF for Atom.
36712 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36713 (index_Slow_BSF): Define.
36714 (HAS_SLOW_BSF): Define.
36715
df24a73e
UD
367162010-08-25 Ulrich Drepper <drepper@redhat.com>
36717
36718 [BZ #10851]
36719 * resolv/res_init.c (__res_vinit): When no server address at all
36720 is given default to loopback.
36721
f2ac4868
RM
367222010-08-24 Roland McGrath <roland@redhat.com>
36723
09055553
RM
36724 * configure.in: Remove config-name.h generation.
36725 * configure: Regenerated.
36726 * config-name.in: File removed.
36727 * scripts/config-uname.sh: New file.
36728 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36729 ($(objdir)config-name.h): New target.
36730
f2ac4868
RM
36731 * sunrpc/rpc_parse.h: Avoid nested comment.
36732
73f27d5e
RH
367332010-08-24 Richard Henderson <rth@redhat.com>
36734 Ulrich Drepper <drepper@redhat.com>
36735 H.J. Lu <hongjiu.lu@intel.com>
36736
36737 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36738 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36739 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36740 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36741 _mm_alignr_epi8 with _mm_loadu_si128.
36742 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36743 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36744 (__m128i_shift_right): Removed.
36745 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36746 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36747 * sysdeps/x86_64/multiarch/varshift.h: New file.
36748 * sysdeps/x86_64/multiarch/varshift.S: New file.
36749
84b9230c
MF
367502010-08-21 Mike Frysinger <vapier@gentoo.org>
36751
36752 * configure.in: Move assembler checks to before sysdep dir checking.
36753
9bbd0ddc
PB
367542010-08-20 Petr Baudis <pasky@suse.cz>
36755
36756 * LICENSES: Sync the sunrpc license.
36757
9da4bb31
UD
367582010-08-19 Ulrich Drepper <drepper@redhat.com>
36759
a7ab6ec8
UD
36760 * sunrpc/auth_des.c: Update copyright notice once again.
36761 * sunrpc/auth_none.c: Likewise.
36762 * sunrpc/auth_unix.c: Likewise.
36763 * sunrpc/authdes_prot.c: Likewise.
36764 * sunrpc/authuxprot.c: Likewise.
36765 * sunrpc/bindrsvprt.c: Likewise.
36766 * sunrpc/clnt_gen.c: Likewise.
36767 * sunrpc/clnt_perr.c: Likewise.
36768 * sunrpc/clnt_raw.c: Likewise.
36769 * sunrpc/clnt_simp.c: Likewise.
36770 * sunrpc/clnt_tcp.c: Likewise.
36771 * sunrpc/clnt_udp.c: Likewise.
36772 * sunrpc/clnt_unix.c: Likewise.
36773 * sunrpc/des_crypt.c: Likewise.
36774 * sunrpc/des_soft.c: Likewise.
36775 * sunrpc/get_myaddr.c: Likewise.
36776 * sunrpc/getrpcport.c: Likewise.
36777 * sunrpc/key_call.c: Likewise.
36778 * sunrpc/key_prot.c: Likewise.
36779 * sunrpc/openchild.c: Likewise.
36780 * sunrpc/pm_getmaps.c: Likewise.
36781 * sunrpc/pm_getport.c: Likewise.
36782 * sunrpc/pmap_clnt.c: Likewise.
36783 * sunrpc/pmap_prot.c: Likewise.
36784 * sunrpc/pmap_prot2.c: Likewise.
36785 * sunrpc/pmap_rmt.c: Likewise.
36786 * sunrpc/rpc/auth.h: Likewise.
36787 * sunrpc/rpc/auth_unix.h: Likewise.
36788 * sunrpc/rpc/clnt.h: Likewise.
36789 * sunrpc/rpc/des_crypt.h: Likewise.
36790 * sunrpc/rpc/key_prot.h: Likewise.
36791 * sunrpc/rpc/netdb.h: Likewise.
36792 * sunrpc/rpc/pmap_clnt.h: Likewise.
36793 * sunrpc/rpc/pmap_prot.h: Likewise.
36794 * sunrpc/rpc/pmap_rmt.h: Likewise.
36795 * sunrpc/rpc/rpc.h: Likewise.
36796 * sunrpc/rpc/rpc_des.h: Likewise.
36797 * sunrpc/rpc/rpc_msg.h: Likewise.
36798 * sunrpc/rpc/svc.h: Likewise.
36799 * sunrpc/rpc/svc_auth.h: Likewise.
36800 * sunrpc/rpc/types.h: Likewise.
36801 * sunrpc/rpc/xdr.h: Likewise.
36802 * sunrpc/rpc_clntout.c: Likewise.
36803 * sunrpc/rpc_cmsg.c: Likewise.
36804 * sunrpc/rpc_common.c: Likewise.
36805 * sunrpc/rpc_cout.c: Likewise.
36806 * sunrpc/rpc_dtable.c: Likewise.
36807 * sunrpc/rpc_hout.c: Likewise.
36808 * sunrpc/rpc_main.c: Likewise.
36809 * sunrpc/rpc_parse.c: Likewise.
36810 * sunrpc/rpc_parse.h: Likewise.
36811 * sunrpc/rpc_prot.c: Likewise.
36812 * sunrpc/rpc_sample.c: Likewise.
36813 * sunrpc/rpc_scan.c: Likewise.
36814 * sunrpc/rpc_scan.h: Likewise.
36815 * sunrpc/rpc_svcout.c: Likewise.
36816 * sunrpc/rpc_tblout.c: Likewise.
36817 * sunrpc/rpc_util.c: Likewise.
36818 * sunrpc/rpc_util.h: Likewise.
36819 * sunrpc/rpcinfo.c: Likewise.
36820 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36821 * sunrpc/rpcsvc/key_prot.x: Likewise.
36822 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36823 * sunrpc/rpcsvc/mount.x: Likewise.
36824 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36825 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36826 * sunrpc/rpcsvc/rex.x: Likewise.
36827 * sunrpc/rpcsvc/rstat.x: Likewise.
36828 * sunrpc/rpcsvc/rusers.x: Likewise.
36829 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36830 * sunrpc/rpcsvc/spray.x: Likewise.
36831 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36832 * sunrpc/rtime.c: Likewise.
36833 * sunrpc/svc.c: Likewise.
36834 * sunrpc/svc_auth.c: Likewise.
36835 * sunrpc/svc_authux.c: Likewise.
36836 * sunrpc/svc_raw.c: Likewise.
36837 * sunrpc/svc_run.c: Likewise.
36838 * sunrpc/svc_simple.c: Likewise.
36839 * sunrpc/svc_tcp.c: Likewise.
36840 * sunrpc/svc_udp.c: Likewise.
36841 * sunrpc/svc_unix.c: Likewise.
36842 * sunrpc/svcauth_des.c: Likewise.
36843 * sunrpc/xcrypt.c: Likewise.
36844 * sunrpc/xdr.c: Likewise.
36845 * sunrpc/xdr_array.c: Likewise.
36846 * sunrpc/xdr_float.c: Likewise.
36847 * sunrpc/xdr_mem.c: Likewise.
36848 * sunrpc/xdr_rec.c: Likewise.
36849 * sunrpc/xdr_ref.c: Likewise.
36850 * sunrpc/xdr_sizeof.c: Likewise.
36851 * sunrpc/xdr_stdio.c: Likewise.
36852
9da4bb31
UD
36853 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36854 handling.
36855
bdaa77bc
AS
368562010-08-19 Andreas Schwab <schwab@redhat.com>
36857
36858 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36859
fe2f79db
LM
368602010-08-19 Luis Machado <luisgpm@br.ibm.com>
36861
36862 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36863 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36864 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36865 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36866 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36867 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36868 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36869 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36870 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36871 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36872 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36873 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36874 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36875 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36876
b9b42ee0
AB
368772010-07-26 Anton Blanchard <anton@samba.org>
36878
36879 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36880 * malloc/arena.c (heap_trim): Likewise.
36881
1c06ba31
UD
368822010-08-16 Ulrich Drepper <drepper@redhat.com>
36883
36884 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36885 here. Not...
36886 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36887 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36888
f8392f40
L
368892010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36890
36891 * sysdeps/i386/elf/Makefile: New file.
36892
3162f12e
AS
368932010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36894
36895 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36896 from fanotify_init.
36897 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36898 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36899
28c90b2c
UD
369002010-08-15 Ulrich Drepper <drepper@redhat.com>
36901
36902 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36903 of strncasecmp_l.
1feccb6c 36904 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 36905
ca6bb004
UD
369062010-08-14 Ulrich Drepper <drepper@redhat.com>
36907
e9f82e0d
UD
36908 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36909 strncase_l-nonascii.
36910 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36911 Add strncase_l-ssse3.
36912 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36913 * sysdeps/x86_64/strcmp.S: Likewise.
36914 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36915 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36916 * sysdeps/x86_64/strncase.S: New file.
36917 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36918 * sysdeps/x86_64/strncase_l.S: New file.
36919 * string/Makefile (strop-tests): Add strncasecmp.
36920 * string/test-strncasecmp.c: New file.
36921
36922 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36923 warning.
36924
ca6bb004
UD
36925 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36926 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36927
052fa7b3
AS
369282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36929
36930 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36931
962dba78
UD
369322010-08-12 Ulrich Drepper <drepper@redhat.com>
36933
36934 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36935 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36936 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36937
bebff237
AM
369382010-05-01 Alan Modra <amodra@gmail.com>
36939
36940 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36941 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36942 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36943 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36944 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36945 tidying. Don't tail-call __sigjmp_save for static lib.
36946 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36947 save location.
36948 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36949 (CALL_MCOUNT): Add eh info, and nop after bl.
36950 (TAIL_CALL_SYSCALL_ERROR): New macro.
36951 (PSEUDO_RET): Use it.
36952 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36953 Correct save location of integer regs and cr.
36954 (_dl_profile_resolve): Correct cr save location. Delete nops
36955 after bl when SHARED. Reduce cfi size a little by better
36956 placement of cfi directives.
36957 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36958 make a stack frame. Instead use parm save area as a temp.
36959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36960 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36962 Don't make a stack frame for parent, use parm save area.
36963 Increase child stack frame to 112 bytes. Don't save unused reg,
36964 and adjust reg usage. Set up cfi on error recovery and
36965 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36967 (__makecontext): Add dummy nop after jump to exit.
36968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36969 Use correct parm save area and cr save, reduce stack frame.
36970 Correct cfi for possible PSEUDO_RET frame setup.
36971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36972 Branch to local label emitted by PSEUDO_RET rather than
36973 __syscall_error.
36974
02637374
AS
369752010-08-12 Andreas Schwab <schwab@redhat.com>
36976
36977 [BZ #11904]
36978 * locale/programs/locale.c (print_assignment): New function.
36979 (show_locale_vars): Use it.
36980
c3e2f19b
UD
369812010-08-11 Ulrich Drepper <drepper@redhat.com>
36982
3cdaa6ad
UD
36983 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36984 field.
36985 (struct statfs64): Likewise.
36986 (_STATFS_F_FLAGS): Define.
36987 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36988 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36989 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36990 (ST_VALID): Define locally.
36991 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36992 __statvfs_getflags, use the provided value.
36993 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36994 __ASSUME_STATFS_F_FLAGS.
36995
754f7da3
UD
36996 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36997
10b3bedc
UD
36998 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36999 Add sys/fanotify.h.
37000 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37001 fanotify_mask for GLIBC_2.13.
37002 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37003 fanotify_init and fanotify_mark.
37004 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37005 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37006
c08fb0d7
UD
37007 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37008 Add prlimit.
37009 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37010 prlimit64 for GLIBC_2.13.
37011 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37012 prlimit64.
37013 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37014 syscall.
37015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37016 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37017 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37018 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37019 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37020 add prlimit alias.
37021 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37022
15bac72b
UD
37023 [BZ #11903]
37024 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37025 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37026
c3e2f19b
UD
37027 * nss/Makefile: Add rules to build and run tst-nss-test1.
37028 * shlib-versions: Add entry for libnss_test1.
37029 * nss/nss_test1.c: New file.
37030 * nss/tst-nss-test1.c: New file.
37031
37032 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37033 (__nss_configure_lookup): Set appropriate entry in
37034 __nss_configure_lookup to true.
37035 * nss/nsswitch.h: Define enum with indeces of databases in
37036 databases and __nss_database_custom arrays. Declare
37037 __nss_database_custom.
37038 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37039 to avoid using nscd when custom rules are installed.
37040 * nss/getXXbyYY_r.c: Likewise.
37041 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37042
37043 * nss/nss_files/files-parse.c: Whitespace fixes.
37044
f15ce4d8
UD
370452010-08-09 Ulrich Drepper <drepper@redhat.com>
37046
37047 [BZ #11883]
37048 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37049 * posix/fnmatch_loop.c: Likewise.
37050
d22e4cc9
AK
370512010-07-17 Andi Kleen <ak@linux.intel.com>
37052
37053 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37054 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37055 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37056 * Versions.def [GLIBC_2.13]: Add.
37057
805bc17d
UD
370582010-08-06 Ulrich Drepper <drepper@redhat.com>
37059
37060 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37061 Also fail if tpwd after pwuid call is NULL.
37062
5a42321d
ST
370632010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37064
37065 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37066 when converting to ms.
37067
fd3ebeda
ST
370682010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37069
37070 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37071 EOPNOTSUPP errors with ENOTTY.
37072 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37073 EOPNOTSUPP errors with ENOTTY.
37074
73507d3a
UD
370752010-07-31 Ulrich Drepper <drepper@redhat.com>
37076
37077 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37078 Add strcasecmp_l-ssse3.
37079 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37080 strcasecmp.
37081 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37082 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37083 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37084
fe36dd02
UD
370852010-07-30 Ulrich Drepper <drepper@redhat.com>
37086
66f6765a
UD
37087 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37088
42e08a54
UD
37089 * string/Makefile (strop-tests): Add strcasecmp.
37090 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37091 strcasecmp_l-nonascii.
37092 (gen-as-const-headers): Add locale-defines.sym.
37093 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37094 * sysdeps/x86_64/strcasecmp.S: New file.
37095 * sysdeps/x86_64/strcasecmp_l.S: New file.
37096 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37097 * sysdeps/x86_64/locale-defines.sym: New file.
37098 * string/test-strcasecmp.c: New file.
37099
fe36dd02
UD
37100 * string/test-strcasestr.c: Test both ends of the range of characters.
37101 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37102
48cbc0d6
RM
371032010-07-29 Roland McGrath <roland@redhat.com>
37104
76e6d6bc 37105 [BZ #11856]
48cbc0d6
RM
37106 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37107
880113d9
UD
371082010-07-27 Ulrich Drepper <drepper@redhat.com>
37109
37110 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37111 for ld.so.
37112
deb9cabb
AS
371132010-07-27 Andreas Schwab <schwab@redhat.com>
37114
37115 * manual/memory.texi (Malloc Tunable Parameters): Document
37116 M_PERTURB.
37117
1c7570ff
RM
371182010-07-26 Roland McGrath <roland@redhat.com>
37119
37120 [BZ #11840]
37121 * configure.in (-fgnu89-inline check): Set and substitute
37122 gnu89_inline, not libc_cv_gnu89_inline.
37123 * configure: Regenerated.
37124 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37125
24fb0f88
UD
371262010-07-26 Ulrich Drepper <drepper@redhat.com>
37127
37128 * string/test-strnlen.c: New file.
37129 * string/Makefile (strop-tests): Add strnlen.
37130 * string/tester.c (test_strnlen): Add a few more test cases.
37131 * string/tst-strlen.c: Better error reporting.
37132
37133 * sysdeps/x86_64/strnlen.S: New file.
37134
8e96b93a
UD
371352010-07-24 Ulrich Drepper <drepper@redhat.com>
37136
37137 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37138 lower-latency instructions.
37139
dbc676d4
UD
371402010-07-23 Ulrich Drepper <drepper@redhat.com>
37141
37142 * string/test-strcasestr.c: New file.
37143 * string/test-strstr.c: New file.
37144 * string/Makefile (strop-tests): Add strstr and strcasestr.
37145 * string/str-two-way.h: Don't undefine MAX.
37146 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37147
f6a31e0e
AS
371482010-07-21 Andreas Schwab <schwab@redhat.com>
37149
37150 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37151 strcasestr-nonascii.
37152 (CFLAGS-strcasestr-nonascii.c): Define.
37153 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37154 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37155 Remove unused attribute.
37156
5dbc3b6c
RM
371572010-07-20 Roland McGrath <roland@redhat.com>
37158
37159 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37160 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37161 ld.so.cache was broken. With it, there is no way to disable dsocaps
37162 like LD_HWCAP_MASK can disable hwcaps.
37163
23d101d8
EPM
371642010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37165
37166 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37167
cc9f2e47
UD
371682010-07-16 Ulrich Drepper <drepper@redhat.com>
37169
37170 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37171 call in strcasestr.
37172 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37173 __strcasestr_sse42_nonascii.
37174 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37175 strcasestr-nonascii.c.
37176 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37177
77c1b069
LM
371782010-06-15 Luis Machado <luisgpm@br.ibm.com>
37179
37180 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37181 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37182 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37183 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37184
440566c3
UD
371852010-07-09 Ulrich Drepper <drepper@redhat.com>
37186
37187 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37188 fcntl.
37189
5be9d05d
AS
371902010-07-06 Andreas Schwab <schwab@redhat.com>
37191
c30b7ee2 37192 [BZ #11577]
5be9d05d
AS
37193 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37194 dl_signal_cerror.
37195
8a492a67
UD
371962010-07-06 Ulrich Drepper <drepper@redhat.com>
37197
37198 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37199 _PC_PIPE_BUF using F_GETPIPE_SZ.
37200
713df3d5
RM
372012010-07-05 Roland McGrath <roland@redhat.com>
37202
37203 * manual/arith.texi (Rounding Functions): Fix rint description
37204 implicit in round description.
37205
702e8f14
UD
372062010-07-02 Ulrich Drepper <drepper@redhat.com>
37207
37208 * elf/Makefile: Fix linking for a few tests to make recent linker
37209 happy.
37210
52ed8be9
AS
372112010-06-30 Andreas Schwab <schwab@redhat.com>
37212
37213 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37214 $(common-objpfx)libc_nonshared.a.
37215
f47c9a11
LM
372162010-06-21 Luis Machado <luisgpm@br.ibm.com>
37217
37218 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37219 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37220 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37221 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37222 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37223 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37224 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37225 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37240 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37241 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37242 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37243 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37244 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37245 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37246 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37247 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37248 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37249 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37250 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37251 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37266
6fb8cbcb
L
372672010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37268
37269 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37270 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37271 * string/memmove.c (memmove): Renamed to ...
37272 (MEMMOVE): ...this. Default to memmove.
37273 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37274 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37275 (END_CHK): Define.
37276 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37277 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37278 mempcpy-ssse3-back memmove-ssse3-back.
37279 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37280 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37281 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37282 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37283 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37284 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37285 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37286 * sysdeps/x86_64/multiarch/memmove.c: New file.
37287 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37288 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37289 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37290 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37291 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37292 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37293 Define.
37294 (index_Fast_Copy_Backward): Define.
37295 (HAS_ARCH_FEATURE): Define.
37296 (HAS_FAST_REP_STRING): Define.
37297 (HAS_FAST_COPY_BACKWARD): Define.
37298
4e733bac 372992010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
37300
37301 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37302 Restore proper fallback handling.
37303
63c4ed22
UD
373042010-06-19 Ulrich Drepper <drepper@redhat.com>
37305
ac2b484c
UD
37306 [BZ #11701]
37307 * posix/group_member.c (__group_member): Correct checking loop.
37308
63c4ed22
UD
37309 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37310 OOM in getpwuid_r correctly. Return error number when the caller
37311 should return, otherwise -1.
37312 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37313 call returning > 0 value.
37314 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37315
765ade4b
AS
373162010-06-07 Andreas Schwab <schwab@redhat.com>
37317
37318 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37319 libc_nonshared.a from targets in modules-names.
37320
80da2e09
KS
373212010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37322
37323 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37324 requires it.
37325
158db122
LM
373262010-06-10 Luis Machado <luisgpm@br.ibm.com>
37327
37328 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37329 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37330 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37331 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37332
caa78cf8
AS
373332010-06-02 Andreas Schwab <schwab@redhat.com>
37334
37335 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37336
b2ef2c01
UD
373372010-06-14 Ulrich Drepper <drepper@redhat.com>
37338
37339 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37340 and F_GETPIPE_SZ.
37341 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37342 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37344 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37345 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37346 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37347
fbd643b6
RM
373482010-06-14 Roland McGrath <roland@redhat.com>
37349
37350 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37351
f32f2869
JJ
373522010-06-07 Jakub Jelinek <jakub@redhat.com>
37353
37354 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37355 __REDIRECT followed by __THROW.
37356 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37357 * posix/getopt.h (getopt): Likewise.
37358
2a50c078
EPM
373592010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37360
37361 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37362 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37363 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37364 in AT_FLAGS.
37365 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37366 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37367
eb5ad2eb
LM
373682010-05-28 Luis Machado <luisgpm@br.ibm.com>
37369
37370 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37371
3c88fe1e
L
373722010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37373
37374 [BZ #11640]
37375 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37376 Properly check family and model.
37377
d2f73151
TY
373782010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37379
37380 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37381
ebd2e13d
LM
373822010-05-24 Luis Machado <luisgpm@br.ibm.com>
37383
37384 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37385
b32b8b45
UD
373862010-05-21 Ulrich Drepper <drepper@redhat.com>
37387
37388 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37389 symbol reference.
37390
9acbe24d
AS
373912010-05-19 Andreas Schwab <schwab@redhat.com>
37392
37393 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37394 symbol reference.
37395
f0ccf6ea
AS
373962010-05-21 Andreas Schwab <schwab@redhat.com>
37397
3d04ff3a
AS
37398 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37399 and internal_recvmmsg.
37400 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37401 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37402 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37403 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37404
f0ccf6ea
AS
37405 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37406 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37407 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37408
5b08ac57
AS
374092010-05-20 Andreas Schwab <schwab@redhat.com>
37410
37411 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37412
4828935d
LM
374132010-05-17 Luis Machado <luisgpm@br.ibm.com>
37414
37415 POWER7 optimizations.
37416 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37417 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37418
373d545e
UD
374192010-05-19 Ulrich Drepper <drepper@redhat.com>
37420
37421 * version.h: Update for 2.13 development version.
37422
21a2b1ae
AS
374232010-05-12 Andrew Stubbs <ams@codesourcery.com>
37424
37425 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37426 exceptions. Return 0.
37427
3f7dcb2b
RM
374282010-05-07 Roland McGrath <roland@redhat.com>
37429
37430 * elf/ldconfig.c (main): Add a const.
37431
5f24d53a 374322010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 37433
a160f8d8
UD
37434 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37435 (args_options): Add no-idn option.
37436 (ahosts_keys_int): Add idn_flags to ai_flags.
37437 (parse_option): Handle 'i' option to clear idn_flags.
37438
5f24d53a
UD
37439 * malloc/malloc.c (_int_free): Possible race in the most recently
37440 added check. Only act on the data if no current modification
37441 happened.
265bb1ce
UD
37442
37443See ChangeLog.17 for earlier changes.