]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix file modes
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b5977bf2
RH
12013-02-27 Richard Henderson <rth@redhat.com>
2
3 * scripts/config.guess: Update from config.git.
4 * scripts/config.sub: Likewise.
5
11d6e2f2
SP
62013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7
09c14ed2
SP
8 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9
a688864e
SP
10 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11
6295157a
SP
12 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13
b8de2202
SP
14 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15
11d6e2f2
SP
16 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17
7e80ddb8
RM
182013-02-26 Roland McGrath <roland@hack.frob.com>
19
20 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21 [$(build-shared = yes].
7e80ddb8 22
7da6d9ed
SP
232013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24
45f05884
SP
25 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26 (__mul): Reduce iterations for calculating mantissa.
27
2236d359
SP
28 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29 MPTWO.
30 (__mpranred): Likewise.
31
7da6d9ed
SP
32 [BZ #15160]
33 * malloc/memusagestat.c (main): Draw graphs for heap and stack
34 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35
b7688c42
PE
362013-02-26 Paul Eggert <eggert@cs.ucla.edu>
37
38 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
39 Define __attribute__.
40
53a5c423
SP
412013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42
43 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
44 unused.
45 * posix/regex_internal.h (__attribute): Remove.
46 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
47 (re_string_context_at): Likewise.
48 (bitset_not): Use __attribute__ and mark function as possibly
49 unused.
50 (bitset_merge): Likewise.
51 (bitset_mask): Likewise.
52 (re_string_char_size_at): Likewise.
53 (re_string_wchar_at): Likewise.
54 (re_string_elem_size_at): Likewise.
55
60f5a8b5
SP
562013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
57
2a983a2e
SP
58 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
59 code.
60 (cc32): Likewise.
61
e69804d1
SP
62 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
63 (__acr): Likewise.
64 (__cpy): Likewise.
65 (norm): Likewise.
66 (denorm): Likewise.
67 (__dbl_mp): Likewise.
68 (add_magnitudes): Likewise.
69 (sub_magnitudes): Likewise.
70 (__mul): Likewise.
71 (__inv): Likewise.
72
2f22a1e8
SP
73 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
74 style.
75
8930ddc7
SP
76 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
77 style.
78
dc60cb11
SP
79 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
80 code.
81
60f5a8b5
SP
82 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
83 up changes with default code.
84 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
85 Likewise.
86
b4d1fd33
AM
872013-02-24 Allan McRae <allan@archlinux.org>
88
faf6f8bc
AM
89 * manual/socket.texi (The Internet Namespace): Order menu items
90 to match that in the file.
91
b4d1fd33
AM
92 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
93 node listing of the info page menu.
94
2366713d
JM
952013-02-21 Joseph Myers <joseph@codesourcery.com>
96
97 [BZ #13550]
98 * sysdeps/i386/bp-asm.h: Remove file.
99 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
100 (PARMS): Do not use macros from bp-asm.h.
101 (S1): Likewise.
102 (S2): Likewise.
103 (SIZE): Likewise.
104 (__mpn_add_n): Do not use BP_SYM
105 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
106 "bp-asm.h".
107 (PARMS): Do not use macros from bp-asm.h.
108 (S1): Likewise.
109 (SIZE): Likewise.
110 (__mpn_addmul_1): Do not use BP_SYM
111 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
112 "bp-asm.h".
113 (PARMS): Do not use macros from bp-asm.h.
114 (SIGMSK): Likewise.
115 (_setjmp): Likewise. Do not use BP_SYM.
116 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
117 "bp-asm.h".
118 (PARMS): Do not use macros from bp-asm.h.
119 (SIGMSK): Likewise.
120 (setjmp): Likewise. Do not use BP_SYM.
121 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
122 "bp-asm.h".
123 (PARMS): Do not use macros from bp-asm.h.
124 (__frexp): Do not use BP_SYM.
125 (frexp): Likewise.
126 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
127 "bp-asm.h".
128 (PARMS): Do not use macros from bp-asm.h.
129 (__frexpf): Do not use BP_SYM.
130 (frexpf): Likewise.
131 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
132 "bp-asm.h".
133 (PARMS): Do not use macros from bp-asm.h.
134 (__frexpl): Do not use BP_SYM.
135 (frexpl): Likewise.
136 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
137 "bp-asm.h".
138 (PARMS): Do not use macros from bp-asm.h.
139 (__remquo): Do not use BP_SYM.
140 (remquo): Likewise.
141 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
142 "bp-asm.h".
143 (PARMS): Do not use macros from bp-asm.h.
144 (__remquof): Do not use BP_SYM.
145 (remquof): Likewise.
146 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
147 "bp-asm.h".
148 (PARMS): Do not use macros from bp-asm.h.
149 (__remquol): Do not use BP_SYM.
150 (remquol): Likewise.
151 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
152 "bp-asm.h".
153 (PARMS): Do not use macros from bp-asm.h.
154 (DEST): Likewise.
155 (SRC): Likewise.
156 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
157 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
158 "bp-asm.h".
159 (PARMS): Do not use macros from bp-asm.h.
160 (strlen): Do not use BP_SYM.
161 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
162 "bp-asm.h".
163 (PARMS): Do not use macros from bp-asm.h.
164 (S1): Likewise.
165 (S2): Likewise.
166 (SIZE): Likewise.
167 (__mpn_add_n): Do not use BP_SYM.
168 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
169 "bp-asm.h".
170 (PARMS): Do not use macros from bp-asm.h.
171 (S1): Likewise.
172 (SIZE): Likewise.
173 (__mpn_addmul_1): Do not use BP_SYM.
174 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
175 weak_alias.
176 (bzero): Likewise.
177 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
178 "bp-asm.h".
179 (PARMS): Do not use macros from bp-asm.h.
180 (S): Likewise.
181 (SIZE): Likewise.
182 (__mpn_lshift): Do not use BP_SYM.
183 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
184 "bp-asm.h".
185 (PARMS): Do not use macros from bp-asm.h.
186 (DEST): Likewise.
187 (SRC): Likewise.
188 (LEN): Likewise.
189 (memcpy): Likewise. Do not use BP_SYM.
190 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
191 libc_hidden_def and weak_alias.
192 (mempcpy): Do not use BP_SYM in weak_alias.
193 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
194 "bp-asm.h".
195 (PARMS): Do not use macros from bp-asm.h.
196 (DEST): Likewise.
197 (LEN): Likewise.
198 [!BZERO_P] (CHR): Likewise.
199 (memset): Likewise. Do not use BP_SYM.
200 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
201 "bp-asm.h".
202 (PARMS): Do not use macros from bp-asm.h.
203 (S1): Likewise.
204 (SIZE): Likewise.
205 (__mpn_mul_1): Do not use BP_SYM.
206 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
207 "bp-asm.h".
208 (PARMS): Do not use macros from bp-asm.h.
209 (S): Likewise.
210 (SIZE): Likewise.
211 (__mpn_rshift): Do not use BP_SYM.
212 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
213 "bp-asm.h".
214 (PARMS): Do not use macros from bp-asm.h.
215 (STR): Likewise.
216 (CHR): Likewise.
217 (strchr): Likewise. Do not use BP_SYM.
218 (index): Do not use BP_SYM in weak_alias.
219 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
220 "bp-asm.h".
221 (PARMS): Do not use macros from bp-asm.h.
222 (DEST): Likewise.
223 (SRC): Likewise.
224 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
225 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
226 "bp-asm.h".
227 (PARMS): Do not use macros from bp-asm.h.
228 (strlen): Do not use BP_SYM.
229 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
230 "bp-asm.h".
231 (PARMS): Do not use macros from bp-asm.h.
232 (S1): Likewise.
233 (S2): Likewise.
234 (SIZE): Likewise.
235 (__mpn_sub_n): Do not use BP_SYM.
236 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
237 "bp-asm.h".
238 (PARMS): Do not use macros from bp-asm.h.
239 (S1): Likewise.
240 (SIZE): Likewise.
241 (__mpn_submul_1): Do not use BP_SYM.
242 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
243 "bp-asm.h".
244 (PARMS): Do not use macros from bp-asm.h.
245 (S1): Likewise.
246 (S2): Likewise.
247 (SIZE): Likewise.
248 (__mpn_add_n): Do not use BP_SYM.
249 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
250 weak_alias.
251 (bzero): Likewise.
252 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
253 "bp-asm.h".
254 (PARMS): Do not use macros from bp-asm.h.
255 (BLK2): Likewise.
256 (LEN): Likewise.
257 (memcmp): Do not use BP_SYM.
258 (bcmp): Do not use BP_SYM in weak_alias.
259 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
260 "bp-asm.h".
261 (PARMS): Do not use macros from bp-asm.h.
262 (DEST): Likewise.
263 (SRC): Likewise.
264 (LEN): Likewise.
265 (memcpy): Likewise. Do not use BP_SYM.
266 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
267 "bp-asm.h".
268 (PARMS): Do not use macros from bp-asm.h.
269 (DEST): Likewise.
270 (SRC): Likewise.
271 (LEN): Likewise.
272 (memmove): Likewise. Do not use BP_SYM.
273 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
274 "bp-asm.h".
275 (PARMS): Do not use macros from bp-asm.h.
276 (DEST): Likewise.
277 (SRC): Likewise.
278 (LEN): Likewise.
279 (__mempcpy): Likewise. Do not use BP_SYM.
280 (mempcpy): Do not use BP_SYM in weak_alias.
281 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
282 "bp-asm.h".
283 (PARMS): Do not use macros from bp-asm.h.
284 (DEST): Likewise.
285 (LEN): Likewise.
286 [!BZERO_P] (CHR): Likewise.
287 (memset): Likewise. Do not use BP_SYM.
288 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
289 "bp-asm.h".
290 (PARMS): Do not use macros from bp-asm.h.
291 (STR2): Likewise.
292 (strcmp): Do not use BP_SYM.
293 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
294 "bp-asm.h".
295 (PARMS): Do not use macros from bp-asm.h.
296 (STR): Likewise.
297 (DELIM): Likewise.
298 [USE_AS_STRTOK_R] (SAVE): Likewise.
299 (FUNCTION): Likewise. Do not use BP_SYM.
300 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
301 aliases.
302 (strtok_r): Likewise.
303 (__GI___strtok_r): Likewise.
304 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
305 (PARMS): Do not use macros from bp-asm.h.
306 (S): Likewise.
307 (SIZE): Likewise.
308 (__mpn_lshift): Do not use BP_SYM.
309 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
310 (PARMS): Do not use macros from bp-asm.h.
311 (STR): Likewise.
312 (CHR): Likewise.
313 (__memchr): Do not use BP_SYM.
314 (memchr): Do not use BP_SYM in weak_alias.
315 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
316 (PARMS): Do not use macros from bp-asm.h.
317 (BLK2): Likewise.
318 (LEN): Likewise.
319 (memcmp): Do not use BP_SYM.
320 (bcmp): Do not use BP_SYM in weak_alias.
321 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
322 (PARMS): Do not use macros from bp-asm.h.
323 (S1): Likewise.
324 (SIZE): Likewise.
325 (__mpn_mul_1): Do not use BP_SYM.
326 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
327 "bp-asm.h".
328 (PARMS): Do not use macros from bp-asm.h.
329 (STR): Likewise.
330 (CHR): Likewise.
331 (__rawmemchr): Do not use BP_SYM.
332 (rawmemchr): Do not use BP_SYM in weak_alias.
333 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
334 (PARMS): Do not use macros from bp-asm.h.
335 (S): Likewise.
336 (SIZE): Likewise.
337 (__mpn_rshift): Do not use BP_SYM.
338 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
339 (PARMS): Do not use macros from bp-asm.h.
340 (SIGMSK): Likewise.
341 (__sigsetjmp): Likewise. Do not use BP_SYM.
342 * sysdeps/i386/start.S: Do not include "bp-sym.h".
343 (_start): Do not use BP_SYM.
344 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
345 (PARMS): Do not use macros from bp-asm.h.
346 (DEST): Likewise.
347 (SRC): Likewise.
348 (__stpcpy): Likewise. Do not use BP_SYM.
349 (stpcpy): Do not use BP_SYM in weak_alias.
350 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
351 "bp-asm.h".
352 (PARMS): Do not use macros from bp-asm.h.
353 (DEST): Likewise.
354 (SRC): Likewise.
355 (LEN): Likewise.
356 (__stpncpy): Likewise. Do not use BP_SYM.
357 (stpncpy): Do not use BP_SYM in weak_alias.
358 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
359 (PARMS): Do not use macros from bp-asm.h.
360 (STR): Likewise.
361 (CHR): Likewise.
362 (strchr): Likewise. Do not use BP_SYM.
363 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
364 "bp-asm.h".
365 (PARMS): Do not use macros from bp-asm.h.
366 (STR): Likewise.
367 (CHR): Likewise.
368 (__strchrnul): Likewise. Do not use BP_SYM.
369 (strchrnul): Do not use BP_SYM in weak_alias.
370 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
371 "bp-asm.h".
372 (PARMS): Do not use macros from bp-asm.h.
373 (STOP): Likewise.
374 (strcspn): Do not use BP_SYM.
375 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
376 "bp-asm.h".
377 (PARMS): Do not use macros from bp-asm.h.
378 (STR): Likewise.
379 (STOP): Likewise.
380 (strpbrk): Likewise. Do not use BP_SYM.
381 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
382 "bp-asm.h".
383 (PARMS): Do not use macros from bp-asm.h.
384 (STR): Likewise.
385 (CHR): Likewise.
386 (strrchr): Likewise. Do not use BP_SYM.
387 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
388 (PARMS): Do not use macros from bp-asm.h.
389 (SKIP): Likewise.
390 (strspn): Do not use BP_SYM.
391 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
392 (PARMS): Do not use macros from bp-asm.h.
393 (STR): Likewise.
394 (DELIM): Likewise.
395 (SAVE): Likewise.
396 (FUNCTION): Likewise. Do not use BP_SYM.
397 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
398 aliases.
399 (strtok_r): Likewise.
400 (__GI___strtok_r): Likewise.
401 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
402 (PARMS): Do not use macros from bp-asm.h.
403 (S1): Likewise.
404 (S2): Likewise.
405 (SIZE): Likewise.
406 (__mpn_sub_n): Do not use BP_SYM.
407 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
408 "bp-asm.h".
409 (PARMS): Do not use macros from bp-asm.h.
410 (S1): Likewise.
411 (SIZE): Likewise.
412 (__mpn_submul_1): Do not use BP_SYM.
413 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
414 <bp-sym.h>.
415 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
416 and <bp-asm.h>.
417 (PARMS): Do not use macros from bp-asm.h.
418 (FLAGS): Likewise.
419 (PTID): Likewise.
420 (TLS): Likewise.
421 (CTID): Likewise.
422 (__clone): Do not use BP_SYM.
423 (clone): Do not use BP_SYM in weak_alias.
424 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
425 and <bp-asm.h>.
426 (PARMS): Do not use macros from bp-asm.h.
427 (LEN): Likewise.
428 (__mmap64): Do not use BP_SYM.
429 (mmap64): Do not use BP_SYM in weak_alias.
430 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
431 <bp-sym.h> and <bp-asm.h>.
432 (PARMS): Do not use macros from bp-asm.h.
433 (__posix_fadvise64_l64): Do not use BP_SYM.
434 * sysdeps/unix/sysv/linux/i386/semtimedop.S
435 (PARMS): Do not use macros from bp-asm.h.
436 (NSOPS): Likewise.
437 (semtimedop): Do not use BP_SYM.
438 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
439 and <bp-asm.h>.
440
582a3cff
AM
4412013-02-21 Allan McRae <allan@archlinux.org>
442
443 * manual/message.texi (Charset conversion in gettext):
444 Move @end statement to beginning of line.
445
bab8a695
SP
4462013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
447
80945231
SP
448 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
449 static.
450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
451 Likewise.
452
bab8a695
SP
453 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
454 (denorm): Likewise.
455 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
457
e21d7aa7
AK
4582013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
459
460 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
461 tail-call to the resolved function if pltexit isn't needed.
462
4c7a4263
SP
4632013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
464
465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
466 or Y being zero as being unlikely.
467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
468 Likewise.
469
41f49342
CD
4702013-02-20 Carlos O'Donell <carlos@redhat.com>
471
472 * manual/nss.texi (System Databases and Name Service Switch):
473 Remove frobnicate @pxref.
474
50022a93
TS
4752013-02-20 Thomas Schwinge <thomas@codesourcery.com>
476
477 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
478 __attribute__ ((unused)) to __attribute__ ((__unused__)).
479
08cbd996
PM
4802013-02-20 Petr Machata <pmachata@redhat.com>
481
482 * elf/elf.h (R_ARM_TARGET1): New macro.
483 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
484 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
485 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
486 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
487 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
488 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
489 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
490 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
491 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
492 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
493 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
494 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
495 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
496 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
497 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
498 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
499 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
500 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
501 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
502 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
503 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
504 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
505 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
506 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
507 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
508 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
509 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
510 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
511 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
512 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
513 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
514 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
515 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
516 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
517 (R_ARM_THM_GOT_BREL12): Likewise.
518 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
519 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
520 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
521 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
522 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
523 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
524 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
525 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
526 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
527
c7b275d6
TS
5282013-02-20 Thomas Schwinge <thomas@codesourcery.com>
529
530 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
531 __attribute_used__ to __attribute__ ((unused)).
532
20cd7fb3
SP
5332013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
534
535 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
536 powerpc mpa.c.
537 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
538 comment formatting.
539 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
540
92945b52
JM
5412013-02-19 Joseph Myers <joseph@codesourcery.com>
542
543 [BZ #13550]
544 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
545 Remove macro.
546 (ENTER): Remove both macro definitions.
547 (LEAVE): Likewise.
548 (CHECK_BOUNDS_LOW): Likewise.
549 (CHECK_BOUNDS_HIGH): Likewise.
550 (CHECK_BOUNDS_BOTH): Likewise.
551 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
552 (RETURN_BOUNDED_POINTER): Likewise.
553 (RETURN_NULL_BOUNDED_POINTER): Likewise.
554 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
555 (POP_ERRNO_LOCATION_RETURN): Likewise.
556 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
557 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
558 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
559 macros.
560 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
561 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
562 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
563 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
564 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
565 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
566 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
567 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
568 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
569 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
570 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
571 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
572 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
573 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
574 removed macros.
575 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
576 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
577 macros.
578 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
579 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
580 * sysdeps/i386/i586/memset.S (memset): Likewise.
581 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
582 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
583 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
584 macros.
585 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
586 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
587 Change uses of L(2) to L(out).
588 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
589 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
590 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
591 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
592 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
593 removed macros.
594 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
595 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
596 macros.
597 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
598 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
599 (RETURN): Do not use macro LEAVE.
600 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
601 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
602 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
603 * sysdeps/i386/i686/memset.S (memset): Likewise.
604 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
605 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
606 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
607 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
608 Likewise.
609 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
610 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
611 L(1_2) and L(1_3) into L(1).
612 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
613 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
614 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
615 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
616 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
617 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
618 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
619 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
620 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
621 macros.
622 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
623 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
624 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
625 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
626 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
627 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
628 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
629 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
630 * sysdeps/i386/strcspn.S (strcspn): Likewise.
631 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
632 * sysdeps/i386/strrchr.S (strrchr): Likewise.
633 * sysdeps/i386/strspn.S (strspn): Likewise.
634 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
635 conditional code.
636 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
637 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
638 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
639 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
640 L(1_3) into L(1_1).
641 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
642 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
643 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
644 macros.
645 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
646
2389741a
JJ
6472013-02-19 Jakub Jelinek <jakub@redhat.com>
648
649 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
650 macro.
651
2016b3cd
SP
6522013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
653
e4f22324
SP
654 * math/atest-exp.c (exp_mpn): Remove ROUND.
655 * math/atest-exp2.c (exp_mpn): Likewise.
656 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
657
2016b3cd
SP
658 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
659 * stdlib/tst-tls-atexit-lib.c: Likewise.
660 * stdlib/tst-tls-atexit.c: Likewise.
661
4be9b544
MF
6622013-02-18 Mike Frysinger <vapier@gentoo.org>
663
664 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
665 and __attribute_alloc_size__.
666
2f62b9ee
MF
6672013-02-18 Mike Frysinger <vapier@gentoo.org>
668
669 * include/programs/xmalloc.h: Change __attribute_alloc_size to
670 __attribute_alloc_size__.
671 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
672 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
673
6ff444c4
MF
6742013-02-18 Mike Frysinger <vapier@gentoo.org>
675
676 * include/programs/xmalloc.h: New file.
677 * catgets/gencat.c: Include it.
678 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
679 * elf/pldd.c: Likewise.
680 * iconv/iconv_charmap.c: Likewise.
681 * iconv/iconvconfig.c: Likewise.
682 * iconv/strtab.c: Likewise.
683 * locale/programs/locale.c: Likewise.
684 * locale/programs/localedef.h: Likewise.
685 * locale/programs/simple-hash.c: Likewise.
686 * nscd/nscd.h: Likewise.
687 * nss/makedb.c: Likewise.
688 * sysdeps/generic/ldconfig.h: Likewise.
689
be179c8a
SP
6902013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
691
ba384f6e
SP
692 * Versions.def: Add GLIBC_2.18.
693 * include/link.h (struct link_map): New member l_tls_dtor_count.
694 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
695 (__call_tls_dtors): Likewise.
696 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
697 __cxa_thread_atexit_impl.
698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
699 Likewise.
700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
701 Likewise.
702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
703 Likewise.
704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
705 Likewise.
706 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
708 Likewise.
709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
710 Likewise.
711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
713 Likewise.
714 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
715 (tests): Add test case tst-tls-atexit.
716 (modules-names): Add shared library for tst-tls-atexit.
717 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
718 (GLIBC_PRIVATE): Add __call_tls_dtors.
719 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
720 for libstdc++.
721 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
722 * stdlib/tst-tls-atexit.c: New test case.
723 * stdlib/tst-tls-atexit-lib.c: New test case.
724
ffaa74cf 725 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 726
be179c8a
SP
727 * elf/Versions (ld): Add _dl_find_dso_for_object.
728 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
729 * elf/dl-open.c (_dl_find_dso_for_object): New function.
730 (dl_open_worker): Use _dl_find_dso_for_object.
731 * elf/dl-sym.c (do_sym): Likewise.
732 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
733
f78b5caa
AK
7342013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
735
736 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
737 Syntactic changes only.
738 (_dl_runtime_profile): Do a tail-call to the resolved function.
739
29691210
JM
7402013-02-17 Joseph Myers <joseph@codesourcery.com>
741
742 [BZ #13550]
743 * sysdeps/x86_64/bp-asm.h: Remove file.
744 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
745 <bp-sym.h> and <bp-asm.h>.
746 (__clone): Do not use BP_SYM.
747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
748 <bp-sym.h> and <bp-asm.h>.
749 * sysdeps/unix/x86_64/sysdep.S: Likewise.
750 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
751 "bp-asm.h".
752 (_setjmp): Do not use BP_SYM.
753 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
754 "bp-asm.h".
755 (setjmp): Do not use BP_SYM.
756 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
757 libc_hidden_def.
758 (mempcpy): Do not use BP_SYM in weak_alias.
759 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
760 "bp-asm.h".
761 (strchr): Do not use BP_SYM.
762 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
763 "bp-asm.h".
764 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
765 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
766 (_start): Do not use BP_SYM.
767 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
768 "bp-asm.h".
769 (strcat): Do not use BP_SYM.
770 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
771 "bp-asm.h".
772 (STRCMP): Do not use BP_SYM.
773 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
774 "bp-asm.h".
775 (STRCPY): Do not use BP_SYM.
776 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
777 "bp-asm.h".
778 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
779 "bp-asm.h".
780 (FUNCTION): Do not use BP_SYM.
781 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
782 weak_alias.
783 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
784
f238fd19
AJ
7852013-02-17 Andreas Jaeger <aj@suse.de>
786
787 * time/Versions: Sort entries.
788 * string/Versions: Likewise.
789 * resolv/Versions: Likewise.
790 * posix/Versions: Likewise.
791 * iconv/Versions: Likewise.
792 * elf/Versions: Likewise.
793 * wcsmbs/Versions: Likewise.
794
bd07f23c 7952013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 796
22af19f9
SP
797 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
798 loop termination condition.
799
4709fe76
SP
800 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
801 variable to calculate EZ.
802 (__sqr): Likewise.
2d0e0f29
SP
803
804 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
805 the lower precision input.
806
daaa7713
JM
8072013-02-15 Joseph Myers <joseph@codesourcery.com>
808
809 [BZ #13550]
810 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
811 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
812 (run-via-rtld-prefix): Do not handle %-bp tests.
813 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
814 (all-object-suffixes): Remove .ob.
815 (bppfx): Remove variable.
816 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
817 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
818 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
819 [$(build-bounded) = yes] (libtype.ob): Likewise.
820 * Makerules (elide-routines.ob): Remove variable.
821 (do-tests-clean): Do not handle *-bp.out.
822 (common-mostlyclean): Do not handle *-bp and *-bp.out.
823 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
824 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
825 (tests): Do not include $(tests-bp.out).
826 (xtests): Do not include $(xtests-bp.out).
827 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
828 [$(build-bounded) = yes] ($(addprefix
829 $(objpfx),$(binaries-bounded))): Remove rule.
830 ($(objpfx)%-bp.out): Remove rule.
831 * config.make.in (build-bounded): Remove variable.
832 * crypt/Makefile [$(build-bounded) = yes]
833 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
834 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
835 append to variable.
836 [$(build-bounded) = yes] (install-lib): Likewise.
837 [$(build-bounded) = yes] (generated): Likewise.
838 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
839 Remove rule.
840 * intl/Makefile [$(build-bounded) = yes]
841 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
842 * math/Makefile [$(build-bounded) = yes]
843 ($(tests:%=$(objpfx)%-bp): Likewise.
844 * misc/Makefile [$(build-bounded) = yes]
845 ($(objpfx)tst-tsearch-bp): Likewise.
846 * nptl/Makeconfig (bounded-thread-library): Remove variable.
847 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
848 Remove dependency.
849 * string/Makefile (o-objects.ob): Remove variable.
850 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
851 (CFLAGS-.ob): Remove variable.
852 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
853 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
854 both definitions of variable.
855 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
856 (ASFLAGS-.ob): Remove variable.
857
e97ed6dd
JM
8582013-02-14 Joseph Myers <joseph@codesourcery.com>
859
2bdd4ca6
JM
860 [BZ #13550]
861 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
862 Remove __BOUNDED_POINTERS__ from condition.
863 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
864 * string/bits/string2.h [!__NO_STRING_INLINES &&
865 !__BOUNDED_POINTERS__]: Likewise.
866 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
867 Likewise.
868 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
869 Remove conditional code.
870 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
871 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
872 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
873 condition.
874
e97ed6dd
JM
875 [BZ #13550]
876 * csu/libc-start.c: Do not include <bp-sym.h>.
877 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
878 * elf/dl-open.c: Do not include <bp-sym.h>.
879 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
880 * math/fegetenv.c: Do not include <bp-sym.h>.
881 (fegetenv): Do not use BP_SYM in versioned symbols.
882 * nptl/sysdeps/pthread/bits/libc-lockP.h
883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
884 <bp-sym.h>.
885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
886 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
888 (__pthread_mutex_destroy): Likewise.
889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
890 (__pthread_mutex_lock): Likewise.
891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
892 (__pthread_mutex_trylock): Likewise.
893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
894 (__pthread_mutex_unlock): Likewise.
895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
896 (__pthread_mutexattr_init): Likewise.
897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
898 (__pthread_mutexattr_destroy): Likewise.
899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
900 (__pthread_mutexattr_settype): Likewise.
901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
902 (__pthread_rwlock_init): Likewise.
903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
904 (__pthread_rwlock_destroy): Likewise.
905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
906 (__pthread_rwlock_rdlock): Likewise.
907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
908 (__pthread_rwlock_tryrdlock): Likewise.
909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
910 (__pthread_rwlock_wrlock): Likewise.
911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
912 (__pthread_rwlock_trywrlock): Likewise.
913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
914 (__pthread_rwlock_unlock): Likewise.
915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
916 (__pthread_key_create): Likewise.
917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
918 (__pthread_setspecific): Likewise.
919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
920 (__pthread_getspecific): Likewise.
921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
922 Likewise.
923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
924 (_pthread_cleanup_push_defer): Likewise.
925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
926 (_pthread_cleanup_pop_restore): Likewise.
927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
928 (pthread_setcancelstate): Likewise.
929 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
930 <bp-sym.h>.
931 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
932 (memchr): Do not use BP_SYM in weak_alias.
933 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
934 (fegetenv): Do not use BP_SYM in versioned symbols.
935 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
936 (fesetenv): Do not use BP_SYM in versioned symbols.
937 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
938 (feupdateenv): Do not use BP_SYM in versioned symbols.
939 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
940 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
941 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
942 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
943 (open64): Do not use BP_SYM in weak_alias.
944 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
945 (fegetenv): Do not use BP_SYM in versioned symbols.
946 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
947 (fesetenv): Do not use BP_SYM in versioned symbols.
948 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
949 (feupdateenv): Do not use BP_SYM in versioned symbols.
950 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
951 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
952 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
953 (feraiseexcept): Do not use BP_SYM in versioned symbols.
954 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
955 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
956 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
957 <bp-sym.h>.
958 (__libc_start_main): Do not use BP_SYM.
959
d6752ccd
SP
9602013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
961
cb57ce60
SP
962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
963 redundant return line.
964 (norm): Likewise.
965 (denorm): Likewise.
966 (dbl_mp): Likewise.
967 (sub_magnitudes): Likewise.
968 (__add): Likewise.
969 (__sub): Likewise.
970 (__mul): Likewise.
971 (__inv): Likewise.
972 (__dvd): Likewise.
973 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
974 (norm): Likewise.
975 (denorm): Likewise.
976 (dbl_mp): Likewise.
977 (sub_magnitudes): Likewise.
978 (__add): Likewise.
979 (__sub): Likewise.
980 (__mul): Likewise.
981 (__inv): Likewise.
982 (__dvd): Likewise.
983
f414520d
SP
984 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
985 instead of __mul.
986 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
987 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
988 (cc32): Likewise.
989
d6752ccd
SP
990 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
991 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
992 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
993 of __mul for squares.
994 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
995 function
996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
997 Likewise.
998 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
999 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1000
70d9946a
JM
10012013-02-13 Joseph Myers <joseph@codesourcery.com>
1002
1003 [BZ #13550]
1004 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1005 code.
1006 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1007 prototype or function definition. Rename ubp_* variables and
1008 parameters. Remove argv definitions conditional on
1009 [__BOUNDED_POINTERS__].
1010 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1011 * elf/dl-runtime.c (_dl_fixup): Likewise.
1012 * include/set-hooks.h (RUN_HOOK): Likewise.
1013 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1014 definition.
1015 * string/strcpy.c (strcpy): Do not use __unbounded.
1016 * sysdeps/generic/frame.h (struct layout): Likewise.
1017 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1018 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1019 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1020 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1021 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1022 (__backtrace): Likewise.
1023 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1024 use __ptrvalue.
1025 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1026 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1027 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1028 Likewise.
1029 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1030 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1031 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1032 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1033 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1034 Do not use __unbounded.
1035 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1036 Rename __unboundedrlimits parameter to rlimits in prototype.
1037 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1038 Do not use __unbounded.
1039 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1040 not use __ptrvalue.
1041 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1042 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1043 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1044 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1045 __ptrvalue or __unbounded.
1046 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1047 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1048 use __unbounded.
1049 (__new_msgctl): Do not use __ptrvalue.
1050 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1051 __unbounded.
1052 (__libc_msgrcv): Do not use __ptrvalue.
1053 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1054 startup_info): Do not use __unbounded.
1055 (__libc_start_main): Likewise. Rename ubp_* variables and
1056 parameters. Remove argv definitions conditional on
1057 [__BOUNDED_POINTERS__].
1058 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1059 __ptrvalue.
1060 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1061 use __unbounded.
1062 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1063 or __ptrvalue.
1064 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1065 use __unbounded.
1066 (__new_shmctl): Do not use __ptrvalue.
1067 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1068 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1069 Likewise.
1070 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1071 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1072 (__libc_sigaction): Likewise.
1073 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1074 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1075 Likewise.
1076 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1077
cc7834d6
OB
10782013-02-13 Ondřej Bílka <neleai@seznam.cz>
1079
ffb1ec7b 1080 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
1081
1082 * string/mempcpy.c: Implement by calling memcpy.
1083
bdf02814
SP
10842013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1085
c2af38aa
SP
1086 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1087
4e92d59e
SP
1088 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1089 evaluation.
1090
909279a5
SP
1091 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1092 values in the mantissa.
1093
bdf02814
SP
1094 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1095 minimize writes to Z.
1096 (sub_magnitudes): Simplify code a bit.
1097
cd525923
RM
10982013-02-12 Roland McGrath <roland@hack.frob.com>
1099
1100 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1101 from the message. The linker prefixes all warnings with that already.
1102
7e2f0d2d
AS
11032013-02-12 Andreas Schwab <schwab@suse.de>
1104
a445af0b
AS
1105 [BZ #15078]
1106 * posix/regexec.c (extend_buffers): Add parameter min_len.
1107 (check_matching): Pass minimum needed length.
1108 (clean_state_log_if_needed): Likewise.
1109 (get_subexp): Likewise.
1110 * posix/Makefile (tests): Add bug-regex34.
1111 (bug-regex34-ENV): Define.
1112 * posix/bug-regex34.c: New file.
1113
7e2f0d2d
AS
1114 [BZ #11561]
1115 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1116 elements compare against the byte sequence of it, not its name.
1117 * posix/Makefile (tests): Add bug-regex35.
1118 (bug-regex35-ENV): Define.
1119 * posix/bug-regex35.c: New file.
1120
a175b684
TV
11212013-02-11 Tom de Vries <tom@codesourcery.com>
1122
1123 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1124 comment.
1125 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1126 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1127 (CHECK_EOL): Add undef.
1128
310998fe 11292013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
1130
1131 * bits/stdlib-bsearch.h: New file.
1132 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 1133 * stdlib/stdlib.h: Likewise.
41eda41d 1134
8ded91fb
RM
11352013-02-11 Roland McGrath <roland@hack.frob.com>
1136
1137 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1138 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1139 declaration.
1140 * manual/search.texi (Array Search Function): Add missing const in
1141 lfind prototype.
1142 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1143 declaration to use rlim_t.
1144 (Basic Scheduling Functions): Remove erroneous const from
1145 sched_getparam prototype. Remove erroneous * from
1146 sched_get_priority_max and sched_get_priority_min prototypes.
1147 (Resource Usage): Fix summary @comment on vtimes to refer to
1148 sys/vtimes.h rather than vtimes.h.
1149 Add missing *s in vtimes prototype.
1150 (Limits on Resources): Fix ulimit prototype to return long int.
1151 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1152 prototypes to use long int rather than double.
1153 (BSD Random): Fix initstate and setstate to use char *, not void *.
1154 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1155 prototype to make second argument 'struct aiocb64 *const[]'.
1156 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1157 (Status of AIO Operations): Remove erroneous const in aio_return and
1158 aio_return64 prototypes.
1159 (Synchronizing I/O): Fix sync prototype to return void.
1160 * manual/startup.texi (Suboptions): Remove an erroneous const in
1161 getsubopt prototype.
1162 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1163 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1164 use size_t rather than int.
1165 (Scanning All Users): Likewise for getpwent_r.
1166 (Setting Groups): Add missing const to setgroups prototype.
1167 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1168 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1169 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1170 'const void *' rather than 'const char *'.
1171 (Host Address Functions): Likewise for inet_ntop.
1172 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1173 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1174 ssize_t for return value.
1175 (Sending Data): Likewise for send, sendto, sendmsg.
1176 (Socket Option Functions): Add a missing const in setsockopt prototype.
1177 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1178 use wchar_t for the argument.
1179 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1180 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1181 take no arguments.
1182 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1183 double/float/long double for second argument.
1184 Fix return types of significand, significandf, significandl.
1185 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1186 argument in fchmod prototype.
1187 (File Owner): Use uid_t and gid_t in fchown prototype.
1188 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1189 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1190 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1191 use 'const struct dirent **' as argument types to CMP function pointer
1192 argument.
1193 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1194 (File Times): Fix summary magic @comment for struct utimbuf and utime
1195 to refer to utime.h, not time.h.
1196 * manual/string.texi (Argz Functions): Add missing const in
1197 argz_extract and argz_next prototypes.
1198 (Finding Tokens in a String): Likewise for basename.
1199 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1200 (Copying and Concatenation): Fix typo in wmemmove prototype.
1201 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1202 (Signal Stack): Remove erroneous const in sigstack prototype.
1203 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1204 prototype.
1205 (Simple Calendar Time): Likewise for stime.
1206 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1207 prototype.
1208 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1209 say sys/sysctl.h instead.
1210 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1211 and vsyslog prototypes.
1212
fe77fe6d
TV
12132013-02-11 Tom de Vries <tom@codesourcery.com>
1214
1215 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1216 Remove.
1217
3a09b620
RM
12182013-02-11 Roland McGrath <roland@hack.frob.com>
1219
1220 * misc/sys/mman.h: Fix typo in mremap comment.
1221
550a0b89
RM
12222013-02-08 Roland McGrath <roland@hack.frob.com>
1223
1224 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1225 the '\0' terminator.
1226
a2da1673
JM
12272013-02-08 Joseph Myers <joseph@codesourcery.com>
1228
1229 [BZ #13550]
1230 * debug/segfault.c: Don't include <bp-checks.h>.
1231 * sysdeps/generic/bp-checks.h: Remove file.
1232 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1233 (__GETDENTS): Don't use CHECK_N.
1234 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1235 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1236 (__getgroups): Don't use CHECK_N.
1237 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1238 (setgroups): Don't use CHECK_N.
1239 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1240 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1241 (__libc_msgrcv): Don't use CHECK_N.
1242 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1243 (__libc_msgsnd): Don't use CHECK_N.
1244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1245 <bp-checks.h>.
1246 (__libc_pread): Don't use CHECK_N.
1247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1248 include <bp-checks.h>.
1249 (__libc_pread64): Don't use CHECK_N.
1250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1251 include <bp-checks.h>.
1252 (__libc_pwrite): Don't use CHECK_N.
1253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1254 include <bp-checks.h>.
1255 (__libc_pwrite64): Don't use CHECK_N.
1256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1257 <bp-checks.h>.
1258 (__libc_pread): Don't use CHECK_N.
1259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1260 include <bp-checks.h>.
1261 (__libc_pread64): Don't use CHECK_N.
1262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1263 include <bp-checks.h>.
1264 (__libc_pwrite): Don't use CHECK_N.
1265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1266 include <bp-checks.h>.
1267 (__libc_pwrite64): Don't use CHECK_N.
1268 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1269 (do_pread): Don't use CHECK_N.
1270 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1271 (do_pread64): Don't use CHECK_N.
1272 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1273 (do_pwrite): Don't use CHECK_N.
1274 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1275 (do_pwrite64): Don't use CHECK_N.
1276 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1277 (__libc_readv): Don't use CHECK_N.
1278 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1279 (semop): Don't use CHECK_N.
1280 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1281 <bp-checks.h>.
1282 (semtimedop): Don't use CHECK_N.
1283 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1284 (__libc_pread): Don't use CHECK_N.
1285 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1286 <bp-checks.h>.
1287 (__libc_pread64): Don't use CHECK_N.
1288 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1289 <bp-checks.h>.
1290 (__libc_pwrite): Don't use CHECK_N.
1291 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1292 <bp-checks.h>.
1293 (__libc_pwrite64): Don't use CHECK_N.
1294 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1295 <bp-checks.h>.
1296 (__libc_msgrcv): Don't use CHECK_N.
1297 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1298 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1299 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1300 (__libc_writev): Don't use CHECK_N.
1301
b84660a8
RM
13022013-02-08 Roland McGrath <roland@hack.frob.com>
1303
7f3e75f8
RM
1304 * string/strcpy.c: Removed unused variable.
1305
b84660a8
RM
1306 * Makeconfig (+sysdep-includes): Define with := rather than =.
1307 Use an existing include/ subdir of each sysdeps dir before it.
1308
471514d3
CD
13092013-02-08 Carlos O'Donell <carlos@redhat.com>
1310
1311 * nscd/connection.c (register_traced_file): Comment function.
1312 [HAVE_INOTIFY] (union __inev): Define.
1313 [HAVE_INOTIFY] (inotify_check_files): New function.
1314 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1315 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1316 clear_db_cache.
1317 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1318
b2d3c3be
CD
13192013-02-08 Carlos O'Donell <carlos@redhat.com>
1320
1321 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1322 loaded if not already and that a failure is permanent.
1323
b39949d2
CD
13242013-02-08 Carlos O'Donell <carlos@redhat.com>
1325
ddacd1db 1326 [BZ #15006]
b39949d2
CD
1327 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1328 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1329
b2c9eff4
JM
13302013-02-08 Joseph Myers <joseph@codesourcery.com>
1331
f3aae3f3
JM
1332 [BZ #13550]
1333 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1334 (CHECK_1_NULL_OK): Likewise.
1335 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1336 (__fxstat): Do not use CHECK_1.
1337 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1338 <bp-checks.h>.
1339 (___fxstat64): Do not use CHECK_1.
1340 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1341 <bp-checks.h>.
1342 (__fxstatat): Do not use CHECK_1.
1343 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1344 <bp-checks.h>.
1345 (__fxstatat64): Do not use CHECK_1.
1346 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1347 <bp-checks.h>.
1348 (__fxstat): Do not use CHECK_1.
1349 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1350 <bp-checks.h>.
1351 (__fxstatat): Do not use CHECK_1.
1352 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1353 <bp-checks.h>.
1354 (__getresgid): Do not use CHECK_1.
1355 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1356 <bp-checks.h>.
1357 (__getresuid): Do not use CHECK_1.
1358 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1359 <bp-checks.h>.
1360 (__lxstat): Do not use CHECK_1.
1361 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1362 <bp-checks.h>.
1363 (__old_msgctl): Do not use CHECK_1.
1364 (__new_msgctl): Likewise.
1365 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1366 <bp-checks.h>.
1367 (__new_setrlimit): Do not use CHECK_1.
1368 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1369 <bp-checks.h>.
1370 (__old_shmctl): Do not use CHECK_1.
1371 (__new_shmctl): Likewise.
1372 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1373 <bp-checks.h>.
1374 (__xstat): Do not use CHECK_1.
1375 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1376 (__lxstat): Do not use CHECK_1.
1377 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1378 <bp-checks.h>.
1379 (___lxstat64): Do not use CHECK_1.
1380 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1381 (__old_msgctl): Do not use CHECK_1.
1382 (__new_msgctl): Likewise.
1383 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1384 <bp-checks.h>.
1385 (__gettimeofday): Do not use CHECK_1.
1386 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1387 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1388 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1389 <bp-checks.h>.
1390 (__gettimeofday): Do not use CHECK_1.
1391 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1392 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1393 (__new_shmctl): Do not use CHECK_1.
1394 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1395 <bp-checks.h>.
1396 (do_sigtimedwait): Do not use CHECK_1.
1397 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1398 <bp-checks.h>.
1399 (do_sigwaitinfo): Do not use CHECK_1.
1400 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1401 <bp-checks.h>.
1402 (msgctl): Do not use CHECK_1.
1403 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1404 <bp-checks.h>.
1405 (shmctl): Do not use CHECK_1.
1406 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1407 (ustat): Do not use CHECK_1.
1408 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1409 <bp-checks.h>.
1410 (__fxstat): Do not use CHECK_1.
1411 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1412 <bp-checks.h>.
1413 (__fxstatat): Do not use CHECK_1.
1414 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1415 <bp-checks.h>.
1416 (__lxstat): Do not use CHECK_1.
1417 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1418 <bp-checks.h>.
1419 (__xstat): Do not use CHECK_1.
1420 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1421 (__xstat): Do not use CHECK_1.
1422 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1423 (___xstat64): Do not use CHECK_1.
1424
b2c9eff4
JM
1425 [BZ #13550]
1426 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1427 definitions.
1428 (CHECK_BOUNDS_HIGH): Likewise.
1429 * string/strcpy.c: Do not include <bp-checks.h>.
1430 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1431
f1d70dad
RM
14322013-02-07 Roland McGrath <roland@hack.frob.com>
1433
1434 * nscd/nscd-client.h (__nscd_drop_map_ref):
1435 Add __attribute__ ((unused)).
1436 * nis/nss-nisplus.h (niserr2nss): Likewise.
1437
1438 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1439 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1440
1441 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1442 Remove inline keyword.
1443 * include/rounding-mode.h (round_away): Likewise.
1444 * libio/wfileops.c (adjust_wide_data): Likewise.
1445 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1446 (__m128i_strloadu_tolower): Likewise.
1447 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1448 (__m128i_strloadu_tolower): Likewise.
1449 * time/mktime.c (ydhms_diff): Likewise.
1450 * locale/elem-hash.h (elem_hash): Likewise.
1451 * locale/setlocale.c (setdata): Likewise.
1452 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1453 (re_string_wchar_at): Likewise.
1454 (bitset_not, bitset_merge, bitset_mask): Likewise.
1455 [!(__GNUC__ > 3)] (inline): Remove macro.
1456 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1457 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1458 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1459 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1460 * string/memcmp.c (memcmp_bytes): Likewise.
1461 * locale/programs/locarchive.c (compute_hashval): Likewise.
1462 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1463 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1464 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1465 * nss/getent.c (print_rpc, print_protocols): Likewise.
1466 (print_passwd, print_group, print_aliases): Likewise.
1467 * nis/nss-nisplus.h (niserr2nss): Likewise.
1468 * nscd/connections.c (restart_p): Likewise.
1469 Change return type to bool.
1470
eab55bfb
RM
14712013-02-05 Roland McGrath <roland@hack.frob.com>
1472
7bd642f5
RM
1473 * Makeconfig (all-Depend-files): Add existing
1474 $(sorted-subdirs:=/Depend) files.
1475 (all-subdirs): Remove nss.
1476 * sysdeps/unix/inet/Subdirs: Add it here instead.
1477 * hesiod/Depend: New file.
1478
573c29b2
RM
1479 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1480 instead of calling alloca.
1481
b2e25af0
RM
1482 * io/lseek.c (__lseek): Rename to __libc_lseek.
1483 Define __lseek as an alias.
1484
eab55bfb
RM
1485 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1486
9a0d1941
CD
14872013-02-04 Carlos O'Donell <carlos@redhat.com>
1488
1489 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1490 else clause and remove check for non-standard endianness.
1491
b83bbec4
DM
14922013-02-04 David S. Miller <davem@davemloft.net>
1493
1494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1495
6277fdab
JM
14962013-02-04 Joseph Myers <joseph@codesourcery.com>
1497
1498 [BZ #13550]
1499 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1500 (__ubp_memchr): Remove prototype.
1501 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1502 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1503 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1504 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1505 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1506 Remove alias.
1507 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1508 (__ubp_memchr): Likewise.
1509 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1510 (__ubp_memchr): Likewise.
1511 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1512 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1513 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1514 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1515 CHECK_STRING.
1516 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1517 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1518 (__getcwd): Do not use CHECK_STRING.
1519 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1520 <bp-checks.h>.
1521 (__real_chown): Do not use CHECK_STRING.
1522 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1523 <bp-checks.h>.
1524 (fchownat): Do not use CHECK_STRING.
1525 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1526 CHECK_STRING.
1527 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1528 <bp-checks.h>.
1529 (__lchown): Do not use CHECK_STRING.
1530 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1531 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1532 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1533 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1535 include <bp-checks.h>.
1536 (truncate64): Do not use CHECK_STRING.
1537 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1538 <bp-checks.h>.
1539 (__real_chown): Do not use CHECK_STRING.
1540 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1541 <bp-checks.h>.
1542 (__lchown): Do not use CHECK_STRING.
1543 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1544 <bp-checks.h>.
1545 (__chown): Do not use CHECK_STRING.
1546 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1547 <bp-checks.h>.
1548 (truncate64): Do not use CHECK_STRING.
1549 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1550 Likewise.
1551 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1552 (__xmknod): Do not use CHECK_STRING.
1553 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1554 <bp-checks.h>.
1555 (__xmknodat): Do not use CHECK_STRING.
1556 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1557 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1558
903ae060
AS
15592013-02-04 Andreas Schwab <schwab@suse.de>
1560
1561 [BZ #14142]
1562 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1563 * include/netdb.h: Likewise for h_errno.
1564 * elf/tst-stackguard1.c: Include <tls.h>.
1565
542f9466
JK
15662013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1567
1568 * elf/link.h (struct link_map): Extend the l_addr comment.
1569 * include/link.h (struct link_map): Likewise.
1570
e782a927
JM
15712013-02-01 Joseph Myers <joseph@codesourcery.com>
1572
1573 [BZ #13550]
1574 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1575 (BOUNDED_1): Remove macro.
1576 * debug/backtrace.c: Don't include <bp-checks.h>.
1577 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1578 (__backtrace): Likewise.
1579 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1580 <bp-checks.h>.
1581 (__backtrace): Don't use BOUNDED_1.
1582 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1583 <bp-checks.h>.
1584 (__backtrace): Don't use BOUNDED_1.
1585 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1586 (__backtrace): Don't use BOUNDED_1.
1587 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1588 (shmat): Don't use BOUNDED_N.
1589
8cf28c5e
JM
15902013-01-31 Joseph Myers <joseph@codesourcery.com>
1591
3a7ac8a0
JM
1592 [BZ #13550]
1593 * sysdeps/generic/bp-start.h: Remove file.
1594 * csu/libc-start.c: Don't include <bp-start.h>.
1595 (LIBC_START_MAIN): Set up __environ directly instead of using
1596 INIT_ARGV_and_ENVIRON.
1597 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1598 <bp-start.h>.
1599
f3499f95
JM
1600 [BZ #13550]
1601 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1602 definitions.
1603 (CHECK_FCNTL): Likewise.
1604 (CHECK_N_PAGES): Likewise.
1605
32a45bea
JM
1606 [BZ #13550]
1607 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1608 definitions.
1609 (CHECK_SIGSET_NULL_OK): Likewise.
1610 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1611 <bp-checks.h>.
1612 (sigpending): Don't use CHECK_SIGSET.
1613 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1614 <bp-checks.h>.
1615 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1616 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1617 <bp-checks.h>.
1618 (do_sigsuspend): Don't use CHECK_SIGSET.
1619 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1620 use CHECK_SIGSET.
1621 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1622 (do_sigwait): Don't use CHECK_SIGSET.
1623 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1624 use CHECK_SIGSET.
1625 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1626 include <bp-checks.h>.
1627 (sigpending): Don't use CHECK_SIGSET.
1628 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1629 include <bp-checks.h>.
1630 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1631 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1632 <bp-checks.h>.
1633 (sigpending): Don't use CHECK_SIGSET.
1634 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1635 <bp-checks.h>.
1636 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1637
2e8a5c8c
JM
1638 [BZ #13550]
1639 * sysdeps/generic/bp-semctl.h: Remove file.
1640 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1641 <bp-checks.h> and <bp-semctl.h>.
1642 (__old_semctl): Don't use CHECK_SEMCTL.
1643 (__new_semctl): Likewise.
1644 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1645 and <bp-semctl.h>.
1646 (__old_semctl): Don't use CHECK_SEMCTL.
1647 (__new_semctl): Likewise.
1648 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1649 <bp-checks.h> and <bp-semctl.h>.
1650 (__old_semctl): Don't use CHECK_SEMCTL.
1651 (__new_semctl): Likewise.
1652 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1653 <bp-checks.h> and <bp-semctl.h>.
1654 (semctl): Don't use CHECK_SEMCTL.
1655
c2d54929
JM
1656 [BZ #13550]
1657 * Makerules (elide-bp-thunks): Remove variable.
1658 (elide-routines.oS): Don't use $(elide-bp-thunks).
1659 (elide-routines.os): Likewise.
1660 (elide-routines.o): Likewise.
1661 (elide-routines.op): Likewise.
1662 (elide-routines.og): Likewise.
1663 (objects): Don't use $(bp-thunks).
1664 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1665 include.
1666 (common-generated): Do not add s-proto-bp.d.
1667 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1668 (int): Likewise.
1669 (typ): Likewise.
1670 Do not generate makefile rules for bounded-pointer thunks.
1671 * sysdeps/generic/bp-thunks.h: Remove file.
1672 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1673 * sysdeps/unix/s-proto-bp.S: Likewise.
1674
8cf28c5e
JM
1675 [BZ #15062]
1676 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1677 parts of result separately when argument is not close to line from
1678 -i to i and one part of argument is small.
1679 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1680 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1681 * math/libm-test.inc (cacos_test): Add more tests.
1682 (casin_test): Likewise.
1683 (casinh_test): Likewise.
1684 * sysdeps/i386/fpu/libm-test-ulps: Update.
1685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1686
c4e33b8d
DM
16872013-01-31 David S. Miller <davem@davemloft.net>
1688
1689 * po/de.po: Update from translation team.
1690
3b60b421
MK
16912013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1692
1693 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1694
bb931195
TS
16952013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1696
b5a5da23
TS
1697 * configure.in (_AC_PROG_CC_C89): New definition.
1698 * configure: Regenerate.
1699
bb931195
TS
1700 * configure.in (AC_PROG_CPP): New definition.
1701 * configure: Regenerate.
1702
8c53a12c
JM
17032013-01-23 Joseph Myers <joseph@codesourcery.com>
1704
1705 * debug/tst-backtrace.h: New file.
1706 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1707 (ret): Remove variable.
1708 (x): Likewise.
1709 (FAIL): Remove macro.
1710 (NO_INLINE): Likewise.
1711 (fn1): Use match function instead of strstr.
1712 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1713 (ret): Remove variable.
1714 (x): Likewise.
1715 (FAIL): Remove macro.
1716 (NO_INLINE): Likewise.
1717 (fn): Use match function instead of strstr.
1718 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1719 (ret): Remove variable.
1720 (x): Likewise.
1721 (FAIL): Remove macro.
1722 (NO_INLINE): Likewise.
1723 (handle_signal): Use match function instead of strstr.
1724 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1725 (ret): Remove variable.
1726 (x): Likewise.
1727 (FAIL): Remove macro.
1728 (NO_INLINE): Likewise.
1729 (handle_signal): Use match function instead of strstr.
1730
4858fa2a
RM
17312013-01-23 Roland McGrath <roland@hack.frob.com>
1732
1733 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1734
bae8e7f5
DM
17352013-01-23 David S. Miller <davem@davemloft.net>
1736
1737 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1738 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1739 argument of CAS if possible.
1740 * sysdeps/sparc/sparc64/bits/atomic.h
1741 (__arch_compare_and_exchange_val_32_acq): Likewise.
1742 (__arch_compare_and_exchange_val_64_acq): Likewise.
1743
9cbbc4ae
PT
17442013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1745
1746 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1747 * sysdeps/posix/ulimit.c: ... this.
92a601b8 1748 Include <limits.h>.
67b3f58c 1749 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 1750
5655a0b5
AC
17512013-01-23 Adam Conrad <adconrad@0c3.net>
1752
1753 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1754 (LDFLAGS-tst-array5): Likewise.
1755
052aff95
JM
17562013-01-23 Joseph Myers <joseph@codesourcery.com>
1757
1758 [BZ #15036]
1759 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1760 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1761 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1762 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1763
7c1e01aa
DM
17642013-01-21 David S. Miller <davem@davemloft.net>
1765
1766 * sysdeps/sparc/backtrace.c: New file.
1767 * sysdeps/sparc/sparc32/backtrace.h: New file.
1768 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1769 * sysdeps/sparc/sparc64/backtrace.h: New file.
1770 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1771 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1772 -funwind-tables.
1773
ab087e0a
AS
17742013-01-21 Andreas Schwab <schwab@suse.de>
1775
1776 [BZ #15020]
1777 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1778 closed its stdout.
1779
ed689c2f
AS
17802013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1781
1782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1783 "mpa2.h".
1784 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1785
31d470ac
JM
17862013-01-18 Joseph Myers <joseph@codesourcery.com>
1787 Mark Mitchell <mark@codesourcery.com>
1788 Tom de Vries <tom@codesourcery.com>
1789 Paul Pluzhnikov <ppluzhnikov@google.com>
1790
1791 * debug/tst-backtrace2.c: New file.
1792 * debug/tst-backtrace3.c: Likewise.
1793 * debug/tst-backtrace4.c: Likewise.
1794 * debug/tst-backtrace5.c: Likewise.
1795 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1796 (CFLAGS-tst-backtrace3.c): Likewise.
1797 (CFLAGS-tst-backtrace4.c): Likewise.
1798 (CFLAGS-tst-backtrace5.c): Likewise.
1799 (LDFLAGS-tst-backtrace2): Likewise.
1800 (LDFLAGS-tst-backtrace3): Likewise.
1801 (LDFLAGS-tst-backtrace4): Likewise.
1802 (LDFLAGS-tst-backtrace5): Likewise.
1803 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1804 tst-backtrace4 and tst-backtrace5.
1805
90567f30 18062013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
1807 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1808
1809 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1810 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1811 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1812 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1814 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1815 "+r" and remove output regs list as redundant. Add explicit inline
1816 asm to specify register of return val to work around compiler codegen
1817 bug. Remove (int) cast on return value. Add return type parameter to
1818 use in macro so that this macro does not truncate return value for
1819 64-bit values.
1820 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1821 pass to INTERNAL_VSYSCALL_NCS.
1822 (INLINE_VSYSCALL): Add 'long int' as return type to
1823 INTERNAL_VSYSCALL_NCS macro invocation.
1824 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1825 INTERNAL_VSYSCALL_NCS macro invocation.
1826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1827
d3b9ea61
SP
18282013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1829
0b57daeb
SP
1830 [BZ #14496]
1831 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1832 Fix application of SIMD FP exception mask.
1833
caa99d06
SP
1834 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1835 mp_no from a power of two.
1836 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1837 __mpexp_twomm1. Use __pow_mp.
1838
d3b9ea61
SP
1839 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1840 multiplication.
1841
1dbaee3c
DM
18422013-01-17 David S. Miller <davem@davemloft.net>
1843
1844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1845
728d7b43
JM
18462013-01-17 Joseph Myers <joseph@codesourcery.com>
1847
1848 [BZ #15023]
1849 * include/complex.h: Condition contents on [!_COMPLEX_H].
1850 (__kernel_casinhf): New prototype.
1851 (__kernel_casinh): Likewise.
1852 (__kernel_casinhl): Likewise.
1853 * math/Makefile (libm_calls): Add k_casinh.
1854 * math/k_casinh.c: New file.
1855 * math/k_casinhf.c: Likewise.
1856 * math/k_casinhl.c: Likewise.
1857 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1858 finite nonzero arguments.
1859 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1860 finite nonzero arguments.
1861 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1862 finite nonzero arguments.
1863 * math/s_casinh.c: Do not include <float.h>.
1864 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1865 * math/s_casinhf.c: Do not include <float.h>.
1866 (__casinhf): Move code for finite nonzero arguments to
1867 k_casinhf.c.
1868 * math/s_casinhl.c: Do not include <float.h>.
1869 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1870 redefine.
1871 (__casinhl): Move code for finite nonzero arguments to
1872 k_casinhl.c.
1873 * math/libm-test.inc (cacos_test): Add more tests.
1874 * sysdeps/i386/fpu/libm-test-ulps: Update.
1875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1876
2a26ef3a
PT
18772013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1878
1879 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1880 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1881 [!HAVE_MREMAP]: Remove [defined linux] case.
1882 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1883
a897655d
SP
18842013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1885
1886 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1887
881ebe89 18882013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
1889
1890 * elf/elf.h (R_386_SIZE32): New relocation.
1891 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1892 R_386_SIZE32.
1893 (elf_machine_rela): Likewise.
1894 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1895 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1896
59981e9b
JM
18972013-01-17 Joseph Myers <joseph@codesourcery.com>
1898
1899 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1900 (FP_FAST_FMA): Do not define.
1901 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1902 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1903 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1904 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1905 !_SOFT_FLOAT]: Likewise.
1906 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1907 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1908 value.
1909 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1910 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1911 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1912 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1913 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1914 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1915 file.
1916
cfa8054f
AS
19172013-01-16 Andreas Schwab <schwab@suse.de>
1918
1919 [BZ #14327]
1920 * include/stdlib.h (__mktemp): Add declaration.
1921 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1922 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1923
dd930cc5
SP
19242013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1925
881ebe89
SP
1926 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1927 definitions.
1928 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1929 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1930 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1931 definitions here.
1932 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1933 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1934 definitions.
1935 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1936 and ONE.
1937 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1938 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1939 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1940 definitions.
1941 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1942 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1943 definitions.
1944 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 1945
dd930cc5
SP
1946 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1947
c19a9f89
DM
19482013-01-15 David S. Miller <davem@davemloft.net>
1949
1aa61767
DM
1950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1951 trunc{,f} to libm-sysdep_routes.
1952 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1954 file.
1955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1957 file.
1958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1959 file.
1960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1962 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1963 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1964 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1965 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1966 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1967 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1968
c42d5e98
DM
1969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1970 nearbyint{,f} to libm-sysdep_routes.
1971 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1973 New file.
1974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1975 file.
1976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1977 New file.
1978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1979 file.
1980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1982 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1983 file.
1984 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1985 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1986 file.
1987 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1988 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1989 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1990
c19a9f89
DM
1991 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1992 libc_feholdexcept and libc_fesetenv.
1993
357679d2
MF
19942013-01-15 Mike Frysinger <vapier@gentoo.org>
1995
1996 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1997
65a82e3d
DM
19982013-01-14 David S. Miller <davem@davemloft.net>
1999
8b954ab9
DM
2000 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2001 (SPARC_ASM_VIS2_IFUNC): Likewise.
2002 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2004 use of 'siam' instruction.
2005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2006 Likewise.
2007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2008 Likewise.
2009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2010 Likewise.
2011 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2012 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2013 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2014 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2016 file.
2017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2018 file.
2019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2020 file.
2021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2022 file.
2023 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2024 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2028 new VIS2 routines.
2029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2032 Likewise.
2033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2035 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2036 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2038 routines to libm-sysdep_routines.
2039 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2040
65a82e3d
DM
2041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2042 fdim/fdimf to libm-sysdep_routines.
2043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2044 file.
2045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2047 file.
2048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2051 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2052 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2053 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2054 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2055
e34ab705
SP
20562013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2057
2a91b573
SP
2058 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2059 to optimize copies.
2060
1066a534
SP
2061 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2062 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2064
e34ab705
SP
2065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2066 local variable MPTWO.
2067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2068 Likewise.
2069
aba5e596
MF
20702013-01-13 Mike Frysinger <vapier@gentoo.org>
2071
2072 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2073 GLOB_NOESCAPE.
2074
e557e9e5
MF
20752013-01-13 Mike Frysinger <vapier@gentoo.org>
2076
2077 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2078
0428cec9
MF
20792013-01-13 Mike Frysinger <vapier@gentoo.org>
2080
2081 * manual/pattern.texi (glob_t): Document gl_flags.
2082 (glob64_t): Likewise.
2083
8794a964
DM
20842013-01-11 David S. Miller <davem@davemloft.net>
2085
66438c3f
RM
2086 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2087 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2088 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
2089 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2090 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2091 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2092 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2093 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2094 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2095 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2096 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2097 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2098 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2099
4ae4244d
DM
2100 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2101 sparc V9 rather than using V8 code.
2102 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2103 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2104
8794a964
DM
2105 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2106 Move to...
2107 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2108 Here.
2109
6270516e
RM
21102013-01-11 Roland McGrath <roland@hack.frob.com>
2111
2112 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2113 not in the main loop.
2114 * configure: Regenerated.
2115
6a57d931
JM
21162013-01-11 Joseph Myers <joseph@codesourcery.com>
2117
2118 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2119 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2120 to just #else.
2121 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2122 [!__GLIBC_HAVE_LONG_LONG] case.
2123 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2124 condition to just #else.
2125 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2126 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2127 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2128 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2129 unconditional.
2130 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2131 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2132 #elif condition to just #else.
2133 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2134 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2135 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2136 #elif condition to just #else.
2137
0e8529e9
SE
21382013-01-11 Steve Ellcey <sellcey@mips.com>
2139
2140 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2141 (EF_MIPS_ARCH_64): Fix value.
2142 (EF_MIPS_ARCH_32R2): New.
2143 (EF_MIPS_ARCH_64R2): New.
2144
740b3dbe
L
21452013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2146
2147 * Makeconfig (+link-pie-before-libc): New.
2148 (+link-pie-after-libc): Likewise.
2149 (+link-pie-tests): Likewise.
2150 (+link-pie): Rewritten.
2151 (link-before-libc): Remove $(config-LDFLAGS).
2152 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2153 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2154 (config-LDFLAGS): Renamed to ...
2155 (rtld-LDFLAGS): This.
2156 (rtld-tests-LDFLAGS): New macro.
2157 (link-libc-rpath-link): Likewise.
2158 (link-libc-tests-rpath-link): Likewise.
2159 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2160 (link-libc): Prepand $(link-libc-rpath-link).
2161 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2162 (test-program-prefix): New macro.
2163 (test-via-rtld-prefix): Likewise.
2164 (test-program-cmd): Likewise.
2165 (host-test-program-cmd): Likewise.
2166 * Makefile ($(common-objpfx)testrun.sh): Replace
2167 $(run-program-prefix) with $(test-program-prefix).
2168 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2169 $(rtld-LDFLAGS).
2170 ($(common-objpfx)shlib.lds): Likewise.
2171 (build-module-helper): Likewise.
2172 ($(common-objpfx)format.lds): Likewise.
2173 * Rules (binaries-pie-tests): New.
2174 (binaries-pie-notests): Likewise.
2175 (binaries-pie): Rewritten.
2176 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2177 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2178 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2179 (make-test-out): Replace $(host-built-program-cmd) with
2180 $(host-test-program-cmd).
2181 * config.make.in (build-hardcoded-path-in-tests): New variable.
2182 * configure.in (--enable-hardcoded-path-in-tests): New configure
2183 option.
2184 (hardcoded_path_in_tests): New AC_SUBST.
2185 * configure: Regenerated.
2186 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2187 $(built-program-cmd) with $(test-program-cmd).
2188 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2189 (test_program_cmd): This.
2190 * elf/Makefile ($(objpfx)order.out): Run test with
2191 $(test-program-prefix).
2192 ($(objpfx)order2.out): Likewise.
2193 ($(objpfx)tst-initorder.out): Likewise.
2194 ($(objpfx)tst-initorder2.out): Likewise.
2195 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2196 $(test-program-cmd).
2197 ($(objpfx)tst-array1-static.out): Likewise.
2198 ($(objpfx)tst-array2.out): Likewise.
2199 ($(objpfx)tst-array3.out): Likewise.
2200 ($(objpfx)tst-array4.out): Likewise.
2201 ($(objpfx)tst-array5.out): Likewise.
2202 ($(objpfx)tst-array5-static.out): Likewise.
2203 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2204 $(test-program-cmd).
2205 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2206 $(run-program-prefix) with $(test-program-prefix).
2207 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2208 (test_program_prefix): This.
2209 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2210 $(run-program-prefix) with $(test-program-prefix).
2211 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2212 (test_program_prefix): This.
2213 * iconvdata/tst-tables.sh: Likewise.
2214 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2215 $(run-program-prefix) with $(test-program-prefix).
2216 ($(objpfx)tst-translit.out): Likewise.
2217 ($(objpfx)tst-gettext2.out): Likewise.
2218 ($(objpfx)tst-gettext4.out): Likewise.
2219 ($(objpfx)tst-gettext6.out): Likewise.
2220 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2221 (test_program_prefix): This.
2222 * intl/tst-gettext2.sh: Likewise.
2223 * intl/tst-gettext4.sh Likewise.
2224 * intl/tst-gettext6.sh: Likewise.
2225 * intl/tst-translit.sh: Likewise.
2226 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2227 with $(test-program-cmd).
2228 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2229 $(run-program-prefix) with $(test-program-prefix).
2230 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2231 (test_program_prefix): This.
2232 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2233 $(run-program-prefix) with $(test-program-prefix).
2234 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2235 (test_program_prefix): This.
2236 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2237 * posix/Makefile ($(objpfx)globtest.out): Replace
2238 $(run-via-rtld-prefix) and $(test-wrapper) with
2239 $(test-program-prefix) and $(test-via-rtld-prefix).
2240 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2241 $(test-program-prefix).
2242 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2243 $(host-test-program-cmd).
2244 (tst-spawn-ARGS): Likewise.
2245 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2246 $(test-program-prefix).
2247 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2248 (test_via_rtld_prefix): This.
2249 (test_wrapper): Renamed to ...
2250 (test_program_prefix): This.
2251 (run_program_prefix): Replaced by test_program_prefix.
2252 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2253 (test_program_prefix): This.
2254 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2255 with $(host-test-program-cmd).
2256 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2257 $(run-program-prefix) with $(test-program-prefix).
2258 ($(objpfx)tst-printf.out): Likewise.
2259 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2260 $(test-program-cmd).
2261 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2262 (test_program_prefix): This.
2263 * stdio-common/tst-unbputc.sh: Likewise.
2264 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2265 $(run-program-prefix) with $(test-program-prefix).
2266 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2267 (test_program_prefix): This.
2268 * string/Makefile ($(objpfx)tst-svc.out): Replace
2269 $(built-program-cmd) with $(test-program-cmd).
2270
c6fe55cf
AJ
22712013-01-11 Andreas Jaeger <aj@suse.de>
2272
2273 [BZ #15003]
2274 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2275 value. Sync with Linux 3.7.
2276
9e6919c8
DM
22772013-01-10 David S. Miller <davem@davemloft.net>
2278
2279 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2280 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2281 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2282
1c9f1a02
RM
22832013-01-10 Roland McGrath <roland@hack.frob.com>
2284
2285 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2286 never set.
2287 * configure: Regenerated.
2288
b9de2dde
DM
22892013-01-10 David S. Miller <davem@davemloft.net>
2290
2291 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2292 sparc V9 rather than using V8 code.
2293 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2294 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2295
e7f68ef4
RM
22962013-01-10 Roland McGrath <roland@hack.frob.com>
2297
2298 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2299 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2300 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2301 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2302 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2303 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2304 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2305 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2306 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2307 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2308 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2309 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2310 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2311 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2312 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2313 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2314 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2315 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2316 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2317 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2318 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2319 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2320 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2321 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2322 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2323 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2324 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2325
5a47cc9c
DM
23262013-01-10 David S. Miller <davem@davemloft.net>
2327
2328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2329
4cf8f209
L
23302013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2331
2332 * posix/Makefile (tests-static): New variable.
2333 (tests): Add $(tests-static).
2334 (tst-exec-static-ARGS): New variable.
2335 (tst-spawn-static-ARGS): Likewise.
2336 * posix/tst-exec-static.c: New file.
2337 * posix/tst-spawn-static.c: Likewise.
2338 * posix/tst-exec.c: Support run directly.
2339 * posix/tst-spawn.c: Likewise.
2340
fed0faa1
JM
23412013-01-10 Joseph Myers <joseph@codesourcery.com>
2342
828beb13
JM
2343 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2344 long.
2345 * math/bits/mathcalls.h (llrint): Likewise.
2346 (llround): Likewise.
2347 * stdlib/stdlib.h (struct drand48_data): Likewise.
2348 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2349 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2350 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2351 Likewise.
2352 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2353 Likewise.
2354 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2355 (elf_greg_t): Likewise.
2356 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2357 (__jmp_buf): Likewise.
2358 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2359 definitions.
2360 (llrint): Likewise, for all definitions.
2361 (llrintl): Likewise.
2362
fed0faa1
JM
2363 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2364 Remove [__GNUC__] condition.
2365 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2366 condition to just [__USE_ISOC99].
2367 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2368
1a20cb20
L
23692013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2370
2371 [BZ #14200]
2372 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2373 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2374 defined.
2375 (_POSIX_V6_ILP32_OFF32): Likewise.
2376 (_XBS5_ILP32_OFF32): Likewise.
2377 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2378 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2379
751b85f7
SP
23802013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2381
7490eb81
SP
2382 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2383
751b85f7
SP
2384 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2385 doubles __mpexp_twomm1. Adjust usage.
2386 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2387 Remove.
2388
988197f0
AS
23892013-01-10 Andreas Schwab <schwab@suse.de>
2390
2391 [BZ #14964]
2392 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2393 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2394
e83d7298
DM
23952013-01-09 David S. Miller <davem@davemloft.net>
2396
034ed64b 2397 [BZ #15003]
e83d7298
DM
2398 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2399 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2400 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2401 TCP_FASTOPEN): Define.
2402 (tcp_repair_opt): New structure.
2403 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2404 enum values.
2405 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2406 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2407 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2408 (tcp_cookie_transactions): New structure.
2409
d5e0b9bd
AB
24102013-01-09 Anton Blanchard <anton@samba.org>
2411
2412 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2413 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2414 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2415 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2416
0c07e3ea
JM
24172013-01-09 Joseph Myers <joseph@codesourcery.com>
2418
2419 * include/features.h (__USE_ANSI): Remove.
2420
232f7002
RM
24212013-01-09 Roland McGrath <roland@hack.frob.com>
2422
ad98e30c
RM
2423 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2424
232f7002
RM
2425 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2426
950c99ca
SP
24272013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2428
b5792741
SP
2429 * sysdeps/s390/fpu/libm-test-ulps: Update.
2430
47cf2278
SP
2431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2432
950c99ca
SP
2433 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2434 (__acr): Likewise.
2435 (__cpy): Likewise.
2436 (norm): Likewise.
2437 (denorm): Likewise.
2438 (__mp_dbl): Likewise.
2439 (__dbl_mp): Likewise.
2440 (add_magnitudes): Likewise.
2441 (sub_magnitudes): Likewise.
2442 (__add): Likewise.
2443 (__sub): Likewise.
2444 (__mul): Likewise.
2445 (__inv): Likewise.
2446 (__dvd): Likewise.
2447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2448 (__acr): Likewise.
2449 (__cpy): Likewise.
2450 (norm): Likewise.
2451 (denorm): Likewise.
2452 (__mp_dbl): Likewise.
2453 (__dbl_mp): Likewise.
2454 (add_magnitudes): Likewise.
2455 (sub_magnitudes): Likewise.
2456 (__add): Likewise.
2457 (__sub): Likewise.
2458 (__mul): Likewise.
2459 (__inv): Likewise.
2460 (__dvd): Likewise.
2461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2462 (__acr): Likewise.
2463 (__cpy): Likewise.
2464 (norm): Likewise.
2465 (denorm): Likewise.
2466 (__mp_dbl): Likewise.
2467 (__dbl_mp): Likewise.
2468 (add_magnitudes): Likewise.
2469 (sub_magnitudes): Likewise.
2470 (__add): Likewise.
2471 (__sub): Likewise.
2472 (__mul): Likewise.
2473 (__inv): Likewise.
2474 (__dvd): Likewise.
2475
eede9df9
JM
24762013-01-08 Joseph Myers <joseph@codesourcery.com>
2477
2478 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2479 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2480 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2481 2 && __USE_EXTERN_INLINES]: Likewise.
2482
c40ea3d9
AJ
24832013-01-08 Andreas Jaeger <aj@suse.de>
2484
2485 [BZ# 14985]
2486 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2487 Remove.
2488 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2489 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2490
2ccdea26
AB
24912013-01-07 Anton Blanchard <anton@samba.org>
2492
2493 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2494 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2495 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2496 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2497 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2498 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2499 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2500 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2502 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2503 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2504 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2505 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2506 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2507 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2508 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2509 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2510 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2511 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2512 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2513 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2514 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2516 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2517 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2518 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2519 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2520 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2521 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2522 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2523 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2525 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2526 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2527 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2528 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2529 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2530 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2531 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2532 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2533 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2534 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2535 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2536
a9708fed
JM
25372013-01-07 Joseph Myers <joseph@codesourcery.com>
2538
375607b9
JM
2539 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2540 (__MALLOC_PMT): Likewise.
2541 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2542 [__GNUC__], only on [_LIBC].
2543 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2544 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2545 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2546 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2547 forward declaration.
2548 (realloc_hook_ini): Likewise.
2549 (memalign_hook_ini): Likewise.
2550 (__libc_memalign): Do not use __MALLOC_PMT in variable
2551 declaration.
2552 (__libc_valloc): Likewise.
2553 (__libc_pvalloc): Likewise.
2554 (__libc_calloc): Likewise.
2555 (__posix_memalign): Likewise.
2556
a9708fed
JM
2557 [BZ #14996]
2558 * math/s_casinh.c: Include <float.h>.
2559 (__casinh): Do not do computation with squaring and square root
2560 for large arguments.
2561 * math/s_casinhf.c: Include <float.h>.
2562 (__casinhf): Do not do computation with squaring and square root
2563 for large arguments.
2564 * math/s_casinhl.c: Include <float.h>.
2565 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2566 (__casinhl): Do not do computation with squaring and square root
2567 for large arguments.
2568 * math/libm-test.inc (casin_test): Add more tests.
2569 (casinh_test): Likewise.
2570 * sysdeps/i386/fpu/libm-test-ulps: Update.
2571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2572
afec409a
L
25732013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2574
2575 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2576 (__x86_64_raw_data_cache_size): Likewise.
2577 (__x86_64_data_cache_size_half): Likewise.
2578 (__x86_64_raw_data_cache_size_half): Likewise.
2579 (__x86_64_shared_cache_size): Likewise.
2580 (__x86_64_raw_shared_cache_size): Likewise.
2581 (__x86_64_shared_cache_size_half): Likewise.
2582 (__x86_64_raw_shared_cache_size_half): Likewise.
2583 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2584 to ...
2585 (__x86_data_cache_size): This.
2586 (__x86_64_raw_data_cache_size): Renamed to ...
2587 (__x86_raw_data_cache_size): This.
2588 (__x86_64_data_cache_size_half): Renamed to ...
2589 (__x86_data_cache_size_half): This.
2590 (__x86_64_raw_data_cache_size_half): Renamed to ...
2591 (__x86_raw_data_cache_size_half): This.
2592 (__x86_64_shared_cache_size): Renamed to ...
2593 (__x86_shared_cache_size): This.
2594 (__x86_64_raw_shared_cache_size): Renamed to ...
2595 (__x86_raw_shared_cache_size): This.
2596 (__x86_64_shared_cache_size_half): Renamed to ...
2597 (__x86_shared_cache_size_half): This.
2598 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2599 (__x86_raw_shared_cache_size_half): This.
2600 * sysdeps/x86_64/memcpy.S: Updated.
2601 * sysdeps/x86_64/memset.S: Likewise.
2602 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2603 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2604 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2605
0b3986d0
DM
26062013-01-04 David S. Miller <davem@davemloft.net>
2607
2608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2609
e47686e9
AS
26102013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2611
d643bac1
AS
2612 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2613 1 to avoid redefinition warning.
2614 (__USE_GNU): Don't define.
2615 (init_signaling_nan): Protoize.
2616
e47686e9
AS
2617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2618
b18decba
SP
26192013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2620
fffb407f
SP
2621 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2623 (__cpymn): Likewise.
2624 (norm): Remove commented code.
2625 (denorm): Likewise.
2626 (__mp_dbl): Likewise.
2627 (__inv): Likewise.
2628 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2629 (__cpymn): Likewise.
2630 (norm): Remove commented code.
2631 (denorm): Likewise.
2632 (__mp_dbl): Likewise.
2633 (__inv): Likewise.
2634
b18decba
SP
2635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2636 mp_no value for 1.0 and 2.0.
2637 (norm): Use RADIXI instead of radixi.d.
2638 (denorm): Likewise.
2639 (__mul): Use 0.0 instead of zero.d.
2640 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2641 mp_no value for 1.0 and 2.0.
2642 (norm): Use RADIXI instead of radixi.d.
2643 (denorm): Likewise.
2644 (__mul): Use 0.0 instead of zero.d.
2645
cdc1c96f
JM
26462013-01-04 Joseph Myers <joseph@codesourcery.com>
2647
2648 [BZ #14994]
2649 * math/s_casinh.c (__casinh): Reduce finite argument to first
2650 quadrant then set signs of results at the end.
2651 * math/s_casinhf.c (__casinhf): Likewise.
2652 * math/s_casinhl.c (__casinhl): Likewise.
2653 * math/libm-test.inc (casin_test): Add more tests.
2654 (casinh_test): Likewise.
2655 * sysdeps/i386/fpu/libm-test-ulps: Update.
2656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2657
302913e1
SP
26582013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2659
6420d207
SP
2660 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2661
a9e48ab4
SP
2662 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2663
b7837264
SP
2664 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2665 declarations.
2666 (denorm): Likewise.
2667 (__mp_dbl): Likewise.
2668 (__inv): Likewise.
2669
f8af25d2
SP
2670 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2671 and adjust the header comment.
2672
302913e1
SP
2673 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2674 variable name from declaration.
2675
5d7dd1ca
L
26762013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2677
2678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2679 Initialize COMMON_CPUID_INDEX_7 element.
2680 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2681 (CPUID_RTM): Likewise.
2682 (HAS_RTM): Likewise.
2683 (COMMON_CPUID_INDEX_7): New enum.
2684
2f5f40f4
AS
26852013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2686
2687 [BZ #14981]
2688 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2689 size is zero, record memory as freed.
2690
4056f4a0
AJ
26912013-01-03 Andreas Jaeger <aj@suse.de>
2692
2693 * po/ia.po: Add new Interlingua translation.
2694
ab15736f 26952012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
2696
2697 * locale/programs/localedef.c: Fix description of '--posix' flag.
2698
568035b7
JM
26992013-01-02 Joseph Myers <joseph@codesourcery.com>
2700
e6898b8d
JM
2701 * NEWS: Update dates in second copyright notice.
2702 * README: Update copyright dates in example.
2703 * manual/libc.texinfo: Update copyright dates.
2704 * scripts/test-installation.pl: Update copyright date in --version
2705 output.
2706
0e2f9562
JM
2707 * hurd/ctty-input.c: Fix copyright notice formatting.
2708 * hurd/ctty-output.c: Likewise.
2709 * hurd/dtable.c: Likewise.
2710 * hurd/hurd-raise.c: Likewise.
2711 * hurd/hurdprio.c: Likewise.
2712 * hurd/msgportdemux.c: Likewise.
2713 * misc/sys/file.h: Likewise.
2714 * misc/sys/ioctl.h: Likewise.
2715 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2716 * sysdeps/mach/hurd/chdir.c: Likewise.
2717 * sysdeps/mach/hurd/fchdir.c: Likewise.
2718 * sysdeps/mach/hurd/rename.c: Likewise.
2719 * sysdeps/mach/hurd/rmdir.c: Likewise.
2720 * sysdeps/mach/hurd/seekdir.c: Likewise.
2721 * sysdeps/mach/hurd/setsid.c: Likewise.
2722 * sysdeps/posix/wait3.c: Likewise.
2723
568035b7
JM
2724 * All files with FSF copyright notices: Update copyright dates
2725 using scripts/update-copyrights.
2726 * intl/plural.c: Regenerated.
2727 * locale/programs/charmap-kw.h: Likewise.
2728 * locale/programs/locfile-kw.h: Likewise.
2729
da08f647
SP
27302013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2731
0f5477af
SP
2732 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2733 four values.
2734
44e0d4c2
SP
2735 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2736 calculation loop and add branch prediction.
2737
4d55b4e5
SP
2738 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2739 check access beyond bounds of m1np.
2740
da08f647
SP
2741 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2742 MPTWO.
2743 (__inv): Remove local variable MPTWO to use the global
2744 constant.
2745 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2746 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2747 variable MPTWO.
2748 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2749 MP3HALFS static const.
2750
8e051029
DM
27512013-01-01 David S. Miller <davem@davemloft.net>
2752
2753 * po/ca.po: Update from translation team.
2754
f4cf5f2d
JM
27552013-01-01 Joseph Myers <joseph@codesourcery.com>
2756
2757 * scripts/update-copyrights: New file.
2758 * Makeconfig: Reformat copyright notice.
2759 * ctype/ctype.h: Likewise.
2760 * debug/swprintf_chk.c: Likewise.
2761 * elf/dl-cache.c: Likewise.
2762 * elf/dl-debug.c: Likewise.
2763 * elf/dl-object.c: Likewise.
2764 * grp/initgroups.c: Likewise.
2765 * hurd/Makefile: Likewise.
2766 * hurd/hurd/signal.h: Likewise.
2767 * hurd/hurdfault.c: Likewise.
2768 * hurd/hurdioctl.c: Likewise.
2769 * hurd/hurdlookup.c: Likewise.
2770 * hurd/intr-msg.c: Likewise.
2771 * iconv/gconv_open.c: Likewise.
2772 * libio/swprintf.c: Likewise.
2773 * locale/lc-ctype.c: Likewise.
2774 * locale/nl_langinfo.c: Likewise.
2775 * mach/Machrules: Likewise.
2776 * mach/Makefile: Likewise.
2777 * malloc/obstack.h: Likewise.
2778 * manual/Makefile: Likewise.
2779 * manual/tsort.awk: Likewise.
2780 * misc/bits/stab.def: Likewise.
2781 * nis/nis_print_group_entry.c: Likewise.
2782 * nis/nis_table.c: Likewise.
2783 * nis/nss_compat/compat-pwd.c: Likewise.
2784 * nis/nss_compat/compat-spwd.c: Likewise.
2785 * po/Makefile: Likewise.
2786 * posix/fnmatch.c: Likewise.
2787 * posix/regex.h: Likewise.
2788 * resolv/Makefile: Likewise.
2789 * resolv/nss_dns/dns-network.c: Likewise.
2790 * resolv/res_hconf.c: Likewise.
2791 * scripts/gen-sorted.awk: Likewise.
2792 * soft-fp/soft-fp.h: Likewise.
2793 * stdio-common/printf.h: Likewise.
2794 * stdlib/monetary.h: Likewise.
2795 * stdlib/random.c: Likewise.
2796 * stdlib/random_r.c: Likewise.
2797 * sysdeps/generic/Makefile: Likewise.
2798 * sysdeps/gnu/Makefile: Likewise.
2799 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2800 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2801 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2802 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2803 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2804 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2805 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2806 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2807 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2808 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2809 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2810 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2811 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2812 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2813 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2814 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2815 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2816 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2817 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2818 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2819 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2820 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2821 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2822 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2823 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2824 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2825 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2826 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2827 * sysdeps/mach/hurd/errnos.awk: Likewise.
2828 * sysdeps/mach/hurd/fork.c: Likewise.
2829 * sysdeps/mach/hurd/getcwd.c: Likewise.
2830 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2831 * sysdeps/mach/hurd/mmap.c: Likewise.
2832 * sysdeps/mach/hurd/utimes.c: Likewise.
2833 * sysdeps/mach/hurd/xmknod.c: Likewise.
2834 * sysdeps/posix/profil.c: Likewise.
2835 * sysdeps/posix/readdir_r.c: Likewise.
2836 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2837 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2838 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2839 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2840 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2841 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2842 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2843 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2845 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2846 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2847 * sysdeps/pthread/lio_listio.c: Likewise.
2848 * sysdeps/sparc/dl-procinfo.h: Likewise.
2849 * sysdeps/unix/i386/sysdep.S: Likewise.
2850 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2851 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2852 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2853 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2855 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2856 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2857 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2858 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2859 * sysdeps/wordsize-32/divdi3.c: Likewise.
2860 * time/sys/time.h: Likewise.
2861 * wcsmbs/Makefile: Likewise.
2862
0549fbba
DM
28632013-01-01 David S. Miller <davem@davemloft.net>
2864
a141f1a7
DM
2865 * po/fr.po: Update from translation team.
2866
0549fbba
DM
2867 * catgets/gencat.c: Update copyright year.
2868 * csu/version.c: Likewise.
2869 * debug/catchsegv.sh: Likewise.
2870 * debug/pcprofiledump.c: Likewise.
2871 * debug/xtrace.sh: Likewise.
2872 * elf/ldconfig.c: Likewise.
2873 * elf/ldd.bash.in: Likewise.
2874 * elf/pldd.c: Likewise.
2875 * elf/sotruss.ksh: Likewise.
2876 * elf/sprof.c: Likewise.
2877 * iconv/iconv_prog.c: Likewise.
2878 * iconv/iconvconfig.c: Likewise.
2879 * locale/programs/locale.c: Likewise.
2880 * locale/programs/localedef.c: Likewise.
2881 * login/programs/pt_chown.c: Likewise.
2882 * malloc/memusage.sh: Likewise.
2883 * malloc/memusagestat.c: Likewise.
2884 * malloc/mtrace.pl: Likewise.
2885 * nscd/nscd.c: Likewise.
2886 * nss/getent.c: Likewise.
2887 * nss/makedb.c: Likewise.
2888 * posix/getconf.c: Likewise.
2889
18ea052c
SP
28902012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2891
2892 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2893 numbers.
2894
9c89fca6
MF
28952012-12-30 Mike Frysinger <vapier@gentoo.org>
2896
2897 * math/bits/mathcalls.h (modf): Use __nonnull.
2898
085ec079
SP
28992012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2900
2901 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2902 (split): Use macro CN instead of the bare value.
2903 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2904 could be used.
2905 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2906 instead of the bare value.
2907 (power1): Likewise.
2908
6d9f97e1
SP
29092012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2910
d63f73be
SP
2911 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2912 __ATAN_TWOM.
2913 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2914
6d9f97e1
SP
2915 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2916 their values.
2917 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2918 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2919 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2920 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2921
4c4febf5
AJ
29222012-12-28 Andreas Jaeger <aj@suse.de>
2923
af5843ef
AJ
2924 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2925 values are from Linux 3.7.
2926
4c4febf5
AJ
2927 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2928 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2929
99136f82
SP
29302012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2931
2f216c3c 2932 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
2933 TRUE case.
2934
99136f82
SP
2935 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2936 (norm): Likewise.
2937 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2938 variables with preprocessor constants.
2939 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2940 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2941 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2942
7fffbdff
BH
29432012-12-27 Bruno Haible <bruno@clisp.org>
2944
2945 [BZ #14317]
2946 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2947 only if needed.
2948
b76eb5f0
SP
29492012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2950
31a7fe5c
SP
2951 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2952 and use variable directly.
2953 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2954
b76eb5f0
SP
2955 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2956 MPONE.
2957 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2958 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2959 variable MPONE.
2960 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2961 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2962 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2963 include directive. Remove local variable MPONE.
2964 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2965 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2966 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2967
2c8bfe7d
DM
29682012-12-25 David S. Miller <davem@davemloft.net>
2969
2970 * version.h (RELEASE): Set to "development".
2971 (VERSION): Set to "2.17.90".
2972 * NEWS: Add 2.18 section.
2973
147d03b0
DM
29742012-12-21 David S. Miller <davem@davemloft.net>
2975
2976 * po/hr.po: Update from translation team.
2977
a8ebb2b9
AK
29782012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2979
2980 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2981
95b4f1b6
SE
29822012-12-19 Steve Ellcey <sellcey@mips.com>
2983
b2d94007 2984 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 2985
cedb2a90
MS
29862012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2987
2988 * manual/contrib.texi (Contributors): Spelling correction.
2989
bbf527d6
DM
29902012-12-15 David S. Miller <davem@davemloft.net>
2991
2992 * po/ru.po: Update from translation team.
2993
bc38c906
DM
29942012-12-13 David S. Miller <davem@davemloft.net>
2995
85429b1a
DM
2996 * NEWS: Mention IFUNC testsuite enhancements.
2997
d283e353
DM
2998 * po/pl.po: Update from translation team.
2999 * po/bg.po: Likewise.
3000
bc38c906
DM
3001 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3002 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3003
a181b0d7
DM
30042012-12-11 David S. Miller <davem@davemloft.net>
3005
4641d57e
DM
3006 * po/sv.po: Update from translation team.
3007
f7bc6495
DM
3008 * po/vi.po: Update from translation team.
3009
6fc9048f
DM
3010 * po/cs.po: Update from translation team.
3011
a181b0d7
DM
3012 * po/de.po: Update from translation team.
3013 * po/eo.po: Likewise.
3014 * po/nl.po: Likewise.
3015
f70bfe80
SP
30162012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3017
3c8b4190
SP
3018 [BZ #14246]
3019 * manual/argp.texi (Argp Helper Functions): Move node to follow
3020 Argp Parsing State.
3021
f70bfe80
SP
3022 [BZ #14872]
3023 * manual/conf.texi (Limits on File System Capacity): Mention if
3024 terminating null is included in the max size.
3025
188f0adf
AJ
30262012-12-10 Andreas Jaeger <aj@suse.de>
3027
3028 * po/cs.po: Update from translation team.
3029
56e7d3ad
SP
30302012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3031
3032 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3033 void pointer and cast to uintptr_t.
3034 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3035 path.
3036 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3037 * sysdeps/s390/s390-64/memset.S: Likewise.
3038
76f2d2ea 30392012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
3040
3041 [BZ #14833]
3042 * menual/message.texi (Message Translation): Fix typos.
3043 (Helper programs for gettext): Likewise.
3044
67cbf9a2
AS
30452012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3046
3047 [BZ #14898]
3048 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3049 Change to -1.
3050
682d0e9a
DM
30512012-12-07 David S. Miller <davem@davemloft.net>
3052
3053 * po/libc.pot: Update.
3054
573cd484
RH
30552012-12-07 Richard Henderson <rth@redhat.com>
3056
7e9da188 3057 [BZ #10114]
573cd484
RH
3058 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3059 normal/normal case to before the switch.
3060 (_FP_DIV): Likewise.
3061
e933a943
MF
30622012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3063 Mike Frysinger <vapier@gentoo.org>
3064
3065 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3066 check for __NR_fadvise64_64.
3067
82123268
CM
30682012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3069
3070 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3071 0, not just to plain "0" as a statement.
3072 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3073 with cw.
3074
d9814526
JM
30752012-12-06 Joseph Myers <joseph@codesourcery.com>
3076
3077 * NEWS: Use sourceware.org in Bugzilla URL.
3078
7728c574
SP
30792012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3080
f16946dd
SP
3081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3082 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3083
5704bbcb
SP
3084 * stdio-common/tst-put-error.c (do_test): Add newline to the
3085 padded test to ensure flush.
3086
17aa0516
JL
30872012-12-05 Jeff Law <law@redhat.com>
3088
3089 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3090
363313b5
JM
30912012-12-05 Joseph Myers <joseph@codesourcery.com>
3092
effbd42a
JM
3093 * README: Don't refer to ports add-on as distributed separately.
3094 Mention AArch64 in list of systems supported in the ports add-on.
3095
87600365
JM
3096 * LICENSES: Add more non-FSF copyright and license notices.
3097
a0d7066a
JM
3098 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3099 ((unused)).
3100
66ca5a5b
JM
3101 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3102
363313b5
JM
3103 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3104 10000 as width of padded output.
3105
b37984ad
JM
31062012-12-04 Joseph Myers <joseph@codesourcery.com>
3107
9003570a
JM
3108 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3109
b37984ad
JM
3110 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3111 variable LX with __attribute__ ((unused)).
3112 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3113 Likewise.
3114 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3115 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3116 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3117 with __attribute__ ((unused)).
3118
c8df52ec
DM
31192012-12-04 David S. Miller <davem@abraco.davemloft.net>
3120
3121 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3122
b3b099af
JM
31232012-12-04 Joseph Myers <joseph@codesourcery.com>
3124
c33aa6e3
JM
3125 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3126 (CFLAGS-nldbl-acos.c): New variable.
3127 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3128 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3129 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3130 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3131 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3132 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3133 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3134 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3135 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3136 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3137 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3138 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3139 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3140 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3141 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3142 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3143 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3144 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3145 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3146 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3147 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3148 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3149 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3150 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3151 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3152 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3153 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3154 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3155 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3156 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3157 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3158 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3159 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3160 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3161 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3162 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3163 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3164 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3165 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3166 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3167 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3168 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3169 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3170 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3171 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3172 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3173 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3174 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3175 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3176 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3177 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3178 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3179 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3180 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3181 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3182 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3183 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3184 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3185 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3186 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3187 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3188 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3189 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3190 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3191 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3192 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3193 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3194 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3195 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3196 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3197 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3198 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3199 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3200 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3201 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3202 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3203 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3204 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3205 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3206 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3207 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3208 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3209 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3210 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3211 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3212 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3213 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3214 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3215 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3216 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3217 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3218 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3219 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3220 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3221 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3222 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3223 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3224
20f0018d
JM
3225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3226 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3227
b3b099af
JM
3228 [BZ #14914]
3229 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3230 whole low double instead of just low 47 bits when splitting values
3231 into two parts.
3232
029264d1
AM
32332012-12-03 Allan McRae <allan@archlinux.org>
3234
3235 * manual/stdio.texi (Predefined Printf Handlers): Remove
3236 @hsep and @vsep usage.
3237
c9d6789e
MF
32382012-12-03 Mike Frysinger <vapier@gentoo.org>
3239
3240 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3241 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3242
4b7634a5
JL
32432012-12-03 Jeff Law <law@redhat.com>
3244
3245 * time/sys/time.h (settimeofday): Do not mark TV argument
3246 as __nonnull.
3247
eb6cbd24
MF
32482012-12-01 Mike Frysinger <vapier@gentoo.org>
3249
3250 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3251 when currently writing and seek to current position when not.
3252 * libio/Makefile (tests): Remove bug-fclose1.
3253 * libio/bug-fclose1.c: Delete.
3254
f638872a
JM
32552012-12-01 Joseph Myers <joseph@codesourcery.com>
3256
3257 * manual/arith.texi (feenableexcept): Fix typo.
3258 (fedisableexcept): Likewise.
3259
48085d14
RM
32602012-11-30 Roland McGrath <roland@hack.frob.com>
3261
3262 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3263 second, differently-typed declaration, rather than a cast.
3264
1a538b9f
SP
32652012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3266
3267 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3268 * include/rpc/svc.h: ... here.
3269
d07f2ff1 32702012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
3271
3272 [BZ #13013]
3273 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3274 depending n and resplen2 to catch cases where answer
3275 equals answerp2.
3276
c93ec1f0
CD
32772012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3278
3279 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3280 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3281
37db69de
MF
32822012-11-29 Mike Frysinger <vapier@gentoo.org>
3283
3284 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3285
e10c4e4f
RM
32862012-11-29 Roland McGrath <roland@hack.frob.com>
3287
3288 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3289
2af1b328
JL
32902012-11-28 Jeff Law <law@redhat.com>
3291
3292 [BZ #13761]
3293 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3294 dataset_temporary. Track alloca usage into alloca_used.
3295 If dataset is large allocate and release it via malloc/free.
3296
111db5b1
FW
32972012-06-04 Florian Weimer <fweimer@redhat.com>
3298
f06cc227 3299 [BZ #14197]
111db5b1
FW
3300 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3301
dd694abd
DM
33022012-11-28 David S. Miller <davem@davemloft.net>
3303
3304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3305
9984dd01
JM
33062012-11-28 Joseph Myers <joseph@codesourcery.com>
3307
3308 [BZ #14803]
3309 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3310 of pi/2 rounded to nearest to 64 bits.
3311 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3312 nearest to 64 bits.
3313 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3314 bits.
3315
14bc93a9
JL
33162012-11-28 Jeff Law <law@redhat.com>
3317 Martin Osvald <mosvald@redhat.com>
3318
3319 [BZ #14889]
3320 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3321 * sunrpc/svc.c: Include time.h.
3322 (__svc_accept_failed): New function.
3323 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3324 any reason other than EINTR, call __svc_accept_failed.
3325 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3326 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3327
e3c6aa3a
AS
33282012-11-28 Andreas Schwab <schwab@suse.de>
3329
3330 * scripts/abilist.awk: Also handle indirect functions in .opd
3331 section.
3332
1bead169
JM
33332012-11-28 Joseph Myers <joseph@codesourcery.com>
3334
3335 [BZ #13881]
3336 * sysdeps/x86/fpu/powl_helper.c: New file.
3337 * sysdeps/x86/fpu/Makefile: Likewise.
3338 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3339 (p3): New object.
3340 (__ieee754_powl): Use __powl_helper for finite arguments except
3341 integer exponents below 8.
3342 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3343 (p3): New object.
3344 (__ieee754_powl): Use __powl_helper for finite arguments except
3345 integer exponents below 8.
3346 * math/libm-test.inc (pow_test): Add more tests and enable some
3347 previously disabled tests.
3348 * sysdeps/i386/fpu/libm-test-ulps: Update.
3349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3350
0817d63d
SP
33512012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3352 Carlos O'Donell <carlos_odonell@mentor.com>
3353
3354 * nss/makedb.c (is_prime): Assert that input is odd and greater
3355 than 4. Note that fact in a comment too.
3356 (next_prime): Add 4 to input.
3357
de2fd463
SP
33582012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3359
3360 [BZ #11741]
3361 * libio/Makefile (tests): Add test case tst-fwrite-error.
3362 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3363 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3364 * libio/tst-fwrite-error.c: New test case.
3365
c515fb51
L
33662012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3367
3368 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3369 before casting to void *.
3370 * include/libc-internal.h (__pointer_type): New macro.
3371 (__integer_if_pointer_type_sub): Likewise.
3372 (__integer_if_pointer_type): Likewise.
3373 (cast_to_integer): Likewise.
3374 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3375 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3376 before casting to atomic64_t.
3377 (atomic_exchange_acq): Likewise.
3378 (__arch_exchange_and_add_body): Likewise.
3379 (__arch_add_body): Likewise.
3380 (atomic_add_negative): Likewise.
3381 (atomic_add_zero): Likewise.
3382
4cf77aa9
JM
33832012-11-26 Joseph Myers <joseph@codesourcery.com>
3384
3385 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3386 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3387 (add_fdes): Likewise.
3388 (linear_search_fdes): Likewise.
3389 (binary_search_unencoded_fdes): Likewise.
3390
d260b3b4
AS
33912012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3392
3393 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3394
67060746
AC
33952012-11-24 Adam Conrad <adconrad@0c3.net>
3396
3397 * configure.in: Autodetect C++ header directories.
3398 * configure: Regenerated.
3399
800938a1
MF
34002012-11-23 Mike Frysinger <vapier@gentoo.org>
3401
3402 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3403
4e6e34e6
AS
34042012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3405
3406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3407
7c7feb47
JM
34082012-11-22 Joseph Myers <joseph@codesourcery.com>
3409
7184dcdf
JM
3410 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3411 LDBL_MANT_DIG == 106]: Disable some tests.
3412 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3413 Likewise.
3414 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3415 Likewise.
3416
0a42601f
JM
3417 [BZ #14871]
3418 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3419 input for small inputs. Return +/- pi/2 for large inputs.
3420 * math/libm-test.inc (atan_test): Add more tests.
3421
79c9b9fe
JM
3422 * sysdeps/generic/unwind-dw2-fde-glibc.c
3423 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3424 __attribute__ ((unused)).
3425
c60d3bf2
JM
3426 [BZ #14645]
3427 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3428 x * y if x and y are nonzero and z is zero.
3429
ef1e0867
JM
3430 [BZ #14811]
3431 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3432 nonzero exponents with absolute value below 0x1p-117 to +/-
3433 0x1p-117.
3434
1468ded3
JM
3435 [BZ #14869]
3436 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3437 up arguments below 2**-450, not just those below 2**-500.
3438 * math/libm-test.inc (hypot_test): Add another test.
3439
8e27e3cc
JM
3440 [BZ #14868]
3441 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3442 Return a+b for ratio over 2**120, not 2**60.
3443 * math/libm-test.inc (hypot_test): Add another test.
3444
c9c0279b
JM
3445 * math/libm-test.inc (clog_test): Use
3446 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3447 (clog10_test): Likewise.
3448
7c7feb47
JM
3449 [BZ #6778]
3450 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3451
fff1530e
AS
34522012-11-22 Andreas Schwab <schwab@suse.de>
3453
3454 * sysdeps/i386/fpu/libm-test-ulps: Update.
3455
94558d30
PT
34562012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3457
3458 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3459 printf output with newline.
3460
7e1be741
L
34612012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3462
6bfea974
L
3463 [BZ #14865]
3464 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3465 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3466 -z nodlopen, -z initfirst and -z execstack support.
3467 * configure: Regenerated.
3468
7e1be741
L
3469 * elf/elf.h (DF_1_NODIRECT): New macro.
3470 (DF_1_IGNMULDEF): Likewise.
3471 (DF_1_NOKSYMS): Likewise.
3472 (DF_1_NOHDR): Likewise.
3473 (DF_1_EDITED): Likewise.
3474 (DF_1_NORELOC): Likewise.
3475 (DF_1_SYMINTPOSE): Likewise.
3476 (DF_1_GLOBAUDIT): Likewise.
3477 (DF_1_SINGLETON): Likewise.
3478 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3479 DT_1_SUPPORTED_MASK bits.
3480 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3481
105ce2ce
CD
34822012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3483
3484 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3485
123be9de
TS
34862012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3487
d072f3f7
TS
3488 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3489 macro.
3490
123be9de
TS
3491 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3492 (sendmmsg): Move declarations...
3493 * socket/sys/socket.h: ... here.
3494 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3495 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3496 include it from...
3497 * socket/recvmmsg.c: ... this new file.
3498 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3499 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3500 definition of __sendmmsg hidden.
3501 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3502 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3503 Move ENOSYS stub into and include it from...
3504 * socket/sendmmsg.c: ... this new file.
3505 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3506 (sysdep_routines): Move recvmmsg and sendmmsg...
3507 * socket/Makefile (routines): ... here.
3508 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3509 (GLIBC_PRIVATE): Add __sendmmsg.
3510 * include/sys/socket.h (__sendmmsg): Add declarations.
3511 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3512 sendmmsg.
3513
cf9a5d18
JM
35142012-11-20 Joseph Myers <joseph@codesourcery.com>
3515
3516 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3517 variable I1 with __attribute__ ((unused)).
3518 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3519
ecd4caf9
JM
35202012-11-19 Joseph Myers <joseph@codesourcery.com>
3521
be14d48f
JM
3522 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3523 DUMMY variables with __attribute__ ((unused)).
3524
ecd4caf9
JM
3525 * bits/byteswap.h: Include <bits/types.h>.
3526 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3527
986cab95
PT
35282012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3529
3530 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3531 string_t. Do not manually set errno.
3532 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3533 length with __strnlen. Make sure to both set errno and return it on
3534 failure.
3535
6d33cc9d
DM
35362012-11-19 David S. Miller <davem@davemloft.net>
3537
3538 With help from Joseph Myers.
3539 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3540 very large arguments properly.
3541 * math/libm-test.inc (atan_test): New tests.
3542 (atan2_test): New tests.
3543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3545
ee663277
JM
35462012-11-19 Joseph Myers <joseph@codesourcery.com>
3547
877f2d8e
JM
3548 [BZ #14856]
3549 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3550 Define to 3.
3551
116fc08a
JM
3552 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3553 [POSIX] (EADDRNOTAVAIL): Likewise.
3554 [POSIX] (EAFNOSUPPORT): Likewise.
3555 [POSIX] (EALREADY): Likewise.
3556 [POSIX] (ECONNABORTED): Likewise.
3557 [POSIX] (ECONNREFUSED): Likewise.
3558 [POSIX] (ECONNRESET): Likewise.
3559 [POSIX] (EDESTADDRREQ): Likewise.
3560 [POSIX] (EDQUOT): Likewise.
3561 [POSIX] (EHOSTUNREACH): Likewise.
3562 [POSIX] (EIDRM): Likewise.
3563 [POSIX] (EISCONN): Likewise.
3564 [POSIX] (ELOOP): Likewise.
3565 [POSIX] (EMULTIHOP): Likewise.
3566 [POSIX] (ENETDOWN): Likewise.
3567 [POSIX] (ENETUNREACH): Likewise.
3568 [POSIX] (ENOBUFS): Likewise.
3569 [POSIX] (ENODATA): Likewise.
3570 [POSIX] (ENOLINK): Likewise.
3571 [POSIX] (ENOMSG): Likewise.
3572 [POSIX] (ENOPROTOOPT): Likewise.
3573 [POSIX] (ENOSR): Likewise.
3574 [POSIX] (ENOSTR): Likewise.
3575 [POSIX] (ENOTCONN): Likewise.
3576 [POSIX] (ENOTSOCK): Likewise.
3577 [POSIX] (EOPNOTSUPP): Likewise.
3578 [POSIX] (EOVERFLOW): Likewise.
3579 [POSIX] (EPROTO): Likewise.
3580 [POSIX] (EPROTONOSUPPORT): Likewise.
3581 [POSIX] (EPROTOTYPE): Likewise.
3582 [POSIX] (ESTALE): Likewise.
3583 [POSIX] (ETIME): Likewise.
3584 [POSIX] (ETXTBSY): Likewise.
3585 [POSIX] (EWOULDBLOCK): Likewise.
3586 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3587 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3588 [POSIX] (SEEK_CUR): Likewise.
3589 [POSIX] (SEEK_END): Likewise.
3590 [POSIX || UNIX98] (mode_t): Do not require.
3591 [POSIX] (off_t): Likewise.
3592 [POSIX] (pid_t): Likewise.
3593 [POSIX] (sys/stat.h): Do not allow header.
3594 [POSIX] (unistd.h): Likewise.
3595 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3596 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3597 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3598 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3599 require.
3600 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3601 sigevent): Specify elements.
3602 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3603 entry.
3604 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3605 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3606
a483863f
JM
3607 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3608 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3609 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3610 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3611 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3612 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3613 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3614 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3615 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3616 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3617 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3618 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3619 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3620 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3621 Likewise.
3622 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3623 Likewise.
3624 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3625 Likewise.
3626 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3627 Likewise.
3628 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3629 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3630 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3631 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3632 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3633 Specify lower bound on value.
3634 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3635 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3636 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3637 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3638 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3639 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3640 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3641 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3642 value.
3643 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3644 as optional.
3645 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3646 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3647 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3648 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3649 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3650 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3651 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3652 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3653 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3654 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3655 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3656 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3657 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3658 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3659 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3660 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3661 entry.
3662 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3663 optional.
3664 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3665 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3666 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3667 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3668 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3669 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3670 Likewise.
3671 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3672 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3673 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3674 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3675 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3676 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3677 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3678 as optional.
3679 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3680 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3681 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3682 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3683 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3684 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3685 specify as optional.
3686 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3687 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3688 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3689 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3690 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3691 [XPG3] (NL_LANGMAX): Likewise.
3692 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3693 [POSIX || XPG3] (NL_NMAX): Likewise.
3694 [POSIX || XPG3] (NL_SETMAX): Likewise.
3695 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3696 [XPG3] (NZERO): Likewise.
3697 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3698 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3699 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3700 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3701 (REG_ERANGE): Expect.
3702 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3703 optional-constant.
3704 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3705 Use (void) in prototype.
3706 [POSIX] (*_t): Allow.
3707 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3708 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3709 (WRDE_BADVAL): Expect.
3710
5ba924e3
JM
3711 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3712 expect.
3713 [XPG3 || XPG4] (O_RSYNC): Likewise.
3714 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3715 Likewise.
3716 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3717 [XPG3 || XPG4] (sigqueue): Likewise.
3718 [XPG3 || XPG4] (sigtimedwait): Likewise.
3719 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3720 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3721 [XPG3 || XPG4] (vsnprintf): Likewise.
3722 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3723 Likewise.
3724 [XPG3 || XPG4] (blksize_t): Likewise.
3725 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3726 Likewise.
3727 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3728 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3729 [XPG3 || XPG4] (struct itimerspec): Likewise.
3730 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3731 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3732 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3733 [XPG3 || XPG4] (clockid_t): Likewise.
3734 [XPG3 || XPG4] (timer_t): Likewise.
3735 [XPG3 || XPG4] (clock_getres): Likewise.
3736 [XPG3 || XPG4] (clock_gettime): Likewise.
3737 [XPG3 || XPG4] (clock_settime): Likewise.
3738 [XPG3 || XPG4] (nanosleep): Likewise.
3739 [XPG3 || XPG4] (timer_create): Likewise.
3740 [XPG3 || XPG4] (timer_delete): Likewise.
3741 [XPG3 || XPG4] (timer_gettime): Likewise.
3742 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3743 [XPG3 || XPG4] (timer_settime): Likewise.
3744 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3745 [XPG3 || XPG4] (getlogin_r): Likewise.
3746 [XPG3 || XPG4] (pread): Likewise.
3747 [XPG3 || XPG4] (pthread_atfork): Likewise.
3748 [XPG3 || XPG4] (pwrite): Likewise.
3749
ee663277
JM
3750 [BZ #14835]
3751 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3752 <bits/siginfo.h>.
3753
942caa16
PT
37542012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3755
e19af380
PT
3756 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3757 finalizing MALLSTREAM.
3758
942caa16
PT
3759 * sysdeps/mach/hurd/syncfs.c: New file.
3760
cfde9b46
SP
37612012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3762
3763 [BZ #14719]
3764 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3765 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3766 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3767 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3768 (_nss_dns_gethostbyname4_r): Likewise.
3769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3770 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3771
f6da27e5
PH
37722012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3773
3774 [BZ #13763]
3775 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3776
6665d4a2
SM
37772012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3778
1f51ee92
SM
3779 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3780 * elf/cache.c (print_entry): Print ",AArch64" for
3781 FLAG_AARCH64_LIB64
3782
6665d4a2
SM
3783 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3784 * elf/cache.c (print_entry): Print ",hard-float" for
3785 FLAG_ARM_LIBHF.
3786
05b227bd
DM
37872012-11-18 David S. Miller <davem@davemloft.net>
3788
3789 With help from Joseph Myers.
3790 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3791 cutoff to 2**-13.
3792 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3793 cutoff to 2**-25.
3794 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3795 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3796 small.
3797 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3798 * math/libm-test.inc (y0_test): New tests.
3799 (y1_test): New tests.
3800 * sysdeps/i386/fpu/libm-test-ulps: Update.
3801 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3803
786b0b67
AS
38042012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3805
3806 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3807 64-bit targets.
3808 * configure: Regenerated.
3809
8e18b86d
DM
38102012-11-17 David S. Miller <davem@davemloft.net>
3811
3812 [BZ #14811]
3813 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3814 nonzero exponents with absolute value below 0x1p-128 to +/-
3815 0x1p-128.
3816
531f1ae0
JM
38172012-11-17 Joseph Myers <joseph@codesourcery.com>
3818
12df29e2
JM
3819 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3820
150dc1a0
JM
3821 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3822
531f1ae0
JM
3823 * posix/getconf-speclist.c: New file.
3824 * posix/posix-envs.def: Likewise.
3825 * posix/confstr.c (START_ENV_GROUP): New macro.
3826 (END_ENV_GROUP): Likewise.
3827 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3828 (KNOWN_PRESENT_ENV_STRING): Likewise.
3829 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3830 (UNKNOWN_ENVIRONMENT): Likewise.
3831 (confstr): Include posix-envs.def instead of handling
3832 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3833 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3834 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3835 (END_ENV_GROUP): Likewise.
3836 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3837 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3838 (UNKNOWN_ENVIRONMENT): Likewise.
3839 (__sysconf): Include posix-envs.def instead of handling associated
3840 cases directly here.
3841 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3842 preprocessing getconf-speclist.c rather than running getconf or
3843 generating empty file.
3844
a93f9cbc
PT
38452012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3846
3847 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3848
d64d9f87
AL
38492012-11-16 Andrej Lajovic <natrij@gmail.com>
3850
3851 [BZ #14672]
3852 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3853
447885eb
DM
38542012-11-16 David S. Miller <davem@davemloft.net>
3855
3856 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3857 smaller than LDBL_EPSILON/2.0L, just return xm1.
3858
bcbf9830
L
38592012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3860
3861 * elf/tst-array1.c (init): Set constructor priority to 1000.
3862 (fini): Set destructor priority to 1000.
3863 * elf/tst-array2dep.c: Likewise.
3864
2b766585
SP
38652012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3866
3867 [BZ #11741]
3868 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3869 (_IO_new_file_xsputn): Also return EOF if none of the input
3870 data was written when overflow failed.
3871 * libio/iopadn.c (_IO_padn): Likewise.
3872 * libio/iowpadn.c (_IO_wpadn): Likewise.
3873 * stdio-common/tst-put-error.c: Add copyright notice.
3874 (do_test): Add case for printing padded string.
3875 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3876 _IO_padn returned error.
3877 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3878 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3879 return EOF.
3880
b1848fde
SP
38812012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3882
3883 * libio/libioP.h: Add comment note that the references to C++
3884 bits are now obsolete.
3885
2fd89785
MS
38862012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3887
3888 * math/libm-test.inc (check_complex): Use asprintf.
3889
e3ea5409
JM
38902012-11-14 Joseph Myers <joseph@codesourcery.com>
3891
3892 * debug/pcprofiledump.c (print_version): Update copyright year.
3893 * malloc/memusagestat.c (print_version): Likewise.
3894
2e64d265
L
38952012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3896
3897 [BZ #14831]
3898 * elf/Makefile (tests): Add tst-audit8.
3899 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3900 ($(objpfx)tst-audit8.out): New target.
3901 (tst-audit8-ENV): New variable.
3902 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3903 audit if l_reloc_result is NULL.
3904 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3905 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3906 * elf/tst-audit8.c: New file.
3907
c485e4d2
MS
39082012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3909
3910 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3911 * misc/Makefile (CFLAGS-select.c): Define.
3912 * posix/Makefile (CFLAGS-pause.c): Define.
3913
3a0d900a
DM
39142012-11-13 David S. Miller <davem@davemloft.net>
3915
3916 * crypt/Makefile: Move test targets after toplevel Rules
3917 inclusion. Grab any necessary sysdep routines when linking.
3918 * crypt/md5.c (md5_process_block): Remove define, we will always
3919 name it __md5_process_block.
3920 (md5_finish_ctx): Update md5_process_block call.
3921 (md5_stream): Likewise.
3922 (md5_process_bytes): Likewise.
3923 (md5_process_block): Rename to __md5_process_block and move to ...
3924 * crypt/md5-block.c: ... here.
3925 * crypt/sha256.c (sha256_process_block): Move to ...
3926 * crypt/sha256-block.c: ... here.
3927 * crypt/sha512.c (sha512_process_block): Move to ...
3928 * crypt/sha512-block.c: ... here.
3929 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3930 path.
3931 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3932 * sysdeps/sparc/sparc64/multiarch/Makefile
3933 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3934 crypt subdir.
3935 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3936 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3937 multiarch changes.
3938 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3939 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3940 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3941 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3942 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3943 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3944 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3945 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3946 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3947 file.
3948 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3949 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3950 file.
3951 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3952
8ca89318
JM
39532012-11-13 Joseph Myers <joseph@codesourcery.com>
3954
e27d476a
JM
3955 * timezone/tzselect.ksh: Update from tzcode git revision
3956 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3957 * timezone/zdump.c: Likewise.
3958 * timezone/zic.c: Likewise.
3959 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3960 in TZVERSION setting, not $(PKGVERSION).
3961 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3962 REPORT_BUGS_TO settings.
3963
8ca89318
JM
3964 [BZ #14838]
3965 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3966 macro.
3967
47594329
MS
39682012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3969
3970 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3971 detection to immediately after _FP_ROUND().
3972 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3973 bits are 0.
3974
640ac3f1
DM
39752012-11-11 David S. Miller <davem@davemloft.net>
3976
3977 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3978 inttypes.h
3979 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3980 __close rather than their public counterparts.
3981
3d2577bb
JM
39822012-11-10 Joseph Myers <joseph@codesourcery.com>
3983
3984 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3985 file.
3986 [UNIX98] (sem_timedwait): Do not expect.
3987 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3988 [XPG4 || UNIX98] (sockatmark): Do not expect.
3989 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3990 (clock_getcpuclockid): Do not expect.
3991 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3992 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3993 Do not expect.
3994 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3995 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3996 [UNIX98] (vwscanf): Likewise.
3997 [UNIX98] (vswscanf): Likewise.
3998
fb1ae1ee
JM
39992012-11-09 Joseph Myers <joseph@codesourcery.com>
4000
9ec6f8bd
JM
4001 * timezone/version.h: Remove file.
4002 * timezone/README: Do not refer to version.h.
4003 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4004 $(objpfx)version.h.
4005 ($(objpfx)zdump.o): Likewise.
c3f81911 4006 ($(objpfx)version.h): New target.
9ec6f8bd 4007
0aa8f8a1
JM
4008 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4009 2012i.
4010 * timezone/README: Don't mention modification to tzselect.ksh.
4011 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4012 work on unmodified tzselect.ksh. Substitute version numbers in
4013 tzselect.ksh.
4014
4e87147f
JM
4015 * Makefile (format-me): Remove.
4016 (INSTALL): Adjust indentation. Use commands directly instead of
4017 using $(format-me).
4018
8b748aed
JM
4019 * aclocal.m4 (ACX_PKGVERSION): New macro.
4020 (ACX_BUGURL): Likewise.
4021 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4022 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4023 (REPORT_BUGS_TO): Likewise.
4024 * configure: Regenerated.
4025 * config.h.in (PKGVERSION): New macro.
4026 (REPORT_BUGS_TO): Likewise.
4027 * config.make.in (PKGVERSION): New variable.
4028 (PKGVERSION_TEXI): Likewise.
4029 (REPORT_BUGS_TO): Likewise.
4030 (REPORT_BUGS_TEXI): Likewise.
4031 * Makefile (format-me): Use -I$(common-objpfx)manual.
4032 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4033 ($(common-objpfx)manual/%): New target.
4034 (manual/%): Remove target.
4035 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4036 (print_version): Use PKGVERSION.
4037 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4038 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4039 and REPORT_BUGS_TO.
4040 ($(objpfx)xtrace): Likewise.
4041 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4042 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4043 (print_version): Use PKGVERSION.
4044 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4045 (do_version): Use PKGVERSION.
4046 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4047 REPORT_BUGS_TO.
4048 (common-ldd-rewrite): Likewise.
4049 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4050 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4051 (print_version): Use PKGVERSION.
4052 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4053 * elf/pldd.c (argp_program_bug_address): Remove variable.
4054 (more_help): New function.
4055 (argp): Use more_help.
4056 (print_version): Use PKGVERSION.
4057 * elf/sln.c (main): Use PKGVERSION.
4058 (usage): Use REPORT_BUGS_TO.
4059 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4060 (top level): Use PKGVERSION.
4061 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4062 (print_version): Use PKGVERSION.
4063 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4064 (print_version): Use PKGVERSION.
4065 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4066 (print_version): Use PKGVERSION.
4067 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4068 (print_version): Use PKGVERSION.
4069 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4070 (print_version): Use PKGVERSION.
4071 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4072 (print_version): Use PKGVERSION.
4073 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4074 and BUGURL.
4075 ($(objpfx)memusage): Likewise.
4076 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4077 (do_version): Use PKGVERSION.
4078 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4079 (print_version): Use PKGVERSION.
4080 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4081 ($PKGVERSION): New variable.
4082 ($REPORT_BUGS_TO): Likewise.
4083 (usage): Use $REPORT_BUGS_TO.
4084 (top level): Use $PKGVERSION.
4085 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4086 ($(objpfx)pkgvers.texi): New rule.
4087 ($(objpfx)stamp-pkgvers): Likewise.
4088 * manual/install.texi: Include pkgvers.texi.
4089 (--with-pkgversion): Document new configure option.
4090 (--with-bugurl): Likewise.
4091 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4092 than necessarily for this particular distribution. Use
4093 REPORT_BUGS_TO for where to report bugs.
4094 * INSTALL: Regenerated.
4095 * manual/libc.texinfo: Include pkgvers.texi.
4096 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4097 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4098 (print_version): Use PKGVERSION.
4099 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4100 (print_version): Use PKGVERSION.
4101 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4102 (print_version): Use PKGVERSION.
4103 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4104 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4105 macro.
4106 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4107 (print_version): Use PKGVERSION.
4108 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4109 (print_version): Use PKGVERSION.
4110 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4111 and PKGVERSION.
4112
92e4b6a9
JM
4113 * timezone/checktab.awk: Update from tzcode 2012i.
4114 * timezone/ialloc.c: Likewise.
4115 * timezone/private.h: Likewise.
4116 * timezone/scheck.c: Likewise.
4117 * timezone/tzfile.h: Likewise.
4118 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4119 (TZVERSION): Hardcode tzcode version number.
4120 * timezone/zdump.c: Update from tzcode 2012i.
4121 * timezone/zic.c: Likewise.
4122 * timezone/version.h: New file.
4123 * timezone/README: Describe version.h. Update upstream location.
4124
9bde902c
JM
4125 [BZ #14824]
4126 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4127 (mktemp): Enable declaration.
4128 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4129 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4130 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4131 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4132 Likewise.
4133 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4134 Likewise.
4135 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4136 Likewise.
4137 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4138 Likewise.
4139 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4140 Likewise.
4141 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4142 Likewise.
4143
fb1ae1ee
JM
4144 [BZ #14821]
4145 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4146 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4147 for copies of such integer values.
4148 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4149 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4150
2c1adbcb
AJ
41512012-11-09 Andreas Jaeger <aj@suse.de>
4152
4153 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4154 definitions and declarations that are provided by
4155 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4156
d0f8457e
AK
41572012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4158
3a235abb 4159 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
4160 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4161 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4162 definition.
4163
57241e26
MS
41642012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4165
4166 * elf/elf.h: Update comment before AArch64 relocations.
4167
60e8270d
DM
41682012-11-07 David S. Miller <davem@davemloft.net>
4169
4170 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4171 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4172 (__start_context): Declare.
4173 (__makecontext_ret): Delete.
4174 (__makecontext): Hook up __start_context instead of
4175 __makecontext_ret.
4176 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4177 (sysdep_routines): Add __start_context when in stdlib.
4178
0fbb0fbc
JM
41792012-11-07 Joseph Myers <joseph@codesourcery.com>
4180
4181 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4182 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4183 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4184 hardcoded "nm".
4185 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4186 (READELF): New variable. Use it instead of hardcoded "readelf".
4187
eb48db7e
L
41882012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4189
4190 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4191 * sysdeps/x86/Makefile: Here.
4192 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4193 * sysdeps/x86/tst-xmmymm.sh: This.
4194
05bcf62a
JM
41952012-11-07 Joseph Myers <joseph@codesourcery.com>
4196
c4b6cf53
JM
4197 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4198 expectations.
4199 [UNIX98] (pthread_barrier_t): Do not expect.
4200 [UNIX98] (pthread_barrierattr_t): Likewise.
4201 [UNIX98] (pthread_spinlock_t): Likewise.
4202 [UNIX98] (pthread_barrier_destroy): Likewise.
4203 [UNIX98] (pthread_barrier_init): Likewise.
4204 [UNIX98] (pthread_barrier_wait): Likewise.
4205 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4206 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4207 [UNIX98] (pthread_barrierattr_init): Likewise.
4208 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4209 [UNIX98] (pthread_getcpuclockid): Likewise.
4210 [UNIX98] (pthread_mutex_timedlock): Likewise.
4211 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4212 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4213 [UNIX98] (pthread_sigmask): Likewise.
4214 [UNIX98] (pthread_spin_destroy): Likewise.
4215 [UNIX98] (pthread_spin_init): Likewise.
4216 [UNIX98] (pthread_spin_lock): Likewise.
4217 [UNIX98] (pthread_spin_trylock): Likewise.
4218 [UNIX98] (pthread_spin_unlock): Likewise.
4219 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4220 Do not expect.
4221 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4222 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4223 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4224 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4225 [XPG3 || XPG4] (pthread_key_t): Likewise.
4226 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4227 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4228 [XPG3 || XPG4] (pthread_once_t): Likewise.
4229 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4230 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4231 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4232 [XPG3 || XPG4] (pthread_t): Likewise.
4233
cbe6e120
JM
4234 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4235 not expect.
4236 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4237
1b126443
JM
4238 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4239 Change function return type to int.
4240
b961a573
JM
4241 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4242 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4243 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4244 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4245 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4246 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4247 [!POSIX] (posix_madvise): Likewise.
4248 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4249 && !UNIX98].
4250 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4251 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4252 (mode_t): Likewise.
4253 (posix_mem_offset): Likewise.
4254 (posix_typed_mem_get_info): Likewise.
4255 (posix_typed_mem_open): Likewise.
4256
9e188909
JM
4257 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4258 Change condition to [XOPEN2K8].
4259
05bcf62a
JM
4260 * conform/conformtest.pl: Preprocess allow-header data with -x c
4261 instead of from stdin.
4262 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4263 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4264 [C99-based standards] (cerfc): Likewise.
4265 [C99-based standards] (cexp2): Likewise.
4266 [C99-based standards] (cexpm1): Likewise.
4267 [C99-based standards] (clog10): Likewise.
4268 [C99-based standards] (clog1p): Likewise.
4269 [C99-based standards] (clog2): Likewise.
4270 [C99-based standards] (clgamma): Likewise.
4271 [C99-based standards] (ctgamma): Likewise.
4272 [C99-based standards] (cerff): Likewise.
4273 [C99-based standards] (cerfcf): Likewise.
4274 [C99-based standards] (cexp2f): Likewise.
4275 [C99-based standards] (cexpm1f): Likewise.
4276 [C99-based standards] (clog10f): Likewise.
4277 [C99-based standards] (clog1pf): Likewise.
4278 [C99-based standards] (clog2f): Likewise.
4279 [C99-based standards] (clgammaf): Likewise.
4280 [C99-based standards] (ctgammaf): Likewise.
4281 [C99-based standards] (cerfl): Likewise.
4282 [C99-based standards] (cerfcl): Likewise.
4283 [C99-based standards] (cexp2l): Likewise.
4284 [C99-based standards] (cexpm1l): Likewise.
4285 [C99-based standards] (clog10l): Likewise.
4286 [C99-based standards] (clog1pl): Likewise.
4287 [C99-based standards] (clog2l): Likewise.
4288 [C99-based standards] (clgammal): Likewise.
4289 [C99-based standards] (ctgammal): Likewise.
4290 * conform/data/inttypes.h-data [C99-based standards]: Include
4291 stdint.h-data. Remove all expectations for stdint.h contents.
4292 [C99-based standards] (PRI*): Do not allow.
4293 [C99-based standards] (SCN*): Likewise.
4294 [C99-based standards] (*_t): Likewise.
4295 [C99-based-standards] (PRId8): Expect macro.
4296 [C99-based-standards] (PRIi8): Likewise.
4297 [C99-based-standards] (PRIo8): Likewise.
4298 [C99-based-standards] (PRIu8): Likewise.
4299 [C99-based-standards] (PRIx8): Likewise.
4300 [C99-based-standards] (PRIX8): Likewise.
4301 [C99-based-standards] (SCNd8): Likewise.
4302 [C99-based-standards] (SCNi8): Likewise.
4303 [C99-based-standards] (SCNo8): Likewise.
4304 [C99-based-standards] (SCNu8): Likewise.
4305 [C99-based-standards] (SCNx8): Likewise.
4306 [C99-based-standards] (PRIdLEAST8): Likewise.
4307 [C99-based-standards] (PRIiLEAST8): Likewise.
4308 [C99-based-standards] (PRIoLEAST8): Likewise.
4309 [C99-based-standards] (PRIuLEAST8): Likewise.
4310 [C99-based-standards] (PRIxLEAST8): Likewise.
4311 [C99-based-standards] (PRIXLEAST8): Likewise.
4312 [C99-based-standards] (SCNdLEAST8): Likewise.
4313 [C99-based-standards] (SCNiLEAST8): Likewise.
4314 [C99-based-standards] (SCNoLEAST8): Likewise.
4315 [C99-based-standards] (SCNuLEAST8): Likewise.
4316 [C99-based-standards] (SCNxLEAST8): Likewise.
4317 [C99-based-standards] (PRIdFAST8): Likewise.
4318 [C99-based-standards] (PRIiFAST8): Likewise.
4319 [C99-based-standards] (PRIoFAST8): Likewise.
4320 [C99-based-standards] (PRIuFAST8): Likewise.
4321 [C99-based-standards] (PRIxFAST8): Likewise.
4322 [C99-based-standards] (PRIXFAST8): Likewise.
4323 [C99-based-standards] (SCNdFAST8): Likewise.
4324 [C99-based-standards] (SCNiFAST8): Likewise.
4325 [C99-based-standards] (SCNoFAST8): Likewise.
4326 [C99-based-standards] (SCNuFAST8): Likewise.
4327 [C99-based-standards] (SCNxFAST8): Likewise.
4328 [C99-based-standards] (PRId16): Likewise.
4329 [C99-based-standards] (PRIi16): Likewise.
4330 [C99-based-standards] (PRIo16): Likewise.
4331 [C99-based-standards] (PRIu16): Likewise.
4332 [C99-based-standards] (PRIx16): Likewise.
4333 [C99-based-standards] (PRIX16): Likewise.
4334 [C99-based-standards] (SCNd16): Likewise.
4335 [C99-based-standards] (SCNi16): Likewise.
4336 [C99-based-standards] (SCNo16): Likewise.
4337 [C99-based-standards] (SCNu16): Likewise.
4338 [C99-based-standards] (SCNx16): Likewise.
4339 [C99-based-standards] (PRIdLEAST16): Likewise.
4340 [C99-based-standards] (PRIiLEAST16): Likewise.
4341 [C99-based-standards] (PRIoLEAST16): Likewise.
4342 [C99-based-standards] (PRIuLEAST16): Likewise.
4343 [C99-based-standards] (PRIxLEAST16): Likewise.
4344 [C99-based-standards] (PRIXLEAST16): Likewise.
4345 [C99-based-standards] (SCNdLEAST16): Likewise.
4346 [C99-based-standards] (SCNiLEAST16): Likewise.
4347 [C99-based-standards] (SCNoLEAST16): Likewise.
4348 [C99-based-standards] (SCNuLEAST16): Likewise.
4349 [C99-based-standards] (SCNxLEAST16): Likewise.
4350 [C99-based-standards] (PRIdFAST16): Likewise.
4351 [C99-based-standards] (PRIiFAST16): Likewise.
4352 [C99-based-standards] (PRIoFAST16): Likewise.
4353 [C99-based-standards] (PRIuFAST16): Likewise.
4354 [C99-based-standards] (PRIxFAST16): Likewise.
4355 [C99-based-standards] (PRIXFAST16): Likewise.
4356 [C99-based-standards] (SCNdFAST16): Likewise.
4357 [C99-based-standards] (SCNiFAST16): Likewise.
4358 [C99-based-standards] (SCNoFAST16): Likewise.
4359 [C99-based-standards] (SCNuFAST16): Likewise.
4360 [C99-based-standards] (SCNxFAST16): Likewise.
4361 [C99-based-standards] (PRId32): Likewise.
4362 [C99-based-standards] (PRIi32): Likewise.
4363 [C99-based-standards] (PRIo32): Likewise.
4364 [C99-based-standards] (PRIu32): Likewise.
4365 [C99-based-standards] (PRIx32): Likewise.
4366 [C99-based-standards] (PRIX32): Likewise.
4367 [C99-based-standards] (SCNd32): Likewise.
4368 [C99-based-standards] (SCNi32): Likewise.
4369 [C99-based-standards] (SCNo32): Likewise.
4370 [C99-based-standards] (SCNu32): Likewise.
4371 [C99-based-standards] (SCNx32): Likewise.
4372 [C99-based-standards] (PRIdLEAST32): Likewise.
4373 [C99-based-standards] (PRIiLEAST32): Likewise.
4374 [C99-based-standards] (PRIoLEAST32): Likewise.
4375 [C99-based-standards] (PRIuLEAST32): Likewise.
4376 [C99-based-standards] (PRIxLEAST32): Likewise.
4377 [C99-based-standards] (PRIXLEAST32): Likewise.
4378 [C99-based-standards] (SCNdLEAST32): Likewise.
4379 [C99-based-standards] (SCNiLEAST32): Likewise.
4380 [C99-based-standards] (SCNoLEAST32): Likewise.
4381 [C99-based-standards] (SCNuLEAST32): Likewise.
4382 [C99-based-standards] (SCNxLEAST32): Likewise.
4383 [C99-based-standards] (PRIdFAST32): Likewise.
4384 [C99-based-standards] (PRIiFAST32): Likewise.
4385 [C99-based-standards] (PRIoFAST32): Likewise.
4386 [C99-based-standards] (PRIuFAST32): Likewise.
4387 [C99-based-standards] (PRIxFAST32): Likewise.
4388 [C99-based-standards] (PRIXFAST32): Likewise.
4389 [C99-based-standards] (SCNdFAST32): Likewise.
4390 [C99-based-standards] (SCNiFAST32): Likewise.
4391 [C99-based-standards] (SCNoFAST32): Likewise.
4392 [C99-based-standards] (SCNuFAST32): Likewise.
4393 [C99-based-standards] (SCNxFAST32): Likewise.
4394 [C99-based-standards] (PRId64): Likewise.
4395 [C99-based-standards] (PRIi64): Likewise.
4396 [C99-based-standards] (PRIo64): Likewise.
4397 [C99-based-standards] (PRIu64): Likewise.
4398 [C99-based-standards] (PRIx64): Likewise.
4399 [C99-based-standards] (PRIX64): Likewise.
4400 [C99-based-standards] (SCNd64): Likewise.
4401 [C99-based-standards] (SCNi64): Likewise.
4402 [C99-based-standards] (SCNo64): Likewise.
4403 [C99-based-standards] (SCNu64): Likewise.
4404 [C99-based-standards] (SCNx64): Likewise.
4405 [C99-based-standards] (PRIdLEAST64): Likewise.
4406 [C99-based-standards] (PRIiLEAST64): Likewise.
4407 [C99-based-standards] (PRIoLEAST64): Likewise.
4408 [C99-based-standards] (PRIuLEAST64): Likewise.
4409 [C99-based-standards] (PRIxLEAST64): Likewise.
4410 [C99-based-standards] (PRIXLEAST64): Likewise.
4411 [C99-based-standards] (SCNdLEAST64): Likewise.
4412 [C99-based-standards] (SCNiLEAST64): Likewise.
4413 [C99-based-standards] (SCNoLEAST64): Likewise.
4414 [C99-based-standards] (SCNuLEAST64): Likewise.
4415 [C99-based-standards] (SCNxLEAST64): Likewise.
4416 [C99-based-standards] (PRIdFAST64): Likewise.
4417 [C99-based-standards] (PRIiFAST64): Likewise.
4418 [C99-based-standards] (PRIoFAST64): Likewise.
4419 [C99-based-standards] (PRIuFAST64): Likewise.
4420 [C99-based-standards] (PRIxFAST64): Likewise.
4421 [C99-based-standards] (PRIXFAST64): Likewise.
4422 [C99-based-standards] (SCNdFAST64): Likewise.
4423 [C99-based-standards] (SCNiFAST64): Likewise.
4424 [C99-based-standards] (SCNoFAST64): Likewise.
4425 [C99-based-standards] (SCNuFAST64): Likewise.
4426 [C99-based-standards] (SCNxFAST64): Likewise.
4427 [C99-based-standards] (PRIdMAX): Likewise.
4428 [C99-based-standards] (PRIiMAX): Likewise.
4429 [C99-based-standards] (PRIoMAX): Likewise.
4430 [C99-based-standards] (PRIuMAX): Likewise.
4431 [C99-based-standards] (PRIxMAX): Likewise.
4432 [C99-based-standards] (PRIXMAX): Likewise.
4433 [C99-based-standards] (SCNdMAX): Likewise.
4434 [C99-based-standards] (SCNiMAX): Likewise.
4435 [C99-based-standards] (SCNoMAX): Likewise.
4436 [C99-based-standards] (SCNuMAX): Likewise.
4437 [C99-based-standards] (SCNxMAX): Likewise.
4438 [C99-based-standards] (PRIdPTR): Likewise.
4439 [C99-based-standards] (PRIiPTR): Likewise.
4440 [C99-based-standards] (PRIoPTR): Likewise.
4441 [C99-based-standards] (PRIuPTR): Likewise.
4442 [C99-based-standards] (PRIxPTR): Likewise.
4443 [C99-based-standards] (PRIXPTR): Likewise.
4444 [C99-based-standards] (SCNdPTR): Likewise.
4445 [C99-based-standards] (SCNiPTR): Likewise.
4446 [C99-based-standards] (SCNoPTR): Likewise.
4447 [C99-based-standards] (SCNuPTR): Likewise.
4448 [C99-based-standards] (SCNxPTR): Likewise.
4449 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4450 allow.
4451 * conform/data/stdint.h-data: Update comments to clarify
4452 requirements.
4453 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4454 type.
4455 [C99-based standards] (INT8_MAX): Likewise.
4456 [C99-based standards] (INT16_MIN): Likewise.
4457 [C99-based standards] (INT16_MAX): Likewise.
4458 [C99-based standards] (INT32_MIN): Likewise.
4459 [C99-based standards] (INT32_MAX): Likewise.
4460 [C99-based standards] (INT64_MIN): Likewise.
4461 [C99-based standards] (INT64_MAX): Likewise.
4462 [C99-based standards] (UINT8_MAX): Likewise.
4463 [C99-based standards] (UINT16_MAX): Likewise.
4464 [C99-based standards] (UINT32_MAX): Likewise.
4465 [C99-based standards] (UINT64_MAX): Likewise.
4466 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4467 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4468 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4469 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4470 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4471 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4472 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4473 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4474 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4475 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4476 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4477 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4478 [C99-based standards] (INT_FAST8_MIN): Likewise.
4479 [C99-based standards] (INT_FAST8_MAX): Likewise.
4480 [C99-based standards] (INT_FAST16_MIN): Likewise.
4481 [C99-based standards] (INT_FAST16_MAX): Likewise.
4482 [C99-based standards] (INT_FAST32_MIN): Likewise.
4483 [C99-based standards] (INT_FAST32_MAX): Likewise.
4484 [C99-based standards] (INT_FAST64_MIN): Likewise.
4485 [C99-based standards] (INT_FAST64_MAX): Likewise.
4486 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4487 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4488 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4489 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4490 [C99-based standards] (INTPTR_MIN): Likewise.
4491 [C99-based standards] (INTPTR_MAX): Likewise.
4492 [C99-based standards] (UINTPTR_MAX): Likewise.
4493 [C99-based standards] (INTMAX_MIN): Likewise.
4494 [C99-based standards] (INTMAX_MAX): Likewise.
4495 [C99-based standards] (UINTMAX_MAX): Likewise.
4496 [C99-based standards] (PTRDIFF_MIN): Likewise.
4497 [C99-based standards] (PTRDIFF_MAX): Likewise.
4498 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4499 [C99-based standards] (SIZE_MAX): Likewise.
4500 [C99-based standards] (WCHAR_MAX): Likewise.
4501 [C99-based standards] (WINT_MAX): Likewise.
4502 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4503 constraint on value.
4504 [C99-based standards] (WCHAR_MIN): Likewise.
4505 [C99-based standards] (WINT_MIN): Likewise.
4506 [C99-based standards] (*_t): Allow.
4507 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4508 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4509 Include math.h-data and complex.h-data. Remove all expectations
4510 of math.h and complex.h contents.
4511 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4512 at end of line.
4513 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4514 (struct tm): Expect tag.
4515 [C99-based-standards] (wcstof): Expect function.
4516 [C99-based-standards] (wcstold): Likewise.
4517 [C99-based-standards] (wcstoll): Likewise.
4518 [C99-based-standards] (wcstoull): Likewise.
4519 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4520 macro-int-constant. Specify type.
4521 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4522 constraint on value.
4523 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4524 Specify type.
4525 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4526 Specify value.
4527 [ISO C standards]: Do not allow headers.
4528 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4529 wcs[abcdefghijklmnopqrstuvwxyz]*.
4530 [ISO C standards] (*_t): Do not allow.
4531 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4532 Expect function.
4533 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4534 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4535 Specify type.
4536 [ISO C standards]: Do not allow headers.
4537 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4538 is[abcdefghijklmnopqrstuvwxyz]*.
4539 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4540 to[abcdefghijklmnopqrstuvwxyz]*.
4541 [ISO C standards] (*_t): Do not allow.
4542 * conform/data/stdalign.h-data: New file.
4543 * conform/data/stdbool.h-data: Likewise.
4544 * conform/data/stdnoreturn.h-data: Likewise.
4545
7514feb8
RM
45462012-11-07 Roland McGrath <roland@hack.frob.com>
4547
4548 [BZ #14815]
4549 * manual/filesys.texi (Directory Entries): Typo fix.
4550 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4551
19b2ecfc
MS
45522012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4553
4554 * elf/elf.h (EM_AARCH64): New macro.
4555 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4556 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4557 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4558 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4559 (R_AARCH64_TLSDESC): Likewise.
4560 (NT_ARM_TLS): Likewise.
4561 (NT_ARM_HW_BREAK): Likewise.
4562 (NT_ARM_HW_WATCH): Likewise.
4563
60e235ee
JM
45642012-11-07 Joseph Myers <joseph@codesourcery.com>
4565
4566 [BZ #14811]
4567 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4568 (__ieee754_powl): Saturate nonzero exponents with absolute value
4569 below 0x1p-79 to +/- 0x1p-79.
4570 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4571 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4572 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4573 nonzero exponents with absolute value below 0x1p-32 to +/-
4574 0x1p-32.
4575 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4576 (__ieee754_powl): Saturate nonzero exponents with absolute value
4577 below 0x1p-79 to +/- 0x1p-79.
4578 * math/libm-test.inc (pow_test): Add more tests.
4579
0ab234b7
AK
45802012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4581
4582 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4583 _dl_s390_cap_flags with kernel. Increase string length.
4584 (_dl_s390_platforms): Add z196 and zEC12.
4585
45832f74
JM
45862012-11-07 Joseph Myers <joseph@codesourcery.com>
4587
4588 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4589 Change XOPEN21K to XOPEN2K.
4590
19218757
MK
45912012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4592
4593 * string/memmove.c: Use memcpy when possible.
4594
c5f45721
AJ
45952012-11-06 Andreas Jaeger <aj@suse.de>
4596
4597 * po/eo.po: Update from translation team.
4598
82477c28
JM
45992012-11-06 Joseph Myers <joseph@codesourcery.com>
4600
4601 [BZ #14793]
4602 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4603 exponent and small x and y exponents, scale x or y up. Increase
4604 by 2 the exponent used in scaling up.
4605 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4606 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4607 * math/libm-test.inc (fma_test): Add more tests.
4608 (fma_test_towardzero): Likewise.
4609 (fma_test_downward): Likewise.
4610 (fma_test_upward): Likewise.
4611
99252c8c
JM
46122012-11-05 Joseph Myers <joseph@codesourcery.com>
4613
acfa885f
JM
4614 [BZ #14805]
4615 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4616 fenv_t *.
4617
99252c8c
JM
4618 [BZ #14801]
4619 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4620 namespace for names of struct fields.
4621 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4622 fenv_t fields.
4623 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4624 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4625
d6d98dea
ST
46262012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4627
4628 [BZ #3665]
4629 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4630
e10bb107
TS
46312012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4632
4633 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4634 PTR_DEMANGLE.
4635
4636 [BZ #5246]
4637 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4638 PTR_DEMANGLE.
4639
a0c2940d
JM
46402012-11-04 Joseph Myers <joseph@codesourcery.com>
4641
4642 [BZ #14797]
4643 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4644 definitely overflow as x * y not x * y + z.
4645 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4646 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4647 * math/libm-test.inc (fma_test): Add more tests.
4648 (fma_test_towardzero): Likewise.
4649 (fma_test_downward): Likewise.
4650 (fma_test_upward): Likewise.
4651
b830319d
TS
46522012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4653
4654 [BZ #157]
4655
4656 * include/stub-tag.h: Remove file.
4657 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4658 '#include' of it.
4659 * manual/maint.texi (Porting): Don't reference it.
4660 * Makerules ($(objpfx)stubs): Likewise.
4661 * dirent/closedir.c: Don't include <stub-tag.h>.
4662 * dirent/dirfd.c: Likewise.
4663 * dirent/fdopendir.c: Likewise.
4664 * dirent/getdents.c: Likewise.
4665 * dirent/getdents64.c: Likewise.
4666 * dirent/opendir.c: Likewise.
4667 * dirent/readdir.c: Likewise.
4668 * dirent/readdir64.c: Likewise.
4669 * dirent/readdir64_r.c: Likewise.
4670 * dirent/readdir_r.c: Likewise.
4671 * dirent/rewinddir.c: Likewise.
4672 * dirent/seekdir.c: Likewise.
4673 * dirent/telldir.c: Likewise.
4674 * gmon/profil.c: Likewise.
4675 * grp/setgroups.c: Likewise.
4676 * inet/if_index.c: Likewise.
4677 * io/access.c: Likewise.
4678 * io/chdir.c: Likewise.
4679 * io/chmod.c: Likewise.
4680 * io/chown.c: Likewise.
4681 * io/close.c: Likewise.
4682 * io/dup.c: Likewise.
4683 * io/dup2.c: Likewise.
4684 * io/dup3.c: Likewise.
4685 * io/euidaccess.c: Likewise.
4686 * io/faccessat.c: Likewise.
4687 * io/fchdir.c: Likewise.
4688 * io/fchmod.c: Likewise.
4689 * io/fchmodat.c: Likewise.
4690 * io/fchown.c: Likewise.
4691 * io/fchownat.c: Likewise.
4692 * io/fcntl.c: Likewise.
4693 * io/flock.c: Likewise.
4694 * io/fstatfs.c: Likewise.
4695 * io/fstatfs64.c: Likewise.
4696 * io/fstatvfs.c: Likewise.
4697 * io/fstatvfs64.c: Likewise.
4698 * io/futimens.c: Likewise.
4699 * io/fxstat.c: Likewise.
4700 * io/fxstat64.c: Likewise.
4701 * io/fxstatat.c: Likewise.
4702 * io/fxstatat64.c: Likewise.
4703 * io/getcwd.c: Likewise.
4704 * io/isatty.c: Likewise.
4705 * io/lchmod.c: Likewise.
4706 * io/lchown.c: Likewise.
4707 * io/link.c: Likewise.
4708 * io/linkat.c: Likewise.
4709 * io/lseek.c: Likewise.
4710 * io/lseek64.c: Likewise.
4711 * io/lxstat64.c: Likewise.
4712 * io/mkdir.c: Likewise.
4713 * io/mkdirat.c: Likewise.
4714 * io/mkfifo.c: Likewise.
4715 * io/mkfifoat.c: Likewise.
4716 * io/open.c: Likewise.
4717 * io/open64.c: Likewise.
4718 * io/openat.c: Likewise.
4719 * io/openat64.c: Likewise.
4720 * io/pipe.c: Likewise.
4721 * io/pipe2.c: Likewise.
4722 * io/poll.c: Likewise.
4723 * io/posix_fadvise.c: Likewise.
4724 * io/posix_fadvise64.c: Likewise.
4725 * io/posix_fallocate.c: Likewise.
4726 * io/posix_fallocate64.c: Likewise.
4727 * io/read.c: Likewise.
4728 * io/readlink.c: Likewise.
4729 * io/readlinkat.c: Likewise.
4730 * io/rmdir.c: Likewise.
4731 * io/sendfile.c: Likewise.
4732 * io/sendfile64.c: Likewise.
4733 * io/statfs.c: Likewise.
4734 * io/statfs64.c: Likewise.
4735 * io/statvfs.c: Likewise.
4736 * io/statvfs64.c: Likewise.
4737 * io/symlink.c: Likewise.
4738 * io/symlinkat.c: Likewise.
4739 * io/ttyname.c: Likewise.
4740 * io/ttyname_r.c: Likewise.
4741 * io/umask.c: Likewise.
4742 * io/unlink.c: Likewise.
4743 * io/unlinkat.c: Likewise.
4744 * io/utime.c: Likewise.
4745 * io/utimensat.c: Likewise.
4746 * io/write.c: Likewise.
4747 * io/xmknod.c: Likewise.
4748 * io/xmknodat.c: Likewise.
4749 * io/xstat.c: Likewise.
4750 * io/xstat64.c: Likewise.
4751 * login/getpt.c: Likewise.
4752 * login/grantpt.c: Likewise.
4753 * login/unlockpt.c: Likewise.
4754 * math/e_acoshl.c: Likewise.
4755 * math/e_acosl.c: Likewise.
4756 * math/e_asinl.c: Likewise.
4757 * math/e_atan2l.c: Likewise.
4758 * math/e_atanhl.c: Likewise.
4759 * math/e_coshl.c: Likewise.
4760 * math/e_expl.c: Likewise.
4761 * math/e_fmodl.c: Likewise.
4762 * math/e_gammal_r.c: Likewise.
4763 * math/e_hypotl.c: Likewise.
4764 * math/e_j0l.c: Likewise.
4765 * math/e_j1l.c: Likewise.
4766 * math/e_jnl.c: Likewise.
4767 * math/e_lgammal_r.c: Likewise.
4768 * math/e_log10l.c: Likewise.
4769 * math/e_log2l.c: Likewise.
4770 * math/e_logl.c: Likewise.
4771 * math/e_powl.c: Likewise.
4772 * math/e_rem_pio2l.c: Likewise.
4773 * math/e_sinhl.c: Likewise.
4774 * math/e_sqrtl.c: Likewise.
4775 * math/fclrexcpt.c: Likewise.
4776 * math/fedisblxcpt.c: Likewise.
4777 * math/feenablxcpt.c: Likewise.
4778 * math/fegetenv.c: Likewise.
4779 * math/fegetexcept.c: Likewise.
4780 * math/fegetround.c: Likewise.
4781 * math/feholdexcpt.c: Likewise.
4782 * math/fesetenv.c: Likewise.
4783 * math/fesetround.c: Likewise.
4784 * math/feupdateenv.c: Likewise.
4785 * math/fgetexcptflg.c: Likewise.
4786 * math/fraiseexcpt.c: Likewise.
4787 * math/fsetexcptflg.c: Likewise.
4788 * math/ftestexcept.c: Likewise.
4789 * math/k_cosl.c: Likewise.
4790 * math/k_rem_pio2l.c: Likewise.
4791 * math/k_sinl.c: Likewise.
4792 * math/k_tanl.c: Likewise.
4793 * math/s_asinhl.c: Likewise.
4794 * math/s_atanl.c: Likewise.
4795 * math/s_cbrtl.c: Likewise.
4796 * math/s_erfl.c: Likewise.
4797 * math/s_expm1l.c: Likewise.
4798 * math/s_log1pl.c: Likewise.
4799 * math/s_tanhl.c: Likewise.
4800 * misc/acct.c: Likewise.
4801 * misc/brk.c: Likewise.
4802 * misc/chflags.c: Likewise.
4803 * misc/chroot.c: Likewise.
4804 * misc/fchflags.c: Likewise.
4805 * misc/fgetxattr.c: Likewise.
4806 * misc/flistxattr.c: Likewise.
4807 * misc/fremovexattr.c: Likewise.
4808 * misc/fsetxattr.c: Likewise.
4809 * misc/fsync.c: Likewise.
4810 * misc/ftruncate.c: Likewise.
4811 * misc/futimes.c: Likewise.
4812 * misc/futimesat.c: Likewise.
4813 * misc/getdomain.c: Likewise.
4814 * misc/getdtsz.c: Likewise.
4815 * misc/gethostid.c: Likewise.
4816 * misc/gethostname.c: Likewise.
4817 * misc/getloadavg.c: Likewise.
4818 * misc/getpagesize.c: Likewise.
4819 * misc/getsysstats.c: Likewise.
4820 * misc/getxattr.c: Likewise.
4821 * misc/gtty.c: Likewise.
4822 * misc/ioctl.c: Likewise.
4823 * misc/lgetxattr.c: Likewise.
4824 * misc/listxattr.c: Likewise.
4825 * misc/llistxattr.c: Likewise.
4826 * misc/lremovexattr.c: Likewise.
4827 * misc/lsetxattr.c: Likewise.
4828 * misc/lutimes.c: Likewise.
4829 * misc/madvise.c: Likewise.
4830 * misc/mincore.c: Likewise.
4831 * misc/mlock.c: Likewise.
4832 * misc/mlockall.c: Likewise.
4833 * misc/mmap.c: Likewise.
4834 * misc/mprotect.c: Likewise.
4835 * misc/msync.c: Likewise.
4836 * misc/munlock.c: Likewise.
4837 * misc/munlockall.c: Likewise.
4838 * misc/munmap.c: Likewise.
4839 * misc/preadv.c: Likewise.
4840 * misc/preadv64.c: Likewise.
4841 * misc/ptrace.c: Likewise.
4842 * misc/pwritev.c: Likewise.
4843 * misc/pwritev64.c: Likewise.
4844 * misc/readv.c: Likewise.
4845 * misc/reboot.c: Likewise.
4846 * misc/remap_file_pages.c: Likewise.
4847 * misc/removexattr.c: Likewise.
4848 * misc/revoke.c: Likewise.
4849 * misc/select.c: Likewise.
4850 * misc/setdomain.c: Likewise.
4851 * misc/setegid.c: Likewise.
4852 * misc/seteuid.c: Likewise.
4853 * misc/sethostid.c: Likewise.
4854 * misc/sethostname.c: Likewise.
4855 * misc/setregid.c: Likewise.
4856 * misc/setreuid.c: Likewise.
4857 * misc/setxattr.c: Likewise.
4858 * misc/sstk.c: Likewise.
4859 * misc/stty.c: Likewise.
4860 * misc/swapoff.c: Likewise.
4861 * misc/swapon.c: Likewise.
4862 * misc/sync.c: Likewise.
4863 * misc/syncfs.c: Likewise.
4864 * misc/syscall.c: Likewise.
4865 * misc/truncate.c: Likewise.
4866 * misc/ualarm.c: Likewise.
4867 * misc/usleep.c: Likewise.
4868 * misc/ustat.c: Likewise.
4869 * misc/utimes.c: Likewise.
4870 * misc/vhangup.c: Likewise.
4871 * misc/writev.c: Likewise.
4872 * posix/_exit.c: Likewise.
4873 * posix/alarm.c: Likewise.
4874 * posix/execve.c: Likewise.
4875 * posix/fexecve.c: Likewise.
4876 * posix/fork.c: Likewise.
4877 * posix/fpathconf.c: Likewise.
4878 * posix/getaddrinfo.c: Likewise.
4879 * posix/getegid.c: Likewise.
4880 * posix/geteuid.c: Likewise.
4881 * posix/getgid.c: Likewise.
4882 * posix/getgroups.c: Likewise.
4883 * posix/getlogin.c: Likewise.
4884 * posix/getlogin_r.c: Likewise.
4885 * posix/getpgid.c: Likewise.
4886 * posix/getpid.c: Likewise.
4887 * posix/getppid.c: Likewise.
4888 * posix/getresgid.c: Likewise.
4889 * posix/getresuid.c: Likewise.
4890 * posix/getsid.c: Likewise.
4891 * posix/getuid.c: Likewise.
4892 * posix/glob64.c: Likewise.
4893 * posix/nanosleep.c: Likewise.
4894 * posix/pathconf.c: Likewise.
4895 * posix/pause.c: Likewise.
4896 * posix/posix_madvise.c: Likewise.
4897 * posix/pread.c: Likewise.
4898 * posix/pread64.c: Likewise.
4899 * posix/pwrite.c: Likewise.
4900 * posix/pwrite64.c: Likewise.
4901 * posix/sched_getaffinity.c: Likewise.
4902 * posix/sched_getp.c: Likewise.
4903 * posix/sched_gets.c: Likewise.
4904 * posix/sched_primax.c: Likewise.
4905 * posix/sched_primin.c: Likewise.
4906 * posix/sched_rr_gi.c: Likewise.
4907 * posix/sched_setaffinity.c: Likewise.
4908 * posix/sched_setp.c: Likewise.
4909 * posix/sched_sets.c: Likewise.
4910 * posix/sched_yield.c: Likewise.
4911 * posix/setgid.c: Likewise.
4912 * posix/setlogin.c: Likewise.
4913 * posix/setpgid.c: Likewise.
4914 * posix/setresgid.c: Likewise.
4915 * posix/setresuid.c: Likewise.
4916 * posix/setsid.c: Likewise.
4917 * posix/setuid.c: Likewise.
4918 * posix/sleep.c: Likewise.
4919 * posix/spawni.c: Likewise.
4920 * posix/sysconf.c: Likewise.
4921 * posix/times.c: Likewise.
4922 * posix/wait.c: Likewise.
4923 * posix/wait3.c: Likewise.
4924 * posix/wait4.c: Likewise.
4925 * posix/waitpid.c: Likewise.
4926 * resolv/gai_sigqueue.c: Likewise.
4927 * resource/getpriority.c: Likewise.
4928 * resource/getrlimit.c: Likewise.
4929 * resource/getrusage.c: Likewise.
4930 * resource/nice.c: Likewise.
4931 * resource/setpriority.c: Likewise.
4932 * resource/setrlimit.c: Likewise.
4933 * resource/ulimit.c: Likewise.
4934 * rt/aio_cancel.c: Likewise.
4935 * rt/aio_fsync.c: Likewise.
4936 * rt/aio_read.c: Likewise.
4937 * rt/aio_sigqueue.c: Likewise.
4938 * rt/aio_suspend.c: Likewise.
4939 * rt/aio_write.c: Likewise.
4940 * rt/clock_getres.c: Likewise.
4941 * rt/clock_gettime.c: Likewise.
4942 * rt/clock_nanosleep.c: Likewise.
4943 * rt/clock_settime.c: Likewise.
4944 * rt/lio_listio.c: Likewise.
4945 * rt/mq_close.c: Likewise.
4946 * rt/mq_getattr.c: Likewise.
4947 * rt/mq_notify.c: Likewise.
4948 * rt/mq_open.c: Likewise.
4949 * rt/mq_receive.c: Likewise.
4950 * rt/mq_send.c: Likewise.
4951 * rt/mq_setattr.c: Likewise.
4952 * rt/mq_timedreceive.c: Likewise.
4953 * rt/mq_timedsend.c: Likewise.
4954 * rt/mq_unlink.c: Likewise.
4955 * rt/shm_open.c: Likewise.
4956 * rt/shm_unlink.c: Likewise.
4957 * rt/timer_create.c: Likewise.
4958 * rt/timer_delete.c: Likewise.
4959 * rt/timer_getoverr.c: Likewise.
4960 * rt/timer_gettime.c: Likewise.
4961 * rt/timer_settime.c: Likewise.
4962 * setjmp/__longjmp.c: Likewise.
4963 * setjmp/setjmp.c: Likewise.
4964 * signal/kill.c: Likewise.
4965 * signal/killpg.c: Likewise.
4966 * signal/raise.c: Likewise.
4967 * signal/sigaction.c: Likewise.
4968 * signal/sigaltstack.c: Likewise.
4969 * signal/sigblock.c: Likewise.
4970 * signal/sigignore.c: Likewise.
4971 * signal/sigintr.c: Likewise.
4972 * signal/signal.c: Likewise.
4973 * signal/sigpause.c: Likewise.
4974 * signal/sigpending.c: Likewise.
4975 * signal/sigqueue.c: Likewise.
4976 * signal/sigreturn.c: Likewise.
4977 * signal/sigset.c: Likewise.
4978 * signal/sigsetmask.c: Likewise.
4979 * signal/sigstack.c: Likewise.
4980 * signal/sigsuspend.c: Likewise.
4981 * signal/sigtimedwait.c: Likewise.
4982 * signal/sigvec.c: Likewise.
4983 * signal/sigwait.c: Likewise.
4984 * signal/sigwaitinfo.c: Likewise.
4985 * signal/sysv_signal.c: Likewise.
4986 * socket/accept.c: Likewise.
4987 * socket/accept4.c: Likewise.
4988 * socket/bind.c: Likewise.
4989 * socket/connect.c: Likewise.
4990 * socket/getpeername.c: Likewise.
4991 * socket/getsockname.c: Likewise.
4992 * socket/getsockopt.c: Likewise.
4993 * socket/isfdtype.c: Likewise.
4994 * socket/listen.c: Likewise.
4995 * socket/recv.c: Likewise.
4996 * socket/recvfrom.c: Likewise.
4997 * socket/recvmsg.c: Likewise.
4998 * socket/send.c: Likewise.
4999 * socket/sendmsg.c: Likewise.
5000 * socket/sendto.c: Likewise.
5001 * socket/setsockopt.c: Likewise.
5002 * socket/shutdown.c: Likewise.
5003 * socket/sockatmark.c: Likewise.
5004 * socket/socket.c: Likewise.
5005 * socket/socketpair.c: Likewise.
5006 * stdio-common/ctermid.c: Likewise.
5007 * stdio-common/cuserid.c: Likewise.
5008 * stdio-common/remove.c: Likewise.
5009 * stdio-common/rename.c: Likewise.
5010 * stdio-common/renameat.c: Likewise.
5011 * stdio-common/tempname.c: Likewise.
5012 * stdlib/getcontext.c: Likewise.
5013 * stdlib/makecontext.c: Likewise.
5014 * stdlib/setcontext.c: Likewise.
5015 * stdlib/swapcontext.c: Likewise.
5016 * stdlib/system.c: Likewise.
5017 * streams/fattach.c: Likewise.
5018 * streams/fdetach.c: Likewise.
5019 * streams/getmsg.c: Likewise.
5020 * streams/getpmsg.c: Likewise.
5021 * streams/putmsg.c: Likewise.
5022 * streams/putpmsg.c: Likewise.
5023 * sysdeps/unix/bsd/getpt.c: Likewise.
5024 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5025 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5026 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5028 Likewise.
5029 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5030 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5031 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5032 * sysvipc/msgctl.c: Likewise.
5033 * sysvipc/msgget.c: Likewise.
5034 * sysvipc/msgrcv.c: Likewise.
5035 * sysvipc/msgsnd.c: Likewise.
5036 * sysvipc/semctl.c: Likewise.
5037 * sysvipc/semget.c: Likewise.
5038 * sysvipc/semop.c: Likewise.
5039 * sysvipc/semtimedop.c: Likewise.
5040 * sysvipc/shmat.c: Likewise.
5041 * sysvipc/shmctl.c: Likewise.
5042 * sysvipc/shmdt.c: Likewise.
5043 * sysvipc/shmget.c: Likewise.
5044 * termios/tcdrain.c: Likewise.
5045 * termios/tcflow.c: Likewise.
5046 * termios/tcflush.c: Likewise.
5047 * termios/tcgetattr.c: Likewise.
5048 * termios/tcgetpgrp.c: Likewise.
5049 * termios/tcsendbrk.c: Likewise.
5050 * termios/tcsetattr.c: Likewise.
5051 * termios/tcsetpgrp.c: Likewise.
5052 * time/adjtime.c: Likewise.
5053 * time/clock.c: Likewise.
5054 * time/getitimer.c: Likewise.
5055 * time/gettimeofday.c: Likewise.
5056 * time/setitimer.c: Likewise.
5057 * time/settimeofday.c: Likewise.
5058 * time/stime.c: Likewise.
5059 * time/time.c: Likewise.
5060
50612012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 5062
a20492cf
PT
5063 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5064 /usr/old/bin.
5065
72e182e3
PT
5066 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5067 instead of spaces.
5068 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5069
fbeafede
JM
50702012-11-03 Joseph Myers <joseph@codesourcery.com>
5071
5b5b04d6
JM
5072 [BZ #14796]
5073 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5074 FE_TONEAREST before applying Dekker multiplication and Knuth
5075 addition. Clear inexact exceptions and check for exact zero
5076 results afterwards.
5077 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5078 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5079 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5080 * math/libm-test.inc (fma_test): Add more tests.
5081 (fma_test_towardzero): Likewise.
5082 (fma_test_downward): Likewise.
5083 (fma_test_upward): Likewise.
5084 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5085 function.
5086 (libc_fesetround): New macro.
5087 (libc_fesetroundf): Likewise.
5088 (libc_fesetroundl): Likewise.
5089 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5090 function.
5091 (libc_fesetround_387): Likewise.
5092 (libc_fesetroundf): New macro.
5093 (libc_fesetround): Likewise.
5094 (libc_fesetroundl): Likewise.
5095 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5096 function.
5097 (libc_fesetroundf): New macro.
5098 (libc_fesetround): Likewise.
5099 (libc_fesetroundl): Likewise.
5100 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5101 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5102 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5103 libm_hidden_ver.
5104 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5105 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5106 libm_hidden_def.
5107 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5108 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5109 libm_hidden_ver.
5110 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5111 libm_hidden_def.
5112
fbeafede
JM
5113 [BZ #3439]
5114 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5115 integer constant usable in #if and use that to give value to enum
5116 constant.
5117 (FE_DIVBYZERO): Likewise.
5118 (FE_UNDERFLOW): Likewise.
5119 (FE_OVERFLOW): Likewise.
5120 (FE_INVALID): Likewise.
5121 (FE_INVALID_SNAN): Likewise.
5122 (FE_INVALID_ISI): Likewise.
5123 (FE_INVALID_IDI): Likewise.
5124 (FE_INVALID_ZDZ): Likewise.
5125 (FE_INVALID_IMZ): Likewise.
5126 (FE_INVALID_COMPARE): Likewise.
5127 (FE_INVALID_SOFTWARE): Likewise.
5128 (FE_INVALID_SQRT): Likewise.
5129 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5130 (FE_TONEAREST): Likewise.
5131 (FE_TOWARDZERO): Likewise.
5132 (FE_UPWARD): Likewise.
5133 (FE_DOWNWARD): Likewise.
5134 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5135 (FE_DIVBYZERO): Likewise.
5136 (FE_OVERFLOW): Likewise.
5137 (FE_UNDERFLOW): Likewise.
5138 (FE_INEXACT): Likewise.
5139 (FE_TONEAREST): Likewise.
5140 (FE_DOWNWARD): Likewise.
5141 (FE_UPWARD): Likewise.
5142 (FE_TOWARDZERO): Likewise.
5143 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5144 (FE_UNDERFLOW): Likewise.
5145 (FE_OVERFLOW): Likewise.
5146 (FE_DIVBYZERO): Likewise.
5147 (FE_INVALID): Likewise.
5148 (FE_TONEAREST): Likewise.
5149 (FE_TOWARDZERO): Likewise.
5150 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5151 (FE_OVERFLOW): Likewise.
5152 (FE_UNDERFLOW): Likewise.
5153 (FE_DIVBYZERO): Likewise.
5154 (FE_INEXACT): Likewise.
5155 (FE_TONEAREST): Likewise.
5156 (FE_TOWARDZERO): Likewise.
5157 (FE_UPWARD): Likewise.
5158 (FE_DOWNWARD): Likewise.
5159 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5160 (FE_DIVBYZERO): Likewise.
5161 (FE_OVERFLOW): Likewise.
5162 (FE_UNDERFLOW): Likewise.
5163 (FE_INEXACT): Likewise.
5164 (FE_TONEAREST): Likewise.
5165 (FE_DOWNWARD): Likewise.
5166 (FE_UPWARD): Likewise.
5167 (FE_TOWARDZERO): Likewise.
5168
105ca950
CM
51692012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5170
5171 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5172
a542b389
AS
51732012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5174
5175 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5176 commands. Quote $PWD.
5177 (blacklist_exports): Don't use remove_newlines. Replace "declare
5178 -x" by "export".
5179 (remove_newlines): Remove.
5180
f62c8abc
L
51812012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5182
5183 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5184 * stdlib/stdlib.h (atof): Moved to ...
5185 * include/bits/stdlib-float.h: Here. New file.
5186 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5187 * stdlib/bits/stdlib-float.h: New file.
5188 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5189 -mno-sse -mno-mmx.
5190 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5191 <xmmintrin.h>.
5192
0155d5b2
JM
51932012-11-02 Joseph Myers <joseph@codesourcery.com>
5194
a68d0680
JM
5195 * conform/conformtest.pl (@headers): Add fenv.h.
5196 * conform/data/fenv.h-data: New file.
5197 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5198 include of <math/fenv.h>.
5199
caf7f573
JM
5200 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5201 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5202 && !UNIX98]. Enables tests for XOPEN2K8.
5203 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5204 POSIX2008]: Likewise.
5205
6c073ad6
JM
5206 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5207 (struct rusage): Do not expect type or its members.
5208
0155d5b2
JM
5209 [BZ #3439]
5210 * math/math.h (FP_NAN): Define macro to integer constant usable in
5211 #if and use that to give value to enum constant.
5212 (FP_INFINITE): Likewise.
5213 (FP_ZERO): Likewise.
5214 (FP_SUBNORMAL): Likewise.
5215 (FP_NORMAL): Likewise.
5216
b5dcacb4
AS
52172012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5218
5219 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5220 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5221 arguments.
5222
f7934be8
RM
52232012-11-02 Roland McGrath <roland@hack.frob.com>
5224
5225 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5226 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5227 autoconf-time if not.
5228 * configure.in: Remove AC_PREREQ.
5229
d7d08bde
TMQMF
52302012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5231
5232 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5233 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5234 of the internal implementation.
5235
dcdae19a
JM
52362012-11-02 Joseph Myers <joseph@codesourcery.com>
5237
5238 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5239 except include of <misc/sys/syslog.h>.
5240
d6cffd3e
AS
52412012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5242
5243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5244 function returns with a NULL context exit with zero.
5245
b3563932
TMQMF
52462012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5247
5248 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5249
b288a93d
L
52502012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5251
5252 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5253 (run_program_cmd): This.
5254 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5255 (tst_langinfo): New variable. Use it.
5256
a2421a68
SAS
52572012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5258
5259 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5260 floating point opcodes.
5261
6f796e1b
TS
52622012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5263
7402596b
TS
5264 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5265 variable.
5266
d0d4f868
TS
5267 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5268
6f796e1b
TS
5269 * sysdeps/mach/hurd/powerpc: Remove directory.
5270 * sysdeps/mach/powerpc: Likewise.
5271
4da224a2
AS
52722012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5273
5274 * scripts/check-local-headers.sh: Ignore c++ headers.
5275
341dd673
TS
52762012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5277
5278 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5279 __libc_cleanup_region_start argument.
5280
473611b2
JM
52812012-11-01 Joseph Myers <joseph@codesourcery.com>
5282
5283 [BZ #14784]
5284 [BZ #14785]
5285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5286 x * y using scaling, not as x * y + z.
5287 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5288 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5289 * math/libm-test.inc (fma_test): Add more tests.
5290 (fma_test_towardzero): Likewise.
5291 (fma_test_downward): Likewise.
5292 (fma_test_upward): Likewise.
5293
4078da3d
TS
52942012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5295
5296 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5297
903252aa
JM
52982012-10-31 Joseph Myers <joseph@codesourcery.com>
5299
5300 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5301 New variable.
5302
cbc818d0
TS
53032012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5304
5305 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5306
5a03cb1e
AS
53072012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5308
5309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5310 Fix sort order.
5311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5312 Likewise.
5313
90aff2ff
TMQMF
53142012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5315
5316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5317 Fix the order of the list for glibc 2.17.
5318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5319 Likewise.
5320
1818fcb7
AS
53212012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5322
5323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5324
ef82f4da
JM
53252012-10-31 Joseph Myers <joseph@codesourcery.com>
5326
16a0e2ec
JM
5327 [BZ #14610]
5328 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5329 for low part of x being zero before using __atanl (y).
5330 * math/libm-test.inc (atan2_test): Add another test.
5331
0eb69512
JM
5332 * manual/install.texi (Configuring and compiling): Document
5333 general use of test-wrapper and test-wrapper-env.
5334 * INSTALL: Regenerated.
5335
ef82f4da
JM
5336 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5337 (__fma): Do not extract and scale down low bits on after-rounding
5338 systems when result rounded to normal precision would have normal
5339 exponent.
5340 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5341 (__fmal): Do not extract and scale down low bits on after-rounding
5342 systems when result rounded to normal precision would have normal
5343 exponent.
5344 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5345 (__fmal): Do not extract and scale down low bits on after-rounding
5346 systems when result rounded to normal precision would have normal
5347 exponent.
5348 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5349 macro.
5350 (fma_test): Add more tests.
5351 (fma_test_towardzero): Likewise.
5352 (fma_test_downward): Likewise.
5353 (fma_test_upward): Likewise.
5354
954ef0d9
L
53552012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5356
5357 * sysdeps/i386/tininess.h: Renamed to ...
5358 * sysdeps/x86/tininess.h: This.
5359 * sysdeps/x86_64/tininess.h: Removed.
5360
df61ffb2
JM
53612012-10-30 Joseph Myers <joseph@codesourcery.com>
5362
5363 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5364 input. Use $(build-program-cmd).
5365 ($(objpfx)tst-array1-static.out): Likewise.
5366 ($(objpfx)tst-array2.out): Likewise.
5367 ($(objpfx)tst-array3.out): Likewise.
5368 ($(objpfx)tst-array4.out): Likewise.
5369 ($(objpfx)tst-array5.out): Likewise.
5370 ($(objpfx)tst-array5-static.out): Likewise.
5371
01767843
CM
53722012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5373
47cc1490
CM
5374 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5375 if defined.
5376
01767843
CM
5377 * nss/nsswitch.h (nss_interface_function): Provide new
5378 macro for use with NSS functions.
5379 * grp/initgroups.c: Use new macro.
5380 * nss/getXXbyYY.c: Likewise.
5381 * nss/getXXbyYY_r.c: Likewise.
5382 * nss/getXXent.c: Likewise.
5383 * nss/getXXent_r.c: Likewise.
5384 * sysdeps/posix/getaddrinfo.c: Likewise.
5385
8321aa97
AJ
53862012-10-30 Andreas Jaeger <aj@suse.de>
5387
5388 * po/ru.po: Update Russion translation from translation project.
5389
2a27fd6d
JM
53902012-10-30 Joseph Myers <joseph@codesourcery.com>
5391
8627a232
JM
5392 [BZ #14152]
5393 [BZ #14783]
5394 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5395 result and shift together with sticky bit instead of replicating
5396 round-to-nearest rounding.
5397 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5398 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5399 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5400 missing underflow exceptions.
5401 (fma_test_towardzero): Add more tests.
5402 (fma_test_downward): Likewise.
5403 (fma_test_upward): Likewise.
5404
2a27fd6d
JM
5405 [BZ #14047]
5406 * sysdeps/generic/tininess.h: New file.
5407 * sysdeps/i386/tininess.h: Likewise.
5408 * sysdeps/sh/tininess.h: Likewise.
5409 * sysdeps/x86_64/tininess.h: Likewise.
5410 * stdlib/tst-strtod-underflow.c: Likewise.
5411 * stdlib/tst-tininess.c: Likewise.
5412 * stdlib/strtod_l.c: Include <tininess.h>.
5413 (round_and_return): Do not set errno for exact underflow cases.
5414 Force an underflow exception when setting errno for underflow.
5415 Determine underflow based on rounding to normal precision if
5416 TININESS_AFTER_ROUNDING.
5417 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5418 ERANGE for exact underflow cases.
5419 * stdlib/Makefile (tests): Add tst-tininess and
5420 tst-strtod-underflow.
5421 ($(objpfx)tst-tininess): Use $(link-libm).
5422 ($(objpfx)tst-strtod-underflow): Likewise.
5423
e7170363
AJ
54242012-10-30 Andreas Jaeger <aj@suse.de>
5425
e5088dc6
AJ
5426 [BZ#14767]
5427 * elf/Makefile (tests): Remove conditional for have-initfini-array
5428 since this is now always required and the variable does not exist
5429 anymore.
5430 (tests-static): Likewise.
5431 (modules-names): Likewise.
5432
e7170363 5433 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
5434
5435 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5436 merged with constructor/destructor.
5437 (init_array): Likewise.
5438 * elf/tst-array2dep.c (fini_array): Likewise.
5439 (init_array): Likewise.
5440
60457d8a
MF
54412012-10-29 Mike Frysinger <vapier@gentoo.org>
5442
5443 * manual/message.texi: Delete @cartouche tags.
5444
8bece752
PT
54452012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5446
94ce799f
PT
5447 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5448 EOPNOTSUPP.
5449 * sysdeps/mach/hurd/fsync.c: Likewise.
5450
8bece752
PT
5451 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5452 [_POSIX_REALTIME_SIGNALS]: Change condition to
5453 [_POSIX_REALTIME_SIGNALS > 0].
5454
86ebe6b1
AJ
54552012-10-27 Andreas Jaeger <aj@suse.de>
5456
5457 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5458 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5459 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5460 [__WORDSIZE != 64]: Likewise.
5461
54399c08
L
54622012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5463
5464 * iconvdata/tst-table.sh: Remove ${SHELL}.
5465 * iconvdata/tst-tables.sh: Likewise.
5466
e2211bed
DM
54672012-10-25 David S. Miller <davem@davemloft.net>
5468
5469 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5470 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5471 of strtoull.
5472
f303f97c
DM
5473 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5474 ifunc-impl-list.c
5475 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5476 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5477 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5478 file.
5479
1e9d84cd
RM
54802012-10-25 Roland McGrath <roland@hack.frob.com>
5481
5482 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5483 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5484 __getdirentries.
5485
df381762
JM
54862012-10-25 Joseph Myers <joseph@codesourcery.com>
5487 Jim Blandy <jimb@codesourcery.com>
5488
5489 * scripts/cross-test-ssh.sh: New file.
5490 * manual/install.texi (Configuring and compiling): Document use of
5491 cross-test-ssh.sh.
5492 * INSTALL: Regenerated.
5493
bff64913
PT
54942012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5495
5496 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5497 EOPNOTSUPP.
5498
25fe8932
JM
54992012-10-25 Joseph Myers <joseph@codesourcery.com>
5500
5501 * Makeconfig (run-program-prefix): Fix comment.
5502
cc1290d0
JM
55032012-10-24 Joseph Myers <joseph@codesourcery.com>
5504 Jim Blandy <jimb@codesourcery.com>
5505
5506 * Makeconfig (test-wrapper): New variable,
5507 (test-wrapper-env): Likewise.
5508 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5509 (run-built-tests): Define to yes.
5510 (run-program-prefix): Use $(test-wrapper).
5511 (built-program-cmd): Likewise.
5512 * Rules (make-test-out): Use $(test-wrapper-env) and
5513 $(host-built-program-cmd).
5514 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5515 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5516 tst-pathopt.sh.
5517 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5518 $(test-wrapper-env) to tst-rtld-load-self.sh.
5519 ($(objpfx)order2.out): Use $(test-wrapper).
5520 ($(objpfx)tst-initorder.out): Likewise.
5521 ($(objpfx)tst-initorder2.out): Likewise.
5522 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5523 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5524 (test_wrapper_env): New variable. Use it to run ld.so.
5525 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5526 Use it to run ld.so.
5527 (test_wrapper_env): Likewise.
5528 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5529 $(test-wrapper) to run-iconv-test.sh.
5530 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5531 (ICONV): Use $test_wrapper.
5532 * posix/Makefile ($(objpfx)globtest.out): Pass
5533 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5534 globtest.sh, not $(run-program-prefix).
5535 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5536 (test_wrapper): Likewise.
5537 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5538 set together with run_via_rtld_prefix.
5539 (run_program_prefix): Define in terms of test_wrapper and
5540 run_via_rtld_prefix.
5541
6e6249d0
RM
55422012-10-24 Roland McGrath <roland@hack.frob.com>
5543
5544 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5545 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5546 Targets removed.
5547
5548 [BZ #14743]
5549 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5550 Declare __clock_getres, __clock_gettime, __clock_settime,
5551 __clock_nanosleep, and __clock_getcpuclockid.
5552 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5553 Remove librt_hidden_def (clock_gettime).
5554 * sysdeps/unix/clock_gettime.c: Likewise.
5555 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5556 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5557 * rt/clock_getres.c: Define __clock_getres as an alias.
5558 * sysdeps/posix/clock_getres.c: Likewise.
5559 * rt/clock_settime.c: Define __clock_settime as an alias.
5560 * sysdeps/unix/clock_settime.c: Likewise.
5561 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5562 * sysdeps/unix/clock_nanosleep.c: Likewise.
5563 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5564 * rt/clock-compat.c: New file.
5565 * rt/Makefile (librt-routines): Add clock-compat and move
5566 $(clock-routines) to ...
5567 (routines): ... here, new variable.
5568 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5569 Don't add get_clockfreq here.
5570 * rt/Versions (libc: GLIBC_2.17): New version set.
5571 Add clock_* symbols here.
5572 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5573 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5574 (GLIBC_2.17): Add clock_* symbols.
5575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5577 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5579 Likewise.
5580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5581 Likewise.
5582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5583 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5586 * NEWS: Mention the move.
5587
5588 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5589 Use __open, __read, __close rather than their public counterparts.
5590 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5591 (__get_clockfreq_via_cpuinfo): Likewise.
5592 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5593 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5594
5595 * config.h.in (HAVE_IFUNC): New #undef.
5596 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5597 was successful.
5598 * configure: Regenerated.
5599
0cae3f4b
MF
56002012-10-24 Mike Frysinger <vapier@gentoo.org>
5601
5602 * configure.in: Move READELF check to start of file.
5603 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5604 libc_cv_asm_gnu_indirect_function in the process.
5605 * configure: Regenerated.
5606
8175a253
MF
56072012-10-24 Mike Frysinger <vapier@gentoo.org>
5608
5609 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5610 send the output to /dev/null.
5611 (libc_cv_cc_with_libunwind): Likewise.
5612 (libc_cv_as_noexecstack): Likewise.
5613 * configure: Regenerate.
5614
0708a7d1
JM
56152012-10-24 Joseph Myers <joseph@codesourcery.com>
5616
10b40d85
JM
5617 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5618
0708a7d1
JM
5619 * posix/globtest.sh (TMPDIR): Do not set.
5620 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5621 (testout): Likewise.
5622
9fddec1a
AJ
56232012-10-24 Andreas Jaeger <aj@suse.de>
5624
3a8db22f
AJ
5625 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5626 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5627 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5628 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5629 posix_fadvise64, posix_fallocate64.
5630
9fddec1a
AJ
5631 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5632 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5633 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5634 Likewise.
5635 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5636 Likewise.
5637 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5638
5639 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5640 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5641 <bits/fcntl-linux.h>.
5642 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5643
5644 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5645 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5646 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5647 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5648 [__WORDSIZE != 64]: Likewise.
5649
ebfd1bbd
JM
56502012-10-23 Joseph Myers <joseph@codesourcery.com>
5651
03ac099f
JM
5652 * Makeconfig (run-built-tests): New variable.
5653 * Rules [$(cross-compiling) = yes]: Change condition to
5654 [$(run-built-tests) = no].
5655 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5656 to [$(run-built-tests) = yes].
5657 * elf/Makefile [$(cross-compiling) = no]: Likewise
5658 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5659 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5660 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5661 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5662 * io/Makefile [$(cross-compiling) = no]: Likewise.
5663 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5664 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5665 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5666 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5667 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5668 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5669 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5670 * string/Makefile [$(cross-compiling) = no]: Likewise.
5671
ebfd1bbd
JM
5672 * posix/Makefile ($(objpfx)globtest.out): Pass
5673 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5674 $(rtld-installed-name).
5675 * posix/globtest.sh (elf_objpfx): Remove variable.
5676 (rtld_installed_name): Likewise.
5677 (library_path): Likewise.
5678 (run_program_prefix): New variable. Use for running globtest
5679 binary.
5680
166bca24
JB
56812012-10-23 Jim Blandy <jimb@codesourcery.com>
5682 Joseph Myers <joseph@codesourcery.com>
5683
5684 * Makeconfig (host-built-program-cmd): New variable.
5685 * elf/Makefile (tst-stackguard1-ARGS): Use
5686 $(host-built-program-cmd).
5687 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5688 (tst-spawn-ARGS): Likewise.
5689 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5690
88866099
JM
56912012-10-23 Joseph Myers <joseph@codesourcery.com>
5692 Jim Blandy <jimb@codesourcery.com>
5693
5694 * Makeconfig (run-via-rtld-prefix): New variable.
5695 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5696 (built-program-cmd): Likewise.
5697
b4b4c296
AJ
56982012-10-22 Andreas Jaeger <aj@suse.de>
5699
5700 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5701 __O_RSYNC if it exists, otherwise to O_SYNC.
5702
6fb54a22
JB
57032012-10-22 Jim Blandy <jimb@codesourcery.com>
5704 Joseph Myers <joseph@codesourcery.com>
5705
5706 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5707 /dev/null.
5708 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5709 from /dev/null
5710 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5711 /dev/null.
5712
481b90b9
AJ
57132012-10-22 Andreas Jaeger <aj@suse.de>
5714
2a0e2669
AJ
5715 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5716 Define always.
5717 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5718
76e38f9a
AJ
5719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5720 bits/fcntl-linux.h.
5721
7cd37b43
AJ
5722 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5723 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5724
481b90b9
AJ
5725 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5726 to __O_LARGEFILE.
5727 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5728 to __O_LARGEFILE.
5729
aba75984
JB
57302012-10-21 Jim Blandy <jimb@codesourcery.com>
5731 Joseph Myers <joseph@codesourcery.com>
5732
5733 * config.make.in (NM): New variable.
5734
88d4247f
AJ
57352012-10-21 Andreas Jaeger <aj@suse.de>
5736
5737 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5738 definitions and declarations that are provided by
5739 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5740
f2eed205
L
57412012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5742
5743 [BZ #14683]
5744 * elf/Makefile (tests-static): Add tst-leaks1-static.
5745 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5746 ($(objpfx)tst-leaks1-static): New rule.
5747 ($(objpfx)tst-leaks1-static-mem): Likewise.
5748 (tst-leaks1-static-ENV): New macro.
5749 * elf/dl-open.c (dl_open_worker): Check the main application
5750 only if SHARED is defined.
5751 * elf/tst-leaks1-static.c: New file.
5752
335e6931
AJ
57532012-10-20 Andreas Jaeger <aj@suse.de>
5754
5755 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5756 generic values for Linux.
5757 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5758 and declarations that are provided by <bits/fcntl-linux.h> and
5759 include <bits/fcntl-linux.h>.
5760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5761 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5762
ac5c94d3
RM
57632012-10-20 Roland McGrath <roland@hack.frob.com>
5764
5765 * io/fcntl.h: Move include of <bits/types.h> to the top and
5766 include it unconditionally.
5767
de54b33a
L
57682012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5769
228cfb01
L
5770 * wcsmbs/Makefile (tests-ifunc): New variable.
5771 (tests): Add $(tests-ifunc).
5772 * wcsmbs/test-wcschr-ifunc.c: New file.
5773 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5774 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5775 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5776 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5777 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5778
69f07e5f
L
5779 * string/Makefile (tests-ifunc): New variable.
5780 (tests): Add $(tests-ifunc).
5781 * string/test-memccpy.c (TEST_NAME): New macro.
5782 * string/test-memchr.c (TEST_NAME): Likewise.
5783 * string/test-memcmp.c (TEST_NAME): Likewise.
5784 * string/test-memcpy.c (TEST_NAME): Likewise.
5785 * string/test-memmem.c (TEST_NAME): Likewise.
5786 * string/test-memmove.c (TEST_NAME): Likewise.
5787 * string/test-memset.c (TEST_NAME): Likewise.
5788 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5789 * string/test-stpcpy.c (TEST_NAME): Likewise.
5790 * string/test-stpncpy.c (TEST_NAME): Likewise.
5791 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5792 * string/test-strcasestr.c (TEST_NAME): Likewise.
5793 * string/test-strcat.c (TEST_NAME): Likewise.
5794 * string/test-strchr.c (TEST_NAME): Likewise.
5795 * string/test-strcmp.c(TEST_NAME): Likewise.
5796 * string/test-strcpy.c (TEST_NAME): Likewise.
5797 * string/test-strcspn.c (TEST_NAME): Likewise.
5798 * string/test-strlen.c (TEST_NAME): Likewise.
5799 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5800 * string/test-strncmp.c (TEST_NAME): Likewise.
5801 * string/test-strncpy.c (TEST_NAME): Likewise.
5802 * string/test-strnlen.c (TEST_NAME): Likewise.
5803 * string/test-strpbrk.c (TEST_NAME): Likewise.
5804 * string/test-strrchr.c (TEST_NAME): Likewise.
5805 * string/test-strspn.c (TEST_NAME): Likewise.
5806 * string/test-strstr.c (TEST_NAME): Likewise.
5807 * string/test-bcopy-ifunc.c: New file.
5808 * string/test-bzero-ifunc.c: Likewise.
5809 * string/test-memccpy-ifunc.c: Likewise.
5810 * string/test-memchr-ifunc.c: Likewise.
5811 * string/test-memcmp-ifunc.c: Likewise.
5812 * string/test-memcpy-ifunc.c: Likewise.
5813 * string/test-memmem-ifunc.c: Likewise.
5814 * string/test-memmove-ifunc.c: Likewise.
5815 * string/test-mempcpy-ifunc.c: Likewise.
5816 * string/test-memset-ifunc.c: Likewise.
5817 * string/test-rawmemchr-ifunc.c: Likewise.
5818 * string/test-stpcpy-ifunc.c: Likewise.
5819 * string/test-stpncpy-ifunc.c: Likewise.
5820 * string/test-strcasecmp-ifunc.c: Likewise.
5821 * string/test-strcasestr-ifunc.c: Likewise.
5822 * string/test-strcat-ifunc.c: Likewise.
5823 * string/test-strchr-ifunc.c: Likewise.
5824 * string/test-strchrnul-ifunc.c: Likewise.
5825 * string/test-strcmp-ifunc.c: Likewise.
5826 * string/test-strcpy-ifunc.c: Likewise.
5827 * string/test-strcspn-ifunc.c: Likewise.
5828 * string/test-strlen-ifunc.c: Likewise.
5829 * string/test-strncasecmp-ifunc.c: Likewise.
5830 * string/test-strncat-ifunc.c: Likewise.
5831 * string/test-strncmp-ifunc.c: Likewise.
5832 * string/test-strncpy-ifunc.c: Likewise.
5833 * string/test-strnlen-ifunc.c: Likewise.
5834 * string/test-strpbrk-ifunc.c: Likewise.
5835 * string/test-strrchr-ifunc.c: Likewise.
5836 * string/test-strspn-ifunc.c: Likewise.
5837 * string/test-strstr-ifunc.c: Likewise.
5838
de54b33a
L
5839 * debug/Makefile (tests-ifunc): New variable.
5840 (tests): Add $(tests-ifunc).
5841 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5842 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5843 * debug/test-stpcpy_chk-ifunc.c: New file.
5844 * debug/test-strcpy_chk-ifunc.c: Likewise.
5845
88481c16
SP
58462012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5847
5848 [BZ #13601]
5849 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5850 header is not read in.
5851
135948bd
JM
58522012-10-19 Joseph Myers <joseph@codesourcery.com>
5853
89f1c388
JM
5854 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5855 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5856 directly. Pass built executable to script as
5857 $(built-program-cmd).
5858 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5859 $testprogram without using LD_LIBRARY_PATH and $ldso.
5860
e40a0d21
JM
5861 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5862 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5863 $(rtld-installed-name).
5864 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5865 (rtld_installed_name): Likewise.
5866 (library_path): Likewise.
5867 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5868 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5869 $(run-program-prefix) to tst-tables.sh.
5870 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5871 it to run tst-table-from and tst-table-to.
5872 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5873 Pass it to tst-table.sh.
5874 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5875 $(run-program-prefix) to tst-gettext.sh.
5876 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5877 tst-translit.sh.
5878 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5879 tst-gettext2.sh.
5880 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5881 to run tst-gettext.
5882 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5883 to run tst-gettext2.
5884 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5885 to run tst-translit.
5886 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5887 $(run-program-prefix) to tst-mtrace.sh.
5888 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5889 to run tst-mtrace.
5890 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5891 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5892 $(rtld-installed-name).
5893 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5894 (rtld_installed_name): Likewise.
5895 (run_program_prefix): New variable. Use it to run wordexp-test.
5896
728e272a
JM
5897 * Makeconfig (ARCH): Remove all definitions.
5898 (machine): Likewise.
5899 [ARCH]: Remove conditional code.
5900 [!objdir]: Give error.
5901 [!objdir] (objpfx): Remove.
5902 [!objdir] (common-objpfx): Likewise.
5903 [!objdir] (common-objdir): Likewise.
5904 * configure.in (config_makefile): Remove. Hardcode Makefile in
5905 AC_CONFIG_FILES call.
5906 * configure: Regenerated.
5907
d528cdcf
JM
5908 [BZ #13888]
5909 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5910 or TMPDIR.
5911 (testout): Likewise.
5912
135948bd
JM
5913 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5914 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5915 $(rtld-installed-name).
5916 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5917 (rtld_installed_name): Likwise.
5918 (runit): Remove function.
5919 (run_getconf): New variable, Use it for running getconf binary.
5920
38c78296
L
59212012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5922
5923 [BZ #14716]
5924 * string/test-memmem.c (check_result): New function.
5925 (do_one_test): Use it.
5926 (check1): New function.
5927 (test_main): Use it.
5928
d077f65f
MT
59292012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5930
5931 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5932
ced52c71
JM
59332012-10-18 Joseph Myers <joseph@codesourcery.com>
5934
5935 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5936 (_G_LSEEK64): Likewise.
5937 (_G_MMAP64): Likewise.
5938 (_G_FSTAT64): Likewise.
5939 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5940 (_G_LSEEK64): Likewise.
5941 (_G_MMAP64): Likewise.
5942 (_G_FSTAT64): Likewise.
5943 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5944 unconditional. Call __mmap64 directly.
5945 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5946 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5947 __lseek64 directly.
5948 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5949 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5950 __mmap64 directly.
5951 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5952 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5953 __lseek64 directly.
5954 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5955 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5956 __lseek64 directly.
5957 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5958 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5959 __lseek64 directly.
5960 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5961 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5962 __fxstat64 directly.
5963 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5964 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5965 unconditional.
5966 (freopen64) [!_G_OPEN64]: Remove conditional code.
5967 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5968 unconditional.
5969 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5970 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5971 unconditional.
5972 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5973 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5974 unconditional.
5975 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5976 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5977 unconditional.
5978 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5979 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5980 unconditional.
5981 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5982 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5983 unconditional.
5984 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5985 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5986 unconditional.
5987 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5988
b741de23
SP
59892012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5990
5991 [BZ #12140]
5992 * manual/memory.texi (Malloc Tunable Parameters): Add note
5993 about free list pointers overwriting some perturb bytes.
5994 Wording suggested by Roland McGrath.
5995
f9b9d9c9
JM
59962012-10-17 Joseph Myers <joseph@codesourcery.com>
5997
5998 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5999 (lgamma_test): Likewise.
6000 (tgamma_test): Likewise.
6001
172a631a
FW
60022012-10-16 Florian Weimer <fweimer@redhat.com>
6003
6004 [BZ #14700]
6005 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6006 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6007
e9f37252
MK
60082012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6009
6010 * NEWS: Mention BZ #14716.
6011 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6012 when removing AVAILABLE1_USES_J macro.
6013
d394eb74
L
60142012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6015
6016 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6017 (__bswap_64): __uint64_t for unsigned 64-bit int.
6018
ca38dc17
AS
60192012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6020
6021 * include/string.h (memmem): Declare libc hidden alias.
6022 * string/memmem.c (memmem): Define libc hidden alias.
6023 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6024 __read, __close instead of open, read, close.
6025
9a387d1f
L
60262012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6027
ac49ecaf
L
6028 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6029 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6030 global and hidden.
6031 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6032 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6033 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6034 Likewise.
6035 (__rawmemchr_sse2): Likewise.
6036 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6037 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6038 (__strchr_sse2): Likewise.
6039 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6040 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6041 (__strcasecmp_sse2): Likewise.
6042 (__strncasecmp_sse2): Likewise.
6043 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6044 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6045 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6046 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6047 (__strrchr_sse2): Likewise.
6048 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6049 ifunc-impl-list.c.
6050 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6051 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6052 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6053 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6054 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6055 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6056 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6057 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6058 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6059 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6060 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6061 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6062 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6063 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6064 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6065 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6066 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6067 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6068 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6069 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6070 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6071 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6072 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6073 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6074 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6075 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6076 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6077 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6078 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6079 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6080
b090e8ea
L
6081 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6082 global and hidden.
6083 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6084 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6085 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6086 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6087 Likewise.
6088 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6089 Likewise.
6090 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6091 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6092 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6093 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6094 ifunc-impl-list.c.
6095 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6096 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6097 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6098 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6099 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6100 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6101 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6102 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6103 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6104 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6105 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6106 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6107 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6108 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6109 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6110 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6111 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6112 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6113 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6114 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6115 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6116 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6117 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6118 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6119 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6120 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6121 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6122 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6123 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6124 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6125 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6126 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6127 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6128 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6129 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6130 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6131 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6132 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6133 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6134 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6135 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6136
11dd4af6
L
6137 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6138 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6139 * include/ifunc-impl-list.h: New file.
6140 * misc/ifunc-impl-list.c: Likewise.
6141 * misc/Makefile (routines): Add ifunc-impl-list.
6142 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6143 * string/test-string.h: Include <ifunc-impl-list.h>.
6144 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6145 impl_array): New variables.
6146 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6147 are defined.
6148 (test_init): Call __libc_ifunc_impl_list to initialize
6149 func_list if TEST_IFUNC and TEST_NAME are defined.
6150
9a387d1f
L
6151 * string/Makefile (strop-tests): Add bcopy and bzero.
6152 * string/test-bcopy.c: New file.
6153 * string/test-bzero.c: Likewise.
6154 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6155 defined.
6156 * string/test-memset.c: Support bzero test if TEST_BZERO is
6157 defined.
6158 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6159 __libc_memmove.
6160 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6161 __libc_memset.
6162 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6163 of memset.
6164
472371b9
JM
61652012-10-10 Joseph Myers <joseph@codesourcery.com>
6166
1e4a9536
JM
6167 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6168 * configure: Regenerated.
6169
d173d12e
JM
6170 * Makeconfig (+link-static-before-libc): Don't include
6171 $(link-static-libc).
6172
472371b9
JM
6173 * libio/libio.h (_IO_pos_t): Remove.
6174
89a3ad0b
AO
61752012-10-10 Alexandre Oliva <aoliva@redhat.com>
6176
6177 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6178 McGrath.
6179
e7451425
AO
61802012-10-10 Alexandre Oliva <aoliva@redhat.com>
6181
6182 * crypt/crypt-entry.c: Include fips-private.h.
6183 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6184 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6185 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6186 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6187
4ba74a35
AO
61882012-10-10 Alexandre Oliva <aoliva@redhat.com>
6189
6190 * crypt/crypt-private.h: Include stdbool.h.
6191 (_ufc_setup_salt_r): Return bool.
6192 * crypt/crypt-entry.c: Include errno.h.
6193 (__crypt_r): Return NULL with EINVAL for bad salt.
6194 * crypt/crypt_util.c (bad_for_salt): New.
6195 (_ufc_setup_salt_r): Check that salt is long enough and within
6196 the specified alphabet.
6197 * crypt/badsalttest.c: New file.
6198 * crypt/Makefile (tests): Add it.
6199 ($(objpfx)badsalttest): New.
6200
f96f1242
MK
62012012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6202
6203 * NEWS: Add entry for BZ #14602.
6204
0e8e0c1c
JM
62052012-10-09 Joseph Myers <joseph@codesourcery.com>
6206
6207 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6208 type-generic.
6209 * math/libm-test.inc: Update comment listing what functions and
6210 macros are tested.
6211 (isgreater_test): New function.
6212 (isgreaterequal_test): Likewise.
6213 (isless_test): Likewise.
6214 (islessequal_test): Likewise.
6215 (islessgreater_test): Likewise.
6216 (isunordered_test): Likewise.
6217 (main): Call the new functions.
6218
273edc5e
RM
62192012-10-09 Roland McGrath <roland@hack.frob.com>
6220
b8493de0
RM
6221 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6222 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6223 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6224 * sysdeps/i386/configure: Regenerated.
6225 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6226 * sysdeps/mach/configure: Regenerated.
6227 * sysdeps/mach/hurd/configure: Regenerated.
6228 * sysdeps/powerpc/configure: Regenerated.
6229 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6230 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6231 * sysdeps/s390/s390-32/configure: Regenerated.
6232 * sysdeps/s390/s390-64/configure: Regenerated.
6233 * sysdeps/sh/configure: Regenerated.
6234 * sysdeps/sparc/configure: Regenerated.
6235 * sysdeps/unix/sysv/linux/configure: Regenerated.
6236 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6237 * sysdeps/x86_64/configure: Regenerated.
6238
273edc5e
RM
6239 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6240 defined. Don't check if MAP is NULL.
6241
c8450f70
JM
62422012-10-09 Joseph Myers <joseph@codesourcery.com>
6243
6244 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6245 (_G_stat64): Likewise.
6246 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6247 (_G_stat64): Likewise.
6248 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6249 instead of struct _G_stat64.
6250 * libio/fileops.c (mmap_remap_check): Likewise.
6251 (decide_maybe_mmap): Likewise.
6252 (_IO_new_file_seekoff): Likewise.
6253 (_IO_file_stat): Likewise.
6254 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6255 _G_off64_t.
6256 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6257 instead of struct _G_stat64.
6258 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6259
57e605ba
MK
62602012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6261
6262 [BZ #14602]
6263 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6264 Replace with ...
6265 (CHECK_EOL): New macro.
6266 (two_way_short_needle): Check beginning of haystack for EOL. Use
6267 CHECK_EOL.
6268 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6269 Replace with CHECK_EOL.
6270 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6271 Replace with CHECK_EOL.
6272
ef1bb361
JM
62732012-10-08 Joseph Myers <joseph@codesourcery.com>
6274
6275 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6276 type-generic.
6277 * math/libm-test.inc: Update comment listing what functions and
6278 macros are tested.
6279 (finite_test): New function.
6280 (isinf_test): Likewise.
6281 (isnan_test): Likewise.
6282 (fpclassify_test): Test subnormal input.
6283 (isfinite_test): Likewise.
6284 (isnormal_test): Likewise.
6285 (main): Call the new functions.
6286
55f11534
JN
62872012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6288
6289 [BZ #14660]
6290 * Makerules (%.dynsym): Force C locale when running
6291 $(OBJDUMP) --dynamic-syms.
6292
1ab29350
AS
62932012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6294
6295 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6296 <stdint.h>.
6297
f1ecb7ef
DM
62982012-10-06 David S. Miller <davem@davemloft.net>
6299
6300 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6301 upper 32-bits of the length value in %o2 since we use branch-on-register
6302 tests which consider the entire 64-bit register.
6303
5d41d91a
L
63042012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6305
6306 * string/test-strstr.c (check2): Add a test for page boundary.
6307
3baddb72
DM
63082012-10-05 David S. Miller <davem@davemloft.net>
6309
6310 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6311 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6312 file.
6313 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6314 sysdep_routines.
6315 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6316 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6317 and bzero when HWCAP_SPARC_CRYPTO is present.
6318
9cee5585
L
63192012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6320
d7e0dab9
L
6321 [BZ #14602]
6322 * string/test-strstr.c (check2): New function.
6323 (test_main): Call check2.
6324
03759f47
L
6325 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6326 and bug-strchr1.
6327 * string/bug-strcasestr1.c (do_test): Moved to ...
6328 * string/test-strcasestr.c (check1): Here. New function.
6329 (do_one_test): Break out result checking code into ...
6330 (check_result): This. New function.
6331 (do_one_test): Call check_result.
6332 (test_main): Call check1.
6333 * string/bug-strchr1.c (do_test): Moved to ...
6334 * string/test-strchr.c (check1): Here. New function.
6335 (do_one_test): Break out result checking code into ...
6336 (check_result): This. New function.
6337 (do_one_test): Call check_result.
6338 (test_main): Call check1.
6339 * string/bug-strstr1.c (main): Moved to ...
046f153e 6340 * string/test-strstr.c (check1): Here. New function.
03759f47
L
6341 (do_one_test): Break out result checking code into ...
6342 (check_result): This. New function.
6343 (do_one_test): Call check_result.
6344 (test_main): Call check1.
6345 * string/bug-strcasestr1.c: Removed.
6346 * string/bug-strchr1.c: Likewise.
6347 * string/bug-strstr1.c: Likewise.
6348
53cea63e
L
6349 * elf/Makefile (dl-routines): Add hwcaps.
6350 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6351 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6352 (_dl_important_hwcaps): Moved to ...
6353 * elf/dl-hwcaps.c: Here. New file.
6354 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6355
9cee5585 6356 [BZ #14557]
bb859b06
L
6357 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6358 if IS_IN_rtld isn't defined.
6359
9cee5585
L
6360 * elf/dl-support.c (_dl_sysinfo_map): New.
6361 Include "get-dynamic-info.h" and "setup-vdso.h".
6362 (_dl_non_dynamic_init): Call setup_vdso.
6363 * elf/dynamic-link.h: Don't include <assert.h>.
6364 (elf_get_dynamic_info): Moved to ...
6365 * elf/get-dynamic-info.h: Here. New file.
6366 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6367 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6368 * elf/setup-vdso.h: Here. New file.
6369 * elf/rtld.c: Include "setup-vdso.h".
6370 (dl_main): Call setup_vdso.
6371
23c31b76
JM
63722012-10-05 Joseph Myers <joseph@codesourcery.com>
6373
28234b07
JM
6374 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6375 creal in comment listing functions tested. List finite, isinf,
6376 isnan, isless, islessequal, isgreater, isgreaterequal,
6377 islessgreater, isunordered, lgamma_r and pow10 as functions and
6378 macros not tested. Mention which functions not tested are aliases
6379 for other functions. Fix typo. Note that signs of NaNs are not
6380 tested.
6381
23c31b76
JM
6382 * scripts/config.guess: Update from config.git.
6383 * scripts/config.sub: Likewise.
6384
9043e228
RM
63852012-10-04 Roland McGrath <roland@hack.frob.com>
6386
6387 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6388 * misc/madvise.c (madvise): Renamed to __madvise.
6389 Make madvise a weak alias.
6390 * include/sys/mman.h: Declare __madvise.
6391 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6392 * sysdeps/unix/syscalls.list
6393 (madvise): Make __madvise the strong name, and madvise a weak alias.
6394 * sysdeps/unix/sysv/linux/syscalls.list
6395 (madvise, mmap): Remove redundant entries.
6396 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6397 * malloc/malloc.c (mtrim): Likewise.
6398 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6399
f57f8055
RM
64002012-10-03 Roland McGrath <roland@hack.frob.com>
6401
6402 * sysdeps/mach/hurd/dl-cache.c: File removed.
6403 * config.h.in (USE_LDCONFIG): New #undef.
6404 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6405 * configure: Regenerated.
6406 * elf/Makefile (dl-routines): Add dl-cache only under
6407 [$(use-ldconfig) = yes].
6408 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6409 cache on [USE_LDCONFIG].
6410 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6411 [USE_LDCONFIG].
6412 * elf/rtld.c (dl_main): Likewise.
6413
5bb0c10a
PT
64142012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6415
6416 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6417 _SC_LEVEL4_CACHE_LINESIZE.
6418
010188c6
RM
64192012-10-03 Roland McGrath <roland@hack.frob.com>
6420
6421 * sysdeps/unix/bsd/confstr.h: File removed.
6422
b6c5ec07
AO
64232012-10-02 Alexandre Oliva <aoliva@redhat.com>
6424
6425 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6426 sys/sdt-config.h.
6427
408223d4
RM
64282012-10-02 Roland McGrath <roland@hack.frob.com>
6429
6430 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6431 Make 'mapoff' field ElfW(Off) rather than off_t.
6432
bb9510dc
DL
64332012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6434
fc997c6e
DL
6435 * nscd/Makefile: Remove nscd-cflags and all its users.
6436 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6437 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6438
bb9510dc
DL
6439 [BZ #10631]
6440 * malloc.c (malloc_printerr): Clarify error message.
6441
05699367
L
64422012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6443
6444 [BZ #14648]
6445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6446 Set bit_FMA_Usable if FMA is supported.
6447 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6448 macro.
6449 (bit_FMA4_Usable): Updated.
6450 (index_FMA_Usable): New macro.
6451 (CPUID_FMA): Likewise
6452 (HAS_FMA): Defined with bit_FMA_Usable.
6453
51367701
RM
64542012-10-01 Roland McGrath <roland@hack.frob.com>
6455
6456 * bits/types.h (__swblk_t): Type removed.
6457 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6458 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6459 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6460 (__SWBLK_T_TYPE): Likewise.
6461 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6462 (__SWBLK_T_TYPE): Likewise.
6463 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6464 (__SWBLK_T_TYPE): Likewise.
6465 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6466 (__SWBLK_T_TYPE): Likewise.
6467
4d57bf63 64682012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 6469 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
6470
6471 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6472 (xdr_mapname): Use YPMAXMAP as maxsize.
6473 (xdr_peername): Use YPMAXPEER as maxsize.
6474 (xdr_keydat): Use YPAXRECORD as maxsize.
6475 (xdr_valdat): Use YPMAXRECORD as maxsize.
6476
93c65d43
RM
64772012-10-01 Roland McGrath <roland@hack.frob.com>
6478
497a03d6
RM
6479 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6480
93c65d43
RM
6481 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6482 * csu/init-first.c: ... here.
6483 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6484 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6485 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6486 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6487 * sysdeps/i386/init-first.c: File removed.
6488 * sysdeps/sh/init-first.c: File removed.
6489
bec749fd
JM
64902012-10-01 Joseph Myers <joseph@codesourcery.com>
6491
6492 [BZ #14645]
6493 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6494 if x * y might underflow to zero and z is zero.
6495 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6496 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6497 * math/libm-test.inc (min_subnorm_value): New variable.
6498 (fma_test): Add more tests.
6499 (fma_test_towardzero): Likewise.
6500 (fma_test_downward): Likewise
6501 (fma_test_upward): Likewise.
6502 (initialize): Set min_subnorm_value.
6503
8ec5b013
JM
65042012-09-29 Joseph Myers <joseph@codesourcery.com>
6505
6506 [BZ #14638]
6507 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6508 0 + 0.
6509 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6510 mode for addition resulting in exact zero.
6511 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6512 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6513 exact 0 + 0.
6514 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6515 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6516 * math/libm-test.inc (fma_test): Add more tests.
6517 (fma_test_towardzero): New function.
6518 (fma_test_downward): Likewise.
6519 (fma_test_upward): Likewise.
6520 (main): Call the new functions.
6521
b1fa802e
DM
65222012-09-28 David S. Miller <davem@davemloft.net>
6523
6524 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6525
d3b9fd9e
RM
65262012-09-28 Roland McGrath <roland@hack.frob.com>
6527
ea4d37b3
RM
6528 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6529 instead of SIGALRM.
6530
ac51c949
RM
6531 * sysdeps/gnu/_G_config.h: Moved to ...
6532 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6533 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6534 * sysdeps/generic/_G_config.h: ... here.
6535
28c195f7
RM
6536 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6537
848917f9
RM
6538 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6539
6bacf05b
RM
6540 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6541 Conditionalize target on [libnss_test1.so-version].
6542
91363dbb
RM
6543 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6544
cc87f7d8
RM
6545 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6546 (elfobjdir): Move out of conditionals.
6547
b1c608fe
RM
6548 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6549 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6550 (__nss_lookup_function): Conditionalize label remove_from_tree on
6551 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 6552
1d9a6d96
DM
65532012-09-28 David S. Miller <davem@davemloft.net>
6554
6555 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6556 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6557 file.
6558 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6559 sysdep_routines.
6560 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6561 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6562 when HWCAP_SPARC_CRYPTO is present.
6563
72581615
PT
65642012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6565
6566 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6567
715a900c
JL
65682012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6569
6570 [BZ #6530]
6571 * stdio-common/vfprintf.c (process_string_arg): Revert
6572 2000-07-22 change.
6573
65742011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6575
6576 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6577 for testcase.
6578 * stdio-common/tst-sprintf.c: Include <locale.h>
6579 (main): Test sprintf's handling of incomplete multibyte
6580 characters.
6581
9bac1d86
L
65822012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6583
6584 * elf/dl-runtime.c (VERSYMIDX): Removed.
6585 * elf/dl-version.c (VERSYMIDX): Likewise.
6586 * elf/do-rel.h (VERSYMIDX): Likewise.
6587 (VALIDX): Likewise.
6588 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6589 * elf/rtld.c (VALIDX): Likewise.
6590 (ADDRIDX): Likewise.
9bac1d86
L
6591 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6592 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6593 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
6594 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6595 (VALIDX): Likewise.
6596 (ADDRIDX): Likewise.
9bac1d86 6597
b31606c0
PT
65982012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6599
6600 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6601
11541177
JL
66022012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6603
6604 [BZ #11438]
6605 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6606 to global scope.
6607 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6608 addresses are in the same scope as 192.0.2/24.
6609 * posix/gai.conf: Document new scope table defaults.
6610
adb26fae
SP
66112012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6612
6613 [BZ #5298]
6614 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6615 for ftell. Compute offsets from write pointers instead.
6616 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6617
4573c6b0
SP
66182012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6619
6620 [BZ #14543]
6621 * libio/Makefile (tests): New test case tst-fseek.
6622 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6623 combination works in wide mode.
6624 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6625 state when the external buffer state changes.
6626
aa9bbfe6
DM
66272012-09-27 David S. Miller <davem@davemloft.net>
6628
6629 [BZ #14376]
6630 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6631 pass reloc->r_addend in as the 'high' argument to
6632 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6633
784421e7
DM
6634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6635
c39bc8b8
PT
66362012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6637
6638 * rt/tst-aio2.c: Include <pthread.h>.
6639 * rt/tst-aio3.c: Likewise.
6640
1ccc2399
SE
66412012-09-27 Steve Ellcey <sellcey@mips.com>
6642
6643 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6644
31ed4153
L
66452012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6646
25f5f885
L
6647 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6648 contents on [SHARED].
31ed4153 6649
b7bfe116
MP
66502012-09-26 Marek Polacek <polacek@redhat.com>
6651
6652 [BZ #14530]
6653 [BZ #13741]
6654 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6655 for C++ and GCC <4.3 as well as for non GCC compilers.
6656
43c4edba
MT
66572012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6658
6659 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6660
6a1bf82f
RM
66612012-09-25 Roland McGrath <roland@hack.frob.com>
6662
6663 * Makefile.in (all, install): Declare with .PHONY.
6664 Reported by Michael Hope <michael.hope@linaro.org>.
6665
8ad11b9a
TMQMF
66662012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6667
6668 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6669 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6670 system header.
6671 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6672 Likewise.
6673 (sydep_routines): Add the new and the internal functions.
6674 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6675 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6677 (GLIBC_2.17): Add the new function.
6678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6679 (GLIBC_2.17): Likewise.
6680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6681 (GLIBC_2.17): Likewise.
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6683 (GLIBC_2.17): Likewise.
6684 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6685
7e2fca8d
AM
66862012-09-25 Alan Modra <amodra@gmail.com>
6687
6688 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6689 Add release barrier before setting once_control to say
6690 initialisation is done. Add hints on lwarx. Use macro in
6691 place of isync.
6692 (clear_once_control): Add release barrier.
6693
b87c4b24
JM
66942012-09-25 Joseph Myers <joseph@codesourcery.com>
6695
d032e0d2
JM
6696 [BZ #13629]
6697 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6698 specially.
6699 * math/s_clog10.c (__clog10): Likewise.
6700 * math/s_clog10f.c (__clog10f): Likewise.
6701 * math/s_clog10l.c (__clog10l): Likewise.
6702 * math/s_clogf.c (__clogf): Likewise.
6703 * math/s_clogl.c (__clogl): Likewise.
6704 * math/Makefile (libm-calls): Add x2y2m1.
6705 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6706 (__x2y2m1): Likewise.
6707 (__x2y2m1l): Likewise.
6708 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6709 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6710 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6711 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6712 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6713 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6714 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6715 * sysdeps/i386/fpu/libm-test-ulps: Update.
6716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6717
b87c4b24
JM
6718 [BZ #14621]
6719 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6720 int as type of variable DEPTH.
6721 (glob): Use size_t instead of int as type of variables NEWCOUNT
6722 and OLD_PATHC.
6723
6d3bf199
LD
67242012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6725
22bf5c17
LD
6726 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6727 Add s_sincosf-sse2.
6728 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6729 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6730 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6731 macros for using routine as __sincosf_ia32.
6732 Use macro for function declaration and weak_alias.
6733 * sysdeps/i386/fpu/libm-test-ulps: Update.
6734
6735 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6737
6738 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
6739 subnormal argument.
6740 * math/s_cexpf.c (__cexpf): Likewise.
6741 * math/s_csinf.c (__csinf): Likewise.
6742 * math/s_csinhf.c (__csinhf): Likewise.
6743 * math/s_ctanf.c (__ctanf): Likewise.
6744 * math/s_ctanhf.c (__ctanhf): Likewise.
6745 * math/s_ccosh.c (__ccoshf): Likewise.
6746 * math/s_cexp.c (__cexpl): Likewise.
6747 * math/s_csin.c (__csin): Likewise.
6748 * math/s_csinh.c (__csinh): Likewise.
6749 * math/s_ctan.c (__ctan): Likewise.
6750 * math/s_ctanh.c (ctanh): Likewise.
6751 * math/s_ccoshl.c (__ccoshl): Likewise.
6752 * math/s_cexpl.c (__cexpl): Likewise.
6753 * math/s_csinl.c (__csinl): Likewise.
6754 * math/s_csinhl.c (__csinhl): Likewise.
6755 * math/s_ctanl.c (__ctanl): Likewise.
6756 * math/s_ctanhl.c (__ctanhl): Likewise.
6757
203e5603
JM
67582012-09-25 Joseph Myers <joseph@codesourcery.com>
6759
6760 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6761 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6762 (_IO_off_t): Define to __off_t, not _G_off_t.
6763 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6764 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6765 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6766 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6767 type of __dummy and __dummy2 fields.
6768 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6769 (_G_ssize_t): Likewise.
6770 (_G_off_t): Likewise.
6771 (_G_pid_t): Likewise.
6772 (_G_uid_t): Likewise.
6773 (_G_wchar_t): Likewise.
6774 (_G_wint_t): Likewise.
6775 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6776 (_G_ssize_t): Likewise.
6777 (_G_off_t): Likewise.
6778 (_G_pid_t): Likewise.
6779 (_G_uid_t): Likewise.
6780 (_G_wchar_t): Likewise.
6781 (_G_wint_t): Likewise.
6782 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6783 (_G_ssize_t): Likewise.
6784 (_G_off_t): Likewise.
6785 (_G_pid_t): Likewise.
6786 (_G_uid_t): Likewise.
6787 (_G_wchar_t): Likewise.
6788 (_G_wint_t): Likewise.
6789
9fab36eb
SP
67902012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6791
6792 * malloc/arena.c: Include malloc-sysdep.h.
6793 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6794 is sufficient to shrink the heap or an unmap is needed.
6795 * sysdeps/generic/malloc-sysdep.h: New file. Define
6796 new function check_may_shrink_heap.
6797 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6798 new function check_may_shrink_heap.
6799
2b4f00d1
SP
68002012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6801
6802 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6803 comments.
6804
9a9028b1
DL
68052012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6806
57c69bef
DL
6807 * catgets/test-gencat.sh: Add "set -e".
6808 * elf/tst-pathopt.sh: Likewise.
6809 * grp/tst_fgetgrent.sh: Likewise.
6810 * iconvdata/run-iconv-test.sh: Likewise.
6811 * intl/tst-gettext.sh: Likewise.
6812 * intl/tst-gettext2.sh: Likewise.
6813 * intl/tst-gettext4.sh: Likewise.
6814 * intl/tst-gettext6.sh: Likewise.
6815 * intl/tst-translit.sh: Likewise.
6816 * io/ftwtest-sh: Likewise.
6817 * libio/test-freopen.sh: Likewise.
6818 * malloc/tst-mtrace.sh: Likewise.
6819 * posix/globtest.sh: Likewise.
6820 * posix/tst-getconf.sh: Likewise.
6821 * posix/wordexp-tst.sh: Likewise.
6822 * stdio-common/tst-printf.sh: Likewise.
6823 * stdio-common/tst-unbputc.sh: Likewise.
6824 * stdlib/tst-fmtmsg.sh: Likewise.
6825 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6826 * catgets/Makefile: Do not specify -e option when running
6827 testsuite shell scripts.
6828 * elf/Makefile: Likewise.
6829 * grp/Makefile: Likewise.
6830 * iconvdata/Makefile: Likewise.
6831 * intl/Makefile: Likewise.
6832 * io/Makefile: Likewise.
6833 * libio/Makefile: Likewise.
6834 * malloc/Makefile: Likewise.
6835 * posix/Makefile: Likewise.
6836 * stdio-common/Makefile: Likewise.
6837 * stdlib/Makefile: Likewise.
6838 * sysdeps/x86_64/Makefile: Likewise.
6839
9a9028b1
DL
6840 * io/ftwtest-sh: Add copyright header.
6841 * posix/globtest.sh: Likewise.
6842 * posix/tst-getconf.sh: Likewise.
6843 * posix/wordexp-tst.sh: Likewise.
6844 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6845
ced6f16e
L
68462012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6847
94b32c39
L
6848 [BZ #13679]
6849 * Makeconfig (+link): Defined as $(+link-static) if
6850 $(build-shared) isn't yes.
6851 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6852 isn't yes.
6853 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6854
189e935b
L
6855 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6856
ced6f16e
L
6857 [BZ #14562]
6858 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6859 new chunk size with MALLOC_ALIGN_MASK.
6860
a9f8e53a
JM
68612012-09-24 Joseph Myers <joseph@codesourcery.com>
6862
6863 [BZ #5044]
6864 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6865 <rounding-mode.h>.
6866 (__printf_fphex): Determine rounding using get_rounding_mode and
6867 round_away.
6868 * stdio-common/tst-printf-round.c (struct hex_test): New
6869 structure.
6870 (hex_tests): New variable.
6871 (test_hex_in_one_mode): New function.
6872 (do_test): Also run tests for hex float output.
6873
43153109
JM
68742012-09-21 Joseph Myers <joseph@codesourcery.com>
6875
6876 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6877 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6878 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6879 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6880 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6881 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6882 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6883 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6884
8a26625d
JM
68852012-09-20 Joseph Myers <joseph@codesourcery.com>
6886
6887 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6888 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6889 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6890 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6891
f3fd569c
DL
68922012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6893
6894 [BZ #14579]
6895 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6896 mode only.
6897 * elf/tst-rtld-load-self.sh: New test.
6898 * elf/Makefile: Run it.
6899
63bbedd4
JM
69002012-09-18 Joseph Myers <joseph@codesourcery.com>
6901
6902 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6903 (tst-writev-ENV): Remove.
6904 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6905
626f8b6a
CM
69062012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6907
6908 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6909
b7aaa4d6
JM
69102012-09-17 Joseph Myers <joseph@codesourcery.com>
6911
6912 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6913 unconditional.
6914 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6915 Likewise.
6916 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6917 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6918 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6919 Likewise.
6920
65513990
L
69212012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6922
6923 [BZ #14587]
6924 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6925 * config.make.in (have-cpp-asm-debuginfo): Removed.
6926 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6927 * configure: Regenerated.
6928
784761be
JM
69292012-09-14 Joseph Myers <joseph@codesourcery.com>
6930
6931 [BZ #5044]
6932 * stdio-common/printf_fp.c: Include <stdbool.h> and
6933 <rounding-mode.h>.
6934 (___printf_fp): Determine rounding using get_rounding_mode and
6935 round_away.
6936 * stdio-common/tst-printf-round.c: New file.
6937 * stdio-common/Makefile (tests): Add tst-printf-round.
6938 (link-libm): New variable.
6939 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6940
9503345f
L
69412012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6942
6943 [BZ #14576]
6944 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6945 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6946 Likewise.
6947 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6948 Likewise.
6949
ad35fc00
JM
69502012-09-13 Joseph Myers <joseph@codesourcery.com>
6951
6952 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6953 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6954 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6955 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6956
6c9b0f68
JM
69572012-09-12 Joseph Myers <joseph@codesourcery.com>
6958
6959 [BZ #14518]
6960 * include/rounding-mode.h: New file.
6961 * sysdeps/generic/get-rounding-mode.h: Likewise.
6962 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6963 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6964 (MAX_VALUE): New macro.
6965 (MIN_VALUE): Likewise.
6966 (overflow_value): New function.
6967 (underflow_value): Likewise.
6968 (round_and_return): Use overflow_value and underflow_value to
6969 determine return values in overflow and underflow cases. Use
6970 round_away to determine rounding depending on rounding mode.
6971 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6972 determine return values in overflow and underflow cases.
6973 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6974 (struct test_results): New structure.
6975 (struct test): Use struct test_results to store expected results
6976 for all rounding modes.
6977 (TEST): Include expected results for all rounding modes.
6978 (test_in_one_mode): New function.
6979 (do_test): Use test_in_one_mode to compute and check results.
6980 Check results for all rounding modes.
6981 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6982 $(link-libm).
6983
19fcedd5
AM
69842012-12-09 Allan McRae <allan@archlinux.org>
6985
1e9d84cd 6986 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 6987
8bbfd2f1
JM
69882012-09-11 Joseph Myers <joseph@codesourcery.com>
6989
6990 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6991 (_G_int32_t): Likewise.
6992 (_G_uint16_t): Likewise.
6993 (_G_uint32_t): Likewise.
6994 (_G_HAVE_BOOL): Likewise.
6995 (_G_HAVE_ATEXIT): Likewise.
6996 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6997 (_G_HAVE_IO_FILE_OPEN): Likewise.
6998 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6999 (_G_int32_t): Likewise.
7000 (_G_uint16_t): Likewise.
7001 (_G_uint32_t): Likewise.
7002 (_G_HAVE_BOOL): Likewise.
7003 (_G_HAVE_ATEXIT): Likewise.
7004 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7005 (_G_HAVE_IO_FILE_OPEN): Likewise.
7006 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7007 (_G_int32_t): Likewise.
7008 (_G_uint16_t): Likewise.
7009 (_G_uint32_t): Likewise.
7010 (_G_HAVE_BOOL): Likewise.
7011 (_G_HAVE_ATEXIT): Likewise.
7012 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7013 (_G_HAVE_IO_FILE_OPEN): Likewise.
7014
b1dc5912
L
70152012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7016
7017 * csu/libc-tls.c: Update copyright years.
7018
0e886ef9
JM
70192012-09-10 Joseph Myers <joseph@codesourcery.com>
7020
28361c5e
JM
7021 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7022 [!_G_USING_THUNKS]: Remove conditional code.
7023 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7024 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7025
0e886ef9
JM
7026 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7027 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7028 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7029 (_G_VTABLE_LABEL_PREFIX): Likewise.
7030 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7031 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7032 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7033 (_G_VTABLE_LABEL_PREFIX): Likewise.
7034 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7035 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7036 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7037 (_G_VTABLE_LABEL_PREFIX): Likewise.
7038 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7039
bcba7aa2
L
70402012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7041
7042 * libio/Makefile: Include ../Makeconfig before tests.
7043 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7044 only if $(build-shared) is yes.
7045
06585ee8
L
7046 * iconv/gconv_db.c: Update copyright years.
7047
80ccd52c
LD
70482012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7049
7050 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7051 unwind info if defined PIC. Fix special cases description.
7052 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7053
7054 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7055 DP_HI_MASK entry.
7056 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7057
691bc9c1
L
70582012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7059
3d9b46b3
L
7060 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7061
de2139a9
L
7062 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7063 is NULL.
7064
5ca78dd0
L
7065 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7066 (LDLIBS-tst-chk4): This.
7067 (LDFLAGS-tst-chk5): Renamed to ...
7068 (LDLIBS-tst-chk5): This.
7069 (LDFLAGS-tst-chk6): Renamed to ...
7070 (LDLIBS-tst-chk6): This.
7071 (LDFLAGS-tst-lfschk4): Renamed to ...
7072 (LDLIBS-tst-lfschk4): This.
7073 (LDFLAGS-tst-lfschk5): Renamed to ...
7074 (LDLIBS-tst-lfschk5): This.
7075 (LDFLAGS-tst-lfschk6): Renamed to ...
7076 (LDLIBS-tst-lfschk6): This.
7077
691bc9c1
L
7078 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7079 on $(common-objpfx)soversions.mk.
7080
65cafb1c
JM
70812012-09-07 Joseph Myers <joseph@codesourcery.com>
7082
7083 [BZ #10014]
7084 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7085 example host name.
7086
c78ab094
SP
70872012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7088
7089 * malloc/arena.c (arena_get_retry): New function that gets
7090 another arena for the caller to try its request on.
7091 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7092 current arena cannot fulfill the request.
7093 (__libc_memalign): Likewise.
7094 (__libc_memalign): Likewise.
7095 (__libc_pvalloc): Likewise.
7096 (__libc_calloc): Likewise.
7097
01f49f59
JT
70982012-09-05 John Tobey <john.tobey@gmail.com>
7099
7100 [BZ #13542]
7101 * manual/arith.texi (Operations on Complex): Fix description
7102 of carg branch cut.
7103
4c23fed5
JM
71042012-09-06 Joseph Myers <joseph@codesourcery.com>
7105
1d3c8572
JM
7106 [BZ #10014]
7107 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7108 host name.
7109
4c23fed5
JM
7110 [BZ #10038]
7111 * manual/memory.texi (Memory): Make order of menu items match
7112 order of sections.
7113
04570aaa
L
71142012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7115
7116 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7117 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7118 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7119
b80af2f4
L
71202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7121
7122 * csu/libc-tls.c (static_dtv): Renamed to ...
7123 (_dl_static_dtv): This. Make it global.
7124 (_dl_initial_dtv): Removed.
7125 (__libc_setup_tls): Updated.
7126 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7127 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7128 DL_INITIAL_DTV.
7129
2abe9f15
PM
71302012-09-06 Petr Machata <pmachata@redhat.com>
7131
7132 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7133 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7134 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7135 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7136
0948c3af
L
71372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7138
7139 [BZ #14545]
7140 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7141 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7142 freeing dtv[-1].
7143
a5055ad1
L
71442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7145
7146 [BZ #14544]
7147 * Makeconfig (link-static-before-libc): Replace $(+prector)
7148 with $(+prectorT).
7149 (link-static-after-libc): Replace $(+postctor) with
7150 $(+postctorT).
7151 (link-bounded): Replace $(+prector)/$(+postctor) with
7152 $(+prectorT)/$(+postctorT).
7153 (+prectorT): New macro.
7154 (+postctorT): Likewise.
7155
ed8c2ecd
JM
71562012-09-06 Joseph Myers <joseph@codesourcery.com>
7157
7158 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7159 (round_str): Handle values above the maximum for IBM long double
7160 as inexact.
7161 * stdlib/tst-strtod-round.c (tests): Regenerated.
7162
14c996c8
AK
71632012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7164
7165 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7166 assembler flag.
7167 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7168 zarch_nohighgprs around the zarch optimized routines.
7169 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7170 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7171 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7172 for zarch.
7173
430d6ce6
DM
71742012-09-05 David S. Miller <davem@davemloft.net>
7175
7176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7177
ff04dda4
DM
7178 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7179 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7180 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7181 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7182 entries.
7183
24d4e01b
AO
71842012-09-05 Alexandre Oliva <aoliva@redhat.com>
7185
7186 * malloc/arena.c: Fold copyright years.
7187 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7188
61d58174
AO
71892012-09-05 Alexandre Oliva <aoliva@redhat.com>
7190
7191 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7192
20196a5e
AO
71932012-09-05 Alexandre Oliva <aoliva@redhat.com>
7194
7195 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7196
5c447383
AO
71972012-09-05 Alexandre Oliva <aoliva@redhat.com>
7198
7199 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7200 change internal state upon failure.
7201
fad64255
AO
72022012-09-05 Alexandre Oliva <aoliva@redhat.com>
7203
7204 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7205 * malloc/memusage.c (mmap): Likewise.
7206 (mmap64, mremap): Likewise. Adjust name in comment.
7207
1ffb8c90
SP
72082012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7209
7210 * libio/fileops.c: Fix typos in comments.
7211 * libio/oldfileops.c: Likewise.
7212 * libio/wfileops.c: Likewise.
7213
6ef9cc37
SP
72142012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7215
7216 [BZ #1349]
7217 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7218 (tst-malloc-usable-ENV): Set environment for test case.
7219 * malloc/hooks.c (malloc_check_get_size): New function to get
7220 requested size.
7221 * malloc/malloc.c (musable): Use malloc_check_get_size.
7222 * malloc/tst-malloc-usable.c: New test case.
7223
4d038ae3
AS
72242012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7225
7226 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7227
c4e85184
AM
72282012-09-05 Allan McRae <allan@archlinux.org>
7229
b9dafc56 7230 [BZ #13966]
c4e85184
AM
7231 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7232 determine header location.
7233 * configure: Regenerated.
7234
e1343020
AS
72352012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7236
7237 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7238 float format.
7239 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
7240 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7241 format.
e1343020
AS
7242 (test): Regenerate.
7243
0a9f1987
DM
72442012-09-04 David S. Miller <davem@davemloft.net>
7245
7246 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7247 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7248 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7249
29237804
FW
72502012-09-04 Florian Weimer <fweimer@redhat.com>
7251
7252 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7253 failures.
7254
edb3cb88
FW
7255 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7256
60160d83
JM
72572012-09-04 Joseph Myers <joseph@codesourcery.com>
7258
7259 [BZ #9914]
7260 * libio/iogetdelim.c: Include <limits.h>.
7261 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7262 + len + 1 would overflow.
7263
bcd6c8dc
AJ
72642012-09-03 Andreas Jaeger <aj@suse.de>
7265
7266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7267 * sysdeps/i386/fpu/libm-test-ulps: Update.
7268
4ffffbd2
LD
72692012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7270
7271 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7272 Add s_sinf-sse2, s_conf-sse2.
7273
7274 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7275 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7276 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7277 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7278
7279 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7280 for using routine as __sinf_ia32.
7281 Use macro for function declaration and weak_alias.
7282 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7283 for using routine as __cosf_ia32.
7284 Use macro for function declaration and weak_alias.
7285
7286 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7287 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7288
7289 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7290 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7291 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7292
7293 * math/libm-test.inc (cos_test): Add more test cases.
7294 (sin_test): Likewise.
7295 (sincos_test): Likewise.
7296
511fa286
AK
72972012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7298
7299 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7300 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7301 hidden.
7302 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7303
5f30cfec
L
73042012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7305
7306 [BZ #14538]
7307 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7308 first element of the GOT.
7309 (elf_machine_load_address): Return the difference between
7310 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7311
0786794f
AM
73122012-09-01 Allan McRae <allan@archlinux.org>
7313
5f30cfec
L
7314 [BZ #13412]
7315 * configure.in (AWK): Require gawk version 3.0 or later.
7316 * configure: Regenerated.
0786794f 7317
26889eac
JM
73182012-09-01 Joseph Myers <joseph@codesourcery.com>
7319
7320 * sysdeps/unix/sysv/linux/kernel-features.h
7321 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7322 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7323 [__NR_clock_getres]: Make code unconditional.
7324 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7325 (clock_getcpuclockid): Remove code left unreachable by removal of
7326 conditionals.
7327 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7328 code unconditional.
7329 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7330 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7331 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7332 Make code unconditional.
7333 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7334 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7335 * sysdeps/unix/sysv/linux/clock_settime.c
7336 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7337 conditional code.
7338 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7339 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7340
d22e28b0
L
73412012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7342
7343 [BZ #14476]
7344 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7345 scripts/test-installation.pl.
7346
7347 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7348 and $ld_so_version if it is set.
7349
050af9c4
SP
73502012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7351
7352 [BZ #14516]
7353 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7354 failure if reading from procfs failed.
7355 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7356
ad845c0b
JM
73572012-08-27 Joseph Myers <joseph@codesourcery.com>
7358
7359 * sysdeps/unix/sysv/linux/kernel-features.h
7360 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7361 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7362 Remove conditional code.
7363 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7364 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7365 Remove conditional code.
7366 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7367 * sysdeps/unix/sysv/linux/i386/fxstat.c
7368 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7369 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7370 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7371 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7372 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7373 * sysdeps/unix/sysv/linux/i386/lxstat.c
7374 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7375 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7376 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7377 Remove conditional code.
7378 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7379 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7380 Remove conditional code.
7381 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7382 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7383 <kernel-features.h>.
7384 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7385 Remove.
7386 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7387 Remove conditional code.
7388 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7389 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7390 Remove conditional.
7391
5dbf56af
MF
73922012-08-27 Mike Frysinger <vapier@gentoo.org>
7393
7394 [BZ #5400]
7395 * NEWS: Add fixed bug number.
7396
d6e70f43
JM
73972012-08-27 Joseph Myers <joseph@codesourcery.com>
7398
7efb4737
JM
7399 [BZ #14519]
7400 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7401 underflowing exponent in case of negative sign.
7402 * stdlib/tst-strtod-round-data: Add more tests.
7403 * stdlib/tst-strtod-round.c (tests): Regenerated.
7404
af92131a
JM
7405 [BZ #3479]
7406 * stdlib/strtod_l.c (NDIG): Remove.
7407 (HEXNDIG): Likewise.
7408 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7409 smallest representable value.
7410 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7411 lie within an exact representation of 1/2 ulp of the result.
7412 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7413 unconditionally.
7414 (TENS_P9_IDX): Define unconditionally.
7415 (TENS_P9_SIZE): Likewise.
7416 (TENS_P10_IDX): Likewise.
7417 (TENS_P10_SIZE): Likewise.
7418 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7419 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7420 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7421 entries for 10^2^13 and 10^2^14.
7422 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7423 (TENS_P13_IDX): Define.
7424 (TENS_P13_SIZE): Likewise.
7425 (TENS_P14_IDX): Likewise.
7426 (TENS_P14_SIZE): Likewise.
7427 (_fpioconst_pow10): Change array size to
7428 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7429 unconditional.
7430 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7431 1024]: Add entries for 10^2^13 and 10^2^14.
7432 [LAST_POW10 > _LAST_POW10]: Remove #error.
7433 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7434 (_fpioconst_pow10): Change array size to
7435 FPIOCONST_POW10_ARRAY_SIZE.
7436 * stdlib/gen-fpioconst.c: New file.
7437 * stdlib/gen-tst-strtod-round.c: Likewise.
7438 * stdlib/tst-strtod-round-data: Likewise.
7439 * stdlib/tst-strtod-round.c: Likewise.
7440 * stdlib/Makefile (tests): Add tst-strtod-round.
7441
d6e70f43
JM
7442 [BZ #14459]
7443 * stdlib/strtod_l.c: Include <stdint.h>.
7444 (NDEBUG): Do not define.
7445 (round_and_return): Change EXPONENT parameter to type intmax_t.
7446 Rearrange calculations to avoid internal overflow possibilities.
7447 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7448 Rearrange calculations to avoid internal overflow possibilities.
7449 Assert that number fits inside MPNSIZE limbs.
7450 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7451 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7452 calculations and add assertions to avoid internal overflow
7453 possibilities. Add casts to avoid signed/unsigned operations.
7454 * stdlib/tst-strtod-overflow.c: New file.
7455 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7456
1f529f7d
MP
74572012-08-25 Marek Polacek <polacek@redhat.com>
7458
7459 * time/time.h: Fix some typos in comments.
7460
59a629f1
RM
74612012-08-23 Roland McGrath <roland@hack.frob.com>
7462
7463 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7464 * posix/tst-rfc3484-2.c: Likewise.
7465 * posix/tst-rfc3484-3.c: Likewise.
7466
d3bafbc9
SM
74672012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7468
7469 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7470 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7471
4efcc022
JM
74722012-08-23 Joseph Myers <joseph@codesourcery.com>
7473
7474 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7475 #include of fxstatat64.c.
7476
3cc3ef96
RM
74772012-08-22 Roland McGrath <roland@hack.frob.com>
7478
f04e2132
RM
7479 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7480 * shadow/getspent_r.c: Likewise.
7481 * shadow/getspnam.c: Likewise.
7482 * shadow/getspnam_r.c: Likewise.
7483 * gshadow/getsgent.c: Likewise.
7484 * gshadow/getsgent_r.c: Likewise.
7485 * gshadow/getsgnam.c: Likewise.
7486 * gshadow/getsgnam_r.c: Likewise.
7487 * inet/getnetbyad.c: Likewise.
7488 * inet/getnetbyad_r.c: Likewise.
7489 * inet/getnetbynm.c: Likewise.
7490 * inet/getnetbynm_r.c: Likewise.
7491 * inet/getnetent.c: Likewise.
7492 * inet/getnetent_r.c: Likewise.
7493 * inet/getproto.c: Likewise.
7494 * inet/getproto_r.c: Likewise.
7495 * inet/getprtent.c: Likewise.
7496 * inet/getprtent_r.c: Likewise.
7497 * inet/getprtname.c: Likewise.
7498 * inet/getprtname_r.c: Likewise.
7499 * inet/getrpcbyname.c: Likewise.
7500 * inet/getrpcbyname_r.c: Likewise.
7501 * inet/getrpcbynumber.c: Likewise.
7502 * inet/getrpcbynumber_r.c: Likewise.
7503 * inet/getrpcent.c: Likewise.
7504 * inet/getrpcent_r.c: Likewise.
7505 * inet/getaliasent.c: Likewise.
7506 * inet/getaliasent_r.c: Likewise.
7507 * inet/getaliasname.c: Likewise.
7508 * inet/getaliasname_r.c: Likewise.
7509 * nscd/getgrgid_r.c: Likewise.
7510 * nscd/getgrnam_r.c: Likewise.
7511 * nscd/gethstbyad_r.c: Likewise.
7512 * nscd/gethstbynm3_r.c: Likewise.
7513 * nscd/getpwnam_r.c: Likewise.
7514 * nscd/getpwuid_r.c: Likewise.
7515 * nscd/getsrvbynm_r.c: Likewise.
7516 * nscd/getsrvbypt_r.c: Likewise.
7517 * nscd/gai.c: Likewise.
7518
c53d909c
RM
7519 * configure.in (build_nscd): New substituted variable, set
7520 by --disable-build-nscd and defaults to $use_nscd.
7521 * configure: Regenerated.
7522 * config.make.in (build-nscd): New substituted variable.
7523 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7524 Change conditional to require [$(build-nscd) = yes] as well.
7525 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7526
3cc3ef96
RM
7527 [BZ# 13696]
7528 * configure.in (use_nscd): New substituted variable, set by
7529 --disable-nscd. If enabled, define USE_NSCD.
7530 * configure: Regenerated.
7531 * config.h.in: Add USE_NSCD.
7532 * config.make.in (use-nscd): New substituted variable.
7533 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7534 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7535 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7536 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7537 (CFLAGS-getgrnam_r.c): Likewise.
7538 (CFLAGS-initgroups.c): Likewise.
7539 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7540 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7541 Variables removed.
7542 * inet/getnetgrent_r.c
7543 (nscd_setnetgrent): New function, broken out of ...
7544 (setnetgrent): ... here. Call it.
7545 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7546 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7547 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7548 * nscd/Makefile (routines, aux): Move definitions after include of
7549 Makeconfig. Conditionalize on [$(use-nscd) != no].
7550 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7551 Conditionalize on [USE_NSCD].
7552 (is_nscd, nscd_init_cb): Likewise.
7553 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7554 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7555 * nss/nss_db/db-init.c: Likewise.
7556 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7557 [USE_NSCD].
7558 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7559 (make_request): Use it.
7560 (cache_valid_p): New function.
7561 (__check_pf): Use it.
7562 * NEWS: Add item for --disable-nscd.
7563
07e51550
DL
75642012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7565
7566 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7567 to support sed >= 4.2.1-20-ga9bf076.
7568 * configure: Regenerated.
7569
35a5b08b
RM
75702012-08-22 Roland McGrath <roland@hack.frob.com>
7571
7572 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7573 Conditionalize whole body on [IREL].
7574
8479f23a
JL
75752012-08-22 Jeff Law <law@redhat.com>
7576
7577 [BZ #14505]
7578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7579 if the family is PF_UNSPEC.
7580
48da0b21
MF
75812012-08-22 Mike Frysinger <vapier@gentoo.org>
7582
7583 * Makerules (lib-version): Rename from V.
7584 (install-lib-nosubdir): Change V to lib-version.
7585
15d0da8c
WS
75862012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7587
7588 [BZ #14252]
7589 * powerpc32/power6/wcschr.c: New file.
7590 * powerpc32/power6/wcscpy.c: New file.
7591 * powerpc32/power6/wcsrchr.c: New file.
7592 * powerpc64/power6/wcschr.c: New file.
7593 * powerpc64/power6/wcscpy.c: New file.
7594 * powerpc64/power6/wcsrchr.c: New file.
7595
bcca0895
MK
75962012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7597
7598 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7599 (two_way_short_needle): Use it.
5a4aaa33
RM
7600 * string/strstr.c (AVAILABLE1_USES_J): Define.
7601 * string/strcasestr.c: Likewise.
99677e57
MK
7602
7603 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7604 array references.
7605 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7606
400726de
MK
7607 [BZ #11607]
7608 * NEWS: Add an entry.
7609 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7610 define their defaults.
7611 (two_way_short_needle): Detect end-of-string on-the-fly.
7612 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7613 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7614 * string/bug-strcasestr1.c: New test.
7615 * string/Makefile: Run it.
7616
20a71f2c
MK
76172012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7618
7619 [BZ #11607]
7620 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7621 the first character.
7622
21ad0558
RM
76232012-08-21 Roland McGrath <roland@hack.frob.com>
7624
7625 * csu/elf-init.c (__libc_csu_irel): Function removed.
7626 * csu/libc-start.c (apply_irel): New function.
7627 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7628
0e1d9911
JM
76292012-08-21 Joseph Myers <joseph@codesourcery.com>
7630
7631 * sysdeps/unix/sysv/linux/kernel-features.h
7632 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7633 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7634 <kernel-features.h>.
7635 [__NR_fadvise64_64]: Make code unconditional.
7636 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7637 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7638 !__NR_fadvise64_64)]: Likewise.
7639 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7640 !__NR_fadvise64_64))]: Likewise.
7641 [__NR_fadvise64]: Make code unconditional.
7642 [!__NR_fadvise64]: Remove conditional code.
7643 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7644 <kernel-features.h>.
7645 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7646 unconditional.
7647 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7648 conditional code.
7649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7650 not include <kernel-features.h>.
7651 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7652 unconditional.
7653 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7654 conditional code.
7655 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7656 include <kernel-features.h>.
7657 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7658 unconditional.
7659 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7660 conditional code.
7661
14a50c9d
WS
76622012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7663
7664 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7665 slight instruction rearrangements per scrollpipe analysis.
7666 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7667
c0f4faf0
RM
76682012-08-20 Roland McGrath <roland@hack.frob.com>
7669
696da859
RM
7670 * manual/syslog.texi (syslog; vsyslog, closelog):
7671 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7672 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7673
c0f4faf0
RM
7674 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7675 DSOCAPS to match condition on defining it.
7676
348363b2
JM
76772012-08-20 Joseph Myers <joseph@codesourcery.com>
7678
a35cbf28
JM
7679 * sysdeps/unix/sysv/linux/kernel-features.h
7680 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7682 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7683 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7685 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7686 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7688 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7689 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7690
445f7ecd
JM
7691 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7692 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7693
348363b2
JM
7694 * sysdeps/unix/sysv/linux/kernel-features.h
7695 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7696 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7697 unconditional.
7698 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7699 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7700 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7701 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7702 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7703 Make code unconditional.
7704 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7705 (__mmap64) [!__NR_mmap2]: Likewise.
7706 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7707 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7708 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7709 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7710 [__NR_mmap2]: Make code unconditional.
7711 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7712 (__mmap64) [!__NR_mmap2]: Likewise.
7713
bc5bc0e5
AK
77142012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7715
7716 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7717
88d506de
AJ
77182012-08-18 Andreas Jaeger <aj@suse.de>
7719
7720 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7721
493387d2
MF
77222012-08-18 Mike Frysinger <vapier@gentoo.org>
7723
7724 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7725 * include/unistd.h (__have_sock_cloexec): Likewise.
7726 (__have_pipe2): Likewise.
7727 (__have_dup3): Likewise.
7728
a277af22
MF
77292012-08-18 Mike Frysinger <vapier@gentoo.org>
7730
7731 [BZ #9685]
7732 * include/unistd.h (__have_pipe2): Change define into an extern int.
7733 (__have_dup3): Likewise.
7734 * socket/have_sock_cloexec.c: Include fcntl.h.
7735 (__have_pipe2): New variable.
7736 (__have_dup3): Likewise.
7737
fdab8fd3
MF
77382012-08-17 Mike Frysinger <vapier@gentoo.org>
7739
7740 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7741
31035e80
MP
77422012-08-17 Marek Polacek <polacek@redhat.com>
7743
7744 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7745 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7746
3bd9e993
RM
77472012-08-17 Roland McGrath <roland@hack.frob.com>
7748
c91c505f
RM
7749 * configure.in: Add AC_SUBST for sysheaders.
7750 * configure: Regenerated.
7751 * config.make.in (sysheaders): New substituted variable.
7752
7c6f9d53
RM
7753 * sysdeps/unix/mkfifo.c: Moved ...
7754 * sysdeps/posix/mkfifo.c: ... here.
7755 * sysdeps/unix/mkfifoat.c: Moved ...
7756 * sysdeps/posix/mkfifoat.c: ... here.
7757
7758 * sysdeps/unix/utime.c: Moved ...
7759 * sysdeps/posix/utime.c: ... here.
7760
7761 * sysdeps/unix/time.c: Moved ...
7762 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
7763 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7764 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
7765
7766 * sysdeps/unix/nice.c: Moved ...
7767 * sysdeps/posix/nice.c: ... here.
7768
7769 * sysdeps/unix/alarm.c: Moved ...
7770 * sysdeps/posix/alarm.c: ... here.
7771
3bd9e993
RM
7772 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7773
d1f09384
JL
77742012-08-17 Jeff Law <law@redhat.com>
7775
7776 * intl/Makefile (codeset_mo): New variable.
7777 ($(codeset_mo)): New target.
7778 (tst-codeset.out): Depend on that. Remove explicit rule.
7779 (tst-gettext3.out, tst-gettext5.out): Likewise.
7780 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7781 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7782 * intl/tst-codeset.sh: Remove.
7783 * intl/tst-gettext3.sh: Likewise.
7784 * intl/tst-gettext5.sh: Likewise.
7785
2ae1ae5c
RM
77862012-08-17 Roland McGrath <roland@hack.frob.com>
7787
c31fdb83
RM
7788 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7789 * sysdeps/unix/syscalls.list: ... here.
7790
a0844057
RM
7791 * sysdeps/posix/getaddrinfo.c
7792 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7793 (gaiconf_init, gaiconf_reload): Use them.
7794 [!_STATBUF_ST_NSEC]
7795 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7796 Define using time_t rather than struct timespec.
7797
750c1f2a
RM
7798 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7799 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7800 Macros removed.
7801 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7802 [!NO_THREADS].
7803 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7804 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7805 Likewise.
7806
2ae1ae5c
RM
7807 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7808 __libc_cleanup_push argument.
7809
e66a42f5
RM
7810 * bits/param.h: New file.
7811 * misc/sys/param.h: New file.
7812 * include/sys/param.h: New file.
7813 * misc/Makefile (headers): Add bits/param.h.
7814 * sysdeps/generic/sys/param.h: File removed.
7815 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7816 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7817 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 7818 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 7819
b7c08a66
RM
7820 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7821 last change.
7822
b2e1c562
RM
7823 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7824 [_IO_MTSAFE_IO].
7825 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7826 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7827 New macros.
7828
c75ccd4c
RM
7829 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7830 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7831 rather than -D_IO_MTSAFE_IO conditionally.
7832 * stdio-common/Makefile (CPPFLAGS): Likewise.
7833 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7834 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7835 Use $(libio-mtsafe).
7836 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7837 of -D_IO_MTSAFE_IO.
7838 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7839 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7840 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7841 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7842 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7843 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7844 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7845 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7846 (CFLAGS-fread_u_chk.c): Likewise.
7847 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7848 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7849 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7850 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7851 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7852 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7853 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7854 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7855 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7856
7857 * libio/Makefile: Test [$(libc-reentrant) = yes]
7858 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7859
7860 * Makeconfig
7861 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7862 * sysdeps/pthread/configure: File removed.
7863 * sysdeps/pthread/Makeconfig: New file.
7864 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7865 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7866
d9195db8
GB
78672012-08-16 Gary Benson <gbenson@redhat.com>
7868
7869 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7870 unmapping the first object in a namespace.
7871
86466cd9
RM
78722012-08-16 Roland McGrath <roland@hack.frob.com>
7873
7874 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7875 (__internal_setnetgrent): ... this. Add internal_function to
7876 definition. Add libc_hidden_def.
7877 (setnetgrent): Update caller.
7878 (internal_endnetgrent): Renamed to ...
7879 (__internal_endnetgrent): ... this. Add internal_function to
7880 definition. Add libc_hidden_def.
7881 (endnetgrent): Update caller.
7882 (internal_getnetgrent_r): Renamed to ...
7883 (__internal_getnetgrent_r): ... this. Add internal_function to
7884 definition. Add libc_hidden_def.
7885 (__getnetgrent_r): Update caller.
7886 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7887
c3c8283c
JM
78882012-08-16 Joseph Myers <joseph@codesourcery.com>
7889
7890 * stdlib/longlong.h: Update from GCC.
7891
db1ee0a8
RM
78922012-08-16 Roland McGrath <roland@hack.frob.com>
7893
7894 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7895 on _QL, which is set by umul_ppmm but never used.
7896 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7897 variables, which are set by GMP macros but never used.
7898 * stdio-common/_itowa.c (_itowa): Likewise.
7899 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7900 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7901
30f69637
CD
79022012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7903
7904 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7905 struct La_sh_regs is not constant.
7906 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7907 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7908 and struct La_sparc64_regs are not constant.
7909
93a78ac4
JM
79102012-08-16 Joseph Myers <joseph@codesourcery.com>
7911
7912 * sysdeps/unix/sysv/linux/kernel-features.h
7913 (__ASSUME_POSIX_TIMERS): Remove.
7914 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7915 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7916 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7917 Make code unconditional.
7918 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7919 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7920 Make code unconditional.
7921 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7922 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7923 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7924 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7925 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7926 Make code unconditional.
7927 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7928 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7929 (__libc_missing_posix_timers): Remove.
7930
dd924cd7
RM
79312012-08-15 Roland McGrath <roland@hack.frob.com>
7932
4b4f2771
RM
7933 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7934 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7935
601c888b
RM
7936 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7937
176790a7
RM
7938 * elf/dl-sym.c: Include <stdlib.h>.
7939
329bc018
RM
7940 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7941 constants, which avoids warnings in 32-bit builds.
7942
e04e272d
RM
7943 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7944 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7945
952bf94a
RM
7946 * misc/lseek.c: File moved to ...
7947 * io/lseek.c: ... here.
7948
7c99b50a
RM
7949 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7950
dd924cd7
RM
7951 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7952 shifting LEN more than 31 bits at once.
7953
b3f479a8
LD
79542012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7955
7956 [BZ #14195]
8c4ae0d4
RM
7957 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7958 segmentation fault for a case of two empty input strings.
b3f479a8
LD
7959 * string/test-strncasecmp.c (check1): Renamed to...
7960 (bz12205): ...this.
7961 (bz14195): Add new testcase for two empty input strings and N > 0.
7962 (test_main): Call new testcase, adapt for renamed function.
7963
9c55864e
AJ
79642012-08-15 Andreas Jaeger <aj@suse.de>
7965
7966 [BZ #14090]
7967 * crypt/md5test2.c: New test, based on test supplied by Serge
7968 Belyshev <belyshev@depni.sinp.msu.ru>.
7969 * crypt/Makefile (xtests): Add md5test-giant..
7970 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7971
02dcb6c5
PE
79722012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7973
7974 [BZ #14090]
7975 * crypt/md5.c (md5_process_block): Don't assume the buffer
7976 length is less than 2**32.
7977 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7978 length is less than 2**64.
7979
a3f95dcc
RM
79802012-08-15 Roland McGrath <roland@hack.frob.com>
7981
be75d758
RM
7982 * string/str-two-way.h: Include <sys/param.h>.
7983 (MAX): Macro removed.
7984
7312ca90
RM
7985 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7986 Move #define and #undef of memmove to just before and after
7987 including <string.h>.
7988
9a0a5486
RM
7989 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7990 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7991 and after including <string.h>. Move declarations of
7992 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7993 to before #include "string/memmove.c".
7994
67cc348d
RM
7995 * include/dirent.h: Declare __getdirentries.
7996
a3f95dcc
RM
7997 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7998 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7999
ca98e171
MF
80002012-08-14 Mike Frysinger <vapier@gentoo.org>
8001
8002 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8003 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8004 * sysdeps/i386/configure: Regenerated.
8005 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8006 STABS_CURRENT_FILE, and STABS_FUN.
8007 (END): Remove call to STABS_FUN_END.
8008 (STABS_CURRENT_FILE1): Delete.
8009 (STABS_CURRENT_FILE): Likewise.
8010 (STABS_FUN): Likewise.
8011 (STABS_FUN_END): Likewise.
8012 (STABS_FUN2): Likewise.
8013 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8014 * sysdeps/x86_64/configure: Regenerated.
8015
5908bf46
RM
80162012-08-14 Roland McGrath <roland@hack.frob.com>
8017
8018 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 8019 * elf/dl-lookup.c: Likewise.
5908bf46 8020
f2c05b9e
JM
80212012-08-14 Joseph Myers <joseph@codesourcery.com>
8022
8023 * sysdeps/unix/sysv/linux/kernel-features.h
8024 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8025 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8026 unconditionally.
8027 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8028 unconditionally.
8029 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8030 condition on __ASSUME_CLONE_THREAD_FLAGS.
8031
e11f5155
AJ
80322012-08-14 Andreas Jaeger <aj@suse.de>
8033
8034 * sysdeps/i386/fpu/libm-test-ulps: Update.
8035
51a9ba86
MK
80362012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8037
2fdd4f78
AJ
8038 * include/atomic.h (atomic_exchange_and_add): Split into ...
8039 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8040 New atomic macros.
51a9ba86 8041
ba6cba9e
MT
80422012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8043
8044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8045
42443a47
JL
80462012-08-13 Jeff Law <law@redhat.com>
8047
8048 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8049 null byte in the output string.
8050
121dce05
JM
80512012-08-10 Joseph Myers <joseph@codesourcery.com>
8052
8053 * sysdeps/unix/sysv/linux/kernel-features.h
8054 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8055 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8056 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8057 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8058 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8059 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8060 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8061
bf51f568
JL
80622012-08-09 Jeff Law <law@redhat.com>
8063
8064 [BZ #13939]
8065 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8066 When avoid_arena is set, don't retry in the that arena. Pick the
8067 next one, whatever it might be.
8068 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8069 (arena_lock): Pass in new parameter to arena_get2.
8070 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8071 arena_get2.
8072 (__libc_malloc): Unify retrying after main arena failure with
8073 __libc_memalign version.
8074 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8075
f85fa270
L
80762012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8077
8078 [BZ #14166]
8079 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8080 to __redirect_strstr.
8081 (__strstr_sse42): Use typeof __redirect_strstr.
8082 (__strstr_ia32): Likewise.
8083 (__libc_strstr): New prototype.
8084 (strstr): Renamed to ...
8085 (__libc_strstr): This.
8086 (strstr): New strong alias of __libc_strstr.
8087 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8088 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8089 __redirect_time.
8090 Include <time.h>.
8091 (__libc_time): New prototype.
8092 (time_ifunc): Replace time with __libc_time.
8093 (time): New strong alias and hidden definition of __libc_time.
8094 (__GI_time): Remove strong alias.
8095 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8096 Include <stddef.h>.
8097 (memmove): Redefined to __redirect_memmove.
8098 (__memmove_sse2): Use typeof __redirect_memmove.
8099 (__memmove_ssse3): Likewise.
8100 (__memmove_ssse3_back): Likewise.
8101 (__libc_memmove): New prototype.
8102 (memmove): Renamed to ...
8103 (__libc_memmove): This.
8104 (memmove): New strong alias of __libc_memmove.
8105
33b4a91e
MS
81062012-08-08 Mark Salter <msalter@redhat.com>
8107
8108 * elf/elf.h
8109 (R_MN10300_TLS_GD): Define.
8110 (R_MN10300_TLS_LD): Likewise.
8111 (R_MN10300_TLS_LDO): Likewise.
8112 (R_MN10300_TLS_GOTIE): Likewise.
8113 (R_MN10300_TLS_IE): Likewise.
8114 (R_MN10300_TLS_LE): Likewise.
8115 (R_MN10300_TLS_DTPMOD): Likewise.
8116 (R_MN10300_TLS_DTPOFF): Likewise.
8117 (R_MN10300_TLS_TPOFF): Likewise.
8118 (R_MN10300_SYM_DIFF): Likewise.
8119 (R_MN10300_ALIGN): Likewise.
8120 (R_MN10300_NUM): Update.
8121
b36137f1
JM
81222012-08-08 Joseph Myers <joseph@codesourcery.com>
8123
8124 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8125 Remove.
8126
cdd915fd
RM
81272012-08-08 Roland McGrath <roland@hack.frob.com>
8128
a2433aac
RM
8129 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8130
cdd915fd
RM
8131 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8132 sysdeps/unix -> sysdeps/posix move.
8133 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8134
bf9b740a
AM
81352012-08-07 Allan McRae <allan@archlinux.org>
8136
8137 [BZ #14303]
8138 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8139 (SUNOS_CPP): Likewise.
8140 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8141 not found.
8142 (open_input): Call CPP using execvp.
8143
93df14ee
JM
81442012-08-07 Joseph Myers <joseph@codesourcery.com>
8145
8146 * sysdeps/unix/sysv/linux/kernel-features.h
8147 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8148 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8149 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8150 (__ASSUME_WAITID_SYSCALL): Likewise.
8151 * sysdeps/unix/sysv/linux/dl-execstack.c
8152 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8153 code unconditional.
8154 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8155 conditional code.
8156 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8157 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8158 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8159 code.
8160 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8161 unconditional.
8162 [__ASSUME_WAITID_SYSCALL]: Likewise.
8163 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8164
d34689de
RM
81652012-08-07 Roland McGrath <roland@hack.frob.com>
8166
a281decc
RM
8167 * sysdeps/unix/closedir.c: Renamed to ...
8168 * sysdeps/posix/closedir.c: ... here.
8169 * sysdeps/unix/dirfd.c: Renamed to ...
8170 * sysdeps/posix/dirfd.c: ... here.
8171 * sysdeps/unix/dirstream.h: Renamed to ...
8172 * sysdeps/posix/dirstream.h: ... here.
8173 * sysdeps/unix/fdopendir.c: Renamed to ...
8174 * sysdeps/posix/fdopendir.c: ... here.
8175 * sysdeps/unix/opendir.c: Renamed to ...
8176 * sysdeps/posix/opendir.c: ... here.
8177 * sysdeps/unix/readdir.c: Renamed to ...
8178 * sysdeps/posix/readdir.c: ... here.
8179 * sysdeps/unix/readdir_r.c: Renamed to ...
8180 * sysdeps/posix/readdir_r.c: ... here.
8181 * sysdeps/unix/rewinddir.c: Renamed to ...
8182 * sysdeps/posix/rewinddir.c: ... here.
8183 * sysdeps/unix/seekdir.c: Renamed to ...
8184 * sysdeps/posix/seekdir.c: ... here.
8185 * sysdeps/unix/telldir.c: Renamed to ...
8186 * sysdeps/posix/telldir.c: ... here.
8187 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8188 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8189 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8190 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8191
22895b47
RM
8192 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8193 * bits/fcntl.h: ... here.
8194
707a53b6
RM
8195 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8196 not 0.
8197 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8198 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8199 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8200 (struct flock): Move l_start, l_len to the beginning.
8201 Use __pid_t for l_pid.
8202 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8203 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8204 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8205 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8206 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8207 [__USE_LARGEFILE64] (struct flock64): New type.
8208 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8209
f0bd3e25
RM
8210 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8211 * bits/dirent.h: ... here.
8212
d34689de
RM
8213 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8214 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8215
6dad2c06
JM
82162012-08-07 Joseph Myers <joseph@codesourcery.com>
8217
8218 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8219 Change from 2.6.0 to 2.6.16.
8220 * sysdeps/unix/sysv/linux/configure: Regenerated.
8221 * sysdeps/unix/sysv/linux/kernel-features.h
8222 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8223 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8224 version.
8225 (__ASSUME_UTIMES): Likewise.
8226 (__ASSUME_CLONE_STOPPED): Remove.
8227 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8228 architectures, not kernel version.
8229 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8230 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8231 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8232 (__ASSUME_WAITID_SYSCALL): Likewise.
8233 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8234 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8235 * README: State 2.6.16 as minimum Linux kernel version. Do not
8236 refer to older versions.
8237
03af9520
RM
82382012-08-06 Roland McGrath <roland@hack.frob.com>
8239
8e49df1d
RM
8240 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8241 Define alphasort64 as an alias.
8242 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8243 Define versionsort64 as an alias.
8244 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8245 Define scandir64 as an alias.
8246 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8247 Define scandirat64 as an alias.
8248 * dirent/alphasort64.c (alphasort64):
8249 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8250 * dirent/versionsort64.c: Likewise.
8251 * dirent/scandir64.c: Likewise.
8252 * dirent/scandirat64.c: Likewise.
8253 * sysdeps/wordsize-64/alphasort.c: File removed.
8254 * sysdeps/wordsize-64/alphasort64.c: File removed.
8255 * sysdeps/wordsize-64/scandir.c: File removed.
8256 * sysdeps/wordsize-64/scandir64.c: File removed.
8257 * sysdeps/wordsize-64/scandirat.c: File removed.
8258 * sysdeps/wordsize-64/scandirat64.c: File removed.
8259 * sysdeps/wordsize-64/versionsort.c: File removed.
8260 * sysdeps/wordsize-64/versionsort64.c: File removed.
8261 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8262 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8263 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8264 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8265 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8266 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8267 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8268 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8269
8270 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8271 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8272 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8273 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8274 [defined __arch64__ || defined __sparcv9]
8275 (__INO_T_MATCHES_INO64_T): New macro.
8276 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8277 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8278 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8279 * sysdeps/unix/sysv/linux/bits/dirent.h
8280 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8281 (_DIRENT_MATCHES_DIRENT64): New macro.
8282
03af9520
RM
8283 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8284 Define lockf64 as an alias.
8285 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8286 Define fseeko64 as an alias.
8287 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8288 Define ftello64 as an alias.
8289 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8290 Define _IO_fgetpos64 and fgetpos64 as aliases.
8291 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8292 Define _IO_fsetpos64 and fsetpos64 as aliases.
8293 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8294 Conditionalize body on this.
8295 * libio/fseeko64.c: Likewise.
8296 * libio/ftello64.c: Likewise.
8297 * libio/iofgetpos64.c: Likewise.
8298 * libio/iofsetpos64.c: Likewise.
8299 * sysdeps/wordsize-64/lockf.c: File removed.
8300 * sysdeps/wordsize-64/lockf64.c: File removed.
8301 * sysdeps/wordsize-64/fseeko.c: File removed.
8302 * sysdeps/wordsize-64/fseeko64.c: File removed.
8303 * sysdeps/wordsize-64/ftello.c: File removed.
8304 * sysdeps/wordsize-64/ftello64.c: File removed.
8305 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8306 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8307 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8308 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8309 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8310 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8311 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8312 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8313 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8314 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8315 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8316 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8317 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8318 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8319
8320 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8321 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8322 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8323 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8324 [defined __arch64__ || defined __sparcv9]
8325 (__OFF_T_MATCHES_OFF64_T): New macro.
8326 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8327 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8328 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8329 (__OFF_T_MATCHES_OFF64_T): New macro.
8330
c5757acd
L
83312012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8332
8333 * stdlib/secure-getenv.c (__secure_getenv): Replace
8334 GLIBC_2_16 with GLIBC_2_17.
8335
3a31811e
L
83362012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8337
8338 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8339 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8340
faa2bccb
DM
83412012-08-03 David S. Miller <davem@davemloft.net>
8342
8343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8344
85fe1997
JM
83452012-08-03 Joseph Myers <joseph@codesourcery.com>
8346
8347 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8348 Remove.
8349 (__ASSUME_CORRECT_SI_PID): Likewise.
8350 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8351 (__ASSUME_TMPFS_NAME): Likewise.
8352 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8353 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8354 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8355 (HAVE_AUX_SECURE): Make definition unconditional.
8356 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8357 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8358
4f75b7a0
RM
83592012-08-03 Roland McGrath <roland@hack.frob.com>
8360
8361 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8362 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8363 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8364 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8365 __eloop_threshold instead of SYMLOOP_MAX.
8366
8367 * sysdeps/generic/eloop-threshold.h: New file.
8368 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8369 of MAXSYMLINKS.
8370 * elf/chroot_canon.c (chroot_canon): Likewise.
8371
7aab07e4
JM
83722012-08-03 Joseph Myers <joseph@codesourcery.com>
8373
8374 [BZ #13717]
8375 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8376 Change to 2.6.0 everywhere.
8377 * sysdeps/unix/sysv/linux/configure: Regenerated.
8378 * sysdeps/unix/sysv/linux/kernel-features.h
8379 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8380 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8381 kernel versions.
8382 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8383 (__ASSUME_FUTEX_REQUEUE): Remove.
8384 (__ASSUME_STATFS64): Define unconditionally.
8385 (__ASSUME_AT_SECURE): Likewise.
8386 (__ASSUME_CORRECT_SI_PID): Likewise.
8387 (__ASSUME_TGKILL): Define without depending on kernel version for
8388 i386.
8389 (__ASSUME_UTIMES): Likewise.
8390 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8391 kernel version.
8392 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8393 (__ASSUME_TMPFS_NAME): Likewise.
8394 * README: Update reference to Linux kernel versions.
8395
b67e9372
MP
83962012-08-02 Marek Polacek <polacek@redhat.com>
8397
1f529f7d 8398 [BZ# 14150]
b67e9372
MP
8399 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8400 libc_cv_asm_type_prefix with %.
8401 * configure: Regenerated.
d2441631
RM
8402 * include/libc-symbols.h: Remove comment about
8403 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
8404 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8405 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8406 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8407 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8408 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8409 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8410 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8411 * elf/tst-unique2mod1.c: Likewise.
8412 * elf/tst-unique1mod2.c: Likewise.
8413 * elf/tst-unique1mod1.c: Likewise.
8414 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8415 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8416 Replace ASM_TYPE_DIRECTIVE with .type.
8417 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8418 * sysdeps/i386/sysdep.h: Likewise.
8419 * sysdeps/x86_64/sysdep.h: Likewise.
8420 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
8421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8422 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 8423 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
8424 * sysdeps/powerpc/powerpc32/sysdep.h:
8425 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
8426 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8427 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8428 * sysdeps/i386/fpu/e_powf.S: Likewise.
8429 * sysdeps/i386/fpu/e_expl.S: Likewise.
8430 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8431 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8432 * sysdeps/i386/fpu/e_pow.S: Likewise.
8433 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8434 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8435 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8436 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8437 * sysdeps/i386/fpu/e_log2.S: Likewise.
8438 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8439 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8440 * sysdeps/i386/fpu/e_powl.S: Likewise.
8441 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8442 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8443 * sysdeps/i386/fpu/e_logl.S: Likewise.
8444 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8445 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8446 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8447 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8448 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8449 * sysdeps/i386/fpu/e_log.S: Likewise.
8450 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8451 * sysdeps/i386/fpu/e_logf.S: Likewise.
8452 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8453 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8454 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8455 * sysdeps/i386/fpu/e_log10.S: Likewise.
8456 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8457 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8458 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8459 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8460 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8461 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8462 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8463 * sysdeps/i386/i686/strtok.S: Likewise.
8464 * sysdeps/i386/i386-mcount.S: Likewise.
8465 * sysdeps/i386/strtok.S: Likewise.
8466 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8467 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8468 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8469 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8470 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8471 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8472 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8473 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8474 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8475 * sysdeps/x86_64/_mcount.S: Likewise.
8476 * sysdeps/x86_64/strtok.S: Likewise.
8477 * sysdeps/sh/_mcount.S: Likewise.
8478
2747bf9a
RM
84792012-08-01 Roland McGrath <roland@hack.frob.com>
8480
8481 * libio/iofopen.c: Include <fcntl.h>.
8482 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8483 (_IO_fopen64, fopen64): Define as aliases.
8484 * libio/iofopen64.c: Include <fcntl.h>.
8485 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8486 Conditionalize body on this.
8487 * sysdeps/wordsize-64/iofopen.c: File removed.
8488 * sysdeps/wordsize-64/iofopen64.c: File removed.
8489
3fb791b8
MP
84902012-08-01 Marek Polacek <polacek@redhat.com>
8491
8492 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8493 Use dlfcn directly instead of a variable.
8494 (binfmt-subdir): Do not define.
8495 (dlfcn): Likewise.
8496
a9f1039f
JM
84972012-08-01 Joseph Myers <joseph@codesourcery.com>
8498
23bddc06
JM
8499 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8500 Remove all definitions.
8501 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8502 <kernel-features.h>.
8503 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8504 (miss_F_GETOWN_EX): Remove all definitions.
8505 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8506 macro definition.
8507 [!__ASSUME_FCNTL64]: Remove conditional code.
8508 [__ASSUME_FCNTL64]: Make code unconditional.
8509 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8510 <kernel-features.h>.
8511 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8512 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8513 (lockf64) [__NR_fcntl64]: Make code unconditional.
8514 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8515
a9f1039f
JM
8516 * sysdeps/unix/sysv/linux/kernel-features.h
8517 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8518 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8519 Make code unconditional.
8520 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8521 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8523 [__NR_vfork]: Make code unconditional.
8524 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8525 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8527 [__NR_vfork]: Make code unconditional.
8528 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8529 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8530
09c0ee5f
RM
85312012-08-01 Roland McGrath <roland@hack.frob.com>
8532
48aec5b9
RM
8533 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8534 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8535
cd97c966
RM
8536 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8537 Define mkstemp64 as an alias.
3f55550c
RM
8538 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8539 Define mkstemps64 as an alias.
cd97c966
RM
8540 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8541 Define mkostemp64 as an alias.
b8625cfc
RM
8542 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8543 Define mkostemps64 as an alias.
cd97c966
RM
8544 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8545 Conditionalize body on this.
8546 * misc/mkostemp64.c: Likewise.
b8625cfc 8547 * misc/mkostemps64.c: Likewise.
3f55550c 8548 * misc/mkstemps64.c: Likewise.
cd97c966
RM
8549 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8550 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8551 * sysdeps/wordsize-64/mkostemp.c: File removed.
8552 * sysdeps/wordsize-64/mkstemp.c: File removed.
8553 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8554 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8555 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8556 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8557
09c0ee5f
RM
8558 [BZ #14138]
8559 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8560 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8561 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8562 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8563
8564 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8565 compat_symbol macros from <shlib-compat.h> rather than the underlying
8566 default_symbol_version and symbol_version macros, so that DEFAULT
8567 lines in shlib-versions are respected.
8568 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8569
7e66ee51
FW
85702012-08-01 Florian Weimer <fweimer@redhat.com>
8571
8572 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8573 Declare with warn_unused_result.
8574 (setgid, setregid, setegid, setresgid): Likewise.
8575 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8576 Likewise.
8577 * WUR-REPORT: Remove set*id functions.
8578
d2a54255
PT
85792012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8580
8581 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8582
7ecdb005
RM
85832012-07-31 Roland McGrath <roland@hack.frob.com>
8584
789bd351
RM
8585 * include/sys/socket.h (__libc_accept, __libc_accept4):
8586 Add attribute_hidden.
8587 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8588
40ce302d
RM
8589 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8590 use of PTR_MANGLE.
8591 * inet/getnetgrent_r.c (setup): Likewise.
8592
7ecdb005
RM
8593 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8594
e2eabb2c
DM
85952012-07-31 David S. Miller <davem@davemloft.net>
8596
8597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8598
d0419dbf
JM
85992012-07-31 Joseph Myers <joseph@codesourcery.com>
8600
8601 [BZ #13629]
8602 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8603 value between 1.0 and 2.0 and smaller part has absolute value less
8604 than 1.0.
8605 * math/s_clog10.c (__clog10): Likewise.
8606 * math/s_clog10f.c (__clog10f): Likewise.
8607 * math/s_clog10l.c (__clog10l): Likewise.
8608 * math/s_clogf.c (__clogf): Likewise.
8609 * math/s_clogl.c (__clogl): Likewise.
8610 * math/libm-test.inc (clog_test): Add more tests.
8611 (clog10_test): Likewise.
8612 * sysdeps/i386/fpu/libm-test-ulps: Update.
8613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8614
2bc13872
FW
86152012-07-31 Florian Weimer <fweimer@redhat.com>
8616
8617 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8618 Exit with zero in case no suitable GID is found, and write a
8619 message to standard error.
8620
bea9b193
RM
86212012-07-30 Roland McGrath <roland@hack.frob.com>
8622
8623 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8624 rather than to 1.
8625 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8626 (MAXPATHLEN): Removed.
8627 (NOGROUP, NODEV): New macros.
8628 (setbit, clrbit, isset, isclr): New macros.
8629 (howmany, roundup, powerof2): New macros.
8630 (DEV_BSIZE): New macro.
8631
8632 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8633 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8634
8635 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8636 definition on [!__NO_LONG_DOUBLE_MATH].
8637
8638 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8639 PTR_MANGLE and PTR_DEMANGLE.
8640
8641 * socket/accept4.c (accept4): Rename to __libc_accept4.
8642 Define accept4 as a weak alias.
8643
8644 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8645 on [_DIRENT_HAVE_D_TYPE].
8646 * io/ftw.c (ftw_dir): Likewise.
8647
8648 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8649
8650 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8651
8652 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8653 Use the BSD numbers rather than the arbitrary ones we had.
8654 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8655 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8656 (SIGXCPU, SIGXFSZ): New macros.
8657 (_NSIG): Now 32.
8658
8659 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8660 initializer on [_LIBC_REENTRANT].
8661
8662 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8663 definitions inside [_POSIX_MAPPED_FILES].
8664
8665 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8666
8667 * dirent/opendir.c: Include <fcntl.h>.
8668
8669 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8670 (__libc_getspecific): Likewise.
8671 (__libc_key_create): Likewise.
8672
8673 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8674 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8675 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8676 (tmpfile64): Define as alias.
8677 * sysdeps/wordsize-64/tmpfile.c: File removed.
8678 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8679 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8680 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8681
8682 * stdio-common/vfscanf.c: Include <stdbool.h>.
8683 * nss/makedb.c: Likewise.
8684 * stdio-common/_i18n_number.h: Likewise.
8685 * argp/argp-help.c: Likewise.
8686 * posix/wordexp.c: Likewise.
8687 * sysdeps/posix/spawni.c: Likewise.
8688 * nss/nss_files/files-initgroups.c: Likewise.
8689 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8690 * nss/nss_files/files-initgroups.c: Likewise.
8691 * nss/nss_db/db-netgrp.c: Likewise.
8692 * nss/nss_db/db-initgroups.c: Likewise.
8693 * io/fchmodat.c: Include <sys/stat.h>.
8694
8695 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8696 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8697
8698 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8699 [HAVE_MMAP].
8700
8701 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8702 Add multiple inclusion protection.
8703
e5abc686
DM
87042012-07-27 David S. Miller <davem@davemloft.net>
8705
8706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8707
815e6fa3
GB
87082012-07-27 Gary Benson <gbenson@redhat.com>
8709
8710 [BZ #14298]
8711 * elf/rtld.c: Include <stap-probe.h>.
8712 (dl_main): Added static probes "init_start" and "init_complete".
8713 * elf/dl-load.c: Include <stap-probe.h>.
8714 (lose): Take new parameter "nsid".
8715 Added static probe "map_failed".
8716 (_dl_map_object_from_fd): Pass namespace id to lose.
8717 Added static probe "map_start".
8718 (open_verify): Pass namespace id to lose.
8719 * elf/dl-open.c: Include <stap-probe.h>.
8720 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8721 and "reloc_complete".
8722 * elf/dl-close.c: Include <stap-probe.h>.
8723 (_dl_close_worker): Added static probes "unmap_start" and
8724 "unmap_complete".
8725 * elf/rtld-debugger-interface.txt: New file documenting the above.
8726
9f98c16c
RM
87272012-07-26 Roland McGrath <roland@hack.frob.com>
8728
8729 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8730 rather than a string variable.
8731 * sunrpc/rpc_main.c (h_output): Likewise.
8732 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8733
f3c22df3
PT
87342012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8735
8736 * inet/check_native.c: New file.
8737
3129cfc6
JM
87382012-07-26 Joseph Myers <joseph@codesourcery.com>
8739
da865e95
JM
8740 [BZ #13629]
8741 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8742 if larger part has absolute value 1.0.
8743 * math/s_clog10.c (__clog10): Likewise.
8744 * math/s_clog10f.c (__clog10f): Likewise.
8745 * math/s_clog10l.c (__clog10l): Likewise.
8746 * math/s_clogf.c (__clogf): Likewise.
8747 * math/s_clogl.c (__clogl): Likewise.
8748 * math/libm-test.inc (clog_test): Add more tests.
8749 (clog10_test): Likewise.
8750 * sysdeps/i386/fpu/libm-test-ulps: Update.
8751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8752
3129cfc6
JM
8753 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8754 (pltexit): Likewise.
8755 (La_regs): Likewise.
8756 (La_retval): Likewise.
8757 (int_retval): Likewise.
8758 Update #error for removed macros to refer only to definitions in
8759 tst-audit.h.
8760 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8761 macro.
8762 (pltexit): Likewise.
8763 (La_regs): Likewise.
8764 (La_retval): Likewise.
8765 (int_retval): Likewise.
8766 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8767 macro.
8768 (pltexit): Likewise.
8769 (La_regs): Likewise.
8770 (La_retval): Likewise.
8771 (int_retval): Likewise.
8772 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8773 macro.
8774 (pltexit): Likewise.
8775 (La_regs): Likewise.
8776 (La_retval): Likewise.
8777 (int_retval): Likewise.
8778 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8779 macro.
8780 (pltexit): Likewise.
8781 (La_regs): Likewise.
8782 (La_retval): Likewise.
8783 (int_retval): Likewise.
8784 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8785 macro.
8786 (pltexit): Likewise.
8787 (La_regs): Likewise.
8788 (La_retval): Likewise.
8789 (int_retval): Likewise.
8790 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8791 macro.
8792 (pltexit): Likewise.
8793 (La_regs): Likewise.
8794 (La_retval): Likewise.
8795 (int_retval): Likewise.
8796 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8797 macro definitions in tst-audit.h.
8798 * sysdeps/i386/tst-audit.h: New file.
8799 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8800 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8801 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8802 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8803 * sysdeps/sh/tst-audit.h: Likewise.
8804 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8805 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8806 * sysdeps/x86_64/tst-audit.h: Likewise.
8807
bfc07087
AJ
88082012-07-26 Andreas Jaeger <aj@suse.de>
8809
b1b2aaf8
AJ
8810 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8811 ptrace.
8812
8813 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8814 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8815 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8816 PTRACE_O_MASK.
8817 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8818 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8819 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8820
bfc07087
AJ
8821 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8822 value.
8823
8824 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8825 _sigsys.
8826 (si_call_addr, si_syscall, si_arch): Define new macro.
8827 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8828 _sigsys.
8829 (si_call_addr, si_syscall, si_arch): Define new marcro.
8830 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8831 _sigsys.
8832 (si_call_addr, si_syscall, si_arch): Define new macro.
8833 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8834 _sigsys.
8835 (si_call_addr, si_syscall, si_arch): Define new macro.
8836
89b4b02f
JM
88372012-07-25 Joseph Myers <joseph@codesourcery.com>
8838
8839 [BZ #13717]
8840 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8841 Change to 2.4.21 where previously 2.4.1.
8842 * sysdeps/unix/sysv/linux/configure: Regenerated.
8843 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8844 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8845 Linux kernel version.
8846 (__ASSUME_STD_AUXV): Remove.
8847 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8848 kernel version.
8849 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8850 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8851 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8852 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8853 (__ASSUME_NETLINK_SUPPORT): Likewise.
8854 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8855 (__no_netlink_support): Remove conditional definition.
8856 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8857 Remove.
8858 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8859 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8860 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8861 (if_nameindex_ioctl): Remove.
8862 (if_nameindex_netlink): Do not handle __no_netlink_support.
8863 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8864 code.
8865 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8866 Remove conditional code.
8867 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8868 code.
8869 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8870 unconditional.
8871 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8872 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8873 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8874 Remove.
8875 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8876 [!__ASSUME_STD_AUXV]: Remove conditional code.
8877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8878 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8879 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8881 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8882 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8883 code.
8884 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8886 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8887 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8888 conditional code.
8889 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8891 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8892 code.
8893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8894 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8895 conditional code.
8896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8897 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8898 code unconditional.
8899 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8900 conditional code.
8901 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8902 unconditional.
8903 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8904 conditional code.
8905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8906 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8907 unconditional.
8908 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8909 conditional code.
8910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8911 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8912 code unconditional.
8913 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8914 conditional code.
8915 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8916 unconditional.
8917 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8918 conditional code.
8919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8920 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8921 code unconditional.
8922 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8923 conditional code.
8924 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8925 unconditional.
8926 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8927 conditional code.
8928
842a39cd
AS
89292012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8930
8931 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8932 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8933 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8934 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8935 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8936 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8937 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8938 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8939 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8940 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8941 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8942 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8943 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8944 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8945 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8946 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8947 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8948 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8949 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8950 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8951 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8952 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8953 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8954
84b3fd84
FW
89552012-07-25 Florian Weimer <fweimer@redhat.com>
8956
8957 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
8958 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8959 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8960 Introduce __libc_secure_getenv.
0c7936d5
FW
8961 * stdlib/Versions (2.17): Add secure_getenv
8962 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8963 * stdlib/secure-getenv.c: Rename __secure_getenv to
8964 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8965 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
8966 * stdlib/tst-secure-getenv.c: New.
8967 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
8968 * manual/startup.texi (Environment Access): Document
8969 secure_getenv.
84b3fd84
FW
8970 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8971 __libc_secure_getenv.
8972 * inet/ruserpass.c (ruserpass): Likewise.
8973 * malloc/mtrace.c (mtrace): Likewise.
8974 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 8975 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
8976 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8977 * sysdeps/posix/tempname.c: Likewise. Evaluate
8978 HAVE_SECURE_GETENV.
8979 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 8980 __secure_getenv to __libc_secure_getenv.
84b3fd84 8981 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
8982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8983 Likewise.
8984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8985 Likewise.
8986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8988 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 8993
56e49b71
JM
89942012-07-25 Joseph Myers <joseph@codesourcery.com>
8995
8996 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8997 (struct La_i86_retval): Likewise.
8998 (struct La_x86_64_regs): Likewise.
8999 (struct La_x86_64_retval): Likewise.
9000 (struct La_x32_regs): Likewise.
9001 (struct La_x32_retval): Likewise.
9002 (struct La_ppc32_regs): Likewise.
9003 (struct La_ppc32_retval): Likewise.
9004 (struct La_ppc64_regs): Likewise.
9005 (struct La_ppc64_retval): Likewise.
9006 (struct La_sh_regs): Likewise.
9007 (struct La_sh_retval): Likewise.
9008 (struct La_s390_32_regs): Likewise.
9009 (struct La_s390_32_retval): Likewise.
9010 (struct La_s390_64_regs): Likewise.
9011 (struct La_s390_64_retval): Likewise.
9012 (struct La_sparc32_regs): Likewise.
9013 (struct La_sparc32_retval): Likewise.
9014 (struct La_sparc64_regs): Likewise.
9015 (struct La_sparc64_retval): Likewise.
9016 (struct audit_ifaces): Remove architecture-specific pltenter and
9017 pltexit members.
9018 * sysdeps/i386/ldsodefs.h: New file.
9019 * sysdeps/powerpc/ldsodefs.h: Likewise.
9020 * sysdeps/s390/ldsodefs.h: Likewise.
9021 * sysdeps/sh/ldsodefs.h: Likewise.
9022 * sysdeps/sparc/ldsodefs.h: Likewise.
9023 * sysdeps/x86_64/ldsodefs.h: Likewise.
9024
354691b7
MP
90252012-07-25 Marek Polacek <polacek@redhat.com>
9026
9027 [BZ #6808]
9028 * math/libm-test.inc (yn_test): Add another test.
9029 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9030 to ERANGE when the result is +-Inf.
9031 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9032 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9033 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9034 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9035
bf9e2071
JM
90362012-07-24 Joseph Myers <joseph@codesourcery.com>
9037
9038 * conform/data/time.h-data (NULL): Use macro-constant. Require
9039 equal to 0.
9040 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9041 clock_t.
9042 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9043
57633811
TS
90442012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9045
9046 * configure.in <sysdeps resolving>: Correct printing
9047 Implies_before.
9048 * configure: Regenerate.
9049
c23c33b0
TS
90502012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9051
9052 * math/w_ilogb.c: Include <limits.h>.
9053 * math/w_ilogbl.c: Likewise.
9054
b5982523
JM
90552012-07-20 Joseph Myers <joseph@codesourcery.com>
9056
9057 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9058 va_copy. Document allowing for unavailable va_copy only as
9059 pre-C99 compatibility.
9060 * manual/string.texi (Copying and Concatenation): Use va_copy
9061 instead of __va_copy in concat example.
9062
ac4ea442
PT
90632012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9064
9065 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9066 (__sendto): Use create_address_port. Initialize APORT and deallocate
9067 it if not null.
9068
f98eafbd
PT
9069 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9070 with O_NOLINK passed to __file_name_lookup.
9071
898c7aab
PT
9072 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9073 with O_NOLINK passed to __file_name_lookup.
9074
0ced335a
PT
9075 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9076 negative N or less than NGIDS.
9077
b3404dbd
PT
9078 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9079 type to string_t. Set ERANGE as errno and return it if NAME is not big
9080 enough. Use memcpy instead of strncpy.
9081
0f48659e
JM
90822012-07-20 Joseph Myers <joseph@codesourcery.com>
9083
9084 * elf/Makefile (check-data): Remove.
9085 (localplt.data): New vpath directive.
9086 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9087 instead of $(check-data).
9088 * scripts/data/localplt-generic.data: Move to ...
9089 * sysdeps/generic/localplt.data: ... here.
9090 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9091 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9092 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9094 ... here.
9095 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9097 ... here.
9098 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9100 ... here.
9101 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9103 ... here.
9104 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9106 ... here.
9107 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9109 ... here.
9110
d37cbdaa
AZ
91112012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9112
9113 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9114 PPC32 and PPC64 files.
9115 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9116 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9117
46f85fc2
AK
91182012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9119
9120 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9121 __makecontext_ret to ...
9122 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9123 ... here and call exit if uc_link is NULL. New file.
9124 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9125 __makecontext_ret.S.
9126 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9127 __makecontext_ret to ...
9128 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9129 ... here and call exit if uc_link is NULL. New file.
9130 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9131 __makecontext_ret.S.
9132
08f43f9b
AK
91332012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9134
9135 * elf/elf.h (R_390_IRELATIVE): New definition.
9136 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9137 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9138 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9139 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9140 (elf_machine_lazy_rel): Likewise.
9141 * sysdeps/s390/dl-irel.h: New file.
9142 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9143 * sysdeps/s390/s390-64/memset.S: New asm code.
9144 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9145 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9146 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9147 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9148 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9149 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9150 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9151 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9152 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9153 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9154 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9155 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9156 * sysdeps/s390/s390-32/memset.S: New asm code.
9157 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9158
3b05db33
MP
91592012-07-17 Marek Polacek <polacek@redhat.com>
9160
9161 [BZ #14349]
9162 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9163 * sysdeps/s390/s390-64/configure.in: Likewise.
9164 * sysdeps/sparc/configure.in: Likewise.
9165 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9166 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9167 * sysdeps/i386/configure.in: Likewise.
9168 * sysdeps/x86_64/configure.in: Likewise.
9169 * sysdeps/sh/configure.in: Likewise.
9170 * sysdeps/s390/s390-32/configure: Regenerated.
9171 * sysdeps/s390/s390-64/configure: Likewise.
9172 * sysdeps/x86_64/configure: Likewise.
9173 * sysdeps/sh/configure: Likewise.
9174 * sysdeps/powerpc/powerpc64/configure: Likewise.
9175 * sysdeps/powerpc/powerpc32/configure: Likewise.
9176 * sysdeps/sparc/configure: Likwise.
9177 * sysdeps/i386/configure: Likewise.
9178
a66877c6
MP
9179 * elf/dl-open.c: Comment fixes.
9180
cfc82fd8
JM
91812012-07-17 Joseph Myers <joseph@codesourcery.com>
9182
bd29910a
JM
9183 * Makefile [CXX] (check-data): Remove.
9184 [CXX] (c++-types.data): New vpath directive.
9185 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9186 vpath. Do not allow for C++ type data being missing.
9187 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9188 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9189 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9190 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9191 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9192 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9193 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9195 ... here.
9196 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9198 ... here.
9199 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9201 ... here.
9202 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9204 ... here.
9205 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9207 ... here.
9208 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9210 ... here.
9211 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9213 ... here.
9214 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9216
cfc82fd8
JM
9217 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9218 definitions to architecture-specific files.
9219 (TLS_IE): Likewise.
9220 (TLS_LD): Likewise.
9221 (TLS_GD): Likewise.
9222 * sysdeps/i386/tls-macros.h: New file.
9223 * sysdeps/powerpc/tls-macros.h: Likewise.
9224 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9225 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9226 * sysdeps/sh/tls-macros.h: Likewise.
9227 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9228 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9229 * sysdeps/x86_64/tls-macros.h: Likewise.
9230
f7db3170
TS
92312012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9232
07cbfc23
TS
9233 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9234 zero value for regular exit case.
9235
f7db3170
TS
9236 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9237 (__start_context): Preserve zero value for regular exit case.
9238
dc97c227
TS
92392012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9240 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9241
9242 * manual/setjmp.texi (setcontext): Clarify normal process
9243 termination when uc_link is the null pointer.
9244 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9245 exit call.
9246
d0cd7d02
AS
92472012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9248
9249 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9250 preprocessor. Test for each exception mask separately.
9251
dd318934
AJ
92522012-07-16 Andreas Jaeger <aj@suse.de>
9253
9254 * po/ru.po: Update from translation team.
9255
8048311a
JM
92562012-07-15 Joseph Myers <joseph@codesourcery.com>
9257
9258 * conform/data/string.h-data (NULL): Use macro-constant. Require
9259 equal to 0.
9260 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9261 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9262 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9263 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9264 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9265
b637d46e
AJ
92662012-07-13 Andreas Jaeger <aj@suse.de>
9267
9268 * po/fr.po: Update from translation team.
9269
541428fe
MP
92702012-07-12 Marek Polacek <polacek@redhat.com>
9271
9272 [BZ #14173]
9273 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9274 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9275 loop condition.
9276
ec332e94
JM
92772012-07-12 Joseph Myers <joseph@codesourcery.com>
9278
9279 [BZ #13717]
9280 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9281 Change to 2.4.1 where previously 2.4.0.
9282 * sysdeps/unix/sysv/linux/configure: Regenerated.
9283 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9284 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9285 version.
9286 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9287 (__ASSUME_AT_CLKTCK): Remove.
9288 (__ASSUME_AT_PAGESIZE): Likewise.
9289 (__ASSUME_AT_XID): Likewise.
9290 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9291 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9292 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9293 unconditionally.
9294 (HAVE_AUX_PAGESIZE): Likewise.
9295 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9296 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9297 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9298
7b6e99be
JB
92992012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9300
9301 [BZ #14307]
9302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9303 the temporary buffer used to invoke __gethostbyname2_r,
9304 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9305 host_data / struct gaih_addrtuple.
9306 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9307 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9308 header file nss/nsswitch.h.
9309 * nss/nsswitch.h (global scope): Add definition of implementation
9310 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9311 resolv/nss_dns/dns-host.c).
9312
608404eb
AJ
93132012-07-11 Andreas Jaeger <aj@suse.de>
9314
9315 * po/fr.po: Update from translation team.
9316
71220aca
AJ
9317 * po/sv.po: Update from translation team
9318 * po/fr.po: Another update from translation team.
9319
28cfe843
AZ
93202012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9321
9322 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9323 for subnormals or multiply small sinh result by itself.
9324 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9326
6b90f981
DM
93272012-07-11 David S. Miller <davem@davemloft.net>
9328
9329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9330
c6825772
AS
93312012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9332
9333 [BZ #14347]
9334 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9335 (INTERNAL_MARK): Shift it here.
9336
7b8e0d49
MP
93372012-07-10 Marek Polacek <polacek@redhat.com>
9338
9339 [BZ #14151]
9340 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9341 libc_cv_asm_global_directive with .globl.
9342 * configure: Regenerated.
9343 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9344 with .globl.
9345 * sysdeps/i386/configure: Regenerated.
9346 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9347 with .globl.
9348 * sysdeps/x86_64/configure: Regenerated.
9349 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9350 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9351 * elf/tst-unique2mod2.c: Likewise.
9352 * elf/tst-unique2mod1.c: Likewise.
9353 * elf/tst-unique1mod2.c: Likewise.
9354 * elf/tst-unique1mod1.c: Likewise.
9355 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9356 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9357 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9358 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9359 * sysdeps/mach/sysdep.h: Likewise.
9360 * sysdeps/i386/sysdep.h: Likewise.
9361 * sysdeps/i386/i386-mcount.S: Likewise.
9362 * sysdeps/x86_64/_mcount.S: Likewise.
9363 * sysdeps/x86_64/sysdep.h: Likewise.
9364 * sysdeps/sh/_mcount.S: Likewise.
9365 * sysdeps/sh/sysdep.h: Likewise.
9366 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9367 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9368 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9369 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9370 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9371 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9372 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9373 * locale/localeinfo.h: Likewise.
9374 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9375 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9376
6c55cda3
RM
93772012-07-09 Roland McGrath <roland@hack.frob.com>
9378
9379 [BZ #14336]
9380 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9381 system".
9382 * manual/message.texi (The Uniforum approach): Likewise.
9383 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9384 (glibc iconv Implementation): Likewise.
9385
638a572e
JM
93862012-07-09 Joseph Myers <joseph@codesourcery.com>
9387
9388 [BZ #14337]
9389 * math/s_clog.c (__clog): Avoid scaling a value down where that
9390 could result in underflow.
9391 * math/s_clog10.c (__clog10): Likewise.
9392 * math/s_clog10f.c (__clog10f): Likewise.
9393 * math/s_clog10l.c (__clog10l): Likewise.
9394 * math/s_clogf.c (__clogf): Likewise.
9395 * math/s_clogl.c (__clogl): Likewise.
9396 * math/libm-test.inc (clog_test): Add more tests.
9397 (clog10_test): Likewise.
9398 * sysdeps/i386/fpu/libm-test-ulps: Update.
9399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9400
261f4859
AS
94012012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9402
0abaf3e4
AS
9403 [BZ #14283]
9404 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9405 by 7 not 8 to examine high bit of fractional part.
9406
261f4859
AS
9407 [BZ #14042]
9408 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9409 for call to __mcount_internal.
9410 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9411 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9412 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9413
f17ac40d
JM
94142012-07-06 Joseph Myers <joseph@codesourcery.com>
9415
9ad63c23
JM
9416 [BZ #14154]
9417 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9418 approximation for values within 0x1p-13f of an odd multiple of
9419 pi/4.
9420 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9421 exception. Add more tests.
9422 * sysdeps/i386/fpu/libm-test-ulps: Update.
9423
f17ac40d
JM
9424 [BZ #6778]
9425 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9426 inputs and return -1 for them. Do not check for +Inf in case not
9427 reachable for +Inf.
9428 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9429 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9430 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9431 and return -1 for them. Do not check for +Inf in case not
9432 reachable for +Inf.
9433 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9434 define.
9435 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9436 and return -1 for them. Do not check for +Inf in case not
9437 reachable for +Inf.
9438 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9439 spurious underflow.
9440 * sysdeps/i386/fpu/libm-test-ulps: Update.
9441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9442
fb21f89b
MF
94432012-07-06 Mike Frysinger <vapier@gentoo.org>
9444
9445 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9446
cdfe2c5e
JM
94472012-07-05 Joseph Myers <joseph@codesourcery.com>
9448
9449 [BZ #14157]
9450 [BZ #14331]
9451 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9452 could result in spurious underflow. Scale down values above
9453 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9454 * math/s_csqrtf.c (__csqrtf): Likewise.
9455 * math/s_csqrtl.c (__csqrtl): Likewise.
9456 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9457 spurious underflow.
9458 * sysdeps/i386/fpu/libm-test-ulps: Update.
9459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9460
70d35b67
AS
94612012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9462
704bc459
AS
9463 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9464 xopen-msg.sed.
9465 * catgets/xopen-msg.awk: New file.
9466 * catgets/xopen-msg.sed: Removed.
9467
70d35b67
AS
9468 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9469 po2text.sed.
9470 * intl/po2test.awk: New file.
9471 * intl/po2test.sed: Removed.
9472
ca61cf32
JM
94732012-07-04 Joseph Myers <joseph@codesourcery.com>
9474
9475 [BZ #14328]
9476 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9477 or multiply small sinh result by itself.
9478 * math/s_ctanf.c (__ctanf): Likewise.
9479 * math/s_ctanh.c (__ctanh): Likewise.
9480 * math/s_ctanhf.c (__ctanhf): Likewise.
9481 * math/s_ctanhl.c (__ctanhl): Likewise.
9482 * math/s_ctanl.c (__ctanl): Likewise.
9483 * math/libm-test.inc (ctan_test_tonearest): New function.
9484 (ctan_test_towardzero): Likewise.
9485 (ctan_test_downward): Likewise.
9486 (ctan_test_upward): Likewise.
9487 (ctanh_test_tonearest): Likewise.
9488 (ctanh_test_towardzero): Likewise.
9489 (ctanh_test_downward): Likewise.
9490 (ctanh_test_upward): Likewise.
9491 (main): Call these new functions.
9492 * sysdeps/i386/fpu/libm-test-ulps: Update.
9493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9494
ca48a46a
MF
94952012-07-03 Mike Frysinger <vapier@gentoo.org>
9496
9497 * .gitignore: Delete /ports entry.
9498
9d63d37d
AJ
94992012-07-03 Andreas Jaeger <aj@suse.de>
9500
9501 * po/bg.po: Update from translation team.
9502 * po/cs.po: Likewise.
9503 * po/de.po: Likewise.
9504 * po/hr.po: Likewise.
9505 * po/nl.pl: Likewise.
9506 * po/pl.po: Likewise.
9507 * po/vi.po: Likewise.
9508
370ca3d2
JM
95092012-07-03 Joseph Myers <joseph@codesourcery.com>
9510
95f5a9a8
JM
9511 * Makeconfig [!+link] (+link-before-libc): New variable.
9512 [!+link] (+link-after-libc): Likewise.
9513 [!+link] (+link-tests): Likewise.
9514 [!+link] (+link): Define in terms of $(+link-before-libc) and
9515 $(+link-after-libc).
9516 [!+link-static] (+link-static-before-libc): New variable.
9517 [!+link-static] (+link-static-after-libc): Likewise.
9518 [!+link-static] (+link-static-tests): Likewise.
9519 [!+link-static] (+link-static): Define in terms of
9520 $(+link-static-before-libc) and $(+link-static-after-libc).
9521 [build-shared] (link-libc-before-gnulib): New variable.
9522 [build-shared] (link-libc-tests): Likewise.
9523 [build-shared] (link-libc): Define in terms of
9524 $(link-libc-before-gnulib).
9525 [!build-shared] (link-libc-tests): New variable.
9526 (link-libc-static-tests): New variable.
9527 [!gnulib] (gnulib-arch): New variable.
9528 [!gnulib] (gnulib-tests): Likewise.
9529 [!gnulib] (static-gnulib-arch): Likewise.
9530 [!gnulib] (static-gnulib-tests): Likewise.
9531 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9532 Define with "=" instead of ":=".
9533 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9534 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9535 * Rules (binaries-all-notests): New variable.
9536 (binaries-all-tests): Likewise.
9537 (binaries-static-notests): Likewise.
9538 (binaries-static-tests): Likewise.
9539 (binaries-all): Define using $(binaries-all-notests) and
9540 $(binaries-all-tests).
9541 (binaries-static): Define using $(binaries-static-notests) and
9542 $(binaries-static-tests).
9543 (binaries-shared-tests): New variable.
9544 (binaries-shared-notests): Likewise.
9545 (binaries-shared): Remove variable.
9546 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9547 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9548 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9549 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9550 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9551 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9552 * elf/Makefile (sln-modules): New variable.
9553 (extra-objs): Add $(sln-modules:=.o).
9554 (ldconfig-modules): Add static-stubs.
9555 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9556 * elf/static-stubs.c: New file.
9557
7a845b2c
JM
9558 [BZ #14283]
9559 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9560 by 7 not 8 to examine high bit of fractional part. Use volatile
9561 variables when splitting into final array of floats if
9562 __FLT_EVAL_METHOD__ != 0.
9563 * math/libm-test.inc (cos_test): Add another test.
9564 (sin_test): Likewise.
9565 * sysdeps/i386/fpu/libm-test-ulps: Update.
9566
e2283f38
JM
9567 [BZ #14273]
9568 * math/libm-test.inc (cosh_test): Add more tests.
9569
370ca3d2
JM
9570 * version.h (RELEASE): Set to "development".
9571 (VERSION): Set to "2.16.90".
9572
ee9247c3
CD
95732012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9574
9575 * NEWS: Update copyright. Remove last-updated date.
9576 Mention math library bug fixes and timezone data changes.
9577 * README: Mention GNU/Hurd, x32, and HPPA support status.
9578
4648c381
TS
95792012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9580
9581 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9582
aac78a43
AJ
95832012-06-27 Andreas Jaeger <aj@suse.de>
9584
9585 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9586
ed3dbfad
AJ
95872012-06-25 Andreas Jaeger <aj@suse.de>
9588
9589 * sysdeps/s390/fpu/libm-test-ulps: Update.
9590
4d0ee855
AS
95912012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9592 Thomas Schwinge <thomas@codesourcery.com>
9593
9594 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9595 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9596 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9597 fanotify_mark.
9598
af1bce34
TS
95992012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9600
a9fa33ba
TS
9601 * sysdeps/mach/start.c: Remove file.
9602 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9603 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9604 * sysdeps/sh/init-first.c: Likewise.
9605
58f902b8
TS
9606 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9607 registers for frame unwinding purposes, add CFI directives.
9608 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9609 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9610 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9611 Likewise.
9612
1518f58b
TS
9613 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9614 __fortify_fail returning.
9615 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9616
db9b5059
TS
9617 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9618 sysdeps/sh/____longjmp_chk.S.
9619 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9620 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9621 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9622 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9623
967705fe
TS
9624 * sysdeps/sh/abort-instr.h: New file.
9625 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9626 process in case exit returns.
9627
a9def8c4
TS
9628 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9629 initialize the GOT register before use.
9630
2a649725
TS
9631 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9632 calculation of ARGC > 4.
9633
af1bce34
TS
9634 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9635 meaningful names to some local labels.
9636
d230f50a
KK
96372012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9638 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9639
9640 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9641 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9642 (__arch_compare_and_exchange_val_16_acq): Likewise.
9643 (__arch_compare_and_exchange_val_32_acq): Likewise.
9644 (atomic_exchange_and_add): Fix gUSA sequence.
9645 (atomic_add): Likewise.
9646 (atomic_add_negative): Likewise.
9647 (atomic_add_zero): Likewise.
9648 (atomic_bit_test_set): Likewise.
9649
0479b305
AS
96502012-06-22 Andreas Schwab <schwab@redhat.com>
9651
9652 [BZ #13579]
9653 * include/link.h (struct link_map): Add l_free_initfini.
9654 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9655 l_initfini.
9656 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9657 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9658 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9659 set.
9660
0e3933b9
CD
96612012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9662
9663 * configure.in: Use AC_LANG_SOURCE.
9664 * configure: Regenerate.
9665
4248b1b1
RM
96662012-06-22 Roland McGrath <roland@hack.frob.com>
9667
9668 * configure.in (libc_cv_localstatedir): New substituted variable.
9669 * configure: Regenerated.
9670 * config.make.in (localstatedir): New variable, substituted from
9671 libc_cv_localstatedir.
9672 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9673 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9674 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9675 * sysdeps/gnu/configure: Regenerated.
9676
006dd861
JL
96772012-06-21 Jeff Law <law@redhat.com>
9678
9679 [BZ #14277]
9680 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9681 free. Simplify list management for _LIBC case.
9682
79662d42
JM
96832012-06-21 Joseph Myers <joseph@codesourcery.com>
9684
b7abb4bf
JM
9685 [BZ #14273]
9686 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9687 Clear sign bit of 64-bit integer value before comparing against
9688 overflow value.
9689
79662d42
JM
9690 * sysdeps/mach/configure: Regenerated.
9691
1f150908
L
96922012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9693
9694 [BZ #14278]
9695 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9696
28363bbf
JL
96972012-06-21 Jeff Law <law@redhat.com>
9698
9699 [BZ #13882]
9700 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9701 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 9702 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
9703 * elf/dl-open.c (dl_open_worker): Likewise.
9704
09615db4
CD
97052012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9706
9707 * scripts/list-sources.sh: Scan PORTS for translations.
9708 * po/libc.pot: Regenerated.
9709
2174c6dd
AJ
97102012-06-21 Andreas Jaeger <aj@suse.de>
9711
9712 [BZ #12194]
9713 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9714 warning.
9715 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9716 * bits/byteswap-16.h (__bswap_16): Likewise.
9717 * bits/byteswap.h (__bswap_constant_16): Likewise.
9718
3ee947b1
L
97192012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9720
9721 [BZ #14117]
a2f34833
L
9722 * sysdeps/i386/fpu_control.h: Removed.
9723 * sysdeps/x86_64/fpu_control.h: Moved to ...
9724 * sysdeps/x86/fpu_control.h: Here.
9725
3ee947b1
L
9726 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9727 (_FPU_SETCW): Likewise.
9728
ed1825f8
L
97292012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9730
25f1282a
L
9731 [BZ #14117]
9732 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9733 * sysdeps/x86/fpu/bits/mathinline.h: This.
9734 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9735
ed1825f8
L
9736 [BZ #14050]
9737 [BZ #14117]
9738 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9739 functions if __x86_64__ is defined.
9740
36d54b74
CLT
97412012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9742
9743 * string/endian.h: Add !__ASSEMBLER__ condition for including
9744 conversion interfaces.
9745
10285c21
JM
97462012-06-15 Joseph Myers <joseph@codesourcery.com>
9747
9748 [BZ #14241]
9749 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9750 of ABS(x) in calculating zero to negative powers other than odd
9751 integers.
9752 * math/libm-test.inc (pow_test): Add more tests.
9753
06c5abbd
AJ
97542012-06-15 Andreas Jaeger <aj@suse.de>
9755
9756 * manual/contrib.texi (Contributors): Update entry of Liubov
9757 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9758 Machado Filho.
9759
a3aeac40
CH
97602012-06-15 Cyril Hrubis <metan@ucw.cz>
9761
9762 * string/string.h: Add __wur to GNU version of strerror_r.
9763
49bdf4c1
L
97642012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9765
9766 [BZ #14229]
9767 * string/Makefile (tests): Add tst-strtok_r.
9768 * string/tst-strtok_r.c: New file.
9769 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9770 RAX_LP/RDX_LP on SAVE_PTR.
9771
834f9b8d
RM
97722012-06-14 Roland McGrath <roland@hack.frob.com>
9773
9774 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9775
75fa1921
JM
97762012-06-14 Joseph Myers <joseph@codesourcery.com>
9777
9778 * libm_test.inc (csqrt_test): Allow more spurious underflow
9779 exceptions.
9780 (j0_test): Likewise.
9781 (j1_test): Likewise.
9782 (y0_test): Likewise.
9783 (y1_test): Likewise.
9784
771766df
CD
97852012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9786
9787 * po/Makefile (libc.pot): Use UTF-8 charset.
9788
ceb9e56b
PP
97892012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9790
9791 [BZ #14210]
9792 Suppress sign-conversion warning from FD_SET.
9793 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9794 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9795 not unsigned long int.
9796 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9797
ddb28975
L
97982012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9799
9800 [BZ #14050]
9801 [BZ #14117]
9802 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9803 __extern_always_inline instead of __extern_inline.
9804 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9805 (__signbit): Likewise.
9806 (__signbitl): Support C++ namespace.
9807 (lrintf): New inline function.
9808 (lrint): Likewise.
9809 (llrintf): Likewise.
9810 (llrint): Likewise.
9811 (fmaxf): Likewise.
9812 (fmax): Likewise.
9813 (fminf): Likewise.
9814 (fmin): Likewise.
9815 (rint): Likewise.
9816 (rintf): Likewise.
9817 (ceil): Likewise.
9818 (ceilf): Likewise.
9819 (floor): Likewise.
9820 (floorf): Likewise.
9821 (nearbyint): Likewise.
9822 (nearbyintf): Likewise.
9823
d7b4fb26
TS
98242012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9825
9826 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9827 non-default versions.
9828
eb55f5c2
RM
98292012-06-11 Roland McGrath <roland@hack.frob.com>
9830
9831 [BZ #14218]
9832 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9833
366af02c
TS
98342012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9835
99ff6e5c
TS
9836 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9837 (FE_UPWARD, FE_DOWNWARD): Don't define.
9838 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9839 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9840
366af02c
TS
9841 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9842 reading it.
9843 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9844 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9845
793ea851
KK
98462012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9847
9848 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9849 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9850 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9851 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9852
a728a38f
L
98532012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9854
9855 [BZ #14117]
c08010c7
L
9856 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9857 * sysdeps/i386/fpu/Implies: New file.
9858 * sysdeps/x86_64/fpu/Implies: Likewise.
9859 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9860 * sysdeps/x86/fpu/bits/fenv.h: This.
9861
a728a38f
L
9862 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9863 __SSE_MATH__.
9864
6e230d11
SP
98652012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9866
9867 [BZ #14134]
9868 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9869 character 0xffff that matches the last element of the
9870 conversion table.
9871
1b671feb
AZ
98722012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9873
9874 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9875 fmodl commit.
9876
6043738b
AZ
98772012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9878
9879 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9880 values higher than 25.6283.
9881
34ae0b32
AZ
98822012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9883
9884 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9885 subnormal exponent extraction and add some __builtin_expect.
9886 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9887 Fix for subnormal mantissa calculation.
9888
1214ec8f
MF
98892012-06-04 Mike Frysinger <vapier@gentoo.org>
9890
9891 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9892 cpu2 is -1 and errno is not ENOSYS.
9893
f3d1f93c
L
98942012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9895
9896 [BZ #14117]
0e4a3cd7
L
9897 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9898 * sysdeps/x86/bits/string.h: This.
9899 * sysdeps/x86_64/bits/string.h: Removed.
9900
6704c645
L
9901 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9902 if not compiling for x86-64, but compiling for >= i486.
9903
48495318
L
9904 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9905 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9906
14adcbfc
L
9907 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9908 New macro from Linux kernel 3.4.0.
9909 (FP_XSTATE_MAGIC2): Likewise.
9910 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9911 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9912 (struct _fpx_sw_bytes): New struct.
9913 (struct _xsave_hdr): Likewise.
9914 (struct _ymmh_state): Likewise.
9915 (struct _xstate): Likewise.
9916
68e408ab
L
9917 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9918 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9919 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9920 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9921 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9922 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9923
f3d1f93c
L
9924 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9925 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9926 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9927 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9928 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9929 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9930
d9dc34cd
TMQMF
99312012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9932
9933 [BZ #13743]
9934 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9935 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9936 (sysdep_headers): Include sys/platform/ppc.h.
9937 * sysdeps/powerpc/test-gettimebase.c: Test for
9938 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9939 * manual/Makefile (appendices): Include platform.texi.
9940 * manual/contrib.texi (Contributors): Update @node pointers.
9941 * manual/maint.texi (Maintenance): Likewise.
9942 (Platform): New node.
9943 * manual/platform.texi: New file. Document the new features.
9944
4af3879c
SP
99452012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9946 Jakub Jelinek <jakub@redhat.com>
9947
9948 [BZ #14188]
9949 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9950 where __builtin_expect is unavailable.
9951
2fd6ff13
DM
99522012-06-03 David S. Miller <davem@davemloft.net>
9953
9954 * stdlib/longlong.h: Updated from GCC.
9955
173f7220
AS
99562012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9957
9958 [BZ #14042]
9959 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9960 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9961 __mcount_internal.
9962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9963 (GLIBC_2.16): Likewise.
9964
f34a1c6f
L
99652012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9966
9967 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9968
88a4576f
JM
99692012-06-01 Joseph Myers <joseph@codesourcery.com>
9970
ea32bcdd
JM
9971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9972 (default-abi): New variable.
9973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9974 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9975 variable.
9976 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9977 Likewise.
9978 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9979 Likewise.
9980 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9981 Likewise.
9982
88a4576f
JM
9983 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9984 definition. Document in comment.
9985
402fe938
DM
99862012-06-01 David S. Miller <davem@davemloft.net>
9987
9988 * stdlib/longlong.h: Updated from GCC.
9989
3553723f
L
99902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9991
9992 [BZ #14117]
3bd872c4
L
9993 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9994 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9995 sys/debugreg.h sys/io.h here.
9996 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9997 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9998 sys/io.h.
9999 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10000 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10001 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10002 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10003 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10004 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10005
3553723f
L
10006 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10007 Define only if __x86_64__ is defined.
10008
4842e4fe
JM
100092012-06-01 Joseph Myers <joseph@codesourcery.com>
10010
c5bfe3d5
JM
10011 [BZ #14048]
10012 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10013 Use int64_t for variable i.
10014 * math/libm-test.inc (fmod_test): Add more tests.
10015
4842e4fe
JM
10016 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10017 z computation is not scheduled after fetestexcept.
10018 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10019 Use math_force_eval instead of asm to ensure calculation scheduled
10020 before exception test.
10021 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10022 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10023
efb73488
AJ
100242012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10025
10026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10027 computation is not scheduled after fetestexcept.
10028
29bcce7c
L
100292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10030
10031 [BZ #14117]
10032 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10033 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10034
73a68f94
AZ
100352012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10036
10037 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10038 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10039
67b6df78
L
100402012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10041
edf2933a 10042 [BZ #14117]
ebc64a18
L
10043 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10044 <bits/wordsize.h>.
10045 (__WCHAR_MIN): Support __WORDSIZE == 64.
10046 (__WCHAR_MAX): Likewise.
10047
edf2933a
L
10048 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10049 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10050
57c6cf40
L
10051 [BZ #14183]
10052 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10053 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10054
67b6df78 10055 [BZ #14117]
8eb6281e
L
10056 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10057 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10058
aac639f4
L
10059 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10060 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10061
67b6df78
L
10062 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10063 Defined to 1 if __x86_64__ isn't defined.
10064 (_STAT_VER_LINUX_OLD): New.
10065 (st_atime): Remove duplicate.
10066 (st_mtime): Likewise.
10067 (st_ctime): Likewise.
10068
1c2cfe81
DM
100692012-05-31 David S. Miller <davem@davemloft.net>
10070
10071 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10072 entries.
10073
5be8418c
AS
100742012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10075
e7725326
AS
10076 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10077 gen-libm-test.pl.
10078
5be8418c
AS
10079 [BZ #14132]
10080 * elf/dl-reloc.c: Include <_itoa.h>.
10081 (_dl_reloc_bad_type): Remove use of INTUSE.
10082 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10083 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10084 * stdio-common/psiginfo.c (psiginfo): Likewise.
10085 * stdio-common/psignal.c (psignal): Likewise.
10086 * string/strsignal.c (strsignal): Likewise.
10087 * include/signal.h (_sys_siglist): Declare hidden proto.
10088 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10089 INTVARDEF with libc_hidden_data_def.
10090 * stdio-common/itoa-udigits.c: Likewise.
10091 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10092 (_itoa_lower_digits_internal): Remove declaration.
10093 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10094 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10095 (_sys_sigabbrev_internal): Remove aliases.
10096 (_sys_siglist): Define hidden alias.
10097
507352f1
MT
100982012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10099
10100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10101 bits/sysctl.h.
10102
42bbb1c3
L
101032012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10104
10105 [BZ #14117]
6bd784b6
L
10106 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10107 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10108
8bca20f0
L
10109 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10110 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10111 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10112 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10113 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10114 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10115
f9e890a9
L
10116 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10117 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10118 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10119
471101a1
L
10120 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10121 with __addr.
10122 (insw): Likewise.
10123 (insl): Likewise.
10124 (outsb): Likewise.
10125 (outsw): Likewise.
10126 (outsl): Likewise.
10127
6451c862
L
10128 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10129 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10130 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10131
a254b8c9
L
10132 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10133 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10134 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10135 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10136 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10137 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10138
b8dfdd92
L
10139 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10140 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10141
578cd270
L
10142 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10143 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10144
de662f5f
L
10145 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10146 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10147 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10148
25653439
L
10149 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10150 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10151 to ...
10152 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10153
6bad24a0
L
10154 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10155 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10156 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10157
42bbb1c3
L
10158 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10159 for x86-64.
10160 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10161
2d10d547
JM
101622012-05-31 Joseph Myers <joseph@codesourcery.com>
10163
10164 * math/math.h (M_El): Use two more decimal places.
10165 (M_LOG2El): Likewise.
10166 (M_LOG10El): Likewise.
10167 (M_LN2l): Likewise.
10168 (M_LN10l): Likewise.
10169 (M_PIl): Likewise.
10170 (M_PI_2l): Likewise.
10171 (M_PI_4l): Likewise.
10172 (M_1_PIl): Likewise.
10173 (M_2_PIl): Likewise.
10174 (M_2_SQRTPIl): Likewise.
10175 (M_SQRT2l): Likewise.
10176 (M_SQRT1_2l): Likewise.
10177
f230c29b
DM
101782012-05-31 David S. Miller <davem@davemloft.net>
10179
10180 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10181 values between float registers.
10182 * sysdeps/sparc/sparc64/memset.S: Likewise.
10183 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10184
fed806c3
MF
101852012-05-31 Mike Frysinger <vapier@gentoo.org>
10186
10187 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10188 -D_FORTIFY_SOURCE=1.
10189 (CPPFLAGS-tst-longjmp_chk.c): Define.
10190 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10191 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10192 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10193 CFLAGS-tst-wchar-h.c.
10194
30917259
MP
101952012-05-31 Marek Polacek <polacek@redhat.com>
10196
10197 [BZ #14132]
10198 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10199 __endmntent_internal): Remove declaration.
10200 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10201 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10202 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10203
1c58d5dc
DM
102042012-05-30 David S. Miller <davem@davemloft.net>
10205
10206 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10207 (___Q_simulate_exceptions): Use real FP ops rather than writing
10208 into the %fsr.
10209 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10210 Likewise.
10211
7dc00e0d
L
102122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10213
10214 [BZ #14117]
0bd53985
L
10215 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10216 * sysdeps/x86/bits/xtitypes.h: This.
10217
3a257e66
L
10218 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10219 * sysdeps/x86/bits/wordsize.h: This.
10220
62f62904
L
10221 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10222 * sysdeps/x86/bits/huge_vall.h: This.
10223
404fe9d9
L
10224 * sysdeps/i386/bits/select.h: Removed.
10225 * sysdeps/x86_64/bits/select.h: Renamed to ...
10226 * sysdeps/x86/bits/select.h: This.
10227
d48d0446
L
10228 * sysdeps/i386/bits/setjmp.h: Removed.
10229 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10230 * sysdeps/x86/bits/setjmp.h: This.
10231
7dc00e0d
L
10232 * sysdeps/i386/bits/mathdef.h: Removed.
10233 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10234 * sysdeps/x86/bits/mathdef.h: This.
10235
03277f8f
AS
102362012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10237
10238 [BZ #14132]
10239 * include/sys/socket.h (__connect_internal)
10240 (__libc_sa_len_internal): Remove declaration.
10241 (__connect, __libc_sa_len): Declare hidden_proto.
10242 (SA_LEN): Remove use of INTUSE.
10243 * socket/connect.c: Add libc_hidden_def.
10244 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10245 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10246 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10247 alias.
10248 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10249 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10250 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10251 of adding _internal alias.
10252
13764867
L
102532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10254
10255 [BZ #14117]
6bd97696
L
10256 * sysdeps/i386/bits/link.h: Removed.
10257 * sysdeps/i386/bits/linkmap.h: Likewise.
10258 * sysdeps/x86_64/bits/link.h: Renamed to ...
10259 * sysdeps/x86/bits/link.h: This.
10260 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10261 * sysdeps/x86/bits/linkmap.h: This.
10262
f726f0bb
L
10263 * sysdeps/i386/bits/endian.h: Removed.
10264 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10265 * sysdeps/x86/bits/endian.h: This.
10266
13764867
L
10267 * sysdeps/i386/bits/byteswap.h: Removed.
10268 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10269 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10270 * sysdeps/x86/bits/byteswap.h: This.
10271 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10272 * sysdeps/x86/bits/byteswap-16.h: This.
10273 * sysdeps/i386/Implies: Add x86.
10274 * sysdeps/x86_64/Implies: Likewise.
10275
ae251b0b
DM
102762012-05-30 David S. Miller <davem@davemloft.net>
10277
10278 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10279 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10280 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10281 (FP_TRAPPING_EXCEPTIONS): Define.
10282 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10283 (FP_TRAPPING_EXCEPTIONS): Define.
10284 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10285 subnormals only when inexact has been signalled or underflow
10286 exceptions are enabled.
10287 (_FP_PACK_CANONICAL): Likewise.
10288
d5c90867
L
102892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10290
10291 [BZ #14183]
10292 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10293 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10294
63f1549e
RH
102952012-05-30 Richard Henderson <rth@twiddle.net>
10296
8d8f2279
RH
10297 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10298 with #ifndef NOT_IN_libc.
10299
63f1549e
RH
10300 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10301 marked to avoid plt entry.
10302
0ab0291b
L
103032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10304
10305 [BZ #14112]
10306 * Makeconfig (default-abi): New macro.
10307 (abi-includes): Likewise.
10308 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10309 $(abi-$(default-abi)-lib-soname) for soname if defined.
10310 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10311 abi-variants.
10312 * Makefile (installed-stubs): Likewise.
10313 * include/stubs-biarch.h: Removed.
10314 * scripts/lib-names.awk: Only handle one library at a time.
10315 * scripts/soversions.awk: Remove WORDSIZE support.
10316 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10317 entries.
10318 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10319 Removed.
10320 (syscall-list-default-condition): Likewise.
10321 (syscall-list-default-condition): Likewise.
10322 (syscall-list-includes): Likewise.
10323 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10324 syscall-list-* with abi-*. Handle undefined abi-variants.
10325 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10326 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10327 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10328 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10329 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10330 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10331 Removed.
10332 (syscall-list-32-options): Likewise.
10333 (syscall-list-32-condition): Likewise.
10334 (syscall-list-64-options): Likewise.
10335 (syscall-list-64-condition): Likewise.
10336 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10337 macro.
10338 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10339 Renamed to ...
10340 (abi-*): This.
10341 (abi-64-ld-soname): New macro.
10342 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10343 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10344 Renamed to ...
10345 (abi-*): This.
10346 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10347 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10348
4da0431d
JM
103492012-05-30 Joseph Myers <joseph@codesourcery.com>
10350
3a85279c
JM
10351 * sysdeps/unix/sysv/linux/kernel-features.h
10352 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10353 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10354 include <kernel-features.h>.
10355 [!__NR_ftruncate64]: Remove conditional code.
10356 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10357 [__NR_ftruncate64]: Make code unconditional.
10358 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10359 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10360 include <kernel-features.h>.
10361 [!__NR_ftruncate64]: Remove conditional code.
10362 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10363 [__NR_ftruncate64]: Make code unconditional.
10364 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10366 include <kernel-features.h>.
10367 [!__NR_ftruncate64]: Remove conditional code.
10368 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10369 [__NR_ftruncate64]: Make code unconditional.
10370 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10372 include <kernel-features.h>.
10373 [!__NR_ftruncate64]: Remove conditional code.
10374 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10375 [__NR_ftruncate64]: Make code unconditional.
10376 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10377
4da0431d
JM
10378 * configure.in (libc_cv_fpie): Weaken to a compile test using
10379 LIBC_TRY_CC_OPTION.
10380 * configure: Regenerated.
10381
11ef492c
AK
103822012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10383
10384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10388 Refreshed.
10389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10395 Refreshed.
10396
d66ef399
DM
103972012-05-27 David S. Miller <davem@davemloft.net>
10398
10399 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10400 (___Q_zero): New.
10401 (__Q_simulate_exceptions): Return void. Change to simulate
10402 exceptions by writing into the %fsr.
10403 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10404 (__Qp_handle_exceptions): Likewise.
10405 (numbers): Delete.
10406 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10407 __Qp_handle_exceptions.
10408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10409 __Qp_handle_exceptions.
10410 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10411 as unused and give dummy FP_RND_NEAREST initializer.
10412 (FP_INHIBIT_RESULTS): Define.
10413 (___Q_simulate_exceptions): Update declaration.
10414 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10415 formatting.
10416 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10417 as unused and give dummy FP_RND_NEAREST initializer.
10418 (__Qp_handle_exceptions): Update declaration.
10419 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10420 formatting.
10421
04fb54b5
TS
104222012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10423
10424 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10425 the temporary FPU control word.
10426 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10427 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10428 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10429 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10430 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10431 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10432 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10433 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10434 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10435 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10436 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10437
3f99608f
KK
104382012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10439
10440 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10441 fields.
10442
65a4de4e
CLT
104432012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10444
10445 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10446 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10447 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10448 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10449 Likewise.
10450 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10451 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10452 Likewise.
10453
15749d40
UD
104542012-05-27 Ulrich Drepper <drepper@gmail.com>
10455
10456 * po/h.po: Update from translation team.
10457
25dbcb27
AS
104582012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10459
3d3f8e55
AS
10460 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10461
25dbcb27
AS
10462 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10463 handling of denormals.
10464 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10465 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10466 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10467 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10468 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10469 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10470 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10471 Likewise.
10472
7ad47a80 104732012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
10474
10475 [BZ #14152]
10476 * math/libm-test.inc (fma_test): Don't always expect underflow
10477 exception.
10478
9c6ea9fa
SP
104792012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10480
10481 [BZ #12416]
10482 * elf/tst-execstack.c: Include stackinfo.h.
10483 (do_test): Adjust test case to ensure that pthread_getattr_np
10484 behaviour remains the same after marking stack executable.
10485
a8239222
JM
104862012-05-25 Joseph Myers <joseph@codesourcery.com>
10487
10488 * sysdeps/unix/sysv/linux/kernel-features.h
10489 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10490 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10491 kernel-features.h.
10492 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10493 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10494 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10495 kernel-features.h.
10496 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10497 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10498
918b5606
L
104992012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10500
10501 * configure.in: Define the default includes to being none.
10502 * configure: Regenerated.
10503
3a097cc7
RM
105042012-05-25 Roland McGrath <roland@hack.frob.com>
10505
8422c9a5
RM
10506 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10507 * sysdeps/x86_64/setjmp.S: Likewise.
10508 * sysdeps/i386/bsd-setjmp.S: Likewise.
10509 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10510 * sysdeps/i386/setjmp.S: Likewise.
10511 * sysdeps/i386/__longjmp.S: Likewise.
10512 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10513 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10514
3a097cc7
RM
10515 * include/stap-probe.h: New file.
10516 * configure.in: Handle --enable-systemtap.
10517 * configure: Regenerated.
10518 * config.h.in (USE_STAP_PROBE): New #undef.
10519 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10520 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10521 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10522
21708942
JM
105232012-05-25 Joseph Myers <joseph@codesourcery.com>
10524
10525 [BZ #13717]
10526 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10527 to 2.4.0 where earlier.
10528 * sysdeps/unix/sysv/linux/configure: Regenerated.
10529 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10530 <kernel-features.h>.
10531 [__ASSUME_32BITUIDS]: Make code unconditional.
10532 [!__ASSUME_32BITUIDS]: Remove conditional code.
10533 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10534 <kernel-features.h>.
10535 [__ASSUME_32BITUIDS]: Make code unconditional.
10536 [!__ASSUME_32BITUIDS]: Remove conditional code.
10537 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10538 [__ASSUME_32BITUIDS]: Make code unconditional.
10539 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10540 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10541 <kernel-features.h>.
10542 [__ASSUME_32BITUIDS]: Make code unconditional.
10543 [!__ASSUME_32BITUIDS]: Remove conditional code.
10544 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10545 <kernel-features.h>.
10546 [__ASSUME_32BITUIDS]: Make code unconditional.
10547 [!__ASSUME_32BITUIDS]: Remove conditional code.
10548 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10549 <kernel-features.h>.
10550 [__ASSUME_32BITUIDS]: Make code unconditional.
10551 [!__ASSUME_32BITUIDS]: Remove conditional code.
10552 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10553 <kernel-features.h>.
10554 [__ASSUME_32BITUIDS]: Make code unconditional.
10555 [!__ASSUME_32BITUIDS]: Remove conditional code.
10556 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10557 <kernel-features.h>.
10558 [__ASSUME_32BITUIDS]: Make code unconditional.
10559 [!__ASSUME_32BITUIDS]: Remove conditional code.
10560 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10561 <kernel-features.h>.
10562 [__ASSUME_32BITUIDS]: Make code unconditional.
10563 [!__ASSUME_32BITUIDS]: Remove conditional code.
10564 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10565 <kernel-features.h>.
10566 [__ASSUME_32BITUIDS]: Make code unconditional.
10567 [!__ASSUME_32BITUIDS]: Remove conditional code.
10568 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10569 <kernel-features.h>.
10570 [__ASSUME_32BITUIDS]: Make code unconditional.
10571 [!__ASSUME_32BITUIDS]: Remove conditional code.
10572 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10573 <kernel-features.h>.
10574 [__ASSUME_32BITUIDS]: Make code unconditional.
10575 [!__ASSUME_32BITUIDS]: Remove conditional code.
10576 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10577 <kernel-features.h>.
10578 [__ASSUME_32BITUIDS]: Make code unconditional.
10579 [!__ASSUME_32BITUIDS]: Remove conditional code.
10580 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10581 <kernel-features.h>.
10582 [__NR_setresgid] (__setresgid): Do not declare.
10583 [__ASSUME_32BITUIDS]: Make code unconditional.
10584 [!__ASSUME_32BITUIDS]: Remove conditional code.
10585 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10586 <kernel-features.h>.
10587 [__NR_setresuid] (__setresuid): Do not declare.
10588 [__ASSUME_32BITUIDS]: Make code unconditional.
10589 [!__ASSUME_32BITUIDS]: Remove conditional code.
10590 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10591 <kernel-features.h>.
10592 [__ASSUME_32BITUIDS]: Make code unconditional.
10593 [!__ASSUME_32BITUIDS]: Remove conditional code.
10594 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10595 <kernel-features.h>.
10596 [__ASSUME_32BITUIDS]: Make code unconditional.
10597 [!__ASSUME_32BITUIDS]: Remove conditional code.
10598 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10599 <kernel-features.h>.
10600 [__ASSUME_32BITUIDS]: Make code unconditional.
10601 [!__ASSUME_32BITUIDS]: Remove conditional code.
10602 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10603 <kernel-features.h>.
10604 [__ASSUME_32BITUIDS]: Make code unconditional.
10605 [!__ASSUME_32BITUIDS]: Remove conditional code.
10606 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10607 <kernel-features.h>.
10608 [__ASSUME_32BITUIDS]: Make code unconditional.
10609 [!__ASSUME_32BITUIDS]: Remove conditional code.
10610 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10611 <kernel-features.h>.
10612 [__ASSUME_32BITUIDS]: Make code unconditional.
10613 [!__ASSUME_32BITUIDS]: Remove conditional code.
10614 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10615 <kernel-features.h>.
10616 [__ASSUME_32BITUIDS]: Make code unconditional.
10617 [!__ASSUME_32BITUIDS]: Remove conditional code.
10618 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10619 <kernel-features.h>.
10620 [__ASSUME_32BITUIDS]: Make code unconditional.
10621 [!__ASSUME_32BITUIDS]: Remove conditional code.
10622 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10623 <kernel-features.h>.
10624 [__ASSUME_32BITUIDS]: Make code unconditional.
10625 [!__ASSUME_32BITUIDS]: Remove conditional code.
10626 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10627 <kernel-features.h>.
10628 [__ASSUME_32BITUIDS]: Make code unconditional.
10629 [!__ASSUME_32BITUIDS]: Remove conditional code.
10630 * sysdeps/unix/sysv/linux/kernel-features.h
10631 (__ASSUME_SETRESUID_SYSCALL): Remove.
10632 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10633 (__ASSUME_32BITUIDS): Likewise.
10634 (__ASSUME_LDT_WORKS): Likewise.
10635 (__ASSUME_O_DIRECTORY): Likewise.
10636 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10637 architecture but not kernel version.
10638 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10639 (__ASSUME_MMAP2_SYSCALL): Likewise.
10640 (__ASSUME_STAT64_SYSCALL): Likewise.
10641 (__ASSUME_IPC64): Likewise.
10642 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10643 <kernel-features.h>.
10644 [__ASSUME_32BITUIDS]: Make code unconditional.
10645 [!__ASSUME_32BITUIDS]: Remove conditional code.
10646 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10647 <kernel-features.h>.
10648 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10649 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10650 132096]: Remove conditional code.
10651 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10652 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10653 <kernel-features.h>.
10654 [__ASSUME_32BITUIDS]: Make code unconditional.
10655 [!__ASSUME_32BITUIDS]: Remove conditional code.
10656 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10657 <kernel-features.h>.
10658 [__ASSUME_32BITUIDS]: Make code unconditional.
10659 [!__ASSUME_32BITUIDS]: Remove conditional code.
10660 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10661 <kernel-features.h>.
10662 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10663 unconditional.
10664 (__setresgid): Do not declare.
10665 [__ASSUME_32BITUIDS]: Make code unconditional.
10666 [!__ASSUME_32BITUIDS]: Remove conditional code.
10667 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10668 <kernel-features.h>.
10669 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10670 unconditional.
10671 (__setresuid): Do not declare.
10672 [__ASSUME_32BITUIDS]: Make code unconditional.
10673 [!__ASSUME_32BITUIDS]: Remove conditional code.
10674 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10675 <kernel-features.h>.
10676 [__ASSUME_32BITUIDS]: Make code unconditional.
10677 [!__ASSUME_32BITUIDS]: Remove conditional code.
10678 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10679 <kernel-features.h>.
10680 [__ASSUME_32BITUIDS]: Make code unconditional.
10681 [!__ASSUME_32BITUIDS]: Remove conditional code.
10682
a386f1cc
RH
106832012-05-25 Richard Henderson <rth@twiddle.net>
10684
10685 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10686 dl_hwcap to ifunc resolver.
10687 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10688 elf_ifunc_invoke.
10689 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10690 dl_hwcap to ifunc resolver.
10691 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10692
b6550497
JM
106932012-05-24 Joseph Myers <joseph@codesourcery.com>
10694
10695 [BZ #14153]
10696 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10697 for |x| <= 2**-26, not 2**-57.
10698 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10699 exception.
10700
b0bc23a1
JL
107012012-05-24 Jeff Law <law@redhat.com>
10702
10703 * stdio-common/Makefile (tests): Add bug25.
10704 * stdio-common/bug25.c: New test.
10705
347c92e9
L
107062012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10707
10708 [BZ #13576]
10709 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10710 multiple of MALLOC_ALIGNMENT in size.
10711 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10712
6bcc8b3f
JM
107132012-05-24 Joseph Myers <joseph@codesourcery.com>
10714
10715 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10716 Require >= 256.
10717 (FILENAME_MAX): Use macro-int-constant.
10718 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10719 (_IOFBF): Use macro-int-constant.
10720 (_IOLBF): Likewise.
10721 (_IONBF): Likewise.
10722 (SEEK_CUR): Likewise.
10723 (SEEK_END): Likewise.
10724 (SEEK_SET): Likewise.
10725 (TMP_MAX): Likewise.
10726 (EOF): Use macro-int-constant. Require < 0.
10727 (NULL): Use macro-constant. Require == 0.
10728 (stdin): Require type to be FILE *.
10729 (stdout): Likewise.
10730 (stderr): Likewise.
10731 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10732 macro-int-constant.
10733 (EXIT_SUCCESS): Likewise.
10734 (NULL): Use macro-constant. Require == 0.
10735 (RAND_MAX): Use macro-int-constant.
10736 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10737 [C99-based standards] (strtof): Require function.
10738 [C99-based standards] (strtold): Likewise.
10739 [C99-based standards] (strtoll): Likewise.
10740 [C99-based standards] (strtoull): Likewise.
10741 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10742 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10743 [ISO || ISO99 || ISO11] (math.h): Likewise.
10744 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10745 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10746 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10747
d18ea0c5
AS
107482012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10749
10750 [BZ #14132]
56d25bb8
AS
10751 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10752 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10753 * intl/dgettext.c (DCGETTEXT): Likewise.
10754 * intl/gettext.c (DCGETTEXT): Likewise.
10755 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10756 * posix/regex_internal.h (gettext): Likewise.
10757 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10758 Remove declaration.
10759 * include/argz.h (__argz_count_internal)
10760 (__argz_stringify_internal): Remove declaration.
10761 (__argz_count, __argz_stringify): Declare hidden proto.
10762 * intl/dcgettext.c: Remove use of INTDEF.
10763 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10764 * string/argz-stringify.c: Likewise.
10765 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10766 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10767 Declare hidden proto.
d18ea0c5
AS
10768 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10769 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10770 Declare hidden proto.
10771 * include/stdio.h (__asprintf_internal): Don't declare.
10772 (__asprintf): Don't define as macro. Declare hidden proto.
10773 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10774 (__fsetlocking): Declare hidden proto.
10775 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10776 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10777 hidden proto.
10778 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10779 (_IO_setlinebuf): Remove use of INTUSE.
10780 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10781 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10782 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10783 Remove declaration.
10784 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10785 (_IO_do_flush): Remove use of INTUSE.
10786 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10787 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10788 (_IO_adjust_column, _IO_least_wmarker)
10789 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10790 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10791 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10792 (_IO_default_doallocate, _IO_wdefault_doallocate)
10793 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10794 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10795 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10796 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10797 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10798 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10799 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10800 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10801 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10802 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10803 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10804 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10805 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10806 proto.
10807 (_IO_flush_all_internal, _IO_adjust_column_internal)
10808 (_IO_default_uflow_internal, _IO_default_finish_internal)
10809 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10810 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10811 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10812 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10813 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10814 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10815 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10816 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10817 (_IO_file_close_internal, _IO_file_close_it_internal)
10818 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10819 (_IO_file_init_internal, _IO_file_attach_internal)
10820 (_IO_file_fopen_internal, _IO_file_read_internal)
10821 (_IO_file_sync_internal, _IO_file_seek_internal)
10822 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10823 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10824 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10825 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10826 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10827 (_IO_list_all_internal, _IO_link_in_internal)
10828 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10829 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10830 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10831 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10832 (_IO_do_write_internal, _IO_padn_internal)
10833 (_IO_getline_info_internal, _IO_getline_internal)
10834 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10835 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10836 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10837 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10838 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10839 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10840 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10841 with libc_hidden_ver, remove use of INTUSE.
10842 * libio/genops.c: Likewise.
10843 * libio/freopen.c: Likewise.
10844 * libio/freopen64.c: Likewise.
10845 * libio/iofclose.c: Likewise.
10846 * libio/iofdopen.c: Likewise.
10847 * libio/iofflush.c: Likewise.
10848 * libio/iofflush_u.c: Likewise.
10849 * libio/iofgets.c: Likewise.
10850 * libio/iofgets_u.c: Likewise.
10851 * libio/iofopen.c: Likewise.
10852 * libio/iofopncook.c: Likewise.
10853 * libio/iofread.c: Likewise.
10854 * libio/iofread_u.c: Likewise.
10855 * libio/ioftell.c: Likewise.
10856 * libio/iofwrite.c: Likewise.
10857 * libio/iogetline.c: Likewise.
10858 * libio/iogets.c: Likewise.
10859 * libio/iogetwline.c: Likewise.
10860 * libio/iopadn.c: Likewise.
10861 * libio/iopopen.c: Likewise.
10862 * libio/ioseekoff.c: Likewise.
10863 * libio/ioseekpos.c: Likewise.
10864 * libio/iosetbuffer.c: Likewise.
10865 * libio/iosetvbuf.c: Likewise.
10866 * libio/ioungetc.c: Likewise.
10867 * libio/ioungetwc.c: Likewise.
10868 * libio/iovdprintf.c: Likewise.
10869 * libio/iovsprintf.c: Likewise.
10870 * libio/iovsscanf.c: Likewise.
10871 * libio/memstream.c: Likewise.
10872 * libio/obprintf.c: Likewise.
10873 * libio/oldfileops.c: Likewise.
10874 * libio/oldiofclose.c: Likewise.
10875 * libio/oldiofdopen.c: Likewise.
10876 * libio/oldiofopen.c: Likewise.
10877 * libio/oldiopopen.c: Likewise.
10878 * libio/oldstdfiles.c: Likewise.
10879 * libio/putc.c: Likewise.
10880 * libio/setbuf.c: Likewise.
10881 * libio/setlinebuf.c: Likewise.
10882 * libio/stdfiles.c: Likewise.
10883 * libio/strops.c: Likewise.
10884 * libio/vasprintf.c: Likewise.
10885 * libio/vscanf.c: Likewise.
10886 * libio/vsnprintf.c: Likewise.
10887 * libio/vswprintf.c: Likewise.
10888 * libio/wfiledoalloc.c: Likewise.
10889 * libio/wfileops.c: Likewise.
10890 * libio/wgenops.c: Likewise.
10891 * libio/wmemstream.c: Likewise.
10892 * libio/wstrops.c: Likewise.
10893 * libio/__fpurge.c: Likewise.
10894 * libio/__fsetlocking.c: Likewise.
10895 * assert/assert.c: Likewise.
10896 * debug/fgets_chk.c: Likewise.
10897 * debug/fgets_u_chk.c: Likewise.
10898 * debug/fread_chk.c: Likewise.
10899 * debug/fread_u_chk.c: Likewise.
10900 * debug/gets_chk.c: Likewise.
10901 * debug/obprintf_chk.c: Likewise.
10902 * debug/vasprintf_chk.c: Likewise.
10903 * debug/vdprintf_chk.c: Likewise.
10904 * debug/vsnprintf_chk.c: Likewise.
10905 * debug/vsprintf_chk.c: Likewise.
10906 * malloc/mtrace.c: Likewise.
10907 * misc/error.c: Likewise.
10908 * misc/syslog.c: Likewise.
10909 * stdio-common/asprintf.c: Likewise.
10910 * stdio-common/fxprintf.c: Likewise.
10911 * stdio-common/getw.c: Likewise.
10912 * stdio-common/isoc99_fscanf.c: Likewise.
10913 * stdio-common/isoc99_scanf.c: Likewise.
10914 * stdio-common/isoc99_vfscanf.c: Likewise.
10915 * stdio-common/isoc99_vscanf.c: Likewise.
10916 * stdio-common/isoc99_vsscanf.c: Likewise.
10917 * stdio-common/printf-prs.c: Likewise.
10918 * stdio-common/printf_fp.c: Likewise.
10919 * stdio-common/printf_fphex.c: Likewise.
10920 * stdio-common/printf_size.c: Likewise.
10921 * stdio-common/putw.c: Likewise.
10922 * stdio-common/scanf.c: Likewise.
10923 * stdio-common/sprintf.c: Likewise.
10924 * stdio-common/tmpfile.c: Likewise.
10925 * stdio-common/vfprintf.c: Likewise.
10926 * stdio-common/vfscanf.c: Likewise.
10927 * stdlib/strfmon_l.c: Likewise.
10928 * sunrpc/openchild.c: Likewise.
10929 * sunrpc/xdr_stdio.c: Likewise.
10930 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10931 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10932
d6c33fda
RM
109332012-05-24 Roland McGrath <roland@hack.frob.com>
10934
c1487492
RM
10935 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10936
10937 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10938 in the third column, to generate for the shared library an IFUNC
10939 that uses _dl_vdso_vsym.
10940 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10941 * Makeconfig (object-suffixes-noshared): New variable.
10942
10943 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10944 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10945 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10946 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10947
d6c33fda
RM
10948 [BZ #14132]
10949 * include/sys/time.h (__gettimeofday): Remove macro.
10950 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10951 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10952 Remove INTDEF.
10953 (__gettimeofday): Add libc_hidden_def.
10954 (gettimeofday): Add libc_hidden_weak.
10955 * sysdeps/mach/gettimeofday.c: Likewise.
10956 * sysdeps/posix/gettimeofday.c: Likewise.
10957 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10958 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10959 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10960 (__gettimeofday_internal): Remove strong_alias.
10961 (__gettimeofday): Add libc_hidden_def.
10962 (gettimeofday): Add libc_hidden_weak.
10963 * sysdeps/unix/syscalls.list (gettimeofday):
10964 Remove __gettimeofday_internal alias.
10965
b5a2bbe6
L
109662012-05-24 Daniel Jacobowitz <drow@false.org>
10967 H.J. Lu <hongjiu.lu@intel.com>
10968
10969 [BZ #12495]
10970 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10971 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10972 (largebin_index_32_big): New.
10973 (largebin_index): Use it for 16-byte alignment.
10974 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10975 correction with front_misalign.
10976
cfba4fda
L
109772012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10978
7f907421
L
10979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10981 Likewise.
10982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10983 Likewise.
10984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10985 Likewise.
10986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10987 Likewise.
10988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10989 Likewise.
10990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10991 Likewise.
10992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10993 Likewise.
10994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10995 Likewise.
10996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10997 Likewise.
10998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10999 Likewise.
11000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11001 Likewise.
11002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11003 Likewise.
11004
cfba4fda
L
11005 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11006 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11007
80bad0cc
JM
110082012-05-24 Joseph Myers <joseph@codesourcery.com>
11009
7a25eb06
JM
11010 [BZ #10846]
11011 [BZ #14036]
11012 * math/libm-test.inc (exp_test): Add test from bug 14036.
11013 (pow_test): Add test from bug 10846.
11014
795405f9
JM
11015 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11016 and other flags.
11017 (special_function): Do not include flags in test name.
11018 (parse_args): Likewise.
11019 * sysdeps/i386/fpu/libm-test-ulps: Update.
11020 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11021 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11022 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11024
80bad0cc
JM
11025 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11026 exceptions.
11027 * math/libm-test.inc ("Philosophy"): Update comment about
11028 exception testing.
11029 (UNDERFLOW_EXCEPTION): New macro.
11030 (UNDERFLOW_EXCEPTION_OK): Likewise.
11031 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11032 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11033 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11034 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11035 (INVALID_EXCEPTION_OK): Update value.
11036 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11037 (OVERFLOW_EXCEPTION_OK): Likewise.
11038 (IGNORE_ZERO_INF_SIGN): Likewise.
11039 (test_exceptions): Handle underflow exceptions.
11040 (acos_test): Update for underflow exception expectations.
11041 (cexp_test): Likewise.
11042 (clog_test): Likewise.
11043 (clog10_test): Likewise.
11044 (csqrt_test): Likewise.
11045 (ctan_test): Likewise.
11046 (ctanh_test): Likewise.
11047 (exp_test): Likewise.
11048 (exp10_test): Likewise.
11049 (exp2_test): Likewise.
11050 (expm1_test): Likewise.
11051 (fma_test): Likewise.
11052 (j0_test): Likewise.
11053 (jn_test): Likewise.
11054 (nexttoward_test): Likewise.
11055 (pow_test): Likewise.
11056 (scalbn_test): Likewise.
11057 (scalbln_test): Likewise.
11058 (tan_test): Likewise.
11059 (y1_test): Likewise.
11060 * sysdeps/i386/fpu/libm-test-ulps: Update.
11061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11062
9e0e3d0b
DM
110632012-05-23 David S. Miller <davem@davemloft.net>
11064
11065 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11066 (__libc_sigaction): Remove unused local variables.
11067
ccd0a08f
L
110682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11069
11070 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11071
62bdf9a6
PE
110722012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11073
f8591f80
PE
11074 mktime: avoid signed integer overflow
11075 * time/mktime.c (__mktime_internal): Do not mishandle the case
11076 where diff == INT_MIN.
11077
94c7d826
PE
11078 mktime: simplify computation of average
11079 * time/mktime.c (ranged_convert): Use new time_t_avg function
11080 instead of rolling our own (probably-slower) code.
11081
ce73d683
PE
11082 mktime: do not assume signed right shift propagates sign bit
11083 * time/mktime.c (isdst_differ): New static function.
11084 (__mktime_internal): No need to normalize tm_isdst now.
11085 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11086 tm_isdst values.
11087
72a22e59
PE
11088 mktime: merge another wrapv change from gnulib
11089 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11090 from some compilers.
11091
68605433
PE
11092 mktime: remove incorrect attempt at unusual arithmetics
11093 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11094 The code didn't really work on such machines anyway.
11095 (TYPE_MINIMUM): Assume two's complement.
11096 (twos_complement_arithmetic): Verify that long_int and time_t
11097 are two's complement (or unsigned, in the latter case).
11098
03cf7fe3
PE
11099 mktime: check signed shifts on long_int and time_t, too
11100 * time/mktime.c (SHR): Check that shifts work as desired
11101 on the types long_int and time_t too, as SHR is used on
11102 such types.
11103
f04dfbc2
PE
11104 mktime: do not assume 'long' is wide enough
11105 * time/mktime.c (verify): Move decl up.
11106 (long_int): New type.
11107 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11108 to remove assumption in the code that 'long' is wide enough to
11109 store year values. This assumption is not true on x32 and on
11110 some non-glibc platforms.
11111
62bdf9a6
PE
11112 mktime: merge wrapv change from gnulib
11113 * time/mktime.c (WRAPV): New macro.
11114 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11115 (guess_time_tm, __mktime_internal): Do not assume that signed
11116 integer overflow wraps around; modern compilers generate code
11117 where this assumption is no longer valid.
11118
5e292e4f
L
111192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11120
11121 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11122 Replace "jmp L(pseudo_end)" with "ret".
11123 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11124 Likewise.
11125
8caf8c87
AJ
111262012-05-23 Andreas Jaeger <aj@suse.de>
11127
11128 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11129 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11130
1a09dc56
AJ
111312012-05-23 Andreas Jaeger <aj@suse.de>
11132 Maximilian Attems <max@stro.at>
11133
11134 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11135 New macros.
11136
1c87aba0
L
111372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11138
11139 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11140 code so that pseudo_end is just ret and the stack pointer is
11141 correct also for static library in error case.
11142
40e45bd5
JM
111432012-05-23 Joseph Myers <joseph@codesourcery.com>
11144
c2670533
JM
11145 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11146 move to syscalls.list.
11147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11151
40e45bd5
JM
11152 * manual/install.texi (Running make install): Do not mention Linux
11153 kernel version for which pt_chown is not needed.
11154 (Linux): Do not mention problems with nscd with 2.0 kernels.
11155 * INSTALL: Regenerated.
11156
be08eda5
AJ
111572012-05-23 Andreas Jaeger <aj@suse.de>
11158
11159 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11160 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11161 macro.
11162 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11163 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11164 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11165 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11166 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11167 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11168 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11169 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11170 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11171 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11172 * sysdeps/unix/sysv/linux/bits/in.h
11173 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11174
a6a056bb
RM
111752012-05-22 Roland McGrath <roland@hack.frob.com>
11176
11177 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11178 (PREPARE_VERSION): Just use assert instead, it will be elided
11179 under [NDEBUG] anyway.
11180
c9009328
L
111812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11182
11183 * sysdeps/unix/sysv/linux/Makefile: Include
11184 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 11185 (sysdep_routines): Remove sysctl.
c9009328
L
11186 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11187 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11188 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11189 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11190 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11191
73338355
AJ
111922012-05-22 Andreas Jaeger <aj@suse.de>
11193
11194 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11195 that pseudo_end is just ret and the stack pointer is correct also
11196 for static library in error case.
11197
d44638b0
PP
111982012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11199
11200 [BZ #14122]
11201 * nss/nsswitch.c (defconfig_entries): New variable.
11202 (__nss_database_lookup): Don't leak defconfig entries.
11203 (nss_parse_service_list): Don't leak on error paths.
11204 (free_database_entries): New function.
11205 (free_defconfig): New function.
11206 (free_mem): Move common code to free_database_entries.
11207
31a39bd8
L
112082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11209
da0331a8
L
11210 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11211 Add arch_prctl.
11212 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11213
31a39bd8
L
11214 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11215 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11217 New macro.
11218 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11219 (INTERNAL_SYSCALL_TYPES): Likewise.
11220 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11221 (LOAD_REGS_TYPES_[1-6]): Likewise.
11222 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11223 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11224
45470df3
AZ
112252012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11226
11227 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11228 copysignl for GLIBC_2_0.
11229 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11230 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11231 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11232 logbl for GLIBC_2_0.
11233 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11234 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11235
98a61bcb
L
112362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11237
a4f6e481
L
11238 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11239 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11240
f63d5db6
L
11241 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11242 Use "neg %eax".
11243
98a61bcb
L
11244 * time/mktime.c: Update copyright years.
11245
95770f14
PE
112462012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11247
6226efbd
PE
11248 mktime: merge comment-quoting-style change from gnulib
11249 * time/mktime.c: Quote 'like this' in comments.
11250 The GNU coding standards suggest that we no longer quote `like this',
11251 as "`" and "'" are typically rendered asymmetrically nowadays.
11252 The typical gnulib style is to quote 'like this' when quoting
11253 code, and "like this" when quoting English.
11254
b99e4f78
PE
11255 * time/mktime.c (compile-command): Add "-I.".
11256
643e01e6
PE
11257 mktime: merge mktime-internal.h change from gnulib
11258 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11259
2554247d
PE
11260 mktime: merge time_r change from gnulib
11261 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11262
826dd0ab
PE
11263 mktime: merge DEBUG change from gnulib
11264 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11265 case system <time.h> has a #define.
11266
bd83aabe
PE
11267 mktime: merge <sys/types.h> change from gnulib
11268 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11269 since <time.t> is now guaranteed to define time_t.
11270
95770f14
PE
11271 mktime: merge HAVE_CONFIG_H change from gnulib
11272 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11273
5e1a27a9
L
112742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11275
0e44a77e
L
11276 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11277 Use "neg %eax".
11278
5e1a27a9
L
11279 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11280 __rlim_t cast.
11281 (struct rusage): Use anonymous union to pad each field to
11282 __syscall_slong_t.
11283
46259bec
DM
112842012-05-21 David S. Miller <davem@davemloft.net>
11285
11286 * Makefules (o-iterator): Remove .s cases.
11287 (compile-command.s): Delete.
11288 (COMPILE.s): Delete.
11289 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11290
59f0c22e
JM
112912012-05-21 Joseph Myers <joseph@codesourcery.com>
11292
11293 * configure.in (libc_cv_predef_stack_protector): Only consider
11294 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11295 * configure: Regenerated.
11296
20c07380
L
112972012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11298
bbb3154b
L
11299 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11300 New macro. Use R*LP on int and pointer.
11301 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
11302 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11303 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
11304 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11305
20c07380
L
11306 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11307 [__WORDSIZE_TIME64_COMPAT32] instead of
11308 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11309 (struct utmp): Likewise.
11310 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11311 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11312 Renamed to ...
11313 (__WORDSIZE_TIME64_COMPAT32): This.
11314 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11315 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11316 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11317 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11318 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11319 (__WORDSIZE_TIME64_COMPAT32): New macro.
11320
d8d1017e
AJ
113212012-05-21 Andreas Jaeger <aj@suse.de>
11322
11323 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11324 only if [SHARED]. Add prototype for __wcschr_ia32.
11325
6c7fb145
RM
113262012-05-21 Roland McGrath <roland@hack.frob.com>
11327
11328 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11329 of %rbp unmolested in the jmp_buf while mangling the low bits.
11330 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11331 unmolested high bits of %rbp while demangling the low bits.
11332 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11333
66274218
AJ
113342012-05-21 Andreas Jaeger <aj@suse.de>
11335
07c58f8f
AJ
11336 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11337 * sunrpc/svc_simple.c: Use it for registerrpc.
11338 * sunrpc/xcrypt.c: Use it for passwd2des.
11339
66274218
AJ
11340 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11341
61f65140
L
113422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11343
11344 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11345 Don't define if [__SYSCALL_WORDSIZE != 32].
11346 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11347 New macro.
11348
5fefb436
AJ
113492012-05-21 Bruno Haible <bruno@clisp.org>
11350 Andreas Jaeger <aj@suse.de>
11351
11352 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11353 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11354 inptr and inend for must_buffer_ch.
11355 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11356 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11357 * stdio-common/Makefile (tests): Remove bug15.
11358 (bug15-ENV): Remove macro.
11359 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11360 anymore.
11361
d8e272ab
AJ
113622012-05-19 Andreas Jaeger <aj@suse.de>
11363 Roland McGrath <roland@hack.frob.com>
11364
11365 * manual/contrib.texi: Completely rewritten. It contains now an
11366 alphabetical list of contributors and their contributions.
11367
4a56a162
RH
113682012-05-21 Richard Henderson <rth@twiddle.net>
11369
11370 * misc/getauxval.c (__getauxval): Use unsigned long int.
11371 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11372 (getauxval): Use unsigned long int.
11373
d024d23c
L
113742012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11375
11376 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11377
cbc00a03
RM
113782012-05-21 Roland McGrath <roland@hack.frob.com>
11379
11380 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11381 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11382 __alignof__ (long double).
11383
478143fa
AZ
113842012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11385
11386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11387
c7683a6d
RH
113882012-05-20 Richard Henderson <rth@twiddle.net>
11389
11390 * misc/getauxval.c: New file.
11391 * misc/sys/auxv.h: New file.
11392 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11393 (routines): Add getauxval.
11394 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11395 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11396 * elf/dl-sysdep.c (_dl_auxv): Remove.
11397 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11398 * elf/dl-support.c (_dl_auxv): New variable.
11399 (_dl_aux_init): Initialize it.
11400 * manual/startup.texi (Auxiliary Vector): New node.
11401 * sysdeps/generic/bits/hwcap.h: New file.
11402 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11403 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11404 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11405 * sysdeps/sparc/sysdep.h: ... here. Include it.
11406 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11407 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
11408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11409 Update.
c7683a6d
RH
11410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11413 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11418
a6f1845d
AZ
114192012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11420
11421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11422
cbcbe830
DM
114232012-05-19 David S. Miller <davem@davemloft.net>
11424
11425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11426
e0b16cc2
JM
114272012-05-19 Joseph Myers <joseph@codesourcery.com>
11428
11429 [BZ #14123]
11430 * math/s_ccosh.c: Include <float.h>
11431 (__ccosh): Avoid internal overflow calculating sinh and cosh
11432 values before multiplying by sin and cos values.
11433 * math/s_ccoshf.c: Likewise.
11434 * math/s_ccoshl.c: Likewise.
11435 * math/s_csin.c: Likewise.
11436 * math/s_csinf.c: Likewise.
11437 * math/s_csinl.c: Likewise.
11438 * math/s_csinh.c: Likewise.
11439 * math/s_csinhf.c: Likewise.
11440 * math/s_csinhl.c: Likewise.
11441 * math/libm-test.inc (ccos_test): Add more tests.
11442 (ccosh_test): Likewise.
11443 (csin_test): Likewise.
11444 (csinh_test): Likewise.
11445 * sysdeps/i386/fpu/libm-test-ulps: Update.
11446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11447
6ad13e08
L
114482012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11449
f66f0ce8
L
11450 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11451 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11452
6ad13e08
L
11453 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11454
b1d072a7
JM
114552012-05-19 Joseph Myers <joseph@codesourcery.com>
11456
11457 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11458 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11459 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11460 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11461 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11462 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11463 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11464 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11465 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11466 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11467 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11468 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11469 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11470 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11471 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11472 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11473 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11474 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11475 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11476 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11477 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11478 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11479 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11480 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11481 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11482 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11483 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11484 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11485 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11486 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11487 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11488
9eae47cb
AJ
114892012-05-18 Andreas Jaeger <aj@suse.de>
11490
11491 * csu/.gitignore: Delete.
11492
bb07f69f
L
114932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11494
11495 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11496 (timex): Use __syscall_slong_t.
11497
e6bdb741
AJ
114982012-05-18 Andreas Jaeger <aj@suse.de>
11499 Carlos O'Donell <carlos_odonell@mentor.com>
11500
11501 * manual/install.texi (Configuring and compiling): Update
11502 description about files modified in the source directory.
d6c33fda 11503 * INSTALL: Regenerated.
e6bdb741 11504
1b74487e
L
115052012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11506
11507 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11508 value. Use "or" to set return value to -1.
11509 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11510 negate return value.
11511
a88b64b9
TMQMF
115122012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11513
11514 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11515 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11516 failure if the compiler has Graphite support disabled.
11517 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11518 Likewise.
11519 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11520 CFLAGS-memmove.c): Likewise.
11521 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11522 Likewise.
11523
3707636e
L
115242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11525
610b8622
L
11526 * sysdeps/x86_64/x32/_itoa.h: New file.
11527
7cd195df
L
11528 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11529 getdents system call only if kernel and user dirents have the
11530 same d_ino and d_off.
11531
94b07d20
L
11532 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11533 LLONG_MAX != LONG_MAX.
11534 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11535 (_fitoa_word): Likewise.
11536
18298070
L
11537 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11538 years.
11539 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11540 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11541 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11542
553c7ea4
L
11543 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11544 include <bits/wordsize.h>. Check __x86_64__ instead of
11545 __WORDSIZE.
11546 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11547 if __x86_64__ is defined. Use anonymous union on fpstate.
11548
3707636e
L
11549 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11550 anonymous union.
11551
b53ef01a
AS
115522012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11553
37fb1dc0
AS
11554 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11555 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11556 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11557 Refer to _rtld_local_ro instead of _rtld_global_ro.
11558 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11559 Likewise.
11560 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11561 Likewise.
11562 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11563 Likewise.
11564 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11565 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11566 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11567
b53ef01a
AS
11568 * sysdeps/powerpc/powerpc32/dl-machine.c
11569 (__elf_machine_runtime_setup) [PROF]: Don't reference
11570 _dl_prof_resolve.
11571
7a185db2
AJ
115722012-05-18 Andreas Jaeger <aj@suse.de>
11573
11574 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11575 function only available for GCCs before 3.4 since GCC 3.4
11576 introduced a builtin.
11577 (lrint): Likewise.
11578 (llrintf): Likewise.
11579 (llrint): Likewise.
11580 (fmaxf): Likewise.
11581 (fmax): Likewise.
11582 (fminf): Likewise.
11583 (fmin): Likewise.
11584 (rint): Likewise.
11585 (rintf): Likewise.
11586 (nearbyint): Likewise.
11587 (nearbyintf): Likewise.
11588 (ceil): Likewise.
11589 (ceilf): Likewise.
11590 (floor): Likewise.
11591 (floorf): Likewise.
11592
3e5aef87
L
115932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11594
428bd707
L
11595 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11596 on both fields and cast pointer to __syscall_ulong_t.
11597
3e5aef87
L
11598 * bits/types.h (__fsword_t): New type.
11599 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11600 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11601 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11602 (__FSWORD_T_TYPE): Likewise.
11603 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11604 (__FSWORD_T_TYPE): Likewise.
11605 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11606 (__FSWORD_T_TYPE): Likewise.
11607 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11608 (__FSWORD_T_TYPE): Likewise.
11609 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11610 __SWORD_TYPE with __fsword_t.
11611 (statfs64): Likewise.
11612
1ba7c3dc
DM
116132012-05-17 David S. Miller <davem@davemloft.net>
11614
11615 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11616
59910343
AJ
116172012-05-17 Andreas Jaeger <aj@suse.de>
11618
11619 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11620 warning.
11621
2e4c1e9e
L
116222012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11623
11624 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11625
de7f5ce7
AJ
116262012-05-17 Andreas Jaeger <aj@suse.de>
11627
11628 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11629 when it is used.
11630
286abc3d
CM
116312012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11632
11633 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11634
477cc68e
L
116352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11636
11637 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11638 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11639
1a0994f5
CD
116402012-05-17 Andreas Jaeger <aj@suse.de>
11641 Carlos O'Donell <carlos_odonell@mentor.com>
11642
11643 [BZ #14059]
11644 * sysdeps/x86_64/multiarch/init-arch.h
11645 (bit_YMM_Usable): Rename to...
11646 (bit_AVX_Usable): ... this.
11647 (bit_FMA4_Usable): New macro.
11648 (bit_XMM_state): New macro.
11649 (bit_YMM_state): New macro.
11650 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11651 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11652 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11653 (CPUID_OSXSAVE): New macro.
11654 (CPUID_AVX): New macro.
11655 (CPUID_FMA4): New macro.
11656 (index_YMM_Usable): Rename to...
11657 (index_AVX_Usable): ... this.
11658 (HAS_AVX): Use HAS_ARCH_FEATURE.
11659 (HAS_FMA4): Likewise.
11660 (HAS_YMM_USABLE): Remove.
11661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11662 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11663 are present.
11664 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11665 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11666 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11667 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11668 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11669
0af797de
CM
116702012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11671
11672 * math/libm-test.c: Support platforms without multiple rounding modes.
11673 * math/bug-nextafter.c: Support platforms without FP exceptions.
11674 * math/bug-nexttoward.c: Likewise.
11675 * math/test-fenv.c: Likewise.
11676 * math/test-misc.c: Likewise.
11677 * stdlib/bug-getcontext.c: Likewise.
11678
e39745ff
AJ
116792012-05-17 Andreas Jaeger <aj@suse.de>
11680
11681 * manual/examples/search.c (critter_cmp): Change signature to
11682 avoid warnings.
11683 * manual/string.texi (Collation Functions): Likewise.
11684
48970aba
L
116852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11686
11687 * bits/types.h: Fold copyright years.
11688 * bits/typesizes.h: Likewise.
11689 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11690 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11691 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11692 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11693 * time/time.h: Likewise.
11694
bedee953
PP
116952012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11696
11697 [BZ #208]
11698 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11699 in instead of returning them. Return void.
11700 (__libc_mallinfo): Accumulate over all arenas.
11701 (__malloc_stats): Adjust for change in int_mallinfo interface.
11702
61653dfb
RM
117032012-05-16 Roland McGrath <roland@hack.frob.com>
11704
30b99d79
RM
11705 [BZ #10375]
11706 * configure.in (NM): Add AC_CHECK_TOOL for it.
11707 (libc_extra_cflags): New substituted variable.
11708 Check for -fstack-protector being used implicitly.
11709 * configure: Regenerated.
11710 * config.make.in (config-extra-cflags): New variable,
11711 gets @libc_extra_cflags@.
11712 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11713
61653dfb
RM
11714 [BZ #10375]
11715 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11716 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11717 * configure: Regenerated.
11718 * config.make.in (CPPUNDEFS): New substituted variable.
11719 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11720 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11721 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11722
661768bb
L
117232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11724
11725 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11726 (mq_attr): Use __syscall_slong_t.
11727
d4261567
L
117282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11729
11730 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11731 Check __x86_64__ instead of __WORDSIZE.
11732 (_STAT_VER_LINUX): Likewise.
11733 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11734 __syscall_ulong_t and __syscall_slong_t.
11735 (stat64): Likewise.
11736
cf3ff365
L
117372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11738
11739 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11740
76cf3e4d
L
117412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11742
11743 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11744
a637753a
L
117452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11746
11747 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11748 __syscall_ulong_t.
11749
d5e05119
L
11750 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11751 include <bits/wordsize.h>. Check __x86_64__ instead of
11752 __WORDSIZE.
11753 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11754 defined.
11755 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11756
f62ee380
L
11757 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11758 include <bits/wordsize.h>. Check __x86_64__ instead of
11759 __WORDSIZE.
11760 (user_regs_struct): Use "__extension__ unsigned long long"
11761 instead of "unsigned long" if __x86_64__ is defined.
11762 (user): Likewise. Pad after pointer field if __ILP32__ is
11763 defined.
11764
4e124ced
JM
117652012-05-16 Joseph Myers <joseph@codesourcery.com>
11766
6a3951a0
JM
11767 * configure.in (makeinfo): Require version 4.5 or later. Allow
11768 versions 5 to 9.
11769 * configure: Regenerated.
11770 * manual/install.texi (texinfo): Increase version requirement to
11771 4.5 or later.
11772 * INSTALL: Regenerated.
11773
4e124ced
JM
11774 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11775
953ca31a
L
117762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11777
11778 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11779
617aca05
L
11780 * sysdeps/x86_64/x32/ffs.c: New file.
11781
5762f7ae
L
11782 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11783 __syscall_ulong_t.
11784 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11785 defined. Use __syscall_ulong_t.
11786 (shminfo): Use __syscall_ulong_t.
11787 (shm_info): Likewise.
11788
a26b6856
L
11789 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11790 __syscall_ulong_t.
11791
cb2b9ef7
L
11792 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11793 <bits/wordsize.h>.
11794 (msgqnum_t): Use __syscall_ulong_t.
11795 (msglen_t): Likewise.
11796 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11797 __syscall_ulong_t.
11798
34683bb0
L
11799 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11800 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11801
84a68786
L
11802 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11803
48baa5f1
L
11804 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11805 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11806
180be88b
L
11807 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11808 __syscall_slong_t.
11809
5e90c8ad
L
11810 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11811 include <bits/wordsize.h>. Check __x86_64__ instead of
11812 __WORDSIZE.
11813
23dfb58b
L
11814 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11815 "unsigned long long int" if __x86_64__ is defined.
11816 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11817
ce5d54b0
L
11818 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11819 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11820 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11821
13dc9eac
L
11822 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11823 <stdint.h>.
11824 (GET_PC): Cast to uintptr_t first.
11825 (GET_FRAME): Likewise.
11826 (GET_STACK): Likewise.
11827
a7895d15
L
11828 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11829 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11830 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11831 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11832 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11833 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11834 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11835 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11836 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11837 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11838 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11839 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11840 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11841 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11842 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11843 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11844 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11845 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11846 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11847 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11848 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11849 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11850 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11851 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11852 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11853 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11854 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11855 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11856 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11857
656416c9
AS
118582012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11859
5bd66283
AS
11860 * Makerules (+depfiles): Also collect depfiles from .oS in
11861 $(extra-objs).
11862 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11863 .oS, $(libnldbl-routines)).
11864
656416c9
AS
11865 * Makerules (native-compile-mkdep-flags): Define.
11866 * sunrpc/Makefile (extra-objs): Add $(addprefix
11867 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11868 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11869 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11870 calling $(make-target-directory).
11871
a46f2169
L
118722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11873
11874 * bits/types.h (__snseconds_t): Removed.
11875 * time/time.h (struct timespec): Replace __snseconds_t with
11876 __syscall_slong_t.
11877 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11878 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11879 Likewise.
11880 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11881 (__SNSECONDS_T_TYPE): Likewise.
11882 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11883 (__SNSECONDS_T_TYPE): Likewise.
11884 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11885 (__SNSECONDS_T_TYPE): Likewise.
11886
6af6528b
L
118872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11888
11889 * sysdeps/mach/hurd/bits/typesizes.h
11890 (__SYSCALL_SLONG_TYPE): New macro.
11891 (__SYSCALL_ULONG_TYPE): Likewise.
11892
de986b56
L
118932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11894
11895 * bits/types.h (__syscall_slong_t): New type.
11896 (__syscall_ulong_t): Likewise.
11897
11898 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11899 (__SYSCALL_ULONG_TYPE): Likewise.
11900 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11901 (__SYSCALL_SLONG_TYPE): Likewise.
11902 (__SYSCALL_ULONG_TYPE): Likewise.
11903 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11904 (__SYSCALL_SLONG_TYPE): Likewise.
11905 (__SYSCALL_ULONG_TYPE): Likewise.
11906 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11907 (__SYSCALL_SLONG_TYPE): Likewise.
11908 (__SYSCALL_ULONG_TYPE): Likewise.
11909
85736dc7
L
119102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11911
11912 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11913 Add sigaltstack-offsets.sym.
11914 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11915 <sigaltstack-offsets.h>.
11916 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11917 longjmp_msg pointer.
11918 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11919 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11920 signal stack.
11921 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11922
cc03b296
JM
119232012-05-15 Joseph Myers <joseph@codesourcery.com>
11924
a9538892
JM
11925 * elf/stackguard-macros.h: Remove file.
11926 * sysdeps/generic/stackguard-macros.h: New file.
11927 * sysdeps/i386/stackguard-macros.h: Likewise.
11928 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11929 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11930 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11931 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11932 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11933 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11934 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11935 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11936 <elf/stackguard-macros.h>.
11937
cc03b296
JM
11938 [BZ #14109]
11939 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11940 __aligned__ in attribute.
11941 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11942 (gregset_t): Likewise.
11943
93171016
L
119442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11945
11946 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11947 * sysdeps/x86_64/64/Implies-after: Here. New file.
11948 * sysdeps/x86_64/x32/Implies-after: New file.
11949
d86813a0
L
119502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11951
11952 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11953 and access return value for _dl_profile_fixup. Use R10_LP to
11954 load frame size.
11955
2953ec75
L
119562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11957
11958 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11959
3b550e9e
L
119602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11961
11962 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11963 * sysdeps/x86_64/x32/sysdep.h: New file.
11964
eda41706
L
119652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11966
11967 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11968 * sysdeps/x86_64/setjmp.S: Likewise.
11969
9ea01d93
AZ
119702012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11971
11972 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11973 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11974 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11975 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11976 remove unused global constant.
11977
02a91938
CM
119782012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11979
11980 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11981 include of <not-cancel.h>.
11982
6540185f
RM
119832012-05-15 Roland McGrath <roland@hack.frob.com>
11984
11985 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11986
509072a0
AJ
119872012-05-15 Jeff Law <law@redhat.com>
11988 Andreas Jaeger <aj@suse.de>
11989
11990 [BZ #13594]
11991 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11992 out from...
11993 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11994 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11995 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11996 code changing __hst_map_handle.map.
11997
ba75122d
RM
119982012-05-15 Roland McGrath <roland@hack.frob.com>
11999
12000 * configure.in (sysnames): Look for Implies-before and Implies-after
12001 files.
12002 * configure: Regenerated.
12003
890d8bd8
L
120042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12005
12006 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12007 8-byte data alignment with LP_SIZE alignment.
12008
f6ee6623
L
120092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12010
12011 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12012 into R10_LP.
12013
ea2626f6
L
120142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12015
12016 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12017
085f715e
L
120182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12019
12020 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12021 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12022 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12023 Likewise.
12024 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12025
be8498fc
L
120262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12027
12028 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12029 (stackinfo_sub_sp): Likewise.
12030
70bc83b9
L
120312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12032
12033 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12034 RAX_LP.
12035
9bc0b730
L
120362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12037
12038 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12039 into R*_LP.
12040
6d2850e7
L
120412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12042
12043 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12044 sizes into R*_LP.
12045
3cb84561
L
120462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12047
12048 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12049
54e2ed81
L
120502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12051
12052 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12053 into R11_LP and load __x86_64_shared_cache_size_half into
12054 R8_LP.
12055
8a17f349
L
120562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12057
12058 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12059 R8_LP.
12060
777b1eea
AZ
120612012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12062
12063 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12064 logb for POWER7.
12065 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12066 logbf for POWER7.
12067 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12068 logbl for POWER7.
12069 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12070 powerpc32/power7/fpu/s_logb.c via #include.
12071 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12072 powerpc32/power7/fpu/s_logbf.c via #include.
12073 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12074 powerpc32/power7/fpu/s_logbl.c via #include.
12075
d20d4ac2
JM
120762012-05-15 Joseph Myers <joseph@codesourcery.com>
12077
12078 * README.libm: Remove file.
12079
6cdef1ab
L
120802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12081
12082 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12083 count for x32. Use R*_LP and omit operand-size suffix.
12084
0b254d8f
L
120852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12086
12087 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12088 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12089 * sysdeps/x86_64/x32/shlib-versions: New file.
12090
ceb809dc
RM
120912012-05-14 Roland McGrath <roland@hack.frob.com>
12092
12093 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12094 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12095 Use _dl_fatal_printf instead.
12096
37f1abd4
JM
120972012-05-14 Joseph Myers <joseph@codesourcery.com>
12098
12099 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12100 set if not set by the user. Do not allow for being unset.
12101 * sysdeps/unix/sysv/linux/configure: Regenerated.
12102
11de3a33
L
121032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12104
12105 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12106 the `q' suffix from lea and replace .quad with ASM_ADDR.
12107
e02f153a
L
121082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12109
12110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12111 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12112 instead of $17.
12113 (PTR_DEMANGLE): Likewise.
12114
520ae0fd
L
121152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12116
12117 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12118 (LP_OP): Likewise.
12119 (ASM_ADDR): Likewise.
12120 (RAX_LP): Likewise.
12121 (RBP_LP): Likewise.
12122 (RBX_LP): Likewise.
12123 (RCX_LP): Likewise.
12124 (RDI_LP): Likewise.
12125 (RSI_LP): Likewise.
12126 (RSP_LP): Likewise.
12127 (R8_LP): Likewise.
12128 (R9_LP): Likewise.
12129 (R10_LP): Likewise.
12130 (R10_LP): Likewise.
12131 (R11_LP): Likewise.
12132 (R12_LP): Likewise.
12133 (R13_LP): Likewise.
12134 (R14_LP): Likewise.
12135 (R15_LP): Likewise.
12136
b985be81
L
121372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12138
12139 * sysdeps/x86_64/x32/dl-machine.h: New file.
12140
6a4888ff
AJ
121412012-05-14 Andreas Jaeger <aj@suse.de>
12142
12143 * manual/Makefile (subdir): Remove export of subdir.
12144 (all): Remove target.
12145 (.PHONY): Remove all from list.
12146 (mkinstalldirs): Remove.
12147 (.PHONY): Remove installdirs from list.
12148 ($(inst_infodir)/libc.info): Use make-target-directory.
12149 (installdirs): Remove.
12150 (subdir_%): Remove.
12151 (glibc-targets): Remove.
12152 (lib): Remove.
12153 (stubs): Remove.
12154 ($(objpfx)stubs ../po/manual.pot): Remove.
12155 ($(objpfx)stamp%): Remove.
12156 (make-target-directory): Remove.
12157 (subdir_install): Remove.
12158 (routines): Remove.
12159 (aux): Remove.
12160 (sources): Remove.
12161 (objects): Remove.
12162 (headers): Remove.
12163
12164 [BZ #13750]
12165 * manual/.gitignore: Remove, it's not needed anymore.
12166 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12167 all files in it.
12168 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12169 directory.
12170 (texis): Renamed to $(objpfx)texis.
12171 (texis-path): New, contains path to generated files.
12172 (chapters.%): Use texis-path for complete path, add extra argument
12173 libc-texinfo.sh.
12174 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12175 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12176 (summary,texi, stamp-summary): Use complete path of
12177 files. Generate files in build dir.
12178 (dir-add.texi): Build in build dir.
12179 (libm-err.texi,stamp-libm-err): Likewise.
12180 (version.texi, stamp-version): Likewise.
12181 (.%c.texi): Likewise.
12182 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12183 (mostlyclean): Remove target.
12184 (realclean): Remove target.
12185 (generated): Add new variable with contents from mostlyclean and
12186 realclean, remove entries duplicated in common-mostlyclean, add
12187 stamp-libm-err and stamp-version.
12188 (generated-dirs): Add libc directory.
12189 ($(inst_infodir)/libc.info): Install files from build dir.
12190
12191 * manual/install.texi (Configuring and compiling): Adjust since
12192 the info files are not part of the tar ball anymore.
12193
7ac77294
AJ
121942012-05-14 Andreas Jaeger <aj@suse.de>
12195
12196 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12197 variable.
12198
ffb7875d
JM
121992012-05-14 Joseph Myers <joseph@codesourcery.com>
12200
12201 [BZ #13717]
12202 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12203 to 2.2.0 where earlier.
12204 * sysdeps/unix/sysv/linux/configure: Regenerated.
12205 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12206 Remove conditional code.
12207 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12208 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12209 Remove conditional code.
12210 [!__NR_lchown]: Likewise.
12211 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12212 [__NR_lchown]: Likewise.
12213 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12214 comment referencing __ASSUME_LCHOWN_SYSCALL.
12215 * sysdeps/unix/sysv/linux/i386/sigaction.c
12216 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12217 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12218 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12219 Remove conditional code.
12220 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12221 (__protocol_available): Remove #if 0 code.
12222 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12223 conditional code.
12224 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12225 * sysdeps/unix/sysv/linux/kernel-features.h
12226 (__ASSUME_GETCWD_SYSCALL): Don't define.
12227 (__ASSUME_REALTIME_SIGNALS): Likewise.
12228 (__ASSUME_PREAD_SYSCALL): Likewise.
12229 (__ASSUME_PWRITE_SYSCALL): Likewise.
12230 (__ASSUME_POLL_SYSCALL): Likewise.
12231 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12232 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12233 non-SPARC.
12234 (__ASSUME_SIOCGIFNAME): Don't define.
12235 (__ASSUME_MSG_NOSIGNAL): Likewise.
12236 (__ASSUME_SENDFILE): Define unconditionally.
12237 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12238 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12239 conditional code.
12240 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12241 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12242 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12243 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12244 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12245 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12246 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12248 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12249 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12251 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12252 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12254 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12255 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12257 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12258 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12260 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12261 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12263 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12264 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12266 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12267 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12269 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12270 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12271 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12272 Remove conditional code.
12273 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12274 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12275 Remove conditional code.
12276 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12277 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12278 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12279 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12280 Remove conditional code.
12281 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12282 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12283 Remove conditional code.
12284 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12285 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12286 Remove conditional code.
12287 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12288 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12289 Remove conditional code.
12290 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12291 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12292 Remove conditional code.
12293 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12294 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12295 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12296 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12297 * sysdeps/unix/sysv/linux/sigaction.c
12298 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12299 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12300 * sysdeps/unix/sysv/linux/sigpending.c
12301 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12302 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12303 * sysdeps/unix/sysv/linux/sigprocmask.c
12304 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12305 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12306 * sysdeps/unix/sysv/linux/sigsuspend.c
12307 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12308 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12309 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12310 (__libc_missing_rt_sigs): Remove.
12311 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12312 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12313 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12314 Remove conditional code.
12315 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12316 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12317 return 1.
12318 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12319 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12320 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12321 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12322
1bfb7291
AJ
123232012-05-14 Andreas Jaeger <aj@suse.de>
12324
caae5a81
AJ
12325 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12326 it's not used in glibc.
12327 (__coshm1): Likewise.
12328 (__acosh1p): Likewise.
12329 (__sgn): Likewise.
12330
1bfb7291
AJ
12331 * manual/string.texi (Copying and Concatenation): Add missing
12332 variable in concat example.
12333 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12334
c044d724
L
123352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12336
144c5467 12337 [BZ #14103]
c044d724
L
12338 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12339 __builtin_clzl with __builtin_clzll.
12340
2523c62b
L
123412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12342
12343 [BZ #14104]
12344 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12345 libc_freeres_ptr.
12346
d7bb4c42
LD
123472012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12348
12349 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12350 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12351 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12352 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12353
9dc4e1fb
MF
123542012-05-14 Mike Frysinger <vapier@gentoo.org>
12355
12356 * NEWS: Update ia64 info.
12357
c7df0112
AS
123582012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12359
12360 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12361 used as bcopy.
12362
dc70356c
TS
123632012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12364
12365 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12366 * sysdeps/unix/syscalls.list (dup3): Likewise.
12367 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12368 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12369
9fb1a21f
L
123702012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12371
12372 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12373 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12374
4822a2a5
L
123752012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12376
12377 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12378 thread pointer.
12379 (TLS_IE): Use mov/add instead of movq/addq to load thread
12380 pointer.
12381 (TLS_GD_PREFIX): New.
12382 (TLS_GD): Use it.
12383
842b81d6
DM
123842012-05-11 David S. Miller <davem@davemloft.net>
12385
12386 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12387 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12388 (_FPU_SETCW): Likewise.
12389
1cf463cd
L
123902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12391
12392 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12393 is 32-byte aligned.
12394
60cc4a18
AS
123952012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12396
12397 [BZ #11837]
12398 * iconvdata/gb18030.c: Update tables.
12399 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12400 characters specially.
12401 (BODY for TO_LOOP): Add encoding of missing ranges.
12402
febb44a4
TS
124032012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12404
12405 [BZ #13673]
12406 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12407 * sysdeps/mach/hurd/dup3.c: Likewise.
12408 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12409 * sysdeps/powerpc/memmove.c:: Likewise.
12410
0a10fb9e
L
124112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12412
12413 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12414 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12415
df8a552f
L
124162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12417
12418 * elf/elf.h (R_X86_64_RELATIVE64): New.
12419 (R_X86_64_NUM): Updated.
12420 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12421 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12422 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12423 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12424 tst-quad1pie tst-quad2pie
12425 (modules-names): Add tst-quadmod1 tst-quadmod2.
12426 ($(objpfx)tst-quad1): New dependency.
12427 ($(objpfx)tst-quad2): Likewise.
12428 ($(objpfx)tst-quad1pie): Likewise.
12429 ($(objpfx)tst-quad2pie): Likewise.
12430 * sysdeps/x86_64/tst-quad1.c: New file.
12431 * sysdeps/x86_64/tst-quad1pie.c: New file.
12432 * sysdeps/x86_64/tst-quad2.c: Likewise.
12433 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12434 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12435 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12436 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12437 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12438
f34d6f84
ST
124392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12440
f42d41d1
ST
12441 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12442 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12443 * streams/stropts.h (t_scalar_t): Define type.
12444
3c3571fc
ST
12445 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12446 (_PATH_PRESERVE): Set to "/var/lib".
12447 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12448
61f06bd3
ST
12449 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12450 instead of int.
12451
918d4d71
ST
12452 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12453 if __dir_mkfile succeeded.
12454
f34d6f84
ST
12455 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12456 checking for _hurd_dtablesize. Unlock it right after having
12457 finished _hurd_dtable allocation.
12458
10589b4a
TS
124592012-05-10 Thomas Schwinge <thomas@schwinge.name>
12460
674cdbc7
TS
12461 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12462 * sysdeps/mach/hurd/configure: Regenerated.
12463 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12464 special-casing to...
12465 * sysdeps/gnu/configure.in: ... this new file.
12466 * sysdeps/unix/sysv/linux/configure: Regenerated.
12467 * sysdeps/gnu/configure: New generated file.
12468
8e41b99f
TS
12469 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12470 for Linux: use nsec instead of usec, as well as:
12471 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12472 members of type struct timespec.
12473 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12474 New macros.
12475 (struct stat64): Likewise.
12476 (_STATBUF_ST_NSEC): New macro.
12477 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12478
10589b4a
TS
12479 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12480 __strtoul_internal rather than strtoul.
12481
63643c85
PT
124822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12483
12484 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12485 and reject them.
12486
3faebe6a
ST
124872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12488
12489 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12490 which preserves existing values.
12491 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12492
c6474b07
PT
124932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12494
12495 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12496 TIMEOUT values. Return EINVAL for NFDS values either negative or
12497 greater than FD_SETSIZE.
12498
1043890b
ST
124992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12500
12501 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12502 allocated, call __vm_protect to finish enabling the existing space, and
12503 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12504 allocate the remainder.
12505
37ed8b9b
PT
125062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12507
12508 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12509 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12510
db653660
ST
125112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12512
37ed8b9b
PT
12513 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12514 sysdeps/mach/hurd/readlink.c.
b29d4053 12515
db653660
ST
12516 * posix/tst-sysconf.c (posix_options): Only use
12517 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12518 _POSIX_SYNCHRONIZED_IO when they are defined
12519 * sysdeps/mach/hurd/bits/posix_opt.h:
12520 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12521 (_XOPEN_REALTIME): Undefine macro.
12522 (_XOPEN_REALTIME_THREADS): Undefine macro.
12523 (_XOPEN_SHM): Undefine macro.
12524 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12525 macro to -1.
12526 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12527 macro to -1.
12528 (_POSIX_ASYNC_IO): Undefine macro.
12529 (_POSIX_PRIORITIZED_IO): Undefine macro.
12530 (_POSIX_SPIN_LOCKS): Define macro to -1.
12531
ee16e894
ST
12532 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12533 SA_NODEFER, SA_RESETHAND.
12534 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12535 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12536 F_DUPFD_CLOEXEC.
12537
6103ae3b
TS
125382012-05-10 Thomas Schwinge <thomas@schwinge.name>
12539
12540 * elf/Makefile (pldd-modules): Define unconditionally.
12541
80b4e5f3
TS
125422012-05-10 Thomas Schwinge <thomas@schwinge.name>
12543
12544 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12545
edadcbd6
ST
125462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12547
12548 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12549 Return ENOENT when name is empty.
12550 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12551
80694780
TS
125522012-05-10 Thomas Schwinge <thomas@schwinge.name>
12553
1792c087
TS
12554 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12555
80694780
TS
12556 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12557
6b645f0d
ST
125582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12559
80694780
TS
12560 Fix mlock in all cases except non-readable pages.
12561 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12562 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 12563
6b645f0d
ST
12564 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12565 (__mkdir): When path is `/', just fail with EEXIST.
12566 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12567
e468f8a3
TS
125682012-05-10 Thomas Schwinge <thomas@schwinge.name>
12569
12570 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12571 <sys/uio.h> (for writev).
12572 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12573 and <sys/param.h> (for MIN).
12574
a4186cff
PT
125752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12576
12577 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12578 REQUESTED_TIME. Properly set the remaining time and return EINTR
12579 if interrupted.
12580
510bbf14
TS
125812012-05-10 Thomas Schwinge <thomas@schwinge.name>
12582
12583 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12584 Depend on against $(link-rpcuserlibs).
12585
5d5722e8
ST
125862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12587
a4186cff
PT
12588 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12589 (__libc_stack_end): Do not use attribute_relro.
12590 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12591 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 12592 to libthread-provided value.
a4186cff
PT
12593 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12594 attribute_relro.
5d5722e8 12595
37233df9
TS
125962012-05-10 Thomas Schwinge <thomas@schwinge.name>
12597
be971a2b
TS
12598 [BZ #3748]
12599 * bits/libc-lock.h (__libc_once_get): New macro.
12600 * sysdeps/mach/bits/libc-lock.h: Likewise.
12601 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12602 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12603 instead of using implementation details.
12604
37233df9
TS
12605 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12606 * libio/freopen.c: Likewise.
12607 * libio/freopen64.c: Likewise.
12608 * misc/syslog.c: Likewise.
12609 * nscd/connections.c: Likewise.
12610 * nscd/netgroupcache.c: Likewise.
12611 * sysdeps/posix/getcwd.c: Likewise.
12612
38de94a5
RM
126132012-05-10 Roland McGrath <roland@hack.frob.com>
12614
12615 * math/w_ilogbf.c: Add #include <limits.h>.
12616
67530489
ST
126172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12618
a4186cff 12619 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
12620 path instead of returning without unlocking.
12621
67530489
ST
12622 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12623 immediate-write ioctls.
12624 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12625
5aa3a74a
TS
126262012-05-10 Thomas Schwinge <thomas@schwinge.name>
12627
18bad2ae
TS
12628 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12629 __builtin_frame_address instead of making assumptions about the
12630 location of the return address relative to DATA. Force early load of
12631 the return address.
12632 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12633 __builtin_frame_address.
12634
5aa3a74a
TS
12635 dup3 for GNU Hurd.
12636 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12637 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12638 implement dup3 and do some further code clean-ups.
12639 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12640 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12641
ecd0de9a
ST
126422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12643
cd9fa985
ST
12644 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12645
a4186cff
PT
12646 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12647 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12648 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12649 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12650 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12651 d->port.lock.
802ca5a5 12652
a4186cff
PT
12653 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12654 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12655 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 12656
bcf55240
TS
126572012-05-10 Thomas Schwinge <thomas@schwinge.name>
12658
6960eb42
TS
12659 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12660 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12661 definitions.
12662
eb43375f
TS
12663 accept4 for GNU Hurd.
12664 * include/sys/socket.h (__libc_accept4): New prototype.
12665 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12666 to implement __libc_accept4.
12667 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12668 __libc_accept4.
12669 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12670
bcf55240
TS
12671 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12672 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12673 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12674 signal-defines.sym.
12675
6178c55b
ST
126762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12677
a4186cff 12678 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 12679
6f080c2f
TS
126802012-05-10 Thomas Schwinge <thomas@schwinge.name>
12681
12682 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12683 assertion on O_CLOEXEC flag.
12684 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12685 * hurd/intern-fd.c: Likewise.
12686 * hurd/port2fd.c: Likewise.
12687
bcfe3a54
ST
126882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12689
12690 [BZ #3906]
12691 * bits/in.h (IPV6_PKTINFO): Define new macro.
12692 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12693
89c9aa49
AZ
126942012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12695
12696 [BZ #13954]
12697 [BZ #13955]
12698 [BZ #13956]
12699 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12700 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12701 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12702 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12703 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12704 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12705 * math/libm-test.inc (logb_test) : Additional logb tests.
12706
021db4be
AJ
127072012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12708 Andreas Jaeger <aj@suse.de>
12709
12710 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12711 * configure: Regenerated.
12712 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12713 * config.make.in (link-obsolete-rpc): New substituted variable.
12714 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12715 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12716 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12717 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12718 so that libc.a contains the symbols.
12719 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12720 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12721 * sunrpc/auth_none.c: Likewise.
12722 * sunrpc/auth_unix.c: Likewise.
12723 * sunrpc/authdes_prot.c: Likewise.
12724 * sunrpc/authuxprot.c: Likewise.
12725 * sunrpc/clnt_gen.c: Likewise.
12726 * sunrpc/clnt_perr.c: Likewise.
12727 * sunrpc/clnt_raw.c: Likewise.
12728 * sunrpc/clnt_simp.c: Likewise.
12729 * sunrpc/clnt_tcp.c: Likewise.
12730 * sunrpc/clnt_udp.c: Likewise.
12731 * sunrpc/clnt_unix.c: Likewise.
12732 * sunrpc/des_crypt.c: Likewise.
12733 * sunrpc/des_soft.c: Likewise.
12734 * sunrpc/get_myaddr.c: Likewise.
12735 * sunrpc/key_call.c: Likewise.
12736 * sunrpc/key_prot.c: Likewise.
12737 * sunrpc/netname.c: Likewise.
12738 * sunrpc/pm_getmaps.c: Likewise.
12739 * sunrpc/pm_getport.c: Likewise.
12740 * sunrpc/pmap_clnt.c: Likewise.
12741 * sunrpc/pmap_prot.c: Likewise.
12742 * sunrpc/pmap_prot2.c: Likewise.
12743 * sunrpc/pmap_rmt.c: Likewise.
12744 * sunrpc/publickey.c: Likewise.
12745 * sunrpc/rpc_cmsg.c: Likewise.
12746 * sunrpc/rpc_common.c: Likewise.
12747 * sunrpc/rpc_dtable.c: Likewise.
12748 * sunrpc/rpc_prot.c: Likewise.
12749 * sunrpc/rpc_thread.c: Likewise.
12750 * sunrpc/rtime.c: Likewise.
12751 * sunrpc/svc.c: Likewise.
12752 * sunrpc/svc_auth.c: Likewise.
12753 * sunrpc/svc_raw.c: Likewise.
12754 * sunrpc/svc_run.c: Likewise.
12755 * sunrpc/svc_tcp.c: Likewise.
12756 * sunrpc/svc_udp.c: Likewise.
12757 * sunrpc/svc_unix.c: Likewise.
12758 * sunrpc/svcauth_des.c: Likewise.
12759 * sunrpc/xcrypt.c: Likewise.
12760 * sunrpc/xdr.c: Likewise.
12761 * sunrpc/xdr_array.c: Likewise.
12762 * sunrpc/xdr_float.c: Likewise.
12763 * sunrpc/xdr_intXX_t.c: Likewise.
12764 * sunrpc/xdr_mem.c: Likewise.
12765 * sunrpc/xdr_rec.c: Likewise.
12766 * sunrpc/xdr_ref.c: Likewise.
12767 * sunrpc/xdr_sizeof.c: Likewise.
12768 * sunrpc/xdr_stdio.c: Likewise.
12769
b5c086a2
RM
127702012-05-10 Roland McGrath <roland@hack.frob.com>
12771
12772 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12773 change. Update copyright years.
12774
6d74dd09
JM
127752012-05-10 Joseph Myers <joseph@codesourcery.com>
12776
12777 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12778
28e72501
MK
127792012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12780 Joseph Myers <joseph@codesourcery.com>
12781 Paul Pluzhnikov <ppluzhnikov@google.com>
12782
12783 [BZ #14012]
12784 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12785 requiring rpcgen.
12786 [cross-compiling] (extra-libs): Likewise.
12787 [cross-compiling] (extra-libs-others): Likewise.
12788 [cross-compiling] (librpcsvc-routines): Likewise.
12789 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12790 [cross-compiling] (omit-deps): Likewise.
12791 (sunrpc-CPPFLAGS): New variable.
12792 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12793 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12794 (cross-rpcgen-objs): New variable.
12795 (extra-objs): Append $(cross-rpcgen-objs).
12796 ($(cross-rpcgen-objs)): New rule.
12797 ($(objpfx)cross-rpcgen): Likewise.
12798 (rpcgen-cmd): Define to use $(built-program-file). Expand
12799 comment.
12800 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12801 ($(objpfx)x%.stmp): Likewise.
12802 * sunrpc/proto.h [IS_IN_build] (_): Define.
12803 [IS_IN_build] (_libc_intl_domainname): Likewise.
12804
c8c59454
L
128052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12806
12807 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12808 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12809 and R_X86_64_TPOFF64.
12810
6f27cd16
JM
128112012-05-10 Joseph Myers <joseph@codesourcery.com>
12812
12813 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12814 sysdeps/unix/sysv/syscalls.list.
12815 (stime): Likewise.
12816 (utime): Likewise.
12817 * sysdeps/unix/sysv/syscalls.list: Remove file.
12818
02467e1c
PE
128192012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12820
12821 [BZ #3440]
12822 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12823 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12824 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12825 (__LC_IDENTIFICATION): Make these macros useful in #if
12826 expressions, as required by C99.
12827
da392631
AS
128282012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12829
12830 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12831 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12832 after this.
12833
8115f29b
L
128342012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12835
12836 * stdlib/longlong.h: Updated from GCC.
12837
bdd74070
AJ
128382012-05-09 Andreas Jaeger <aj@suse.de>
12839
edfe0dbe
AJ
12840 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12841 default is first entry.
12842 (run_mode): Set type.
12843 (main): Remove informal message about syslog.
12844 (options): Fix typo.
12845
bcfe3a54
ST
12846 [BZ #14053]
12847 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 12848 to asm.
bcfe3a54
ST
12849 (lrint): Likewise.
12850 (llrintf): Likewise.
12851 (llrint): Likewise.
12852 (rint): Likewise.
12853 (rintf): Likewise.
12854 (nearbyint): Likewise.
12855 (nearbyintf): Likewise.
bdd74070 12856
91d8d69e
AJ
128572012-05-09 Andreas Jaeger <aj@suse.de>
12858 Pedro Alves <palves@redhat.com>
12859
12860 * nscd/nscd.c (run_mode): Use enum.
12861 (main): Cleanup coding style issue.
12862
bb90b80b
AJ
128632012-05-09 Alexandre Oliva <aoliva@redhat.com>
12864 Andreas Jaeger <aj@suse.de>
12865
bcfe3a54
ST
12866 * nscd/nscd.c (go_background): Replaced with...
12867 (run_mode): ... this.
bb90b80b 12868 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
12869 (options): Add -F --foreground.
12870 (main): Implement it.
12871 (parse_opt): Parse it.
bb90b80b 12872
1a4b75a1
AJ
128732012-05-09 Andreas Jaeger <aj@suse.de>
12874
12875 [BZ #14083]
12876 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12877 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12878 -Wconversion warning.
12879 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12880 Likewise.
12881
b1cc2472
JM
128822012-05-09 Joseph Myers <joseph@codesourcery.com>
12883
12884 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12885 == 0.
12886 (LC_ALL): Use macro-int-constant.
12887 (LC_COLLATE): Likewise.
12888 (LC_CTYPE): Likewise.
12889 (LC_MESSAGES): Likewise.
12890 (LC_MONETARY): Likewise.
12891 (LC_NUMERIC): Likewise.
12892 (LC_TIME): Likewise.
12893 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12894 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12895 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12896 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12897 Specify type.
12898 [C99-based standards] (float_t): Expect type.
12899 [C99-based standards] (double_t): Expect type.
12900 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12901 type.
12902 [C99-based standards] (HUGE_VALL): Likewise.
12903 [C99-based standards] (INFINITY): Likewise.
12904 [C99-based standards] (NAN): Likewise.
12905 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12906 [C99-based standards] (FP_NAN): Likewise.
12907 [C99-based standards] (FP_NORMAL): Likewise.
12908 [C99-based standards] (FP_SUBNORMAL): Likewise.
12909 [C99-based standards] (FP_ZERO): Likewise.
12910 [C99-based standards] (FP_FAST_FMA): Use
12911 optional-macro-int-constant. Specify type. Require == 1.
12912 [C99-based standards] (FP_FAST_FMAF): Likewise.
12913 [C99-based standards] (FP_FAST_FMAL): Likewise.
12914 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12915 [C99-based standards] (FP_ILOGBNAN): Likewise.
12916 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12917 Specify type.
12918 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12919 [C99-based standards] (math_errhandling): Specify type.
12920 [ISO99 || ISO11] (signgam): Do not allow.
12921 [non-C99-based standards] (copysignf): Do not allow.
12922 [non-C99-based standards] (exp2f): Likewise.
12923 [non-C99-based standards] (log2f): Likewise.
12924 [non-C99-based standards] (modff): Allow.
12925 [non-C99-based standards] (erff): Do not allow.
12926 [non-C99-based standards] (erfcf): Likewise.
12927 [non-C99-based standards] (gammaf): Likewise.
12928 [non-C99-based standards] (hypotf): Likewise.
12929 [non-C99-based standards] (j0f): Likewise.
12930 [non-C99-based standards] (j1f): Likewise.
12931 [non-C99-based standards] (jnf): Likewise.
12932 [non-C99-based standards] (lgammaf): Likewise.
12933 [non-C99-based standards] (tgammaf): Likewise.
12934 [non-C99-based standards] (y0f): Likewise.
12935 [non-C99-based standards] (y1f): Likewise.
12936 [non-C99-based standards] (ynf): Likewise.
12937 [non-C99-based standards] (isnanf): Likewise.
12938 [non-C99-based standards] (acoshf): Likewise.
12939 [non-C99-based standards] (asinhf): Likewise.
12940 [non-C99-based standards] (atanhf): Likewise.
12941 [non-C99-based standards] (cbrtf): Likewise.
12942 [non-C99-based standards] (expm1f): Likewise.
12943 [non-C99-based standards] (ilogbf): Likewise.
12944 [non-C99-based standards] (log1pf): Likewise.
12945 [non-C99-based standards] (logbf): Likewise.
12946 [non-C99-based standards] (nextafterf): Likewise.
12947 [non-C99-based standards] (remainderf): Likewise.
12948 [non-C99-based standards] (rintf): Likewise.
12949 [non-C99-based standards] (scalbf): Likewise.
12950 [non-C99-based standards] (copysignl): Likewise.
12951 [non-C99-based standards] (exp2l): Likewise.
12952 [non-C99-based standards] (log2l): Likewise.
12953 [non-C99-based standards] (modfl): Allow.
12954 [non-C99-based standards] (erfl): Do not allow.
12955 [non-C99-based standards] (erfcl): Likewise.
12956 [non-C99-based standards] (gammal): Likewise.
12957 [non-C99-based standards] (hypotl): Likewise.
12958 [non-C99-based standards] (j0l): Likewise.
12959 [non-C99-based standards] (j1l): Likewise.
12960 [non-C99-based standards] (jnl): Likewise.
12961 [non-C99-based standards] (lgammal): Likewise.
12962 [non-C99-based standards] (tgammal): Likewise.
12963 [non-C99-based standards] (y0l): Likewise.
12964 [non-C99-based standards] (y1l): Likewise.
12965 [non-C99-based standards] (ynl): Likewise.
12966 [non-C99-based standards] (isnanl): Likewise.
12967 [non-C99-based standards] (acoshl): Likewise.
12968 [non-C99-based standards] (asinhl): Likewise.
12969 [non-C99-based standards] (atanhl): Likewise.
12970 [non-C99-based standards] (cbrtl): Likewise.
12971 [non-C99-based standards] (expm1l): Likewise.
12972 [non-C99-based standards] (ilogbl): Likewise.
12973 [non-C99-based standards] (log1pl): Likewise.
12974 [non-C99-based standards] (logbl): Likewise.
12975 [non-C99-based standards] (nextafterl): Likewise.
12976 [non-C99-based standards] (remainderl): Likewise.
12977 [non-C99-based standards] (rintl): Likewise.
12978 [non-C99-based standards] (scalbl): Likewise.
12979 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12980 [non-C99-based standards] (FP_*): Do not allow.
12981 [C99-based standards] (FP_*): Change to
12982 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12983 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12984 allow.
12985 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12986 (SIG_ERR): Likewise.
12987 [X/Open-based standards] (SIG_HOLD): Likewise.
12988 (SIG_IGN): Likewise.
12989 (SIGABRT): Use macro-int-constant. Specify type. Require
12990 positive value.
12991 (SIGFPE): Likewise.
12992 (SIGILL): Likewise.
12993 (SIGINT): Likewise.
12994 (SIGSEGV): Likewise.
12995 (SIGTER): Likewise.
12996 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12997 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12998 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12999 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13000 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13001 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13002 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13003 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13004 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13005 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13006 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13007 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13008 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13009 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13010 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13011 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13012 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13013 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13014 [X/Open-based standards] (SIGTRAP): Likewise.
13015 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13016 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13017 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13018 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13019 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13020 allow.
13021
b9f1922d
IW
130222012-05-08 Ian Wienand <ianw@vmware.com>
13023
13024 [BZ #14080]
13025 * time/tzset.c (__tzset_parse_tz): Update default rules for
13026 daylight time changes in the Energy Policy Act of 2005.
13027
1db86e88
AJ
130282012-05-09 Andreas Jaeger <aj@suse.de>
13029
13030 [BZ #13983]
13031 * elf/ldconfig.c (parse_conf): Change string to make clear that
13032 ldconfig only issued a warning if ld.so.conf does not exist.
13033
dee4a4e3
DM
130342012-05-08 David S. Miller <davem@davemloft.net>
13035
ee0db190
DM
13036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13037 movxtod instead of popping the value on the stack.
13038
dee4a4e3
DM
13039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13040
6a43ec98
CD
130412012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13042
13043 * config.h.in: Add HAVE_ARM_PCS_VFP.
13044
05c2c961
RMG
130452012-05-08 Roland Mc Grath <roland@hack.frob.com>
13046
bcfe3a54
ST
13047 [BZ #13979]
13048 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13049 checking but the checks are disabled for any reason.
05c2c961 13050
4b30f61a
L
130512012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13052
13053 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13054 and ELF64_R_TYPE with ELFW(R_TYPE).
13055
eee2bc67
JM
130562012-05-08 Joseph Myers <joseph@codesourcery.com>
13057
7ea5391a
JM
13058 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13059 (ulimit): Likewise.
13060
eee2bc67
JM
13061 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13062 (settimeofday): Likewise.
13063
abb66a67
MF
130642012-05-08 Mike Frysinger <vapier@gentoo.org>
13065
13066 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13067 a struct th_u2 inside the union, and move tu_block/tu_code into
13068 a new th_u3 union of tu_block/tu_code inside of that. Move
13069 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13070 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13071 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13072 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13073 (th_stuff): Change to th_u1.tu_stuff.
13074 (th_data): Define.
13075 (th_msg): Change to th_u1.th_u2.tu_data.
13076
7f18b530
DM
130772012-05-07 David S. Miller <davem@davemloft.net>
13078
05760585
DM
13079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13080
7f18b530
DM
13081 [BZ #14074]
13082 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13083 (SETUP_PIC_REG): Use it.
13084 (SETUP_PIC_REG_LEAF): Use it.
13085
495fd99f
JM
130862012-05-07 Joseph Myers <joseph@codesourcery.com>
13087
13088 [BZ #13885]
13089 [BZ #13923]
13090 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13091 USE_AS_EXPM1L.
13092 (EXPL_FINITE): Likewise.
13093 (FLDLOG): Likewise.
13094 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13095 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13096 e_expl.S.
13097 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13098 USE_AS_EXPM1L.
13099 (EXPL_FINITE): Likewise.
13100 (FLDLOG): Likewise.
13101 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13102 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13103 e_expl.S.
13104 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13105 test of -max_value argument for long double.
13106 * sysdeps/i386/fpu/libm-test-ulps: Update.
13107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13108
6693d694
DM
131092012-05-06 David S. Miller <davem@davemloft.net>
13110
13111 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13112 quad soft-float symbols whose references which are compiler
13113 generated.
13114 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13115
6c23e11c
JM
131162012-05-06 Joseph Myers <joseph@codesourcery.com>
13117
d8b82cad
JM
13118 [BZ #13884]
13119 [BZ #13914]
13120 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13121 USE_AS_EXP10L.
13122 (EXPL_FINITE): Likewise.
13123 (FLDLOG): Likewise.
13124 (c0): Likewise.
13125 (c1): Likewise.
13126 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13127 Adjust comments for base varying.
13128 (__expl_finite): Change alias to EXPL_FINITE.
13129 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13130 e_expl.S.
13131 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13132 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13133 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13134 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13135 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13136 USE_AS_EXP10L.
13137 (EXPL_FINITE): Likewise.
13138 (FLDLOG): Likewise.
13139 (c0): Likewise.
13140 (c1): Likewise.
13141 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13142 Adjust comments for base varying.
13143 (__expl_finite): Change alias to EXPL_FINITE.
13144 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13145 tests for bugs.
13146 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13147
6c23e11c
JM
13148 [BZ #14064]
13149 * math/libm-test.inc (check_float_internal): Correct ulp
13150 calculation for subnormal expected results.
13151
29ba805c
AJ
131522012-05-06 Andreas Jaeger <aj@suse.de>
13153
13154 * Makeconfig (+math-flags): New, set to -frounding-math.
13155 (+cflags): Add +math-flags so that all of glibc gets compiled with
13156 it.
13157
13158 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13159
7b17aeda
JM
131602012-05-05 Joseph Myers <joseph@codesourcery.com>
13161
5779f134
JM
13162 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13163 Disable one test.
13164
41498f4d
JM
13165 [BZ #13787]
13166 [BZ #13922]
13167 [BZ #14036]
13168 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13169 (__ieee754_expl): Allow for and saturate large arguments.
13170 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13171 (u_threshold): Likewise.
13172 (__exp): Call __ieee754_exp before checking for overflow and
13173 underflow.
13174 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13175 (u_threshold): Likewise.
13176 (__expf): Call __ieee754_expf before checking for overflow and
13177 underflow.
13178 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13179 (u_threshold): Likewise.
13180 (__expl): Call __ieee754_expl before checking for overflow and
13181 underflow.
13182 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13183 (__ieee754_expl): Allow for and saturate large arguments.
13184 * math/libm-test.inc (exp_test): Add another test. Do not allow
13185 missing overflow exception on overflow.
13186 (expm1_test): Do not allow missing overflow exception on overflow.
13187
6698b8bf
JM
13188 * sysdeps/i386/fpu/e_expl.c: Move to ...
13189 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13190 rather than using inline asm.
13191 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13192 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13193 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13194
7b17aeda
JM
13195 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13196 (nice): Likewise.
13197 (poll): Likewise.
13198 (signal): Likewise.
13199 (time): Likewise.
13200 (times): Likewise.
13201
f7c85819
JM
132022012-05-04 Joseph Myers <joseph@codesourcery.com>
13203
13204 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13205 sysdeps/unix/common/syscalls.list.
13206 (fchmod): Likewise.
13207 (fchown): Likewise.
13208 (ftruncate): Likewise.
13209 (getrusage): Likewise.
13210 (gettimeofday): Likewise.
13211 (setpgid): Likewise.
13212 (setregid): Likewise.
13213 (setreuid): Likewise.
13214 (sigaction): Likewise.
13215 (truncate): Likewise.
13216 (vhangup): Likewise.
13217 * sysdeps/unix/common/syscalls.list: Remove file.
13218 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13219 * sysdeps/unix/sysv/linux/Implies: Likewise.
13220
336270d0
L
132212012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13222
13223 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13225 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13226 Moved to ...
13227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13228 Here.
13229 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13230 to ...
13231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13232 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13233 to ...
13234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13235 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13236 to ...
13237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13238 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13239 to ...
13240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13241 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13242 to ...
13243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13244 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13245 to ...
13246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13247 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13248 to ...
13249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13250 Here.
13251 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13252 to ...
13253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13254 Here.
13255 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13256 to ...
13257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13258 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13259 Moved to ...
13260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13261 Here.
13262 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13263 to ...
13264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13265
d128e450
JM
132662012-05-04 Joseph Myers <joseph@codesourcery.com>
13267
fa8ee516
JM
13268 * sysdeps/unix/common/bits/dirent.h: Remove file.
13269 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13270
d128e450
JM
13271 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13272 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13273 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13274 * sysdeps/unix/bsd/isatty.c: Likewise.
13275 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13276 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13277 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13278
ff8faaf0 132792012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 13280
62881be4 13281 [BZ #13563]
31dc8730
AZ
13282 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13283 long double comparison inaccuracies.
13284 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13286
6fef930c
AS
132872012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13288
13289 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13290 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13291
8f203e6c
JM
132922012-05-04 Joseph Myers <joseph@codesourcery.com>
13293
13294 [BZ #14049]
13295 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13296 nonzero digits before rounding a hex value.
13297 * stdlib/tst-strtod.c (tests): Add another test.
13298
5197d9c2
AK
132992012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13300
13301 * sysdeps/s390/fpu/libm-test-ulps: Update.
13302
f0c1dedf
AJ
133032012-05-03 Andreas Jaeger <aj@suse.de>
13304
13305 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13306 does not get optimized out.
13307 (malloc_opt_barrier): New.
13308
a65ef2ae 133092012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 13310 Roland McGrath <roland@hack.frob.com>
a65ef2ae 13311
2b942cb7 13312 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 13313 intermediate file deletion.
2b942cb7 13314 (generated): Add .symlist files.
a65ef2ae 13315
54b71e02
JM
133162012-05-03 Joseph Myers <joseph@codesourcery.com>
13317
13318 [BZ #13775]
13319 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13320 Redirect under this condition.
13321 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13322 [__USE_GNU] (__dprintf_chk): Not under this condition.
13323 [__USE_GNU] (__vdprintf_chk): Likewise.
13324 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13325 under this condition.
13326 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13327 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13328 [__USE_XOPEN2K8] (vdprintf): Likewise.
13329 [__USE_GNU] (__dprintf_chk): Not under this condition.
13330 [__USE_GNU] (__vdprintf_chk): Likewise.
13331 [__USE_GNU] (dprintf): Likewise.
13332 [__USE_GNU] (vdprintf): Likewise.
13333
d3dfcc41
RM
133342012-05-03 Roland McGrath <roland@hack.frob.com>
13335
13336 * elf/Makefile (common-generated): Set this instead of generated for
13337 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13338 $(all-built-dso)-derived lists.
13339
7ac30cc5
AJ
133402012-05-03 Andreas Jaeger <aj@suse.de>
13341
0c51e550
AJ
13342 * sysdeps/i386/fpu/libm-test-ulps: Update.
13343
7ac30cc5
AJ
13344 * FAQ: Removed.
13345 * FAQ.in: Likewise.
13346 * scripts/gen-FAQ.pl: Likewise.
13347 * manual/install.texi (Installation): Point to online location of
13348 FAQ.
13349 * Makefile (files-for-dist): Remove FAQ.
13350 (FAQ): Remove.
13351
d4c2917f
AM
133522012-05-02 Allan McRae <allan@archlinux.org>
13353
13354 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13355 (LDFLAGS-reldepmod5.so): Likewise.
13356 (LDFLAGS-reldep6mod1.so): Likewise.
13357 (LDFLAGS-reldep6mod4.so): Likewise.
13358 (LDFLAGS-reldep8mod3.so): Likewise.
13359 (LDFLAGS-unload4mod1.so): Likewise.
13360 (LDFLAGS-unload4mod2.so): Likewise.
13361 (LDFLAGS-tst-initorder): Likewise.
13362 (LDFLAGS-tst-initordera2.so): Likewise.
13363 (LDFLAGS-tst-initordera3.so): Likewise.
13364 (LDFLAGS-tst-initordera4.so): Likewise.
13365 (LDFLAGS-tst-initorderb2.so): Likewise.
13366 (LDFLAGS-noload): Likewise.
13367 (LDFLAGS-next): Likewise.
13368 (LDFLAGS-order2mod1.so): Likewise.
13369 (LDFLAGS-order2mod2.so): Likewise.
13370 (LDFLAGS-tst-initorder2): Likewise.
13371 (LDFLAGS-tst-initorder2a.so): Likewise.
13372 (LDFLAGS-tst-initorder2b.so): Likewise.
13373 (LDFLAGS-tst-initorder2c.so): Likewise.
13374 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13375
d77f993f
DM
133762012-05-02 David S. Miller <davem@davemloft.net>
13377
13378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13379
171a70b4
PP
133802012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13381
13382 [BZ #14055]
13383 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13384
0be196ad
AJ
133852012-05-02 Andreas Jaeger <aj@suse.de>
13386
13387 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13388 since we manipulate rounding mode.
13389 (CPPFLAGS-test-idouble.c): Likewise.
13390 (CPPFLAGS-test-ifloat.c): Likewise.
13391 (CFLAGS-test-ldouble.c): Likewise.
13392 (CFLAGS-test-double.c): Likewise.
13393 (CFLAGS-test-float.c): Likewise.
13394 (CFLAGS-test-misc.c): Likewise.
13395 (CFLAGS-test-test-fenv.c): Likewise.
13396
4f9d04aa
AZ
133972012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13398
2b942cb7
RM
13399 [BZ #2550]
13400 [BZ #2570]
13401 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13402 comparisons to determine direction to adjust input.
4f9d04aa 13403
82a79e7d
RM
134042012-05-01 Roland McGrath <roland@hack.frob.com>
13405
f5a01ca9
RM
13406 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13407 output to the target.
13408
90fe4186
RM
13409 * scripts/localplt.awk: New file.
13410 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13411 (check-localplt-CFLAGS): Variable removed.
13412 ($(all-built-dso:=.jmprel)): New static pattern rule.
13413 (generated): Add those targets.
13414 (localplt-built-dso): New variable.
13415 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13416
13417 * elf/check-localplt.c: File removed.
13418
82397ed6
RM
13419 * scripts/check-execstack.awk: New file.
13420 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13421 (check-execstack-CFLAGS): Variable removed.
13422 ($(objpfx)check-execstack.h): Target removed.
13423 ($(objpfx)execstack-default): New target.
13424 (generated): Add that instead of check-execstack.h.
13425 ($(all-built-dso:=.phdr)): New static pattern rule.
13426 (generated): Add those targets.
13427 * elf/check-execstack.c: File removed.
13428
82a79e7d
RM
13429 * scripts/check-textrel.awk: New file.
13430 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13431 (check-textrel-CFLAGS): Variable removed.
13432 (all-built-dso): Use := to define.o
13433 ($(all-built-dso:=.dyn)): New static pattern rule.
13434 (generated): Add those targets.
13435 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13436 * config.make.in (READELF): New substituted variable.
13437 * elf/check-textrel.c: File removed.
13438
62fde54f 134392012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 13440
615605c9
JM
13441 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13442 allow.
13443 * conform/data/ctype.h-data [C99-based standards] (isblank):
13444 Expect function.
13445 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13446 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13447 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13448 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13449 Specify type. Require positive value.
13450 (EILSEQ): Likewise.
13451 (ERANGE): Likewise.
13452 [ISO || POSIX] (EILSEQ): Do not expect.
13453 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13454 Specify type. Require positive value.
13455 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13456 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13457 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13458 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13459 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13460 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13461 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13462 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13463 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13464 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13465 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13466 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13467 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13468 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13469 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13470 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13471 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13472 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13473 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13474 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13475 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13476 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13477 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13478 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13479 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13480 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13481 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13482 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13483 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13484 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13485 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13486 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13487 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13488 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13489 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13490 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13491 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13492 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13493 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13494 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13495 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13496 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13497 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13498 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13499 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13500 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13501 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13502 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13503 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13504 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13505 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13506 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13507 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13508 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13509 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13510 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13511 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13512 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13513 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13514 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13515 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13516 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13517 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13518 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13519 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13520 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13521 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13522 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13523 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13524 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13525 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13526 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13527 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13528 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13529 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13530 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13531 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13532 Require >= 2.
13533 (FLT_ROUNDS): Expect as macro, not constant.
13534 (FLT_MANT_DIG): Use macro-int-constant.
13535 (DBL_MANT_DIG): Likewise.
13536 (LDBL_MANT_DIG): Likewise.
13537 (FLT_DIG): Likewise.
13538 (DBL_DIG): Likewise.
13539 (LDBL_DIG): Likewise.
13540 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13541 (DBL_MIN_EXP): Likewise.
13542 (LDBL_MIN_EXP): Likewise.
13543 (FLT_MAX_EXP): Use macro-int-constant.
13544 (DBL_MAX_EXP): Likewise.
13545 (LDBL_MAX_EXP): Likewise.
13546 (FLT_MAX_10_EXP): Likewise.
13547 (DBL_MAX_10_EXP): Likewise.
13548 (LDBL_MAX_10_EXP): Likewise.
13549 (FLT_MAX): Use macro-constant.
13550 (DBL_MAX): Likewise.
13551 (LDBL_MAX): Likewise.
13552 (FLT_EPSILON): Use macro-constant. Give upper bound.
13553 (DBL_EPSILON): Likewise.
13554 (LDBL_EPSILON): Likewise.
13555 (FLT_MIN): Likewise.
13556 (DBL_MIN): Likewise.
13557 (LDBL_MIN): Likewise.
13558 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13559 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13560 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13561 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13562 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13563 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13564 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13565 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13566 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13567 [ISO11] (FLT_TRUE_MIN): Likewise.
13568 [ISO11] (LDBL_TRUE_MIN): Likewise.
13569 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13570 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13571 (SCHAR_MIN): Use macro-int-constant. Specify type.
13572 (SCHAR_MAX): Likewise.
13573 (UCHAR_MAX): Likewise.
13574 (CHAR_MIN): Likewise.
13575 (CHAR_MAX): Likewise.
13576 (MB_LEN_MAX): Use macro-int-constant.
13577 (SHRT_MIN): Use macro-int-constant. Specify type.
13578 (SHRT_MAX): Likewise.
13579 (USHRT_MAX): Likewise.
13580 (INT_MAX): Likewise.
13581 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13582 bound negative.
13583 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13584 bound with "U".
13585 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13586 bound with "L".
13587 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13588 bound negative. Suffix upper bound with "L".
13589 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13590 bound with "UL".
13591 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13592 Specify type.
13593 [C99-based standards] (LLONG_MAX): Likewise.
13594 [C99-based standards] (ULLONG_MAX): Likewise.
13595 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13596 == 0.
13597 [ISO11] (max_align_t): Require type.
13598 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13599
c9140a62
JM
13600 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13601 from $CFLAGS, without defining away __attribute__ calls.
13602 (checknamespace): Use $CFLAGS_namespace.
13603
9af0bf29
JM
13604 * conform/conformtest.pl (@keywords): Only include C99 keywords
13605 for standards based on C99 or C11.
13606
343222a2
JM
13607 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13608 Disable tests.
13609 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13610 UNIX98]: Likewise.
13611
661f8cf0
JM
13612 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13613 usability of symbols in #if.
13614
ee74b9cb
JM
13615 * conform/conformtest.pl: If macro or constant types start
13616 "promoted:", expect the symbol to be of the following type
13617 promoted by the integer promotions.
62fde54f 13618
aafc49b3
JM
13619 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13620 in one place. Also handle "macro-constant".
13621
fefdf574
JM
13622 * conform/conformtest.pl: Only accept expected macro values with
13623 "==". Parse all "macro" lines in one place.
13624 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13625
f2d922fe
JM
13626 * conform/conformtest.pl: Handle braced types on "constant" lines
13627 instead of handling "typed-constant".
13628 * conform/data/signal.h-data: Use "constant" instead of
13629 "typed-constant".
13630
d22956c9
JM
13631 * conform/conformtest.pl: Handle "optional-" at start of lines in
13632 one place rather than duplicating several cases. Handle each
13633 format of "macro" line with initial "optional-".
13634
028e2e38
JM
13635 * conform/conformtest.pl: Only accept expected constant or
13636 optional-constant values with "==". Parse all "constant" lines in
13637 one place. Parse all "optional-constant" lines in one place.
13638 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13639 * conform/data/fmtmsg.h-data: Likewise.
13640 * conform/data/netinet/in.h-data: Likewise.
13641 * conform/data/tar.h-data: Likewise.
13642 * conform/data/limits.h-data: Use "==" form on "constant" and
13643 "optional-constant" lines.
13644
1b8f2850
JM
13645 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13646 Use -std=c99 for XOPEN2K.
13647 (@knownproblems): Remove.
13648 (newtoken): Don't check %isknown.
13649
a05a144b
JM
13650 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13651 Do not expect macro.
13652 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13653 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13654 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13655 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13656 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13657 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13658 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13659 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13660 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13661 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13662 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13663 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13664 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13665 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13666 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13667 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13668 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13669 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13670 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13671 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13672 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13673 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13674 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13675 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13676 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13677 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13678 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13679 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13680 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13681 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13682 [XPG3] (acosh): Likewise.
13683 [XPG3] (asinh): Likewise.
13684 [XPG3] (atanh): Likewise.
13685 [XPG3] (cbrt): Likewise.
13686 [XPG3] (expm1): Likewise.
13687 [XPG3] (ilogb): Likewise.
13688 [XPG3] (log1p): Likewise.
13689 [XPG3] (logb): Likewise.
13690 [XPG3] (nextafter): Likewise.
13691 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13692 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13693 [XPG3] (remainder): Likewise.
13694 [XPG3] (rint): Likewise.
13695 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13696 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13697 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13698 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13699 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13700 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13701 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13702 [UNIX98 || XOPEN2K] (scalb): Expect.
13703 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13704 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13705 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13706 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13707 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13708 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13709 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13710 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13711 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13712 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13713 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13714 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13715 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13716 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13717 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13718 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13719 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13720 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13721 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13722 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13723 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13724 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13725 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13726 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13727 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13728 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13729 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13730 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13731 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13732 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13733 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13734 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13735 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13736 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13737 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13738 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13739 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13740 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13741 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13742 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13743 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13744 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13745 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13746 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13747 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13748 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13749 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13750 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13751 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13752 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13753 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13754 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13755 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13756 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13757 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13758 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13759 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13760 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13761 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13762 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13763 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13764 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13765 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13766 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13767 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13768 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13769 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13770 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13771 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13772 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13773 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13774 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13775 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13776 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13777 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13778 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13779 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13780 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13781 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13782 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13783 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13784 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13785 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13786 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13787 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13788 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13789 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13790 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13791 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13792 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13793 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13794 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13795 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13796 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13797 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13798 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13799 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13800 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13801 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13802 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13803 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13804 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13805 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13806 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13807 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13808 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13809 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13810 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13811 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13812 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13813 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13814 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13815 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13816 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13817 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13818 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13819 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13820 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13821 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13822 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13823 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13824 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13825 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13826 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13827 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13828 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13829 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13830 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13831 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13832 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13833 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13834 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13835 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13836 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13837 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13838 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13839 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13840
73c5ebe3
JM
13841 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13842 _XOPEN_SOURCE_EXTENDED for XPG4.
13843
39c33b6c
JM
13844 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13845
62fde54f
JM
13846 * Makeconfig (localtime): Remove variable.
13847 (inst_localtime-file): Likewise.
13848
0741d64c
AS
138492012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13850
13851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13852 Update.
13853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13854 Update.
13855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13856 Update.
13857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13858 Update.
13859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13860 Update.
13861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13862 Update.
13863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13864 Update.
13865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13866 Update.
13867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13868 Update.
13869
7cb029ee
JM
138702012-05-01 Joseph Myers <joseph@codesourcery.com>
13871
13872 [BZ #2550]
13873 [BZ #2570]
13874 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13875 comparisons to determine direction to adjust input.
13876 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13877 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13878 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13879 Likewise.
13880 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13881 Likewise.
13882 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13883 Likewise.
13884 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13885 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13886 Likewise.
13887 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13888 Likewise.
13889 * math/libm-test.inc (nexttoward_test): Add more tests.
13890
412bd966
AS
138912012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13892
13893 [BZ #14040]
13894 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13895 in version GLIBC_2.1, not GLIBC_2.0.
13896 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13897 Likewise.
13898
9568c0c2
JM
138992012-04-30 Joseph Myers <joseph@codesourcery.com>
13900
adfbc8ac
JM
13901 [BZ #13942]
13902 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13903 (1 - x) * (1 + x).
13904 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13905 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13906 * math/libm-test.inc (acos_test): Add more tests.
13907 (asin_test): Likewise.
13908 * sysdeps/i386/fpu/libm-test-ulps: Update.
13909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13910
5ba3cc69
JM
13911 [BZ #14034]
13912 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13913 of square root.
13914 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13915 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13916 * math/libm-test.inc (acos_test_tonearest): New function.
13917 (acos_test_towardzero): Likewise.
13918 (acos_test_downward): Likewise.
13919 (acos_test_upward): Likewise.
13920 (asin_test_tonearest): Likewise.
13921 (asin_test_towardzero): Likewise.
13922 (asin_test_downward): Likewise.
13923 (asin_test_upward): Likewise.
13924 (main): Call the new functions.
13925 * sysdeps/i386/fpu/libm-test-ulps: Update.
13926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13927
9568c0c2
JM
13928 [BZ #13884]
13929 [BZ #13924]
13930 * math/e_exp10.c: Include <float.h>.
13931 (__ieee754_exp10): Handle underflow here rather than multiplying
13932 large negative argument by M_LN10.
13933 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13934 of __ieee754_expf.
13935 * math/e_exp10l.c: Include <float.h>.
13936 (__ieee754_exp10l): Handle underflow here rather than multiplying
13937 large negative argument by M_LN10l.
13938 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13939 spurious overflow exception on underflow.
13940
5ac3ea17
MP
139412012-04-29 Marek Polacek <polacek@redhat.com>
13942
13943 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13944 (__fortify_function): New macro.
13945 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13946 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13947 __extern_always_inline.
13948 * libio/bits/stdio2.h: Likewise.
13949 * libio/bits/stdio.h: Likewise.
13950 * string/string.h: Likewise.
13951 * string/bits/string3.h: Likewise.
13952 * include/stdio.h: Likewise.
13953 * stdlib/bits/stdlib.h: Likewise.
13954 * stdlib/stdlib.h: Likewise.
13955 * rt/bits/mqueue2.h: Likewise.
13956 * rt/mqueue.h: Likewise.
13957 * posix/bits/unistd.h: Likewise.
13958 * posix/unistd.h: Likewise.
13959 * io/bits/poll2.h: Likewise.
13960 * io/bits/fcntl2.h: Likewise.
13961 * io/fcntl.h: Likewise.
13962 * io/sys/poll.h: Likewise.
13963 * misc/bits/syslog.h: Likewise.
13964 * misc/bits/syslog-ldbl.h: Likewise.
13965 * misc/sys/syslog.h: Likewise.
13966 * socket/bits/socket2.h: Likewise.
13967 * socket/sys/socket.h: Likewise.
13968 * debug/tst-chk1.c: Likewise.
13969 * wcsmbs/bits/wchar2.h: Likewise.
13970 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13971 * wcsmbs/wchar.h: Likewise.
13972
ecf0ebfb
AJ
139732012-04-29 Andreas Jaeger <aj@suse.de>
13974
13975 * Makerules (tests): Remove enable-check-abi protection.
13976 (check-abi-warn): Remove.
13977 (check-abi-%): Remove check-abi-warn usage.
13978
13979 * configure.in: Remove check-abi configure option.
13980 * configure: Regenerated.
13981 * config.make.in (enable-check-abi): Remove.
13982
6d5c57fa
AS
139832012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13984
24c5d07e 13985 [BZ #14033]
ded5180a
AS
13986 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13987 double functions to double *_finite functions.
13988
7e0d315d
AS
13989 [BZ #13941]
13990 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13991 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13992 LDBL_MIN_EXP.
13993 * stdio-common/Makefile (tests): Add tst-sprintf3.
13994 * stdio-common/tst-sprintf3.c: New file.
13995
6d5c57fa
AS
13996 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13997 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13998
0749ff8b
JM
139992012-04-28 Joseph Myers <joseph@codesourcery.com>
14000
14001 * conform/conformtest.pl: Remove duplicate typed-constant
14002 handling.
14003
8dbd5d7b
DM
140042012-04-28 David S. Miller <davem@davemloft.net>
14005
14006 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14007 (check-abi-%): Remove AWK script prerequisite and explicit
14008 abilist directory.
14009 (check-abi): Rewrite to just diff the symlist with the abilist.
14010 (config-tls, config-abi-config): Delete, no longer used.
14011 (update-abi-%): Remove AWK script and explicit abilist directory.
14012 (update-abi): Rewrite to simply compare and conditionally copy the
14013 symlist and the sysdep abilist file. Remove update-abi-config
14014 checks.
14015 * abilist/ld.abilist: Remove.
14016 * abilist/libBrokenLocale.abilist: Remove.
14017 * abilist/libanl.abilist: Remove.
14018 * abilist/libcrypt.abilist: Remove.
14019 * abilist/libdl.abilist: Remove.
14020 * abilist/librt.abilist: Remove.
14021 * abilist/libthread_db.abilist: Remove.
14022 * abilist/libutil.abilist: Remove.
14023 * scripts/extract-abilist.awk: Remove.
14024 * scripts/merge-abilist.awk: Remove.
14025 * sysdeps/generic/libcidn.abilist: New file.
14026 * sysdeps/generic/libnss_compat.abilist: New file.
14027 * sysdeps/generic/libnss_db.abilist: New file.
14028 * sysdeps/generic/libnss_dns.abilist: New file.
14029 * sysdeps/generic/libnss_files.abilist: New file.
14030 * sysdeps/generic/libnss_hesiod.abilist: New file.
14031 * sysdeps/generic/libnss_nis.abilist: New file.
14032 * sysdeps/generic/libnss_nisplus.abilist: New file.
14033 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14034 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14035 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14036 file.
14037 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14038 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14039 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14040 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14041 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14042 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14043 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14044 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14045 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14046 file.
14047 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14048 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14049 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14050 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14051 file.
14052 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14053 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14054 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14055 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14056 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14057 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14058 file.
14059 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14060 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14061 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14062 file.
14063 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14065 New file.
14066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14067 New file.
14068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14069 New file.
14070 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14071 New file.
14072 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14073 New file.
14074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14075 New file.
14076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14077 New file.
14078 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14079 New file.
14080 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14081 New file.
14082 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14083 New file.
14084 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14085 New file.
14086 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14087 New file.
14088 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14089 New file.
14090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14091 file.
14092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14093 New file.
14094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14095 New file.
14096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14097 file.
14098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14099 New file.
14100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14101 New file.
14102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14103 file.
14104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14105 New file.
14106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14107 New file.
14108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14109 New file.
14110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14111 New file.
14112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14113 New file.
14114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14115 New file.
14116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14118 file.
14119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14120 New file.
14121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14122 file.
14123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14124 file.
14125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14126 file.
14127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14128 file.
14129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14130 file.
14131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14132 New file.
14133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14134 file.
14135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14136 file.
14137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14138 New file.
14139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14140 file.
14141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14143 file.
14144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14145 New file.
14146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14147 file.
14148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14149 file.
14150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14151 file.
14152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14153 file.
14154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14155 file.
14156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14157 New file.
14158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14159 file.
14160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14161 file.
14162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14163 New file.
14164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14165 file.
14166 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14167 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14168 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14169 file.
14170 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14171 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14172 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14173 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14174 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14175 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14176 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14177 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14178 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14179 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14182 file.
14183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14184 New file.
14185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14186 file.
14187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14188 file.
14189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14190 file.
14191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14192 file.
14193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14194 file.
14195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14196 New file.
14197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14198 New file.
14199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14200 file.
14201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14202 New file.
14203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14204 file.
14205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14207 file.
14208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14209 New file.
14210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14211 file.
14212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14213 file.
14214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14215 file.
14216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14217 file.
14218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14219 file.
14220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14221 New file.
14222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14223 New file.
14224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14225 file.
14226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14227 New file.
14228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14229 file.
14230
41d73a1b
JM
142312012-04-28 Joseph Myers <joseph@codesourcery.com>
14232
14233 * conform/conformtest.pl: Fix typo in handling typed-constant from
14234 allow-header.
14235
28aeeda4
JM
142362012-04-27 Joseph Myers <joseph@codesourcery.com>
14237
adae8f5e
JM
14238 * README: Cut down references to pre-2.6 Linux kernels and
14239 Linuxthreads. Update lists of configurations in libc and ports
14240 and sort alphabetically. Say "or newer" with Linux kernel version
14241 requirements.
14242
28aeeda4
JM
14243 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14244
a462cb63
RA
142452012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14246
14247 [BZ #887]
14248 * math/libm-test.inc (logb_test_downward): New test to expose
14249 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14250 rounding mode.
14251
6ad3493e
JM
142522012-04-27 Joseph Myers <joseph@codesourcery.com>
14253
14254 [BZ #14027]
14255 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14256 to be done.
14257 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14258 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14259
2ce4f015
JM
142602012-04-26 Joseph Myers <joseph@codesourcery.com>
14261
5aeb141a
JM
14262 * sysdeps/unix/i386/brk.S: Remove file.
14263 * sysdeps/unix/i386/dl-brk.S: Likewise.
14264 * sysdeps/unix/i386/pipe.S: Likewise.
14265 * sysdeps/unix/i386/sigreturn.S: Likewise.
14266 * sysdeps/unix/i386/syscall.S: Likewise.
14267 * sysdeps/unix/i386/vfork.S: Likewise.
14268 * sysdeps/unix/i386/wait.S: Likewise.
14269
7143acae
JM
14270 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14271 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14272
2ce4f015
JM
14273 * configure.in (arm*-none*): Do not allow without
14274 --enable-hacker-mode.
14275 (netbsd*): Remove case setting base_os.
14276 (386bsd*): Likewise.
14277 (freebsd*): Likewise.
14278 (bsdi*): Likewise.
14279 (osf*): Likewise.
14280 (sunos*): Likewise.
14281 (ultrix*): Likewise.
14282 (newsos*): Likewise.
14283 (dynix*): Likewise.
14284 (*bsd*): Likewise.
14285 (sysv*): Likewise.
14286 (isc*): Likewise.
14287 (esix*): Likewise.
14288 (sco*): Likewise.
14289 (minix*): Likewise.
14290 (irix4*): Likewise.
14291 (irix6*): Likewise.
14292 (solaris[2-9]*): Likewise.
14293 (none): Likewise.
14294 * configure: Regenerated.
14295
0ac229c8
AZ
142962012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14297
14298 [BZ #11521]
14299 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14300 overflow or cancellation in calculating denominator.
14301 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14302 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14303 down expression to avoid unexpected rounding in newer GCCs.
14304 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14305
33f244f4
DM
143062012-04-26 David S. Miller <davem@davemloft.net>
14307
14308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14309 long-double compat symbols.
14310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14323
cfa1f3e8
DM
143242012-04-25 David S. Miller <davem@davemloft.net>
14325
14326 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14327 HWCAP_* values only after the memory barriers have been defined.
14328 (atomic_full_barrier): Define.
14329 (atomic_read_barrier): Define.
14330 (atomic_write_barrier): Define.
14331
6e236b92
SP
143322012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14333
14334 * shlib-versions: Add libgcc_s version information.
14335 * sysdeps/generic/libgcc_s.h: Remove.
14336 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14337 libgcc_s.h.
14338 * sysdeps/gnu/unwind-resume.c: Likewise.
14339 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14340
aab39a09
DM
143412012-04-25 David S. Miller <davem@davemloft.net>
14342
14343 * sysdeps/unix/sparc/brk.S: Delete.
14344 * sysdeps/unix/sparc/dl-brk.S: Delete.
14345 * sysdeps/unix/sparc/pipe.S: Delete.
14346 * sysdeps/unix/sparc/sysdep.S: Delete.
14347 * sysdeps/unix/sparc/sysdep.h: Delete.
14348 * sysdeps/unix/sparc/vfork.S: Delete.
14349 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14350 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14351 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14352 ret_ERRVAL, r0, r1, MOVE): Define.
14353 (JUMPTARGET): Remove.
14354 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14355 sysdeps/unix/sparc/sysdep.h
14356 (ENTRY, END): Remove.
14357 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14358
a3cc4f48
JM
143592012-04-25 Joseph Myers <joseph@codesourcery.com>
14360
2ed8cda2
JM
14361 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14362 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14363 -DIS_IN_build.
14364
35d76d59
JM
14365 * timezone/README: Update upstream location and email address for
14366 tzcode and tzdata.
14367 * timezone/zdump.c: Update from tzcode 2012b.
14368 * timezone/zic.c: Likewise.
14369
a3cc4f48
JM
14370 * configure.in (libc_cv_as_needed): Remove test.
14371 * configure: Regenerated.
14372 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14373 conditional definition.
14374 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14375 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14376 * config.make.in (have-as-needed): Remove variable.
14377
ceab42c3
SP
143782012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14379 Paul Pluzhnikov <ppluzhnikov@google.com>
14380
14381 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14382 strings correctly.
14383
3ce2865f
CLT
143842012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14385
14386 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14387 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14388 * sysdeps/sh/strlen.S: Likewise.
14389
f37e0d68
JM
143902012-04-24 Joseph Myers <joseph@codesourcery.com>
14391
ae186e9a
JM
14392 * sysdeps/unix/fork.S: Remove file.
14393 * sysdeps/unix/i386/fork.S: Likewise.
14394 * sysdeps/unix/sparc/fork.S: Likewise.
14395
b96914af
JM
14396 * sysdeps/unix/system.c: Remove file.
14397 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14398
f37e0d68
JM
14399 * sysdeps/unix/getegid.S: Remove file.
14400 * sysdeps/unix/geteuid.S: Likewise.
14401
87ef29ca
RM
144022012-04-24 Roland McGrath <roland@hack.frob.com>
14403
83bcd236
RM
14404 * scripts/check-localplt.awk: New file.
14405 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14406 of diff.
14407 * scripts/data/localplt-generic.data: Add a comment.
14408
87ef29ca
RM
14409 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14410 NODE when __dir_mkfile failed.
14411 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14412 Reported by Ludovic Courtès <ludo@gnu.org>.
14413
e5a6e567
AJ
144142012-04-24 Andreas Jaeger <aj@suse.de>
14415
14416 * Makerules (common-clean): Also remove gen-as-const-headers
14417 files.
14418
c1820385
JM
144192012-04-24 Joseph Myers <joseph@codesourcery.com>
14420
14421 * Makerules (native-compile): Do not change working directory for
14422 build. Use $(OUTPUT_OPTION) in command.
14423 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14424
94e02fc4
AZ
144252012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14426
14427 [BZ #13886]
14428 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14429 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14430 * math/libm-test.inc (floor_test): Add more tests.
14431 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14432
3a533ca3
JM
144332012-04-24 Joseph Myers <joseph@codesourcery.com>
14434
940ab4b3
JM
14435 * sysdeps/unix/getdents.c: Remove file.
14436 * sysdeps/unix/sysv/getdents.c: Likewise.
14437 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14438
90e037bd
JM
14439 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14440 sysdeps/unix/mman/syscalls.list.
14441 (mmap): Likewise.
14442 (mprotect): Likewise.
14443 (msync): Likewise.
14444 (munmap): Likewise.
14445 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14446 * sysdeps/unix/mman/syscalls.list: Remove.
14447 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14448
3a533ca3
JM
14449 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14450 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14451 * configure: Regenerated.
14452 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14453 $(libgcc_s_suffix).
14454 * config.make.in (libgcc_s_suffix): Remove variable.
14455
1ad743de
JM
144562012-04-23 Joseph Myers <joseph@codesourcery.com>
14457
4ad451e2
JM
14458 * sysdeps/unix/sysv/gethostname.c: Move to ...
14459 * sysdeps/posix/gethostname.c: ... here.
14460
5e37ce39
JM
14461 * sysdeps/unix/execve.S: Remove file.
14462
1ad743de
JM
14463 * sysdeps/unix/_exit.S: Remove file.
14464
4e681b5b
AJ
144652012-04-23 Andreas Jaeger <aj@suse.de>
14466
14467 [BZ #13739]
14468 * manual/Makefile: Remove make dist support, there's no
14469 need for a stand-alone documentation tar ball.
14470 (TEXI2DVI): Define always, it's not in Makeconfig.
14471 (dist): Removed.
14472 (tar-it): Removed.
14473 (edition): Removed.
14474 (glibc-doc-$(edition).tar): Removed
14475 (%.Z): Removed.
14476 (%.gz): Removed.
14477 (%.uu): Removed.
14478 (ETAGS): Remove, it's in Makeconfig.
14479 (move-if-change): Remove, it's in Makeconfig.
14480
38686a03 144812012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
14482
14483 [BZ #13970]
14484 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14485 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14486 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14487 (strtod_l, strtof_l, strtold_l): Remove __wur.
14488 It is not necessarily an error to ignore strtol's return value.
14489 One can reliably look at the stored endptr to decide whether
14490 the number had valid syntax.
14491
7c0616fa
AJ
144922012-04-21 Andreas Jaeger <aj@suse.de>
14493
803cb6b7 14494 [BZ #13739]
7c0616fa
AJ
14495 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14496
b0fe253f
JM
144972012-04-21 Joseph Myers <joseph@codesourcery.com>
14498
14499 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14500 * sysdeps/unix/sysv/Versions: Remove file.
14501
8280f22d
MT
145022012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14503
14504 [BZ #13927]
14505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14506
75ce411f 145072012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
14508
14509 [BZ #7064]
14510 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14511 version from __vm86.
14512
097d59fa
JM
145132012-04-20 Joseph Myers <joseph@codesourcery.com>
14514
a90f3bcb
JM
14515 * sysdeps/unix/common/lxstat.c: Remove file.
14516 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14517
edc7ea78
JM
14518 * sysdeps/unix/sysv/Makefile: Remove file.
14519
cb78c221
JM
14520 * sysdeps/unix/sysv/direct.h: Remove file.
14521
efa6a45f
JM
14522 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14523 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14524 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14525 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14526 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14527 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14528 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14529
9c9f2d0c
JM
14530 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14531
4541c83b
JM
14532 * sysdeps/unix/xmknod.c: Remove file.
14533 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14534
f5d153a0
JM
14535 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14536
aa746595
JM
14537 * sysdeps/unix/sysv/i386/time.S: Remove file.
14538
cce5905e
JM
14539 * sysdeps/unix/fxstat.c: Remove file.
14540 * sysdeps/unix/xstat.c: Likewise.
14541 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14542
37fa3841
JM
14543 * sysdeps/unix/sysv/sigaction.c: Remove file.
14544
ff1962a3
JM
14545 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14546 (sysdep_headers): Remove variable.
14547 [termio.h not in sysdep_headers] (generated): Likewise.
14548 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14549 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14550 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14551 * sysdeps/unix/sysv/tcflow.c: Likewise.
14552 * sysdeps/unix/sysv/tcflush.c: Likewise.
14553 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14554 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14555 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14556 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14557 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14558
e7740d31
JM
14559 * sysdeps/unix/siglist.c: Remove file.
14560
ee06f18b
JM
14561 * sysdeps/unix/getppid.S: Remove file.
14562
097d59fa
JM
14563 * sysdeps/unix/mkdir.c: Remove file.
14564 * sysdeps/unix/rmdir.c: Likewise.
14565
ff3d51ec
AS
145662012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14567
14568 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14569 ERR_MAX value.
14570 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14571 errlist-compat value.
14572
50f81fd7
DM
145732012-04-18 David S. Miller <davem@davemloft.net>
14574
14575 * sysdeps/generic/memcopy.h (reg_char): Delete.
14576 * debug/strcat_chk.c: Use char, not reg_char.
14577 * debug/strcpy_chk.c: Likewise.
14578 * debug/strncat_chk.c: Likewise.
14579 * debug/strncpy_chk.c: Likewise.
14580 * string/memchr.c: Likewise.
14581 * string/memrchr.c: Likewise.
14582 * string/rawmemchr.c: Likewise.
14583 * string/strcat.c: Likewise.
14584 * string/strchr.c: Likewise.
14585 * string/strchrnul.c: Likewise.
14586 * string/strcmp.c: Likewise.
14587 * string/strcpy.c: Likewise.
14588 * string/strncat.c: Likewise.
14589 * string/strncmp.c: Likewise.
14590 * string/strncpy.c: Likewise.
14591
8ff41c46
WS
145922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14593
14594 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14595 __builtin_memcopy is called when src and dest ranges are known to not
14596 overlap.
14597
6b652f46
WS
145982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14599
14600 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14601 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14602 fwd_align_merge macro call.
14603 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14604 bwd_align_merge macro call.
14605 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14606
b282631e
WS
146072012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14608
14609 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14610 bwd_align_merge macros.
14611 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14612 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14613 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14614
95aa737c
DM
146152012-04-18 David S. Miller <davem@davemloft.net>
14616
14617 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14618
7a99a614
AJ
146192012-04-18 Andreas Jaeger <aj@suse.de>
14620
14621 [BZ# 6794]
14622 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14623 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14624 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14625
14626 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14627 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14628 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14629
14630 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14631 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14632 Adjust for changed ldbl-128 files.
14633
14634 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14635 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14636 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14637
e5270c23
DM
146382012-04-17 David S. Miller <davem@davemloft.net>
14639
14640 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14641
fb5e92c9
AS
146422012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14643
14644 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14645 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14646 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14647 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14648 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14649 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14650
76da7265
AZ
146512012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14652
14653 [BZ #6794]
14654 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14655 * math/libm-test.inc: Add ilogb errno and exception tests.
14656 * math/w_ilogb.c: New file: ilogb wrapper.
14657 * math/w_ilogbf.c: New file: ilogbf wrapper.
14658 * math/w_ilogbl.c: New file: ilogbl wrapper.
14659 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14660 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14661 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14662 exception being thrown with 0.0 as argument.
14663 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14664 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14665 exception being thrown with 0.0 as argument.
14666 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14667 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14668 exception being thrown with 0.0 as argument.
14669 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14670 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14671 exception being thrown with 0.0 as argument.
14672 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14673 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 14674 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
14675 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14676 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14677 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14678 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14679 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14680 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14681
0396e69d
PB
146822012-04-17 Petr Baudis <pasky@ucw.cz>
14683
14684 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14685 with altivec.
14686
750b5926
MP
146872012-04-16 Marek Polacek <polacek@redhat.com>
14688
14689 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14690
751728a1
MP
146912012-04-16 Marek Polacek <polacek@redhat.com>
14692
14693 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14694 operands of fdivp instruction.
14695
34a27407
L
146962012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14697
14698 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14699 * elf/tst-auditmod3b.c: Likewise.
14700 * elf/tst-auditmod4b.c: Likewise.
14701 * elf/tst-auditmod5b.c: Likewise.
14702 * elf/tst-auditmod6b.c: Likewise.
14703 * elf/tst-auditmod6c.c: Likewise.
14704 * elf/tst-auditmod7b.c: Likewise.
14705 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14706 * sysdeps/x86_64/preconfigure.in: Likewise.
14707 * sysdeps/x86_64/preconfigure: Regenerated.
14708
7e73e17d
L
147092012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14710
14711 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14712 __ILP32__.
14713
c7a6ab72
AB
147142012-04-13 Antoine Balestrat <merkil33@gmail.com>
14715
14716 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14717 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14718
a9e8e0e0
CL
147192012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14720
14721 [BZ #13973]
14722 * locale/iso-639.def: Fix gl language name. Spotted by
14723 Yaron Shahrabani.
14724
ec98af7d
RM
147252012-04-12 Roland McGrath <roland@hack.frob.com>
14726
14727 [BZ #2074]
14728 * libio/libio.h (__io_write_fn): Update comment.
14729
247c3ede
PB
147302012-04-12 Petr Baudis <pasky@ucw.cz>
14731
14732 [BZ #2074]
14733 * stdio.texi (Hook Functions): The user provided writer function
14734 is not allowed to return -1.
14735
55939d6d
DM
147362012-04-11 David S. Miller <davem@davemloft.net>
14737
14738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14739
90020f5a
MF
147402012-04-11 Mike Frysinger <vapier@gentoo.org>
14741
14742 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14743 Add a leading slash to rtkaio.
14744
288f9098
JM
147452012-04-11 Jim Meyering <meyering@redhat.com>
14746
90020f5a
MF
14747 [BZ #11959]
14748 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14749 It is not necessarily an error to ignore fwrite's return
14750 value. One can reliably use ferror to test for errors after
14751 the fact.
288f9098 14752
4be2b570
L
147532012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14754
14755 * bits/types.h (__snseconds_t): New type.
14756 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14757
14758 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14759 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14760 (__SNSECONDS_T_TYPE): Likewise.
14761 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14762 (__SNSECONDS_T_TYPE): Likewise.
14763 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14764 (__SNSECONDS_T_TYPE): Likewise.
14765
288f9098 147662012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
14767
14768 [BZ #2636]
14769 * manual/time.texi (Processor Time): Return type of times is
14770 elapsed real time since an arbitrary point in the past.
14771 (CPU Time): Move CLK_TCK from here...
14772 (Processor Time): ...to here. Correct description.
14773 * manual/conf.texi (Constants for Sysconf): Correct description of
14774 _SC_CLK_TCK.
14775
d7dd4413
DM
147762012-04-10 David S. Miller <davem@davemloft.net>
14777
14778 [BZ #13967]
14779 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14780 where the is a gap between DT_REL(A) and DT_JMPREL.
14781
b46068fc
L
147822012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14783
14784 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14785 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14786 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14787
73d65cc3
SP
147882012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14789
14790 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14791 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14792 (dl_main): Handle --inhibit-cache.
14793 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14794 _dl_inhibit_cache.
14795 * elf/dl-load.c (_dl_map_object): Use it.
14796 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14797
bcc8d661
JM
147982012-04-09 Joseph Myers <joseph@codesourcery.com>
14799
8f9a2fae
JM
14800 [BZ #13872]
14801 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14802 (__ieee754_powl): Saturate large exponents rather than testing for
14803 overflow of y*log2(x).
14804 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14805 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14806 exceptions.
14807
bcc8d661
JM
14808 [BZ #11521]
14809 * math/s_ctan.c: Include <float.h>.
14810 (__ctan): Avoid internal overflow or cancellation in calculating
14811 denominator.
14812 * math/s_ctanf.c: Likewise.
14813 * math/s_ctanl.c: Likewise.
14814 * math/s_ctanh.c: Likewise.
14815 * math/s_ctanhf.c: Likewise.
14816 * math/s_ctanhl.c: Likewise.
14817 * math/libm-test.inc (ctan_test): Add more tests.
14818 (ctanh_test): Likewise.
14819 * sysdeps/i386/fpu/libm-test-ulps: Update.
14820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14821
823fbbb4
AJ
148222012-04-09 Andreas Jaeger <aj@suse.de>
14823
03879793
AJ
14824 [BZ #6894]
14825 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14826 is an optional BSD extension.
14827
823fbbb4
AJ
14828 [BZ #10254]
14829 * manual/stdio.texi (Opening Streams): Document additional fopen
14830 parameters.
14831
8de131cb
RM
148322012-04-09 Roland McGrath <roland@hack.frob.com>
14833
14834 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14835 %eax without telling the compiler.
14836
c0ed9d7d
CD
148372012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14838
14839 [BZ # 13963]
14840 * manual/install.texi: Use sourceware.org.
14841
c483f6b4
JM
148422012-04-09 Joseph Myers <joseph@codesourcery.com>
14843
d7dd9453
JM
14844 [BZ #13873]
14845 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14846 (__ieee754_pow): Generate overflow and underflow using huge*huge
14847 and tiny*tiny rather than just returning constant infinity or zero
14848 for large exponents.
14849 * math/libm-test.inc (pow_test): Require overflow exceptions for
14850 applicable cases of large exponents.
14851
c483f6b4
JM
14852 [BZ #706]
14853 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14854 (__ieee754_pow): Use iterative multiplication algorithm only for
14855 integer exponents with absolute value below 1024. Check for odd
14856 integer exponents when using algorithm for real exponents.
14857 * math/libm-test.inc (pow_test): Add more tests.
14858 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14859
d2de7579
JM
148602012-04-08 Joseph Myers <joseph@codesourcery.com>
14861
14862 [BZ #13705]
14863 * math/libm-test.inc (exp_test): Do not allow overflow exception
14864 on underflow test.
14865
f77f1232
AJ
148662012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14867
14868 [BZ #13705]
14869 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14870 instead of __kernel_standard_f.
14871
3884932b
MF
148722012-04-08 Mike Frysinger <vapier@gentoo.org>
14873
14874 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14875 * sysdeps/x86_64/memset_chk.S: Likewise.
14876
54472e9c
AJ
148772012-04-08 Andreas Jaeger <aj@suse.de>
14878
6ab0fbfc
AJ
14879 [BZ #10153]
14880 * manual/startup.texi (Environment Access): Describe return value
14881 for putenv and setenv.
14882
61efba8c
AJ
14883 [BZ #6895]
14884 * manual/filesys.texi (Directory Entries): Add description for
14885 DT_LNK.
14886
95c3f29a
AJ
14887 [BZ #6890]
14888 * manual/filesys.texi (Directory Entries): Clarify that it's file
14889 system not operating system in the description of DT_UNKNOWN.
14890
54472e9c
AJ
14891 [BZ #6578]
14892 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14893
624254b1
SC
148942012-04-08 Stephen Compall <s11@member.fsf.org>
14895
14896 [BZ #6649]
14897 * manual/llio.texi (Opening and Closing Files): Add cross
14898 reference to explain mode argument.
14899
1e4920e0
MF
149002012-04-07 Mike Frysinger <vapier@gentoo.org>
14901
14902 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14903 * sysdeps/x86_64/memset_chk.S: Likewise.
14904
5ed848f3
DM
149052012-04-07 David S. Miller <davem@davemloft.net>
14906
14907 * elf/elf.h (R_SPARC_WDISP10): Define.
14908 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14909 R_SPARC_SIZE32.
14910 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14911 R_SPARC_SIZE64 and R_SPARC_H34.
14912
96154cd8
CD
149132012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14914
14915 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14916 conditions and remove no longer applicable assertion.
14917
9904dc47
L
149182012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14919
14920 * bits/byteswap.h: Include <features.h>.
14921 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14922 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14923
f8887d0a
L
149242012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14925
14926 * bits/byteswap.h (__bswap_16): Removed.
14927 Include <bits/byteswap-16.h> to get __bswap_16.
14928 * sysdeps/i386/bits/byteswap.h: Likewise.
14929 * sysdeps/s390/bits/byteswap.h: Likewise.
14930 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14931 * bits/byteswap-16.h: New file.
14932 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14933 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14934 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14935 * string/Makefile (headers): Add bits/byteswap-16.h.
14936
62470f60
PP
149372012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14938
14939 [BZ #13895]
14940 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14941 extra indirection.
14942 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14943 * nss/tst-nss-static.c: New.
14944
4dad7bab
RM
149452012-04-06 Robert Millan <rmh@gnu.org>
14946
14947 [BZ #6486]
14948 * manual/llio.texi (File Position Primitive): lseek
14949 refers to WHENCE when it really means OFFSET.
14950
e9142a17
AJ
149512012-04-06 Andreas Jaeger <aj@suse.de>
14952
2c040eff
AJ
14953 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14954 strncmp declarations.
14955
e9142a17
AJ
14956 * abilist/libc.abilist: Add __poll and __ppoll.
14957
ff9f1c5f
DM
149582012-04-05 David S. Miller <davem@davemloft.net>
14959
dcd2ae90
DM
14960 * scripts/check-local-headers.sh: Accept a host triplet in the
14961 path matched by the exclude regexp.
14962
993eb054
DM
14963 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14964 definition.
14965 * sysdeps/powerpc/powerpc32/dl-machine.h
14966 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14967 * sysdeps/s390/s390-32/dl-machine.h
14968 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14969 * sysdeps/sparc/sparc32/dl-machine.h
14970 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14971 * sysdeps/sparc/sparc64/dl-machine.h
14972 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14973
ff9f1c5f
DM
14974 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14975 lazy binding.
48e2e132 14976 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
14977 undefined symbol errors.
14978
48e2e132 14979 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
14980 DT_NEEDED entries.
14981
e80d6f94
MM
149822012-04-05 Michael Matz <matz@suse.de>
14983
14984 [BZ #13592]
14985 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14986
349fa79f
AJ
149872012-04-05 Andreas Jaeger <aj@suse.de>
14988
14989 [BZ #13908]
14990 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14991 comment.
14992
f402708f
KK
149932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14994
14995 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14996 which ROUND is no valid rounding mode.
14997
2ecccfc9
KK
149982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14999
15000 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15001 read again.
15002 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15003
8a53f50f
KK
150042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15005
15006 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15007 an exception using FPU order intentionally.
15008
150092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15010
15011 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15012 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15013 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15014 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15015
d653abb7
SJ
150162012-04-05 Simon Josefsson <simon@josefsson.org>
15017
15018 [BZ #12340]
15019 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15020 EINVAL when BUFLEN is too smal.
15021
c3b1bf7d
TS
150222012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15023
15024 [BZ #13553]
15025 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15026 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15027
b1aa60f3
AJ
150282012-04-03 Andreas Jaeger <aj@suse.de>
15029
c3b1bf7d 15030 [BZ #13938]
67f60a26
AJ
15031 * manual/setjmp.texi (System V contexts): Fix sentence.
15032
b1aa60f3
AJ
15033 [BZ #13926]
15034 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15035 New macro for this case.
15036 [!__GNUC__] (__bswap_64): New inline function for this case.
15037 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15038 * bits/byteswap.h: Likewise.
15039 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15040 ull, guard with __GLIBC_HAVE_LONG_LONG.
15041
15042 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15043 __GLIBC_HAVE_LONG_LONG.
15044
15045 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15046 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15047
39c59c35
TMQMF
150482012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15049
15050 [BZ #13691]
15051 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15052 inptr and inend, rather than using last_ch.
15053
135ffda8
DM
150542012-04-02 David S. Miller <davem@davemloft.net>
15055
15056 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15057 * stdio-common/printf-parse.h (read_int): Change return type to
15058 'int', return -1 on INT_MAX overflow.
15059 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15060 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15061 overflows INT_MAX. Check for overflow of in-format-string precision
15062 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15063 SIZE_MAX not INT_MAX for integer overflow test.
15064 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15065 skip the construct in the format string but do not record anything.
15066 * stdio-common/bug22.c: Adjust to test both width/prevision
15067 INT_MAX overflow as well as total length INT_MAX overflow. Check
15068 explicitly for proper errno values.
15069
228c019e
TS
150702012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15071
302cadd3
TS
15072 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15073 CHAR_MAX.
15074 * string/test-strcmp.c [! WIDE]: Likewise.
15075 * time/tst-mktime2.c: Likewise for INT_MAX.
15076 * string/test-string.h: #include <sys/param.h> for MIN.
15077
228c019e
TS
15078 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15079 * sysdeps/i386/init-first.c (init): Likewise.
15080 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15081 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15082 * sysdeps/sh/init-first.c (init): Likewise.
15083
cfa633f5
UD
150842012-04-01 Ulrich Drepper <drepper@gmail.com>
15085
15086 * po/ru.po: Update from translation team.
d1635ef8 15087 * po/vi.po: Likewise.
cfa633f5 15088
6cd0a5ea
SP
150892012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15090
15091 * resolv/nss_dns/dns-host.c: Merge copyright years.
15092
4b43400f
LD
150932012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15094
15095 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15096 Optimize memcpy with prefetch if
15097 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15098 src, dst pointers have unequal 16 byte alignments.
15099
48c41d04
SP
151002012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15101
15102 [BZ #13928]
15103 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15104 from a CNAME entry and return the minimum ttl for the query.
15105 (gaih_getanswer_slice): Likewise.
15106
b8dc394d
JL
151072012-03-30 Jeff Law <law@redhat.com>
15108
15109 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15110 due to long keys.
15111 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15112 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15113
2f5a5ed0
JL
15114 * resolv/nss_dns/dns-host.c: Update copyright year.
15115
1d39e359
UD
151162012-03-30 Ulrich Drepper <drepper@gmail.com>
15117
c030f70c 15118 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 15119 requests to save a system call. Fix check that all bytes are sent.
c030f70c 15120
1d39e359
UD
15121 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15122 comments for sendmmsg.
15123
151242012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
15125
15126 [BZ #13691]
15127 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15128 with only 1 character between 0x0041 and 0x01b0.
15129 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15130 * wcsmbs/tst-mbsnrtowcs.c: New file.
15131
20fde227
DM
151322012-03-29 David S. Miller <davem@davemloft.net>
15133
15134 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15135 small copies by hand.
15136
984a4237
JL
151372012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15138
15139 [BZ #13761]
15140 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15141 _nss_compat_initgroups_dyn): Fall back to malloc/free
15142 for large group memberships.
15143
18c9d62b
DM
151442012-03-28 David S. Miller <davem@davemloft.net>
15145
88d85d4f
DM
15146 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15147 that branches into memcpy.
15148 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15149 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15150 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15151 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15152 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15153 bits.
15154 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15155 implementation too.
15156 * sysdeps/sparc/mempcpy.S: New file.
15157
e5aa83e1
DM
15158 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15159 the IFUNC routine in the libc case.
15160 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15161
88570753
DM
15162 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15163 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15164 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15165 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15166 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15167 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15168 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15169 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15170
249d7567
DM
15171 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15172 loop to 256 bytes instead of 64 bytes and fix test signedness.
15173
18c9d62b
DM
15174 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15175 * sysdeps/sparc/sparc32/Makefile: rather than here...
15176 * sysdeps/sparc/sparc64/Makefile: and here.
15177
05f3d1f6
UD
151782012-03-28 Ulrich Drepper <drepper@gmail.com>
15179
15180 * malloc/mallocbug.c: Avoid warnings about unused variables.
15181
86ae07a8
JL
151822012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15183
15184 [BZ #13760]
15185 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15186 in the right place. Discard and retry query if response is
15187 larger than input buffer size.
15188
41bf21a1
JM
151892012-03-28 Joseph Myers <joseph@codesourcery.com>
15190
d6270972
JM
15191 [BZ #369]
15192 [BZ #2678]
15193 [BZ #3866]
15194 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15195 x for large integer exponent.
15196 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15197 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15198 sign of result as needed afterwards.
15199 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15200 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15201 result for underflowing pow the same as for overflow.
15202 (__kernel_standard_l): Handle powl overflow and underflow here
15203 rather than calling __kernel_standard.
15204 * math/libm-test.inc (pow_test): Add more tests.
15205
414fca03 15206 [BZ #3868]
41bf21a1
JM
15207 [BZ #13879]
15208 [BZ #13910]
15209 [BZ #13911]
15210 [BZ #13912]
15211 [BZ #13913]
15212 [BZ #13915]
15213 [BZ #13916]
15214 [BZ #13917]
15215 [BZ #13918]
15216 [BZ #13919]
15217 [BZ #13920]
15218 [BZ #13921]
15219 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15220 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15221 (__kernel_standard_l): New function.
15222 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15223 __kernel_standard.
15224 * math/w_acosl.c (__acosl): Likewise.
15225 * math/w_asinl.c (__asinl): Likewise.
15226 * math/w_atan2l.c (__atan2l): Likewise.
15227 * math/w_atanhl.c (__atanhl): Likewise.
15228 * math/w_coshl.c (__coshl): Likewise.
15229 * math/w_exp10l.c (__exp10l): Likewise.
15230 * math/w_exp2l.c (__exp2l): Likewise.
15231 * math/w_fmodl.c (__fmodl): Likewise.
15232 * math/w_hypotl.c (__hypotl): Likewise.
15233 * math/w_j0l.c (__j0l, __y0l): Likewise.
15234 * math/w_j1l.c (__j1l, __y1l): Likewise.
15235 * math/w_jnl.c (__jnl, __ynl): Likewise.
15236 * math/w_lgammal.c (__lgammal): Likewise.
15237 * math/w_log10l.c (__log10l): Likewise.
15238 * math/w_log2l.c (__log2l): Likewise.
15239 * math/w_logl.c (__logl): Likewise.
15240 * math/w_powl.c (__powl): Likewise.
15241 * math/w_remainderl.c (__remainderl): Likewise.
15242 * math/w_scalbl.c (sysv_scalbl): Likewise.
15243 * math/w_sinhl.c (__sinhl): Likewise.
15244 * math/w_sqrtl.c (__sqrtl): Likewise.
15245 * math/w_tgammal.c (__tgammal): Likewise.
15246 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15247 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15248 * math/libm-test.inc (acos_test): Add more tests.
15249 (acosh_test): Likewise.
15250 (asin_test): Likewise.
15251 (atanh_test): Likewise.
15252 (exp_test): Likewise.
15253 (exp10_test): Likewise.
15254 (exp2_test): Likewise.
15255 (expm1_test): Likewise.
15256 (lgamma_test): Likewise.
15257 (log_test): Likewise.
15258 (log10_test): Likewise.
15259 (log1p_test): Likewise.
15260 (log2_test): Likewise.
15261 (pow_test): Do not allow some spurious overflow exceptions.
15262 (sqrt_test): Add more tests.
15263 (tgamma_test): Likewise.
15264 (y0_test): Likewise.
15265 (y1_test): Likewise.
15266 (yn_test): Likewise.
15267
dd62fda6
AB
152682012-03-27 Anton Blanchard <anton@samba.org>
15269
15270 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15271 MAP_HUGETLB.
15272 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15273 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15274 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15275
1e3cdfda
AJ
152762012-03-27 David S. Miller <davem@davemloft.net>
15277
b855ab85
DM
15278 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15279
1e3cdfda
AJ
15280 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15281 have-as-vis3 check.
15282
152832012-03-27 Andreas Jaeger <aj@suse.de>
15284
15285 * sysdeps/x86_64/elf/configure.in: Moved to ...
15286 * sysdeps/x86_64/configure.in: ... here.
15287 * sysdeps/x86_64/elf/start.S: Moved to ...
15288 * sysdeps/x86_64/start.S: ... here.
15289 * sysdeps/x86_64/elf/configure: Delete.
15290
15291 * sysdeps/x86_64/configure.in: Merge contents from
15292 sysdeps/i386/configure.in (without i686 check).
15293
15294 * sysdeps/i386/elf/Versions: Merge into ...
15295 * sysdeps/i386/Versions: ... this.
15296 * sysdeps/i386/elf/Versions: Delete file.
15297 * sysdeps/i386/elf/start.S: Moved to ...
15298 * sysdeps/i386/start.S: ...here.
15299 * sysdeps/i386/elf/configure.in: Merge into...
15300 * sysdeps/i386/configure.in: ...here.
15301 * sysdeps/i386/elf/configure.in: Delete file.
15302 * sysdeps/i386/elf/configure: Delete file.
15303
15304 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15305 * debug/backtracesyms.c: ... here.
15306 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15307 * debug/backtracesymsfd.c: ... here.
15308 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15309 * sysdeps/generic/ifunc-sel.h: ... here.
15310
15311 * sysdeps/unix/i386/start.c: Delete file.
15312 * sysdeps/unix/sparc/start.c: Delete file.
15313 * sysdeps/unix/start.c: Delete file.
15314
15315 * sysdeps/sh/elf/configure.in: Moved to ...
15316 * sysdeps/sh/configure.in: ... here.
15317 * sysdeps/sh/elf/start.S: Moved to ...
15318 * sysdeps/sh/start.S: ... here.
15319 * sysdeps/sh/elf/configure: Delete file.
15320
15321 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15322 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15323 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15324 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15325 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15326 * sysdeps/powerpc/powerpc64/start.S: here.
15327 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15328 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15329 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15330 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15331 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15332
15333 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15334 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15335 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15336 * sysdeps/powerpc/powerpc32/start.S: ... here.
15337 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15338 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15339 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15340
15341 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15342 * sysdeps/powerpc/ifunc-sel.h: ... here.
15343 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15344 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15345
15346 * sysdeps/sparc/elf/configure.in: Moved to ...
15347 * sysdeps/sparc/configure.in: ... here.
15348 * sysdeps/sparc/elf/configure: Delete file.
15349 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15350 * sysdeps/sparc/sparc32/start.S: ... here.
15351 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15352 * sysdeps/sparc/sparc64/start.S: ... here.
15353 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15354 * sysdeps/sparc/sparc32/Makefile: ... this.
15355 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15356 * sysdeps/sparc/sparc64/Makefile: ... this.
15357
15358 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15359 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15360 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15361 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15362 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15363 * sysdeps/s390/s390-32/setjmp.S: ... here.
15364 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15365 * sysdeps/s390/s390-32/configure.in: ... here.
15366 * sysdeps/s390/s390-32/elf/configure: Delete file.
15367 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15368 * sysdeps/s390/s390-32/start.S: ... here.
15369
15370 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15371 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15372 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15373 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15374 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15375 * sysdeps/s390/s390-64/setjmp.S: ... here.
15376 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15377 * sysdeps/s390/s390-64/configure.in: ... here
15378 * sysdeps/s390/s390-64/elf/configure: Delete file.
15379 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15380 * sysdeps/s390/s390-64/start.S: ... here.
15381 * sysdeps/s390/s390-64/elf/configure: Delete.
15382
15383 * configure.in: Remove support for elf directories in sysdeps.
15384
15385 * configure: Regenerated.
15386 * sysdeps/i386/configure: Regenerated.
15387 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15388 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15389 * sysdeps/s390/s390-32/configure: Regenerated.
15390 * sysdeps/s390/s390-64/configure: Regenerated.
15391 * sysdeps/sh/configure: Regenerated.
15392 * sysdeps/sparc/configure: Regenerated.
15393 * sysdeps/x86_64/configure: Regenerated.
15394
a3f61311
AS
153952012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15396
c876e002
AS
15397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15398
a3f61311
AS
15399 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15400 denormal result into account.
15401
ac4c54f0
RM
154022012-03-25 Roland McGrath <roland@hack.frob.com>
15403
15404 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15405 Reported by Allan McRae <allan@archlinux.org>.
15406
6a9b9c02
JL
154072012-03-23 Jeff Law <law@redhat.com>
15408
15409 * nss/getnssent.c (__nss_getent): Fix typo.
15410
4c42a0c1
DM
154112012-03-23 David S. Miller <davem@davemloft.net>
15412
15413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15414
1532c7ac
L
154152012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15416
15417 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15418 to pad to uint64_t for each field.
15419 (dl_tls_index): Replace unsigned long with uint64_t.
15420
3ff42526
PP
154212012-03-23 Daniel Jacobowitz <dmj@google.com>
15422 Paul Pluzhnikov <ppluzhnikov@google.com>
15423
15424 [BZ #6528]
15425 * grp/Makefile (otherlibs): Don't set it.
15426 * inet/Makefile (otherlibs): Likewise.
15427 * login/Makefile (otherlibs): Likewise.
15428 * nscd/Makefile (otherlibs): Likewise.
15429 * posix/Makefile (otherlibs): Likewise.
15430 * pwd/Makefile (otherlibs): Likewise.
15431 * rt/Makefile (otherlibs): Likewise.
15432 * sunrpc/Makefile (otherlibs): Likewise.
15433 * nss/Makefile (otherlibs): Likewise.
15434 Add libnss_files to routines and static-only-routines.
15435 ($(objpfx)getent): Remove rule.
15436 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15437 static-only-routines.
15438
7c69cd14
JM
154392012-03-22 Joseph Myers <joseph@codesourcery.com>
15440
15441 [BZ #13892]
15442 * math/s_cexp.c: Include <float.h>.
15443 (__cexp): Handle exp result overflowing not necessarily
15444 overflowing both real and imaginary parts of result.
15445 * math/s_cexpf.c: Likewise.
15446 * math/s_cexpl.c: Likewise.
15447 * math/libm-test.inc (cexp_test): Add more tests.
15448 * sysdeps/i386/fpu/libm-test-ulps: Update.
15449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15450
81b035fe
L
154512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15452
15453 * include/link.h (ELFW): New macro.
15454 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15455 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15456
1da7940c
L
154572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15458
15459 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15460 with uint64_t.
15461
b749dbb9
L
154622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15463
15464 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15465 declaration.
15466 (struct La_x32_retval): Likewise.
15467
2ff87f3f
L
154682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15469
15470 * sysdeps/x86_64/preconfigure.in: New file.
15471 * sysdeps/x86_64/preconfigure: New generated file.
15472
c0df8e69
JM
154732012-03-22 Joseph Myers <joseph@codesourcery.com>
15474
48e44791
JM
15475 [BZ #13824]
15476 * math/e_exp2l.c: Include <float.h>.
15477 (__ieee754_exp2l): Handle overflow and underflow cases
15478 separately. Only pass fractional part of argument to
15479 __ieee754_expl.
15480 * math/libm-test.inc (exp2_test): Add more tests.
15481
c0df8e69
JM
15482 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15483 negating x to take absolute value.
15484 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15485 Likewise.
15486 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15487 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15488 Likewise.
15489 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15490 computing low part if x was negated.
15491 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15492
c8e43ba7
L
154932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15494
15495 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15496 la_x32_gnu_pltexit.
15497 (pltexit): Cast int_retval to ptrdiff_t.
15498 * elf/tst-auditmod3b.c: Likewise.
15499 * elf/tst-auditmod4b.c: Likewise.
15500 * elf/tst-auditmod5b.c: Likewise.
15501 * elf/tst-auditmod6b.c: Likewise.
15502 * elf/tst-auditmod6c.c: Likewise.
15503 * elf/tst-auditmod7b.c: Likewise.
15504
15505 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15506 and x32_gnu_pltexit.
15507
15508 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15509 __ELF_NATIVE_CLASS.
15510 (La_x32_regs): New macro.
15511 (La_x32_retval): Likewise.
15512 (la_x32_gnu_pltenter): New function prototype.
15513 (la_x32_gnu_pltexit): Likewise.
15514
7998fa78
AS
155152012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15516
dcb33988
AS
15517 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15518 exponent.
15519
233fc563
AS
15520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15521
7998fa78
AS
15522 * configure.in (libc_cv_cc_nofma): Check for option to disable
15523 generation of FMA instructions.
15524 * configure: Regenerate.
15525 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15526 * sysdeps/ieee754/dbl-64/Makefile: New file.
15527 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15528 Remove brandred-fma4.
15529 (CFLAGS-brandred-fma4.c): Remove.
15530 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15531 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15532 define.
15533 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15534 define.
15535
8e95c99a
L
155362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15537
15538 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15539 LLONG_MAX != LONG_MAX.
15540 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15541 (_fitoa_word): Likewise.
15542 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15543 LLONG_MAX != LONG_MAX.
15544 * stdio-common/_itowa.h: Include <_itoa.h>.
15545 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15546 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15547 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15548 only if not defined.
15549 (_ITOA_WORD_TYPE): Likewise.
15550 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15551 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15552
6f4db457
DM
155532012-03-21 David S. Miller <davem@davemloft.net>
15554
15555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15556
7785fe5a
L
155572012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15558
15559 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15560 of x86_64 when setting libc_cv_slibdir, libdir and
15561 libc_cv_localedir.
15562 * sysdeps/unix/sysv/linux/configure: Regenerated.
15563
4535cd55
JM
155642012-03-21 Joseph Myers <joseph@codesourcery.com>
15565
15566 * manual/lang.texi (Old Varargs): Remove section.
15567 (How Variadic): Update menu.
15568 (va_start): Do not mention varargs.h.
15569
17228132
TS
155702012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15571 Joseph Myers <joseph@codesourcery.com>
15572
15573 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15574 link test.
15575 * configure: Regenerated.
15576
8149f976
TS
155772012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15578
05f3d1f6
UD
15579 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15580 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15581 conformtest.pl
8149f976 15582
1a4ac776
JM
155832012-03-21 Joseph Myers <joseph@codesourcery.com>
15584
be22ce65
JM
15585 * NOTES: Remove.
15586 * Makefile (files-for-dist): Remove NOTES.
15587 (NOTES): Remove rule.
15588 * README: Don't refer to NOTES.
15589 * manual/creature.texi: Don't include macros.texi.
15590 * manual/intro.texi (creature.texi): Remove comment referring to
15591 NOTES.
15592
40b601fb
JM
15593 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15594 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15595 * configure: Regenerated.
15596 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15597 LIBC_TRY_CC_OPTION.
15598 (libc_cv_as_i686): Likewise.
15599 (libc_cv_cc_avx): Likewise.
15600 (libc_cv_cc_sse2avx): Likewise.
15601 (libc_cv_cc_fma4): Likewise.
15602 (libc_cv_cc_novzeroupper): Likewise.
15603 * sysdeps/i386/configure: Regenerated.
15604
1a4ac776
JM
15605 [BZ #13883]
15606 * sysdeps/i386/fpu/s_cexp.S: Remove.
15607 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15608 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15609 * math/libm-test.inc (cexp_test): Add more tests.
15610 * sysdeps/i386/fpu/libm-test-ulps: Update.
15611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15612
a458e7fe
AM
156132012-03-21 Allan McRae <allan@archlinux.org>
15614
15615 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15616
0cb7efc5
JM
156172012-03-21 Joseph Myers <joseph@codesourcery.com>
15618
15619 [BZ #13871]
15620 * math/w_exp2.c: Do not include <float.h>.
15621 (o_threshold, u_threshold): Remove.
15622 (__exp2): Calculate result before checking finiteness and calling
15623 __kernel_standard.
15624 * math/w_exp2f.c: Likewise.
15625 * math/w_exp2l.c: Likewise.
15626 * math/libm-test.inc (exp2_test): Require overflow exception for
15627 1e6 input.
2460d3aa
JM
15628
15629 [BZ #3866]
15630 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15631 range of signed 64-bit integers before using fistpll. Remove
15632 checks for whether integers fit in mantissa bits.
15633 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15634 the range of signed 32-bit integers before using fistpl. Remove
15635 checks for whether integers fit in mantissa bits.
15636 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15637 (__ieee754_powl): Test for y outside the range of signed 64-bit
15638 integers before using fistpll. Reduce 64-bit values to 63-bit
15639 ones as needed.
15640 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15641 divide-by-zero is raised for zero to large negative powers.
15642 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15643 (__ieee754_powl): Test for y outside the range of signed 64-bit
15644 integers before using fistpll. Reduce 64-bit values to 63-bit
15645 ones as needed.
15646 * math/libm-test.inc (pow_test): Add more tests.
15647
eb96ffb0
L
156482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15649
15650 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15651 <stdio-common/_itoa.h>.
15652 * debug/segfault.c: Likewise.
15653 * elf/dl-cache.c: Likewise.
15654 * elf/dl-minimal.c: Likewise.
15655 * elf/dl-misc.c: Likewise.
15656 * elf/dl-sysdep.c: Likewise.
15657 * elf/dl-version.c: Likewise.
15658 * elf/rtld.c: Likewise.
15659 * hurd/hurdsock.c: Likewise.
15660 * hurd/lookup-retry.c: Likewise.
15661 * malloc/malloc.c: Likewise.
15662 * malloc/mtrace.c: Likewise.
15663 * nscd/nscd_getgr_r.c: Likewise.
15664 * nscd/nscd_getpw_r.c: Likewise.
15665 * nscd/nscd_getserv_r.c: Likewise.
15666 * posix/getopt_init.c: Likewise.
15667 * posix/wordexp.c: Likewise.
15668 * stdio-common/_itoa.c: Likewise.
15669 * stdio-common/printf_fphex.c: Likewise.
15670 * stdio-common/vfprintf.c: Likewise.
15671 * string/_strerror.c: Likewise.
15672 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15673 * sysdeps/i386/i686/hp-timing.h: Likewise.
15674 * sysdeps/mach/_strerror.c: Likewise.
15675 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15676 * sysdeps/mach/hurd/sethostid.c: Likewise.
15677 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15678 * sysdeps/mach/xpg-strerror.c: Likewise.
15679 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15680 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15681 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15682 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15683 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15684 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15685 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15686 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15687 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15688 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15689 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15690 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15691 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15692 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15693 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15694 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15695 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15696 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15697 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15698 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15699 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15700
15701 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15702
15703 * stdio-common/_itoa.h: Moved to ...
15704 * sysdeps/generic/_itoa.h: Here.
15705
15706 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15707
15708 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15709 instead of "_itoa.h" and "_itowa.h".
15710 * stdio-common/vfprintf.: Likewise.
15711
d1af992d
L
157122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15713
15714 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15715 <bits/wordsize.h>.
15716 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15717 (__signbit): Likwise.
15718 (llrintf): Likwise.
15719 (llrint): Likwise.
15720
114883e0
L
157212012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15722
15723 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15724 __WORDSIZE != 64.
15725
c135cc1b
JM
157262012-03-20 Joseph Myers <joseph@codesourcery.com>
15727
15728 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15729 OVERFLOW_EXCEPTION_OK.
15730 * math/libm-test.inc ("Philosophy"): Update comment about
15731 exception testing.
15732 (OVERFLOW_EXCEPTION): Define.
15733 (OVERFLOW_EXCEPTION_OK): Likewise.
15734 (INVALID_EXCEPTION_OK): Renumber.
15735 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15736 (IGNORE_ZERO_INF_SIGN): Likewise.
15737 (test_exceptions): Handle FE_OVERFLOW.
15738 (exp10_test): Expect overflow exceptions.
15739 (exp2_test): Likewise.
15740 (expm1_test): Likewise.
15741 (nextafter_test): Likewise.
15742 (pow_test): Likewise.
15743 (scalbn_test): Likewise.
15744 (scalbln_test): Likewise.
15745
95443d88
L
157462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15747
15748 * sysdeps/x86_64/bits/atomic.h
15749 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15750 64bit integer.
15751 (atomic_exchange_acq): Likewise.
15752 (__arch_exchange_and_add_body): Likewise.
15753 (__arch_add_body): Likewise.
15754 (atomic_add_negative): Likewise.
15755 (atomic_add_zero): Likewise.
15756
490df6c4
L
157572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15758
c2722551 15759 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
15760 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15761
5e52b189
L
157622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15763
15764 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15765 Check __x86_64__ instead of __WORDSIZE.
15766
a9879d4c
L
157672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15768
15769 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15770
5df98260
DM
157712012-03-19 David S. Miller <davem@davemloft.net>
15772
e1497744
DM
15773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15774
5df98260
DM
15775 * sysdeps/sparc/fpu/fenv_private.h: New file.
15776 * sysdeps/sparc/fpu/math_private.h: Use it.
15777 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15778 Remove.
15779 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15780 (libc_feholdexcept_setroundl): Remove.
15781 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15782 Remove.
15783 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15784 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15785
b4c35121
L
157862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15787
15788 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15789 int64_t instead of long int.
15790 (INSERT_WORDS64): Likwise.
15791
56965fd7
L
157922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15793
15794 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15795 _Unwind_GetCFA return to _Unwind_Ptr first.
15796
83d1aec8
JM
157972012-03-19 Joseph Myers <joseph@codesourcery.com>
15798
1897ad44
JM
15799 [BZ #13629]
15800 * math/s_clog.c: Include <float.h>.
15801 (__clog): Scale large or subnormal inputs.
15802 * math/s_clogf.c: Likewise.
15803 * math/s_clogl.c: Likewise.
15804 * math/s_clog10.c: Include <float.h>.
15805 (M_LOG10_2): Define.
15806 (__clog10): Scale large or subnormal inputs.
15807 * math/s_clog10f.c: Likewise.
15808 * math/s_clog10l.c: Likewise.
15809 * math/libm-test.inc (clog_test): Add more tests.
15810 (clog10_test): Likewise.
15811 * sysdeps/i386/fpu/libm-test-ulps: Update.
15812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15813
7726d6a9
JM
15814 [BZ #11451]
15815 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15816 x and y.
15817 * math/libm-test.inc (atan2_test): Add another test.
15818
83d1aec8
JM
15819 * Makerules (common-objdir-compile): Remove.
15820 * sysdeps/unix/Makefile (config-generated): Do not add
15821 $(unix-generated) to variable.
15822 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15823 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15824 Remove rule.
15825 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15826 Likewise.
15827 [generic bits/local_lim.h] (before-compile): Do not append to
15828 variable.
15829 [generic bits/local_lim.h] (common-generated): Likewise.
15830 [generic sys/param.h] (before-compile): Do not append to variable.
15831 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15832 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15833 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15834 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15835 include.
15836 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15837 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15838 [generic sys/param.h] ($(addprefix
15839 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15840 [generic sys/param.h] (common-generated): Do not append to
15841 variable.
15842 [generic sys/param.h] (sysdep_headers): Likewise.
15843 [generic bits/errno.h] (before-compile): Do not append to
15844 variable.
15845 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15846 rule.
15847 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15848 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15849 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15850 [generic bits/errno.h] (common-generated): Do not append to
15851 variable.
15852 [generic bits/ioctls.h] (before-compile): Do not append to
15853 variable.
15854 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15855 rule.
15856 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15857 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15858 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15859 rule.
15860 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15861 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15862 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15863 [generic bits/ioctls.h] (common-generated): Do not append to
15864 variable.
15865 [generic sys/syscall.h] (syscall.h): Remove variable.
15866 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15867 rule.
15868 [generic sys/syscall.h] (before-compile): Do not append to
15869 variable.
15870 [generic sys/syscall.h] (common-generated): Likewise.
15871 * sysdeps/unix/errnos-tmpl.c: Remove file.
15872 * sysdeps/unix/errnos.awk: Likewise.
15873 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15874 * sysdeps/unix/ioctls.awk: Likewise.
15875 * sysdeps/unix/mk-local_lim.c: Likewise.
15876 * sysdeps/unix/snarf-ioctls: Likewise.
15877
4851a949
RH
158782012-03-19 Richard Henderson <rth@twiddle.net>
15879
bd37f2ee
RH
15880 * sysdeps/i386/fpu/fenv_private.h: New file.
15881 * sysdeps/i386/fpu/math_private.h: Use it.
15882 (math_opt_barrier, math_force_eval): Remove.
15883 (libc_feholdexcept_setround_53bit): Remove.
15884 (libc_feupdateenv_53bit): Remove.
15885 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15886 (math_opt_barrier, math_force_eval): Remove.
15887 (libc_feholdexcept): Remove.
15888 (libc_feholdexcept_setround): Remove.
15889 (libc_fetestexcept, libc_fesetenv): Remove.
15890 (libc_feupdateenv_test): Remove.
15891 (libc_feupdateenv, libc_feholdsetround): Remove.
15892 (libc_feresetround): Remove.
15893
d0adc922
RH
15894 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15895 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15896
0fe0f1f8
RH
15897 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15898 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15899 (libc_feupdateenv_testl): New.
15900 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15901 (libc_feupdateenv_testf): New.
15902 (libc_feupdateenv): Use libc_feupdateenv_test.
15903 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15904 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15905
eb92c487
RH
15906 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15907 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15908 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15909 (libc_feresetround_noex): New.
15910 (libc_feresetround_noexf): New.
15911 (libc_feresetround_noexl): New.
15912 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15913 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15914 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15915 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15916 SET_RESTORE_ROUND.
15917 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15918 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15919 (__cos): Likewise.
15920 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15921 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15922 SET_RESTORE_ROUND_NOEX.
15923 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15924 SET_RESTORE_ROUND_NOEXF.
15925 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15926 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15927 (libc_feholdsetroundf): New.
15928 (libc_feresetround, libc_feresetroundf): New.
15929
7d2e8012
RH
15930 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15931 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15932 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15933
b4dabbb4
RH
15934 * sysdeps/generic/math_private.h: Include <fenv.h>.
15935 (default_libc_feholdexcept): New.
15936 (default_libc_feholdexcept_setround): New.
15937 (default_libc_fesetenv, default_libc_feupdateenv): New.
15938 (libc_feholdexcept): Only define if undefined.
15939 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15940 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15941 (libc_feholdexcept_setroundl): Likewise.
15942 (libc_feholdexcept_setround_53bit): Likewise.
15943 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15944 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15945 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15946 (libc_feupdateenv_53bit): Likewise.
15947 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15948 (libc_feholdexcept): Convert from macro to inline function.
15949 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15950 (libc_fesetenv, libc_feupdateenv): Likewise.
15951
4851a949
RH
15952 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15953 not previously defined.
15954 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15955 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15956 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15957 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15958 * sysdeps/ieee754/flt-32/math_private.h: New file.
15959 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15960 math_private.h below SET_FLOAT_WORD.
15961 (__isnan, __isinf_ns, __finite): Remove.
15962 (__isnanf, __isinf_nsf, __finitef): Remove.
15963
e79d442e
AS
159642012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15965
15966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15967
90b80344
DM
159682012-03-17 David S. Miller <davem@davemloft.net>
15969
15970 [BZ #6471]
15971 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15972 for 2.16.
15973
edc21804
DM
159742012-03-16 David S. Miller <davem@davemloft.net>
15975
77e927af
DM
15976 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15977 warnings.
15978
374976dd
DM
15979 [BZ #6471]
15980 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15981 properly.
15982 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15983 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15984 sysdep_routines when subdir is sysvipc.
15985 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15986 __getshmlba helper.
15987
edc21804
DM
15988 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15989
473c3ef3
L
159902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15991
15992 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15993 [__LP64__].
15994
eb0f39b6
L
159952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15996
15997 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15998 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15999 (__lround): Renamed to ...
16000 (__llround): This. Replace long int with long long int.
16001 Define lround functions as aliases of llround functions.
16002 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16003
6b6cd74b
L
160042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16005
16006 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16007 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16008 adresses to uintptr_t. Replace "long int" and "unsigned long
16009 int" with "greg_t" on va_arg.
16010
f1a77b01
L
160112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16012
16013 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16014 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16015
16016 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16017 Move e_machine check before EI_CLASS check. Handle x32
16018 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16019 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16020 SKIP_EM_IA_64 and include
16021 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16022
16023 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16024 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16025 (add_system_dir): New macro.
16026
16027 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16028 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16029
11b90b9f
JM
160302012-03-16 Joseph Myers <joseph@codesourcery.com>
16031
c36e1d23
JM
16032 [BZ #2551]
16033 [BZ #2552]
16034 [BZ #2553]
16035 [BZ #2554]
16036 [BZ #2562]
16037 [BZ #2563]
16038 [BZ #2565]
16039 [BZ #2566]
16040 [BZ #2576]
16041 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16042 (y0): Likewise.
16043 * math/w_j0f.c (j0f): Likewise.
16044 (y0f): Likewise.
16045 * math/w_j0l.c (__j0l): Likewise.
16046 (__y0l): Likewise.
16047 * math/w_j1.c (j1): Likewise.
16048 (y1): Likewise.
16049 * math/w_j1f.c (j1f): Likewise.
16050 (y1f): Likewise.
16051 * math/w_j1l.c (__j1l): Likewise.
16052 (__y1l): Likewise.
16053 * math/w_jn.c (jn): Likewise.
16054 (yn): Likewise.
16055 * math/w_jnf.c (jnf): Likewise.
16056 (ynf): Likewise.
16057 * math/w_jnl.c (__jnl): Likewise.
16058 (__ynl): Likewise.
16059 * math/libm-test.inc (j0_test): Add more tests.
16060 (j1_test): Likewise.
16061 (jn_test): Likewise. Add trailing semicolon to existing test.
16062 (y0_test): Likewise.
16063 (y1_test): Likewise.
16064 * sysdeps/i386/fpu/libm-test-ulps: Update.
16065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16066
11b90b9f
JM
16067 [BZ #13851]
16068 [BZ #13854]
16069 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16070 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16071 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16072 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16073 (__tanl): Set errno for infinite argument.
16074 * sysdeps/i386/fpu/mptan.c: Remove.
16075 * sysdeps/i386/fpu/s_tan.S: Likewise.
16076 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16077 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16078 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16079 * math/libm-test.inc (tan_test): Add more tests and enable more
16080 tests for double and long double.
16081 * sysdeps/i386/fpu/libm-test-ulps: Update.
16082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16083
6a1bd2a1
JK
160842012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16085
16086 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16087 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16088
10a803e0
RM
160892012-03-16 Roland McGrath <roland@hack.frob.com>
16090
16091 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16092 * configure.in: Use it for both main tree and add-ons.
16093 * configure: Regenerated.
16094
f196c7f7
L
160952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16096
16097 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16098
8848d99d
JM
160992012-03-16 Joseph Myers <joseph@codesourcery.com>
16100
96cbe7f4
JM
16101 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16102 in comment.
16103
8848d99d
JM
16104 [BZ #13851]
16105 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16106 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16107 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16108 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16109 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16110 infinite argument.
16111 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16112 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16113 != 0 for prec == 2.
16114 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16115 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16116 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16117 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16118 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16119 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16120 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16121 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16122 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16123 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16124 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16125 * math/libm-test.inc (cos_test): Add more tests and enable more
16126 tests for long double.
16127 (sin_test): Likewise.
16128 (sincos_test): Likewise.
16129 * sysdeps/i386/fpu/libm-test-ulps: Update.
16130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16131
dd7f4703
DM
161322012-03-16 David S. Miller <davem@davemloft.net>
16133
16134 * sysdeps/sparc/fpu/math_private.h: New file.
16135
006f1daa
DM
161362012-03-15 David S. Miller <davem@davemloft.net>
16137
c0c83bc8
DM
16138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16139 file.
e6a62e18 16140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
16141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16142 file.
e6a62e18
DM
16143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16145 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16148 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16149 sysdep routines.
16150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16151
88cb87d9
DM
16152 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16153 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16154
006f1daa 16155 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
16156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16157 sparc-ifunc.h
006f1daa 16158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
16159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16160 Likewise.
16161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16162 Likewise.
006f1daa
DM
16163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
16166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16167 Likewise.
006f1daa
DM
16168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
16172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16173 Likewise.
16174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16175 Likewise.
006f1daa
DM
16176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16180 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16181 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16182 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16183 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16185 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16188 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16194 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16195 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16196 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16197 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16198 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16199 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16200
11e0098e
AS
162012012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16202
16203 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16204 scaling.
16205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16206
e85b09d0
AJ
162072012-03-15 Andreas Jaeger <aj@suse.de>
16208
16209 [BZ #13852]
16210 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16211 ieee754/flt-32 implementation for sin, cos and sincos.
16212 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16213 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16214 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16215 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16216 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16217 ieee754/flt-32 implementation for tan.
16218
16219 * math/libm-test.inc (cos_test): Enable some large input tests for
16220 float as well
16221 (sin_test): Likewise.
16222 (sincos_test): Likewise.
16223 (tan_test): Add tests for large input.
16224
16225 * sysdeps/i386/fpu/libm-test-ulps: Update.
16226
81c64153
AJ
162272012-03-15 Andreas Jaeger <aj@suse.de>
16228
16229 [BZ #13658]
16230 * math/libm-test.inc (cos_test): Add more test cases.
16231 (sin_test): Likewise.
16232 (sincos_test): Likewise.
16233
7bbfa5c6
AJ
162342012-03-15 Andreas Jaeger <aj@suse.de>
16235
16236 [BZ #13837]
16237 * math/libm-test.inc (cos_test): Add a test case for large input
16238 value.
16239 (sin_test): Likewise.
16240 (sincos_test): Likewise.
16241
162422012-03-15 Andreas Jaeger <aj@suse.de>,
16243 Joseph Myers <joseph@codesourcery.com>
16244
16245 [BZ #13658]
0671f479 16246 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
16247 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16248 * sysdeps/i386/fpu/branred.c: Likewise.
16249 * sysdeps/i386/fpu/dosincos.c: Likewise.
16250 * sysdeps/i386/fpu/mpa.c: Likewise.
16251 * sysdeps/i386/fpu/s_cos.S: Likewise.
16252 * sysdeps/i386/fpu/s_sin.S: Likewise.
16253 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16254 * sysdeps/i386/fpu/sincos32.c: Likewise.
16255
16256 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16257 Define.
16258 (libc_feupdateenv_53bit): Define.
16259 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16260 Define.
16261 (libc_feupdateenv_53bit): Define.
16262
16263 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16264 53 bit (without extend i386 double precision).
16265
16266 * math/libm-test.inc (sincos_test): Add tests for large input.
16267 (sin): Likewise.
16268 (cos): Likewise.
16269
16270 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16271
9cad04ea
AS
162722012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16273
16274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16275
f7062b9a
DM
162762012-03-15 David S. Miller <davem@davemloft.net>
16277
16278 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16279 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16280 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16281 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
16293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16294 file.
f7062b9a 16295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
16296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16297 file.
f7062b9a 16298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
16299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16300 file.
f7062b9a 16301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
16302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16303 file.
f7062b9a
DM
16304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16305 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16306 fmin/fmax sysdep routines.
16307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16308
7bd951ff
DM
163092012-03-14 David S. Miller <davem@davemloft.net>
16310
559398ab
DM
16311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16312 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16313 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16314 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16315 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16316 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16317 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16318 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16319 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16320 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16321 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16322 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16325 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16326 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16327 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16330 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16331 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16332 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16333 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16334 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16335 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16336 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16337 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16338 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16339 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16340 routines.
16341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16342 file.
559398ab 16343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
16344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16345 file.
559398ab 16346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
16347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16348 file.
559398ab 16349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
16350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16351 file.
559398ab 16352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
16353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16354 file.
559398ab 16355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
16356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16357 file.
16358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16359 file.
16360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16361 file.
16362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16363 file.
16364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16365 New file.
16366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16367 file.
16368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16369 file.
559398ab 16370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
16371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16372 file.
559398ab 16373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16375 file.
559398ab 16376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
16377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16378 file.
559398ab 16379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
16380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16381 VIS3 routines.
559398ab
DM
16382
16383 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16384 New file.
16385
5a1c1e32
DM
16386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16387
eae47a36
DM
16388 * sysdeps/sparc/configure.in: New file.
16389 * sysdeps/sparc/configure: Generate.
16390 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16391 * configure: Regenerate.
16392 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16393 * config.make.in (have-as-vis3): New.
16394 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16395 available use -Av9d instead of -Av9a.
16396 * sysdeps/sparc/sparc64/Makefile: Likewise.
16397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
16398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16399 New file.
16400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16401 file.
16402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16403 New file.
16404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16405 file.
eae47a36
DM
16406 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16407 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16408 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16409 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16410 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16411
c0c83bc8
DM
16412 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16413 fzeros/fnegs to load 0x80000000 into a float register instead of
16414 using the stack.
7bd951ff
DM
16415 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16416
bd951ccb
JM
164172012-03-14 Joseph Myers <joseph@codesourcery.com>
16418
16419 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16420 bits/syscall.h.
16421 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16422 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16423 ($(inst_includedir)/bits/syscall.h): Remove rule.
16424 ($(objpfx)bits/syscall.d): Include instead of
16425 $(objpfx)syscall-list.d.
16426 (generated): Change syscall-list.h and syscall-list.d to
16427 bits/syscall.h and bits/syscall.d.
16428
bb4e6db2
RM
164292012-03-14 Roland McGrath <roland@hack.frob.com>
16430
16431 [BZ #13846]
16432 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16433
aa4a2ae1
JM
164342012-03-14 Joseph Myers <joseph@codesourcery.com>
16435
e456826d
JM
16436 [BZ #13841]
16437 * math/s_csqrt.c: Include <float.h>.
16438 (__csqrt): Scale large or subnormal inputs.
16439 * math/s_csqrtf.c: Likewise.
16440 * math/s_csqrtl.c: Likewise.
16441 * math/libm-test.inc (csqrt_test): Add more tests.
16442 * sysdeps/i386/fpu/libm-test-ulps: Update.
16443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16444
aa4a2ae1
JM
16445 [BZ #13840]
16446 * math/libm-test.inc (hypot_test): Add more tests.
16447
7c10fd35
DM
164482012-03-13 David S. Miller <davem@davemloft.net>
16449
16450 [BZ #13840]
16451 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16452 double-precision for the calculation instead of scaling.
16453
f453b98b
JM
164542012-03-13 Joseph Myers <joseph@codesourcery.com>
16455
16456 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16457 manipulate bits before adding and subtracting TWO52[sx].
16458 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16459 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16460 Likewise.
16461 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16462
09a3453f
DM
164632012-03-13 David S. Miller <davem@davemloft.net>
16464
8e59da90
DM
16465 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16466 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16467 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16468 rtld-global-offsets.h
16469 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16470
2a8ab7f2
DM
16471 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16472 large parameters.
16473
10f62770
DM
16474 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16475
5f0bdb18
DM
16476 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16477 'err' in the ifdef scope in which it is actually used.
16478
09a3453f
DM
16479 * nss/nss_db/db-init.c: Include string.h
16480
b4b2eb5e
DM
164812012-03-12 David S. Miller <davem@davemloft.net>
16482
98bb2f1c
DM
16483 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16484 masking out of the most significant byte of random value used.
16485 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16486 Fix coding style in previous change.
16487
b4b2eb5e
DM
16488 * sysdeps/unix/sysv/linux/kernel-features.h
16489 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16490 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16491 expression.
16492 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16493 later.
16494
6e226b09
DM
164952012-03-11 David S. Miller <davem@davemloft.net>
16496
a1bcbd40
DM
16497 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16498 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16499 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16500 for 'resultvar' otherwise things get truncated on 64-bit.
16501
cb9d6174
DM
16502 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16503 Fix masking out of the most significant byte of random value used.
16504
6e226b09
DM
16505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16506
058c132d
AS
165072012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16508
16509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16510
2d2cd515
DM
165112012-03-09 David S. Miller <davem@davemloft.net>
16512
16513 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16514 variables with appropriate CPP guards.
16515 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16516 frame pointer, not the stack pointer. Correct layout comments. Fix test
16517 on resulting framesize and the management of the outregs buffer for pltexit.
16518 Preserve floating point return values across _dl_call_pltexit call.
16519 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16520 framesize and the management of the outregs buffer for pltexit.
16521 Preserve floating point return values across _dl_call_pltexit
16522 call.
16523 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16524 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16525 (print_exit): Fix format string for return register value.
16526
9a07f9d0
JM
165272012-03-10 Joseph Myers <joseph@codesourcery.com>
16528
16529 * sunrpc/Makefile (others): Add rpcgen.
16530 ($(objpfx)rpcgen): Remove special build rule and dependency on
16531 libc.
16532 * sunrpc/rpcgen.c: New file.
16533
547b5e30
PE
165342012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16535
c524201a
PE
16536 [BZ #13673]
16537 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16538 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16539 * sysdeps/i386/crti.S: Likewise.
16540 * sysdeps/i386/crtn.S: Likewise.
16541 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16542 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16543 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16544 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16545 * sysdeps/sh/crti.S: Likewise.
16546 * sysdeps/sh/crtn.S: Likewise.
16547 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16548
7b6235f2
PE
16549 [BZ #13673]
16550 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16551 with URL.
16552 * locale/programs/locfile-kw.gperf: Likewise.
16553 * locale/programs/charmap-kw.h: Regenerated.
16554 * locale/programs/locfile-kw.h: Likewise.
16555
547b5e30
PE
16556 [BZ #13673]
16557 * intl/plural.y: Replace FSF snail mail address with URL.
16558 * intl/plural.c: Regenerated.
16559
5f0a5dae
RH
165602012-03-09 Richard Henderson <rth@twiddle.net>
16561
16562 * include/math_private.h: Remove file.
16563 * math/math_private.h: Move file ...
16564 * sysdeps/generic/math_private.h: ... here.
16565
b8c03620
RH
16566 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16567 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16568 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16569
4e234f5d 16570 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
16571 and <math_private.h>.
16572 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16573 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16574 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16575 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16576 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16577 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16578 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16579 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16580 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16581 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16582 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16583 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16584 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16585 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16586 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16587 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16588 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16589 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16590 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16591 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16592 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16593 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16594 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16595 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16596 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16597 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16598 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16599 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16600 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16601 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16602 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16603 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16604 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16605 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16606 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16607 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16608 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16609 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16610 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16611 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16612 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16613 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16614 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16615 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16616 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16617 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16618 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16619 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16620 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16621 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16622 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16623 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16624 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16625 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16626 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16627 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16628 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16629 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16630 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16631 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16632 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16633 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16634 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16635 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16636 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16637 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16638 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16639 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16640 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16641 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16642 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16643 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16644 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16645 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16646 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16647 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16648 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16649 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16650 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16651 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16652 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16653 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16654 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16655 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16656 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16657 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16658 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16659 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16660 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16661 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16662 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16663 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16664 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16665 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16666 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16667 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16668 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16669 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16670 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16671 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16672 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16673 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16674 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16675 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16676 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16677 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16678 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16679 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16680 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16681 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16682 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16683 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16684 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16685 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16686 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16687 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16688 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16689 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16690 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16691 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16692 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16693 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16694 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16695 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16696 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16697 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16698 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16699 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16700 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16701 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16702 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16703 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16704 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16705 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16706 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16707 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16708 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16709 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16710 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16711 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16712 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16713 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16714 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16715 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16716 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16717 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16718 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16719 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16720 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16721 * sysdeps/ieee754/k_standard.c: Likewise.
16722 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16723 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16724 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16725 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16734 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16737 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16739 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16740 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16741 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16749 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16750 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16751 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16752 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16753 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16754 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16755 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16757 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16758 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16759 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16760 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16761 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16762 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16763 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16764 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16765 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16766 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16767 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16768 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16769 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16770 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16771 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16772 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16773 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16774 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16776 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16777 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16778 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16779 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16780 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16781 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16782 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16783 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16784 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16785 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16786 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16787 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16788 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16789 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16790 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16791 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16792 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16793 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16794 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16795 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16796 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16797 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16798 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16799 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16800 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16801 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16802 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16803 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16804 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16805 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16806 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16807 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16808 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16809 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16810 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16811 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16812 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16813 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16814 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16815 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16816 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16817 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16818 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16819 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16820 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16821 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16822 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16823 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16824 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16825 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16826 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16827 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16828 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16829 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16830 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16831 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16832 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16833 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16834 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16835 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16836 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16837 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16838 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16839 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16840 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16841 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16842 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16843 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16844 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16845 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16846 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16847 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16848 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16849 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16850 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16851 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16852 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16853 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16854 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16855 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16856 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16857 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16858 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16859 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16860 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16861 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16862 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16863 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16864 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16865 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16866 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16867 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16868 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16869 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16870 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16871 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16872 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16873 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16874 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16875 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16876 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16877 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16878 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16879 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16880 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16881 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16882 * sysdeps/ieee754/s_lib_version.c: Likewise.
16883 * sysdeps/ieee754/s_matherr.c: Likewise.
16884 * sysdeps/ieee754/s_signgam.c: Likewise.
16885 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16886 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16887 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16888 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16889 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16890 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16891 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16892 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16893 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16894 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16895 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16896 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16897 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16898 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16899 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16900 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16901 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16902 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16903 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16904 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16905 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 16906
1991fa03
JM
169072012-03-09 Joseph Myers <joseph@codesourcery.com>
16908
16909 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16910 * sunrpc/rpc_main.c: Likewise.
16911 * sunrpc/rpc_svcout.c: Likewise.
16912
60d6f5a6
DM
169132012-03-09 David S. Miller <davem@davemloft.net>
16914
16915 * include/math_private.h: New file.
16916
4962050e
JM
169172012-03-09 Joseph Myers <joseph@codesourcery.com>
16918
02a6f887
JM
16919 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16920 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16921 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16922 from <bits/socket_type.h>.
16923 (enum __socket_type): Don't define here.
16924 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16926 bits/socket_type.h.
16927
c6e013c1
JM
16928 [BZ #13566]
16929 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16930 checking __USE_GNU.
16931
4962050e
JM
16932 * Makerules ($(inst_includedir)/%.h): New rule.
16933 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16934 (install-others): Remove variable setting.
16935 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16936
38842f45
RH
169372012-03-08 Richard Henderson <rth@twiddle.net>
16938
67bb6da6
RH
16939 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16940 from macro to inline function; merge with the
16941 !__LIBC_INTERNAL_MATH_INLINES version.
16942 (__ieee754_sqrtf): Likewise.
16943
15194b4b
RH
16944 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16945 to inline function.
16946 (__rintf, __floor, __floorf): Likewise.
16947
64e21ede
RH
16948 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16949 macro to inline function.
16950 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16951
38842f45
RH
16952 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16953 not <math/math_private.h>.
16954
c64bf5fe
DM
169552012-03-08 David S. Miller <davem@davemloft.net>
16956
16957 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16958 copyright year.
16959 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16960
82d86f28
TS
169612012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16962
16963 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16964 normalization.
16965 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16966 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16967
aea5d727
UD
169682012-03-08 Ulrich Drepper <drepper@gmail.com>
16969
16970 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16971 be defined individually, they must be defined as a block. Define
16972 S for printing a string instead of hidint the different by using a
16973 macro for adding the 'l'.
16974 * stdio-common/tst-fphex-wide.c: Adjust.
16975
70bca0a3
MP
169762012-03-07 Marek Polacek <polacek@redhat.com>
16977
16978 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16979
65b81130
MP
169802012-03-08 Marek Polacek <polacek@redhat.com>
16981
16982 [BZ #13806]
16983 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16984 * stdio-common/tst-fphex.c: Define a few macros to make the
16985 test reusable. Use them.
16986 * stdio-common/tst-fphex-wide.c: New file.
16987
07037eeb
JM
169882012-03-08 Joseph Myers <joseph@codesourcery.com>
16989
a7a93d50
JM
16990 [BZ #6911]
16991 * manual/macros.texi (gnusystems): New macro.
16992 (nongnusystems): Likewise.
16993 (gnulinuxhurdsystems): Likewise.
16994 (gnuhurdsystems): Likewise..
16995 (gnulinuxsystems): Likewise.
16996 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16997 variants of the GNU system, not "GNU system".
16998 * manual/conf.texi: Likewise.
16999 * manual/errno.texi: Likewise. Update example of errno macro
17000 expansion.
17001 * manual/filesys.texi: Likewise.
17002 (getumask): Document as specific to GNU/Hurd.
17003 * manual/install.texi: Likewise. Reword some references to
17004 GNU/Linux.
17005 * manual/intro.texi: Likewise.
17006 * manual/io.texi: Likewise.
17007 (File Name Portability): Detail which constraints are inapplicable
17008 to all GNU systems and which are only inapplicable to GNU/Hurd.
17009 * manual/job.texi: Likewise.
17010 * manual/llio.texi: Likewise.
17011 (O_NOCTTY): Document as present on GNU/Linux.
17012 * manual/maint.texi: Likewise.
17013 * manual/memory.texi: Likewise.
17014 * manual/pattern.texi: Likewise.
17015 * manual/pipe.texi: Likewise.
17016 * manual/process.texi: Likewise.
17017 * manual/resource.texi: Likewise.
17018 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17019 child on GNU/Hurd.
17020 * manual/setjmp.texi: Likewise.
17021 * manual/signal.texi: Likewise.
17022 * manual/startup.texi: Likewise.
17023 * manual/stdio.texi: Likewise.
17024 * manual/terminal.texi: Likewise.
17025 (ONLCR): Document as POSIX.
17026 (OXTABS): Document availability on GNU/Linux as XTABS.
17027 (ONOEOT): Document availability separately from other bits.
17028 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17029 * manual/time.texi: Likewise.
17030 * manual/users.texi: Likewise.
17031 * INSTALL: Regenerated.
17032 * sysdeps/gnu/errlist.c: Regenerated.
17033
07037eeb
JM
17034 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17035 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17036 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17037 puts.
17038 * configure: Regenerated.
17039
d1d3431a
JM
170402012-03-07 Joseph Myers <joseph@codesourcery.com>
17041
af6a1e37
JM
17042 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17043 default includes instead of AC_HEADER_CHECK.
17044 * sysdeps/i386/configure: Regenerated.
17045
d1d3431a
JM
17046 [BZ #10716]
17047 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17048 * math/s_cacoshf.c (__cacoshf): Likewise.
17049 * math/s_cacoshl.c (__cacoshl): Likewise.
17050 * math/s_casinh.c (__casinh): Set signs of result from argument.
17051 * math/s_casinhf.c (__casinhf): Likewise.
17052 * math/s_casinhl.c (__casinhl): Likewise.
17053 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17054 (casinh_test): Add more tests.
17055 * sysdeps/i386/fpu/libm-test-ulps: Update.
17056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17057
482ff4da
UD
170582012-03-07 Ulrich Drepper <drepper@gmail.com>
17059
872fda05
UD
17060 * po/zh_TW.po: Update from translation team.
17061
a4300c7a
UD
17062 * login/Makefile (distribute): Remove variable.
17063 * catgets/Makefile: Likewise.
17064 * mach/Makefile: Likewise.
17065 * malloc/Makefile: Likewise.
17066 * misc/Makefile: Likewise.
17067 * iconv/Makefile: Likewise.
17068 * nscd/Makefile: Likewise.
17069 * hurd/Makefile: Likewise.
17070 * manual/Makefile: Likewise.
17071 * locale/Makefile: Likewise.
17072 * intl/Makefile: Likewise.
17073 * conform/Makefile: Likewise.
17074 * nss/Makefile: Likewise.
17075 * time/Makefile: Likewise.
17076 * soft-fp/Makefile: Likewise.
17077 * dirent/Makefile: Likewise.
17078 * gmon/Makefile: Likewise.
17079 * po/Makefile: Likewise.
17080 * rt/Makefile: Likewise.
17081 * socket/Makefile: Likewise.
17082 * math/Makefile: Likewise.
17083 * signal/Makefile: Likewise.
17084 * debug/Makefile: Likewise.
17085 * elf/Makefile: Likewise.
17086 * timezone/Makefile: Likewise.
17087 * stdlib/Makefile: Likewise.
17088 * iconvdata/Makefile: Likewise.
17089 * sunrpc/Makefile: Likewise.
17090 * io/Makefile: Likewise.
17091 * argp/Makefile: Likewise.
17092 * inet/Makefile: Likewise.
17093 * hesiod/Makefile: Likewise.
17094 * grp/Makefile: Likewise.
17095 * csu/Makefile: Likewise.
17096 * wctype/Makefile: Likewise.
17097 * crypt/Makefile: Likewise.
17098 * libio/Makefile: Likewise.
17099 * string/Makefile: Likewise.
17100 * nis/Makefile: Likewise.
17101 * resolv/Makefile: Likewise.
17102 * stdio-common/Makefile: Likewise.
17103 * wcsmbs/Makefile: Likewise.
17104 * dlfcn/Makefile: Likewise.
17105 * posix/Makefile: Likewise.
17106
3b7c4e74 17107 [BZ #6959]
482ff4da
UD
17108 * timezone/Makefile: Don't install timezone files, just the programs
17109 and scripts.
17110
f72ed77d
UD
171112012-03-06 Ulrich Drepper <drepper@gmail.com>
17112
a000466f
UD
17113 * nss/databases.def: Add missing gshadow entry.
17114
f72ed77d
UD
17115 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17116
a53b7a4e
MP
171172012-03-06 Marek Polacek <polacek@redhat.com>
17118
17119 [BZ #13726]
17120 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17121 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17122 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17123 * stdio-common/tst-long-dbl-fphex.c: New file.
17124
e9258400
DM
171252012-03-06 David S. Miller <davem@davemloft.net>
17126
17127 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17128 (set_obp_int): New function.
17129 (get_obp_int): New function.
17130 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
17131 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17132 Avoid unused variable warnings on 'val' and use builtin_expect.
17133 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17134 __builtin_expect.
e9258400
DM
17135 (INLINE_CLONE_SYSCALL): Likewise.
17136
3bd2c723
DM
171372012-03-05 David S. Miller <davem@davemloft.net>
17138
17139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17140
bbb78d03
AS
171412012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17142
884c5db4
AS
17143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17144
bbb78d03
AS
17145 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17146 only for |x| >= 40.
17147 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17148
1c9f702a 171492012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
17150
17151 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17152 Replace gettimeofday with __vdso_gettimeofday.
17153
7be16f82
RM
17154 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17155 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17156 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
17157
17158 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17159 time with __vdso_time.
17160
ed58a00f
JM
171612012-03-05 Joseph Myers <joseph@codesourcery.com>
17162
17163 * manual/lang.texi (size_t): Note types to which size_t may be
17164 equivalent with the GNU C Library, but do not describe when
17165 differences between them are significant.
17166
30ee4ced
AJ
171672012-03-05 Andreas Jaeger <aj@suse.de>
17168
17169 * sysdeps/i386/fpu/libm-test-ulps: Update.
17170
b7cd39e8
JM
171712012-03-05 Joseph Myers <joseph@codesourcery.com>
17172
17173 [BZ #3976]
17174 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17175 (__ieee754_pow): Save and restore rounding mode and use
17176 round-to-nearest for main computations.
17177 * math/libm-test.inc (pow_test_tonearest): New function.
17178 (pow_test_towardzero): Likewise.
17179 (pow_test_downward): Likewise.
17180 (pow_test_upward): Likewise.
17181 (main): Call the new functions.
17182 * sysdeps/i386/fpu/libm-test-ulps: Update.
17183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
17184
17185 [BZ #3976]
17186 * math/libm-test.inc (cosh_test_tonearest): New function.
17187 (cosh_test_towardzero): Likewise.
17188 (cosh_test_downward): Likewise.
17189 (cosh_test_upward): Likewise.
17190 (sinh_test_tonearest): Likewise.
17191 (sinh_test_towardzero): Likewise.
17192 (sinh_test_downward): Likewise.
17193 (sinh_test_upward): Likewise.
17194 (main): Call the new functions.
17195 * sysdeps/i386/fpu/libm-test-ulps: Update.
17196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17197
6c6a98c9
TV
171982012-03-05 Tom de Vries <tom@codesourcery.com>
17199
17200 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17201 default stack guard is set in last bytes.
17202 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17203
21bb2d2e 172042012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 17205
21bb2d2e 17206 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 17207
21bb2d2e
AJ
17208 [BZ #13656]
17209 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17210 possibly allocate from heap instead of stack.
17211 * stdio-common/bug-vfprintf-nargs.c: New file.
17212 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 17213
c6922934
AS
172142012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17215
17216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17217
bc957d53
MP
172182012-03-03 Marek Polacek <polacek@redhat.com>
17219
17220 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17221 * math/math_private.h: Likewise.
17222 * stdlib/tst-strtod.c: Likewise.
17223 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17224 * sysdeps/x86_64/bits/atomic.h: Likewise.
17225
6358490d
DM
172262012-03-02 David S. Miller <davem@davemloft.net>
17227
17228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17232 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17233 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17234 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17235 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17236
01ae168d
RM
172372012-03-02 Roland McGrath <roland@hack.frob.com>
17238
d9a17c07
RM
17239 [BZ #13792]
17240 * manual/examples/README: New file, says the example source files
17241 can be used under GPL>=2.
17242 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17243 line containing just "*/".
17244 * manual/examples/add.c: Add copyright header (GPL>=2).
17245 * manual/examples/argp-ex1.c: Likewise.
17246 * manual/examples/argp-ex2.c: Likewise.
17247 * manual/examples/argp-ex3.c: Likewise.
17248 * manual/examples/argp-ex4.c: Likewise.
17249 * manual/examples/atexit.c: Likewise.
17250 * manual/examples/db.c: Likewise.
17251 * manual/examples/dir.c: Likewise.
17252 * manual/examples/dir2.c: Likewise.
17253 * manual/examples/execinfo.c: Likewise.
17254 * manual/examples/filecli.c: Likewise.
17255 * manual/examples/filesrv.c: Likewise.
17256 * manual/examples/fmtmsgexpl.c: Likewise.
17257 * manual/examples/genpass.c: Likewise.
17258 * manual/examples/inetcli.c: Likewise.
17259 * manual/examples/inetsrv.c: Likewise.
17260 * manual/examples/isockad.c: Likewise.
17261 * manual/examples/longopt.c: Likewise.
17262 * manual/examples/memopen.c: Likewise.
17263 * manual/examples/memstrm.c: Likewise.
17264 * manual/examples/mkfsock.c: Likewise.
17265 * manual/examples/mkisock.c: Likewise.
17266 * manual/examples/mygetpass.c: Likewise.
17267 * manual/examples/pipe.c: Likewise.
17268 * manual/examples/popen.c: Likewise.
17269 * manual/examples/rprintf.c: Likewise.
17270 * manual/examples/search.c: Likewise.
17271 * manual/examples/select.c: Likewise.
17272 * manual/examples/setjmp.c: Likewise.
17273 * manual/examples/sigh1.c: Likewise.
17274 * manual/examples/sigusr.c: Likewise.
17275 * manual/examples/stpcpy.c: Likewise.
17276 * manual/examples/strdupa.c: Likewise.
17277 * manual/examples/strftim.c: Likewise.
17278 * manual/examples/strncat.c: Likewise.
17279 * manual/examples/subopt.c: Likewise.
17280 * manual/examples/swapcontext.c: Likewise.
17281 * manual/examples/termios.c: Likewise.
17282 * manual/examples/testopt.c: Likewise.
17283 * manual/examples/testpass.c: Likewise.
17284 * manual/examples/timeval_subtract.c: Likewise.
17285
01ae168d
RM
17286 [BZ #13792]
17287 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17288 function to ...
17289 * manual/timeval_subtract.c.texi: ... here, new file.
17290
49efa33d
DM
172912012-03-02 David S. Miller <davem@davemloft.net>
17292
17293 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17294
28afd92d
JM
172952012-03-02 Joseph Myers <joseph@codesourcery.com>
17296
804360ed
JM
17297 [BZ #3976]
17298 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17299 (__sin): Save and restore rounding mode and use round-to-nearest
17300 for all computations.
17301 (__cos): Save and restore rounding mode and use round-to-nearest
17302 for all computations.
17303 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17304 <fenv.h>.
17305 (tan): Save and restore rounding mode and use round-to-nearest for
17306 all computations.
17307 * math/libm-test.inc (cos_test_tonearest): New function.
17308 (cos_test_towardzero): Likewise.
17309 (cos_test_downward): Likewise.
17310 (cos_test_upward): Likewise.
17311 (sin_test_tonearest): Likewise.
17312 (sin_test_towardzero): Likewise.
17313 (sin_test_downward): Likewise.
17314 (sin_test_upward): Likewise.
17315 (tan_test_tonearest): Likewise.
17316 (tan_test_towardzero): Likewise.
17317 (tan_test_downward): Likewise.
17318 (tan_test_upward): Likewise.
17319 (main): Call the new functions.
17320 * sysdeps/i386/fpu/libm-test-ulps: Update.
17321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17322
a6d06d7b
JM
17323 [BZ #10135]
17324 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17325 small n, then large n, before computing and testing k+n.
17326 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17327 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17328 Likewise.
17329 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17330 Likewise.
17331 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17332 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17333 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17334 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17335 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17336 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17337 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17338 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17339 * math/libm-test.inc (scalbn_test): Add more tests.
17340 (scalbln_test): Likewise.
17341
07e12bb3
JM
17342 * manual/filesys.texi (mode_t): Describe constraints on size and
17343 signedness, not exact equivalence to a particular type.
17344 (ino_t): Likewise.
17345 (ino64_t): Likewise.
17346 (dev_t): Likewise.
17347 (nlink_t): Likewise.
17348 (blkcnt_t): Likewise.
17349 (blkcnt64_t): Likewise.
17350 * manual/llio.texi (off_t): Likewise.
17351
28afd92d
JM
17352 [BZ #3976]
17353 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17354 (__ieee754_exp): Save and restore rounding mode and use
17355 round-to-nearest for all computations.
17356 * math/libm-test.inc (exp_test_tonearest): New function.
17357 (exp_test_towardzero): Likewise.
17358 (exp_test_downward): Likewise.
17359 (exp_test_upward): Likewise.
17360 (main): Call the new functions.
17361 * sysdeps/i386/fpu/libm-test-ulps: Update.
17362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17363
b1eeb65d
CD
173642012-03-01 Chris Demetriou <cgd@google.com>
17365
17366 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17367 have predictable order.
17368
53362a4b
DM
173692012-03-01 David S. Miller <davem@davemloft.net>
17370
3c969083
DM
17371 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17372
759707de
DM
17373 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17374 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17375 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17376 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17377
dfdb8ff2
DM
17378 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17379 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17380 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17382 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17383 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17384 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17385 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17386 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17387
ead89f96
DM
17388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17389
7f66bd07
DM
17390 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17391 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17392 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17393
53362a4b
DM
17394 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17395 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17396 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17397 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17398 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17399 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17400 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17401 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17402 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17403 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17404 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17405 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17406 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17407 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17408 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17409 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17410 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17411 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17412 * sysdeps/sparc/elf/configure: Regenerated.
17413
7b1902cb
JM
174142012-03-01 Joseph Myers <joseph@codesourcery.com>
17415
bec039bc
JM
17416 * configure.in (AS, LD): Require binutils 2.20 or later.
17417 * configure: Regenerated.
17418 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17419 as required minimum version.
17420 * INSTALL: Regenerated.
17421
7b1902cb
JM
17422 [BZ #2541]
17423 [BZ #4108]
17424 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17425 before squaring exponent.
17426 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17427 bottom long double and 27 bits of top long double before squaring
17428 exponent.
17429 * math/libm-test.inc (erfc_test): Add more tests.
17430 * sysdeps/i386/fpu/libm-test-ulps: Update.
17431 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17433
f775c276
KT
174342012-03-01 Kai Tietz <ktietz@redhat.com>
17435
17436 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17437 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17438 containing bit-fields.
17439 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17440 * soft-fp/single.h (_FP_UNION_S): Likewise.
17441 * soft-fp/double.h (_FP_UNION_D): Likewise.
17442
5b8a4d4a
JM
174432012-02-29 Joseph Myers <joseph@codesourcery.com>
17444
0bab47b6
JM
17445 [BZ #13786]
17446 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17447 not include ../strcmp.S.
17448 [USE_AS_STRNCASECMP_L]: Likewise.
17449 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17450 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17451 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17452 (__strncasecmp_l_ia32): Define as alias to
17453 __strncasecmp_l_nonascii.
17454
0fcad3e2
JM
17455 [BZ #5794]
17456 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17457 * sysdeps/i386/fpu/libm-test-ulps: Update.
17458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17459
5b8a4d4a
JM
17460 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17462
8fdceb2e
JL
174632012-02-29 Jeff Law <law@redhat.com>
17464
17465 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17466 out of bounds read.
17467
1f393a11
MP
174682012-02-29 Marek Polacek <polacek@redhat.com>
17469
17470 [BZ #13706]
17471 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17472 * elf/Makefile: Add rules to run tst-unused-dep.out.
17473
8847f037
DM
174742012-02-28 David S. Miller <davem@davemloft.net>
17475
17476 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17477 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17478 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17479 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17480 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17481 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17482
169d7f11
JM
174832012-02-29 Joseph Myers <joseph@codesourcery.com>
17484
17485 * math/libm-test.inc (llround_test): Move one test from
17486 lround_test. Use TEST_f_L in moved test.
17487 (lround_test): Move misplaced test to llround_test. Add testcase
17488 from bug 2561.
17489
39adf059
UD
174902012-02-28 Ulrich Drepper <drepper@gmail.com>
17491
17492 * sysdeps/x86_64/fpu/e_expf.S: New file.
17493 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17494
71b5d1c5
SB
174952012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17496
17497 [BZ #13637]
17498 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17499 of remain_len that may cause incomplete multi-byte character and
17500 false match.
17501 * posix/bug-regex33.c: New file.
17502 * posix/Makefile (tests): Add bug-regex33.
17503
1f77f049
JM
175042012-02-28 Joseph Myers <joseph@codesourcery.com>
17505
17506 * manual/macros.texi: New file.
17507 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17508 * manual/libc.texinfo: Include macros.texi.
17509 * manual/creatute.texi: Likewise.
17510 * manual/install.texi: Likewise.
17511 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17512 @glibcadj{} in references to the GNU C Library.
17513 * manual/charset.texi: Likewise.
17514 * manual/conf.texi: Likewise.
17515 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17516 when not using those macros.
17517 * manual/creature.texi: Likewise.
17518 * manual/crypt.texi: Likewise.
17519 * manual/errno.texi: Likewise.
17520 * manual/filesys.texi: Likewise.
17521 * manual/header.texi: Likewise.
17522 * manual/install.texi: Likewise.
17523 * manual/intro.texi: Likewise.
17524 * manual/io.texi: Likewise.
17525 * manual/job.texi: Likewise.
17526 * manual/lang.texi: Likewise.
17527 * manual/libc.texiinfo: Likewise.
17528 * manual/llio.texi: Likewise.
17529 * manual/locale.texi: Likewise.
17530 * manual/maint.texi: Likewise.
17531 * manual/math.texi: Likewise.
17532 * manual/memory.texi: Likewise.
17533 * manual/message.texi: Likewise.
17534 * manual/nss.texi: Likewise.
17535 * manual/pattern.texi: Likewise.
17536 * manual/process.texi: Likewise.
17537 * manual/resource.texi: Likewise.
17538 * manual/search.texi: Likewise.
17539 * manual/setjmp.texi: Likewise.
17540 * manual/signal.texi: Likewise.
17541 * manual/socket.texi: Likewise.
17542 * manual/startup.texi: Likewise.
17543 * manual/stdio.texi: Likewise.
17544 * manual/string.texi: Likewise.
17545 * manual/sysinfo.texi: Likewise.
17546 * manual/syslog.texi: Likewise.
17547 * manual/terminal.texi: Likewise.
17548 * manual/time.texi: Likewise.
17549 * manual/users.texi: Likewise.
17550 * INSTALL: Regenerated.
17551 * NOTES: Regenerated.
d40c5d54 17552 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 17553
450bf206
AS
175542012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17555
17556 * include/dirent.h: Include <dirstream.h> before
17557 <dirent/dirent.h>.
17558
741a235b
DM
175592012-02-28 David S. Miller <davem@davemloft.net>
17560
17561 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17562 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17563 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17564 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17565
d6b5aa58
DM
175662012-02-27 David S. Miller <davem@davemloft.net>
17567
1aff59a3
DM
17568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17570 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17571 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17572
d6b5aa58
DM
17573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17574 frame pointer instead of stack pointer relative arg slot.
17575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17576 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17577 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17578
433f48bf
CD
175792012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17580
17581 [BZ #3992]
17582 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17583
d674b76d
DM
175842012-02-27 David S. Miller <davem@davemloft.net>
17585
17586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17590 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17591 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17592 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17593 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17594
0e7727f7
JM
175952012-02-27 Joseph Myers <joseph@codesourcery.com>
17596
17597 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17598 later. Allow versions 5-9.
43be4ca2 17599 * configure: Regenerated.
0e7727f7
JM
17600 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17601 required minimum version and 4.6 as recommended version. Do not
17602 mention bugs in GCC 2.7 and 2.8.
43be4ca2 17603 * INSTALL: Regenerated.
0e7727f7 17604
a78bc654
DM
176052012-02-27 David S. Miller <davem@davemloft.net>
17606
428d5830
DM
17607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17611 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17612 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17613 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17614 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17615
a78bc654
DM
17616 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17617 manipulate bits before adding and subtracting TWO112[sx].
17618 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17619
4579f81c
RM
176202012-02-27 Roland McGrath <roland@hack.frob.com>
17621
36c8acb4
RM
17622 [BZ #13775]
17623 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17624 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17625 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17626 being in POSIX, because they are in 1003.1-2008.
17627
84ad622b
RM
17628 * rt/tst-aio.c: Include <fcntl.h>.
17629 * rt/tst-aio7.c: Likewise.
17630 * rt/tst-aio64.c: Likewise.
17631
4579f81c
RM
17632 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17633
abd923db
JM
176342012-02-27 Joseph Myers <joseph@codesourcery.com>
17635
17636 * manual/install.texi (--with-headers): Describe headers as
17637 interface headers, not private headers.
17638 (Specific advice for GNU/Linux systems): Describe use of headers
17639 from "make headers_install", not private headers from older
17640 kernels.
43be4ca2 17641 * INSTALL: Regenerated.
abd923db
JM
17642 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17643 Change to 2.6.19.
17644 * sysdeps/unix/sysv/linux/configure: Regenerated.
17645
6664049b
JM
17646 * manual/llio.texi (fclean): Remove documentation.
17647
bb8b6697
JM
17648 * manual/Makefile (libc-texi-generated): New variable. Include
17649 version.texi.
17650 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17651 $(libc-texi-generated), not duplicated list of files.
17652 (version.texi, stamp-version): New rules.
17653 (realclean): Remove $(libc-texi-generated), not individual files
17654 from that list. Do not remove dir-add.texinfo.
17655 * manual/libc.texinfo: Comment out uses of edition numbers and
17656 references to printed manual. Remove last-updated dates.
17657 (EDITION): Comment out.
17658 (ISBN): Likewise.
17659 (VERSION, UPDATED): Remove.
17660 (version.texi): Include.
17661
12e5c3b9
AS
176622012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17663
17664 * sysdeps/posix/spawni.c: Include <signal.h>.
17665 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17666 * sysdeps/pthread/aio_fsync.c: Likewise.
17667
4efeffc1 176682012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 17669
ba63ba08
UD
17670 * conform/Makefile (tests): Run only when not cross-compiling and
17671 when fast-check is not defined.
17672
d94a4670
UD
17673 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17674 * conform/data/limits.h-data: Fixes for POSIX2008.
17675 * conform/run-conformtest.sh: Run all tests.
17676 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17677 headers.
17678 * include/bits/dlfcn.h: Likewise.
17679 * include/langinfo.h: Likewise.
17680 * include/monetary.h: Likewise.
17681 * include/sys/poll.h: Likewise.
17682
17683 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17684 for __USE_GNU.
17685 * posix/spawn.h: Define __need_sigset_t.
17686 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17687 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17688 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17689 to get sigevent_t only.
17690 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17691 only for __USE_GNU.
17692 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17693 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17694 process_vm_writev only for __USE_GNU.
17695 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
17696
17697 * conform/Makefile: For now ignore errors from run-conformtest.
17698 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17699 POSIX to avoid namespace pollution. Don't prepend headers.
17700 * conform/data/aio.h-data: Fixes for POSIX testing.
17701 * conform/data/fcntl.h-data: Likewise.
17702 * conform/data/glob.h-data: Likewise.
17703 * conform/data/grp.h-data: Likewise.
17704 * conform/data/pthread.h-data: Likewise.
17705 * conform/data/pwd.h-data: Likewise.
17706 * conform/data/signal.h-data: Likewise.
17707 * conform/data/spawn.h-data: Likewise.
17708 * conform/data/stdio.h-data: Likewise.
17709 * conform/data/stdlib.h-data: Likewise.
17710 * conform/data/stropts.h-data: Likewise.
17711 * conform/data/sys/mman.h-data: Likewise.
17712 * conform/data/sys/stat.h-data: Likewise.
17713 * conform/data/sys/types.h-data: Likewise.
17714 * conform/data/sys/wait.h-data: Likewise.
17715 * conform/data/time.h-data: Likewise.
17716 * conform/data/unistd.h-data: Likewise.
17717 * conform/data/utime.h-data: Likewise.
17718
17719 * io/sys/stat.h: fchmod was always in POSIX.
17720 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17721 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17722 * rt/aio.h: Define __need_timespec before including <time.h>.
17723 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17724 struct. Add forward declaration of pthread_attr_t and use it in
17725 sigevent.
17726 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17727 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17728 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17729 always remove CLK_TCK definition.
17730
c20105c3
AS
177312012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17732
17733 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17734
7a270350
UD
177352012-02-25 Ulrich Drepper <drepper@gmail.com>
17736
31341567
UD
17737 * conform/run-conformtest.sh: New file.
17738 * conform/Makefile: Run run-conformtest for tests.
17739 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17740 support.
17741
17742 * conform/data/uchar.h-data: New file.
17743 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17744 * conform/data/arpa/inet.h-data: Likewise.
17745 * conform/data/assert.h-data: Likewise.
17746 * conform/data/complex.h-data: Likewise.
17747 * conform/data/cpio.h-data: Likewise.
17748 * conform/data/ctype.h-data: Likewise.
17749 * conform/data/dirent.h-data: Likewise.
17750 * conform/data/dlfcn.h-data: Likewise.
17751 * conform/data/errno.h-data: Likewise.
17752 * conform/data/fcntl.h-data: Likewise.
17753 * conform/data/float.h-data: Likewise.
17754 * conform/data/fmtmsg.h-data: Likewise.
17755 * conform/data/fnmatch.h-data: Likewise.
17756 * conform/data/ftw.h-data: Likewise.
17757 * conform/data/glob.h-data: Likewise.
17758 * conform/data/grp.h-data: Likewise.
17759 * conform/data/iconv.h-data: Likewise.
17760 * conform/data/inttypes.h-data: Likewise.
17761 * conform/data/langinfo.h-data: Likewise.
17762 * conform/data/libgen.h-data: Likewise.
17763 * conform/data/limits.h-data: Likewise.
17764 * conform/data/locale.h-data: Likewise.
17765 * conform/data/math.h-data: Likewise.
17766 * conform/data/monetary.h-data: Likewise.
17767 * conform/data/mqueue.h-data: Likewise.
17768 * conform/data/ndbm.h-data: Likewise.
17769 * conform/data/net/if.h-data: Likewise.
17770 * conform/data/netdb.h-data: Likewise.
17771 * conform/data/netinet/in.h-data: Likewise.
17772 * conform/data/nl_types.h-data: Likewise.
17773 * conform/data/poll.h-data: Likewise.
17774 * conform/data/pthread.h-data: Likewise.
17775 * conform/data/pwd.h-data: Likewise.
17776 * conform/data/regex.h-data: Likewise.
17777 * conform/data/sched.h-data: Likewise.
17778 * conform/data/search.h-data: Likewise.
17779 * conform/data/semaphore.h-data: Likewise.
17780 * conform/data/setjmp.h-data: Likewise.
17781 * conform/data/signal.h-data: Likewise.
17782 * conform/data/spawn.h-data: Likewise.
17783 * conform/data/stdarg.h-data: Likewise.
17784 * conform/data/stdio.h-data: Likewise.
17785 * conform/data/stdlib.h-data: Likewise.
17786 * conform/data/string.h-data: Likewise.
17787 * conform/data/strings.h-data: Likewise.
17788 * conform/data/stropts.h-data: Likewise.
17789 * conform/data/sys/ipc.h-data: Likewise.
17790 * conform/data/sys/mman.h-data: Likewise.
17791 * conform/data/sys/msg.h-data: Likewise.
17792 * conform/data/sys/resource.h-data: Likewise.
17793 * conform/data/sys/select.h-data: Likewise.
17794 * conform/data/sys/sem.h-data: Likewise.
17795 * conform/data/sys/shm.h-data: Likewise.
17796 * conform/data/sys/socket.h-data: Likewise.
17797 * conform/data/sys/stat.h-data: Likewise.
17798 * conform/data/sys/statvfs.h-data: Likewise.
17799 * conform/data/sys/time.h-data: Likewise.
17800 * conform/data/sys/timeb.h-data: Likewise.
17801 * conform/data/sys/times.h-data: Likewise.
17802 * conform/data/sys/types.h-data: Likewise.
17803 * conform/data/sys/uio.h-data: Likewise.
17804 * conform/data/sys/un.h-data: Likewise.
17805 * conform/data/sys/utsname.h-data: Likewise.
17806 * conform/data/sys/wait.h-data: Likewise.
17807 * conform/data/syslog.h-data: Likewise.
17808 * conform/data/tar.h-data: Likewise.
17809 * conform/data/termios.h-data: Likewise.
17810 * conform/data/utime.h-data: Likewise.
17811 * conform/data/utmpx.h-data: Likewise.
17812 * conform/data/varargs.h-data: Likewise.
17813 * conform/data/wchar.h-data: Likewise.
17814 * conform/data/wctype.h-data: Likewise.
17815 * conform/data/wordexp.h-data: Likewise.
17816
17817 * include/stropts.h: New file.
17818 * include/uchar.h: New file.
17819 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17820 * include/assert.h: Likewise.
17821 * include/ctype.h: Likewise.
17822 * include/dirent.h: Likewise.
17823 * include/dlfcn.h: Likewise.
17824 * include/fcntl.h: Likewise.
17825 * include/fnmatch.h: Likewise.
17826 * include/glob.h: Likewise.
17827 * include/grp.h: Likewise.
17828 * include/libio.h: Likewise.
17829 * include/locale.h: Likewise.
17830 * include/math.h: Likewise.
17831 * include/net/if.h: Likewise.
17832 * include/netdb.h: Likewise.
17833 * include/netinet/in.h: Likewise.
17834 * include/pthread.h: Likewise.
17835 * include/pwd.h: Likewise.
17836 * include/regex.h: Likewise.
17837 * include/sched.h: Likewise.
17838 * include/search.h: Likewise.
17839 * include/setjmp.h: Likewise.
17840 * include/signal.h: Likewise.
17841 * include/stdio.h: Likewise.
17842 * include/stdlib.h: Likewise.
17843 * include/string.h: Likewise.
17844 * include/sys/cdefs.h: Likewise.
17845 * include/sys/mman.h: Likewise.
17846 * include/sys/msg.h: Likewise.
17847 * include/sys/resource.h: Likewise.
17848 * include/sys/select.h: Likewise.
17849 * include/sys/socket.h: Likewise.
17850 * include/sys/stat.h: Likewise.
17851 * include/sys/statvfs.h: Likewise.
17852 * include/sys/time.h: Likewise.
17853 * include/sys/times.h: Likewise.
17854 * include/sys/uio.h: Likewise.
17855 * include/sys/utsname.h: Likewise.
17856 * include/sys/wait.h: Likewise.
17857 * include/termios.h: Likewise.
17858 * include/time.h: Likewise.
17859 * include/ulimit.h: Likewise.
17860 * include/unistd.h: Likewise.
17861 * include/utime.h: Likewise.
17862 * include/wchar.h: Likewise.
17863 * include/wctype.h: Likewise.
17864 * include/wordexp.h: Likewise.
17865
17866 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17867
7a270350
UD
17868 * time/time.h: TIME_UTC must be a macro.
17869 Make timespec_get available for ISO C11 only as well.
17870
7724defc
UD
178712012-02-24 Ulrich Drepper <drepper@gmail.com>
17872
17873 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17874 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17875
6b1d1d46
JM
178762012-02-24 Joseph Myers <joseph@codesourcery.com>
17877
17878 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 17879
0f8bbd69
JM
178802012-02-24 Joseph Myers <joseph@codesourcery.com>
17881
17882 * manual/texinfo.tex: Update to version 2012-01-19.16.
17883
66ab80bc
JM
178842012-02-24 Joseph Myers <joseph@codesourcery.com>
17885
17886 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17887
74981cc5
RM
178882012-02-24 Roland McGrath <roland@hack.frob.com>
17889
ee968201
RM
17890 [BZ #13738]
17891 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17892 * manual/fdl-1.3.texi: New file.
17893 * manual/fdl-1.1.texi: File removed.
17894
74981cc5
RM
17895 [BZ #13738]
17896 * manual/libc.texinfo (FDL_VERSION): New @set.
17897 Use it for mention of FDL in cover text.
17898 (Documentation License): Use it in @include file name.
17899
7bb764bc
JM
179002012-02-22 Joseph Myers <joseph@codesourcery.com>
17901 Roland McGrath <roland@hack.frob.com>
17902
17903 [BZ #5461]
17904 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17905 not LONG_LONG_MAX and LONG_LONG_MIN.
17906 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17907 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17908 name.
17909 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17910
6cbeae47
JM
179112012-02-22 Joseph Myers <joseph@codesourcery.com>
17912
17913 [BZ #2547]
17914 [BZ #11365]
17915 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17916 manipulate bits before adding and subtracting TWO23[sx].
17917 * math/libm-test.inc (nearbyint_test): Add more tests.
17918
fe45ce09
JM
179192012-02-22 Joseph Myers <joseph@codesourcery.com>
17920
17921 [BZ #2548]
17922 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17923 bits before adding and subtracting TWO23[sx].
17924 * math/libm-test.inc (rint_test): Add more tests.
17925 (rint_test_tonearest): Likewise.
17926 (rint_test_towardzero): Likewise.
17927 (rint_test_downward): Likewise.
17928 (rint_test_upward: Likewise.
17929
ff3b3d82
JM
179302012-02-22 Joseph Myers <joseph@codesourcery.com>
17931
17932 [BZ #10110]
17933 * include/stdc-predef.h: New file. Extracted from features.h.
17934 * include/features.h: Include stdc-predef.h.
17935 * Makefile (headers): Add stdc-predef.h.
17936 * CONFORMANCE (Compiler limitations): Update.
17937
ef0aab35
JM
179382012-02-22 Joseph Myers <joseph@codesourcery.com>
17939
17940 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17941
58639409
DM
179422012-02-21 David S. Miller <davem@davemloft.net>
17943
17944 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17945 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17946
c0e70b25
DM
179472012-02-20 David S. Miller <davem@davemloft.net>
17948
17949 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17950 using a normal save/restore sequence, rather than allocating a
17951 dummy stack frame just to store a frame pointer and restore.
17952 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17953
fb06851d
JM
179542012-02-21 Joseph Myers <joseph@codesourcery.com>
17955
17956 * manual/install.texi: Fix stray word in line-wrapped comment.
17957
7a8b71c3
DM
179582012-02-20 David S. Miller <davem@davemloft.net>
17959
d510c123
DM
17960 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17961 both binutils and gcc support GOTDATA.
17962
0722d7c2
DM
17963 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17964 "rd %pc" in the PIC register setup sequences.
17965
3d2b3019
DM
17966 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17967 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17968 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17969 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17970 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17971 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17972 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17973 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17974 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17975 (SYSCALL_ERROR_HANDLER): Likewise.
17976 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17977 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17978 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17979 (SYSCALL_ERROR_HANDLER): Likewise.
17980
c80098a9
DM
17981 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17982 (HAVE_GCC_GOTDATA): New.
17983 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17984 relocation support in both binutils and gcc.
17985 * sysdeps/sparc/elf/configure: Regenerate.
17986
3a2545a0
DM
17987 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17988 * sysdeps/sparc/sparc32/elf/configure: Delete.
17989 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17990 * sysdeps/sparc/sparc64/elf/configure: Delete.
17991 * sysdeps/sparc/elf/configure.in: New file.
17992 * sysdeps/sparc/elf/configure: Generate.
17993
7a8b71c3
DM
17994 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17995 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17996 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17997 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17998 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17999
f1e86fca
JM
180002012-02-21 Joseph Myers <joseph@codesourcery.com>
18001
18002 * manual/install.texi: Do not mention specific glibc version
18003 numbers.
18004 * manual/libc.texinfo (VERSION, UPDATED): Update.
18005 (@copying): Use @copyright{} and range of years.
18006
0e7dfaef
JM
180072012-02-21 Joseph Myers <joseph@codesourcery.com>
18008
18009 [BZ #13695]
18010 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18011 [crti.S not in sysdirs] (generated): Do not append.
18012 [crti.S not in sysdirs] (omit-deps): Likewise.
18013 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18014 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18015 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18016 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18017 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18018 Likewise.
18019 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18020 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18021 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18022 * csu/defs.awk: Remove file.
18023 * sysdeps/generic/initfini.c: Likewise.
18024 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18025 variable.
18026 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18027 Likewise.
18028
599af3ca
JM
180292012-02-20 Joseph Myers <joseph@codesourcery.com>
18030
18031 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18032 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18033 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18034 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18035 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18036 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18037 <bits/epoll.h>.
18038 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18039 (__EPOLL_PACKED): Define to empty if not defined by
18040 <bits/epoll.h>.
18041 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18042 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18043 bits/epoll.h.
18044
0e499750
JM
180452012-02-20 Joseph Myers <joseph@codesourcery.com>
18046
18047 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18048 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18049 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18050 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18051 <bits/timerfd.h>.
18052 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18053 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18054 bits/timerfd.h.
18055
5ad91f6e
JM
180562012-02-20 Joseph Myers <joseph@codesourcery.com>
18057
18058 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18059 in C locale.
18060 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18061 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18062 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18064
06b99b02
AJ
180652012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18066
18067 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18068 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18069
7638c0fd
AS
180702012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18071
18072 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18073 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18074 defined.
18075 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18076 Likewise.
18077 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18078 entry for 2.16.
18079
92221550
AJ
180802012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18081
18082 * math/w_acos.c: Use non-signaling floating-point comparisons.
18083 * math/w_acosf.c: Likewise.
18084 * math/w_acosh.c: Likewise.
18085 * math/w_acoshf.c: Likewise.
18086 * math/w_acoshl.c: Likewise.
18087 * math/w_acosl.c: Likewise.
18088 * math/w_asin.c: Likewise.
18089 * math/w_asinf.c: Likewise.
18090 * math/w_asinl.c: Likewise.
18091 * math/w_atanh.c: Likewise.
18092 * math/w_atanhf.c: Likewise.
18093 * math/w_atanhl.c: Likewise.
18094 * math/w_exp2.c: Likewise.
18095 * math/w_exp2f.c: Likewise.
18096 * math/w_exp2l.c: Likewise.
18097 * math/w_j0.c: Likewise.
18098 * math/w_j0f.c: Likewise.
18099 * math/w_j0l.c: Likewise.
18100 * math/w_j1.c: Likewise.
18101 * math/w_j1f.c: Likewise.
18102 * math/w_j1l.c: Likewise.
18103 * math/w_jn.c: Likewise.
18104 * math/w_jnf.c: Likewise.
18105 * math/w_log.c: Likewise.
18106 * math/w_log10.c: Likewise.
18107 * math/w_log10f.c: Likewise.
18108 * math/w_log10l.c: Likewise.
18109 * math/w_log2.c: Likewise.
18110 * math/w_log2f.c: Likewise.
18111 * math/w_log2l.c: Likewise.
18112 * math/w_logf.c: Likewise.
18113 * math/w_logl.c: Likewise.
18114 * math/w_sqrt.c: Likewise.
18115 * math/w_sqrtf.c: Likewise.
18116 * math/w_sqrtl.c: Likewise.
18117 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18118 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18119 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18120 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18121 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18122
ebaf36eb
JM
181232012-02-19 Joseph Myers <joseph@codesourcery.com>
18124
18125 [BZ #9739]
18126 * manual/string.texi (strnlen): Use correct parameter name in
18127 equivalent expression.
18128
71c254a6
JM
181292012-02-19 Joseph Myers <joseph@codesourcery.com>
18130
18131 [BZ #11174]
18132 * manual/users.texi (seteuid): Consistently use neweuid for
18133 argument name.
18134
16d2c631
JM
181352012-02-19 Joseph Myers <joseph@codesourcery.com>
18136
18137 [BZ #13704]
18138 * manual/nss.texi (Services in the NSS configuration): Correct
18139 list of services in example configuration file.
18140
cd837b09
NB
181412012-02-19 Nick Bowler <nbowler@draconx.ca>
18142
18143 [BZ #11322]
18144 * manual/arith.texi: Remove statements about negative zero
18145 behaving identically to zero.
18146
02c4bbad
JM
181472012-02-18 Joseph Myers <joseph@codesourcery.com>
18148
18149 [BZ #5993]
18150 * manual/install.texi: Do not document upgrading from libc5.
18151
366842e7
JM
181522012-02-18 Joseph Myers <joseph@codesourcery.com>
18153
18154 [BZ #4596]
18155 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18156
dd54084d
DM
181572012-02-18 David S. Miller <davem@davemloft.net>
18158
18159 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18160 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18161 %o7 across the call.
18162 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18163 instead.
18164 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18165 SETUP_PIC_REG_LEAF.
18166 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18167 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18168 * sysdeps/sparc/crtn.S: Likewise.
18169
2bcc53a3
UD
181702012-02-17 Ulrich Drepper <drepper@gmail.com>
18171
18172 * aout/Makefile: Remove.
18173
09c093b5
RK
181742012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18175
18176 [BZ #13058]
18177 * manual/examples/argp-ex1.c (main): Format definition in GNU
18178 style.
18179 * manual/examples/argp-ex2.c (main): Likewise.
18180 * manual/examples/argp-ex3.c (main): Likewise.
18181 * manual/examples/argp-ex4.c (main): Likewise.
18182 * manual/examples/longopt.c (main): Use new-style prototype
18183 definition.
18184 * manual/examples/strncat.c (main): Specify return type and use
18185 (void) for arguments.
18186 * manual/examples/subopt.c (main): Use char **argv argument.
18187
2ee633a2
JM
181882012-02-17 Joseph Myers <joseph@codesourcery.com>
18189
18190 [BZ #5077]
18191 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18192 rounding modes.
18193
0520adde
FB
181942012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18195
18196 [BZ #6907]
18197 * manual/string.texi (strchr): Change when strchrnul is
18198 recommended.
18199
3f4081cd
DGM
182002012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18201
18202 [BZ #174]
18203 * manual/locale.texi (setlocale): Document LOCPATH.
18204
d1b10e78
JM
182052012-02-17 Joseph Myers <joseph@codesourcery.com>
18206
18207 [BZ #10210]
18208 * manual/process.texi (execle): Move @dots{} before last argument.
18209
79c6869c
PB
182102012-02-17 Paul Bolle <pebolle@tiscali.nl>
18211
18212 [BZ #12047]
18213 * manual/charset.texi (Generic Charset Conversion): Fix typo
18214 (LC_TYPE -> LC_CTYPE).
18215
cc6e48bc
NB
182162012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18217
18218 [BZ #5805]
18219 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18220 (scalbnf): Likewise.
18221 (scalbnl): Likewise.
18222 (scalbln): Likewise.
18223 (scalblnf): Likewise.
18224 (scalblnl): Likewise.
18225 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18226 (vwarnx): Likewise.
18227 (verr): Likewise.
18228 (verrx): Likewise.
18229 * manual/filesys.texi (telldir): Use braces around return type.
18230 * manual/llio.texi (mmap): Add space after comma.
18231 (mmap64): Likewise.
18232 * manual/math.texi (jn): Use @var{} on parameter names.
18233 (jnf): Likewise.
18234 (jnl): Likewise.
18235 (yn): Likewise.
18236 (ynf): Likewise.
18237 (ynl): Likewise.
18238 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18239 line.
18240 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18241 "...".
18242 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18243 (sched_get_priority_max): Likewise.
18244 * manual/signal.texi (sigvec): Add space after comma.
18245 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18246 names.
18247 (if_indextoname): Likewise.
18248 (if_freenameindex): Likewise.
18249 (sendto): Use ',' instead of '.' in prototype.
18250 * manual/startup.texi (syscall): Use @dots{} instead of literal
18251 "...".
18252 * manual/stdio.texi (__fpending): Separate initial words of
18253 paragraph from @deftypefun line.
18254 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18255 "...".
18256 (vsyslog): Use @var{} on parameter names.
18257 * manual/terminal.texi (stty): Use @var{} on parameter names.
18258 * manual/users.texi (getutmp): Use @var{} on parameter names.
18259 (getutmpx): Likewise.
18260
5b23062f
JM
182612012-02-17 Joseph Myers <joseph@codesourcery.com>
18262
18263 [BZ #6884]
18264 * manual/stdio.texi (fopen): Fix typos in description of
18265 ",ccs=STRING".
18266
8dee4833
AJ
182672012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18268
18269 [BZ #4026]
18270 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18271 get clock_id definition.
18272
9078ce93
TS
182732012-02-17 Thomas Schwinge <thomas@schwinge.name>
18274
18275 [BZ #4822]
18276 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18277 (madvise): Cast every argument to void on its own.
18278
3835c55f
JM
182792012-02-17 Joseph Myers <joseph@codesourcery.com>
18280
18281 [BZ #9902]
18282 * manual/startup.texi (Exit Status): Fix typo.
18283
35c47e37
JM
182842012-02-17 Joseph Myers <joseph@codesourcery.com>
18285
18286 [BZ #10140]
18287 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18288 * manual/examples/argp-ex2.c: Likewise.
18289 * manual/examples/argp-ex3.c: Likewise.
18290
e3b69ca7
RH
182912012-02-16 Richard Henderson <rth@redhat.com>
18292
18293 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18294 * sysdeps/s390/s390-32/initfini.c: Remove.
18295 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18296 * sysdeps/s390/s390-64/initfini.c: Remove.
18297
df83af67
KK
182982012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18299
18300 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18301 compiler output for sysdeps/generic/initfini.c.
18302 * sysdeps/sh/elf/initfini.c: Remove file.
18303
f63f3380
DM
183042012-02-16 David S. Miller <davem@davemloft.net>
18305
fb59b3a4
DM
18306 [BZ #11494]
18307 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18308
f63f3380
DM
18309 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18310 * sysdeps/sparc/crti.S: New file.
18311 * sysdeps/sparc/crtn.S: New file.
18312 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18313 * sysdeps/sparc/sparc64/Makefile: Likewise.
18314
df6a4a4a
MF
183152012-02-15 Mike Frysinger <vapier@gentoo.org>
18316
6dd8f3dc 18317 [BZ #3335]
df6a4a4a
MF
18318 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18319
1cac7236
RM
183202012-02-15 Roland McGrath <roland@hack.frob.com>
18321
d2c736f8
RM
18322 [BZ #4822]
18323 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18324
1cac7236
RM
18325 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18326 (write, read, close): Likewise.
18327 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18328
8e475601
JM
183292012-02-15 Joseph Myers <joseph@codesourcery.com>
18330
18331 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18332 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18333 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18334 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18335 <bits/signalfd.h>.
18336 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18337 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18338 bits/signalfd.h.
18339
ed656b40
MP
183402012-02-14 Marek Polacek <polacek@redhat.com>
18341
18342 * sysdeps/x86_64/crti.S: New file.
18343 * sysdeps/x86_64/crtn.S: New file.
18344 * sysdeps/x86_64/elf/initfini.c: Remove file.
18345
2a979d3a
JM
183462012-02-13 Joseph Myers <joseph@codesourcery.com>
18347
18348 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18349 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18350 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18351 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18352 <bits/inotify.h>.
18353 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18354 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18355 bits/inotify.h.
18356
2a418ac3
JM
183572012-02-13 Joseph Myers <joseph@codesourcery.com>
18358
18359 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18360 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18361 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18362 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18363 <bits/eventfd.h>.
18364 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18365 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18366 bits/eventfd.h.
18367
fb779be7
TS
183682012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18369
e19e83c5
RM
18370 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18371 __feraiseexcept instead of feraiseexcept.
7c35ffed 18372
fb779be7
TS
18373 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18374 nanosleep invocations.
18375 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18376 strings, and add error checking for a nanosleep invocations.
18377
59ba27a6
PE
183782012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18379
18380 Replace FSF snail mail address with URLs, as per GNU coding standards.
18381 Most of the snail mail addresses were wrong anyway, and omitting
18382 them makes the source code easier to maintain. Almost all of the
18383 changes are to license notices and to locale LC_IDENTIFICATION
18384 addresses, except for this one:
18385 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18386 not its snail mail address.
18387
57b957eb
RH
183882012-02-09 Richard Henderson <rth@twiddle.net>
18389
af850b1c
RH
18390 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18391 of kernel-features.h.
18392
57b957eb
RH
18393 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18394
6b73181a
MP
183952012-02-08 Marek Polacek <polacek@redhat.com>
18396
18397 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18398 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18399 * sysdeps/gnu/_G_config.h: Likewise.
18400 * sysdeps/generic/_G_config.h: Likewise.
18401
26ecc33a
AS
184022012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18403
6c6dbc63
AS
18404 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18405 tests.
18406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18407
e216c012
AS
18408 * sysdeps/powerpc/powerpc32/crti.S: New file.
18409 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18410 * sysdeps/powerpc/powerpc64/crti.S: New file.
18411 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18412
26ecc33a
AS
18413 * Makeconfig (have-initfini): Don't set.
18414 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18415 * configure.in (nopic_initfini): Don't substitute.
18416 * config.h.in (HAVE_INITFINI): Don't #undef.
18417 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18418 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18419
3add8e13
JM
184202012-02-08 Joseph Myers <joseph@codesourcery.com>
18421
18422 Support crti.S and crtn.S provided directly by architectures.
18423 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18424 [crti.S in sysdirs] (omit-deps): Likewise.
18425 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18426 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18427 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18428 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18429 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18430 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18431 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18432 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18433 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18434 compiler output for sysdeps/generic/initfini.c.
18435 * sysdeps/i386/elf/Makefile: Remove file.
18436 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18437
a22f12b4
MP
184382012-02-07 Marek Polacek <polacek@redhat.com>
18439
18440 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18441 * sysdeps/gnu/_G_config.h: Likewise.
18442 * sysdeps/mach/hurd/_G_config.h: Likewise.
18443
148cf100
MP
184442012-02-07 Marek Polacek <polacek@redhat.com>
18445
18446 * math/Makefile (tests): Add tst-CMPLX2.
18447 * math/tst-CMPLX2.c: New file.
18448
cfdc0dd7
AS
184492012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18450
84ba42c4
AS
18451 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18452
cfdc0dd7
AS
18453 * math/libm-test.inc (jn_test): Add missing L suffix.
18454
622c86f4
MP
184552012-02-06 Marek Polacek <polacek@redhat.com>
18456
18457 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18458 * sysdeps/i386/fpu/e_powf.S: Likewise.
18459 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18460 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18461 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18462 * sysdeps/i386/fpu/e_pow.S: Likewise.
18463 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18464 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18465 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18466 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18467 * sysdeps/i386/fpu/e_log2.S: Likewise.
18468 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18469 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18470 * sysdeps/i386/fpu/e_powl.S: Likewise.
18471 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18472 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18473 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18474 * sysdeps/i386/fpu/e_logl.S: Likewise.
18475 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18476 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18477 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18478 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18479 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18480 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18481 * sysdeps/i386/fpu/e_log.S: Likewise.
18482 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18483 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18484 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18485 * sysdeps/i386/fpu/e_logf.S: Likewise.
18486 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18487 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18488 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18489 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18490 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18491 * sysdeps/i386/fpu/e_log10.S: Likewise.
18492 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18493 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18494 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18495 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18496 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18497 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18498 * sysdeps/i386/asm-syntax.h: Likewise.
18499 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18500 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18501 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18502 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18503 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18504 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18505 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18506 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18507 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18508 * sysdeps/powerpc/sysdep.h: Likewise.
18509 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18510 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18511
d4a54ac6
JM
185122012-02-06 Joseph Myers <joseph@codesourcery.com>
18513
18514 [BZ #411]
18515 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18516
314054ea
JM
185172012-02-06 Joseph Myers <joseph@codesourcery.com>
18518
18519 * sysdeps/i386/sysdep.h: Include <features.h>.
18520 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18521 version.
18522
d8e0ca50
JM
185232012-02-05 Joseph Myers <joseph@codesourcery.com>
18524
18525 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18526 Define.
18527 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18528 LOAD_PIC_REG_STR.
18529
b1da7dd9
JM
185302012-02-03 Joseph Myers <joseph@codesourcery.com>
18531
18532 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18533 (SETUP_PIC_REG): Use GET_PC_THUNK.
18534 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18535 macro.
18536
9a1d9254
JM
185372012-02-03 Joseph Myers <joseph@codesourcery.com>
18538
18539 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18540 for non-PIC compilation.
18541 (SETUP_PIC_REG): Add .p2align directive.
18542 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18543 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18544 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18545 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18546 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18547 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18548 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18549 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18550 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18551 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18552 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18553 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18554 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18555 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18556 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18557 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18558 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18559 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18560 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18561 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18562 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18563 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18564 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18565 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18566 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18567 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18568 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18569 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18570 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18571 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18572 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18573 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18574 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18575 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18576 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18577 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18578 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18579 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18580 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18581 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18582 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18583
65dc3b75
JM
185842012-02-03 Joseph Myers <joseph@codesourcery.com>
18585
18586 * math/tst-CMPLX.c: Include <stdio.h>.
18587
d55bf177
JM
185882012-01-31 Joseph Myers <joseph@codesourcery.com>
18589
18590 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18591 float.
18592 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18593 * sysdeps/sparc/bits/mathdef.h: Likewise.
18594
69db4f8f
MP
185952012-01-31 Marek Polacek <polacek@redhat.com>
18596
18597 * libio/libio.h: Don't define _PARAMS.
18598 * locale/programs/config.h: Don't define PARAMS.
18599 * stdlib/strtol_l.c: Likewise.
18600 (__strtol_l): Remove PARAMS from the prototype.
18601
41b81892
UD
186022012-01-31 Ulrich Drepper <drepper@gmail.com>
18603
3b49edc0
UD
18604 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18605 names. Just use the correct names. Remove unnecessary wrapper
18606 functions.
18607 * malloc/arena.c: Likewise.
18608 * malloc/hooks.c: Likewise.
18609
41b81892
UD
18610 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18611 ARENA_TEST says not to. Simplify test for creation of a new arena.
18612 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18613
27a25b6e
UD
186142012-01-30 Ulrich Drepper <drepper@gmail.com>
18615
18616 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18617 into tail calls.
18618 (update_get_addr): New function.
18619 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18620 GET_ADDR_MODULE parameter.
18621
c8a89e7d
JM
186222012-01-30 Joseph Myers <joseph@codesourcery.com>
18623
18624 * crypt/cert.c: Remove __STDC__ conditionals.
18625 * crypt/crypt-entry.c: Likewise.
18626 * crypt/crypt_util.c: Likewise.
18627 * libio/filedoalloc.c: Likewise.
18628 * libio/fileops.c: Likewise.
18629 * libio/genops.c: Likewise.
18630 * libio/iofclose.c: Likewise.
18631 * libio/iofdopen.c: Likewise.
18632 * libio/iofopen.c: Likewise.
18633 * libio/iofopen64.c: Likewise.
18634 * libio/iogetdelim.c: Likewise.
18635 * libio/iopopen.c: Likewise.
18636 * libio/obprintf.c: Likewise.
18637 * libio/oldfileops.c: Likewise.
18638 * libio/oldiofclose.c: Likewise.
18639 * libio/oldiofdopen.c: Likewise.
18640 * libio/oldiofopen.c: Likewise.
18641 * libio/oldiopopen.c: Likewise.
18642 * libio/wfiledoalloc.c: Likewise.
18643 * libio/wgenops.c: Likewise.
18644 * locale/programs/xmalloc.c: Likewise.
18645 * misc/syslog.c: Likewise.
18646 * stdio-common/xbug.c: Likewise.
18647 * string/memchr.c: Likewise.
18648 * string/memcmp.c: Likewise.
18649 * string/memrchr.c: Likewise.
18650 * string/rawmemchr.c: Likewise.
18651 * sysdeps/posix/getcwd.c: Likewise.
18652 * time/strftime_l.c: Likewise.
18653
3b100462
JM
186542012-01-30 Joseph Myers <joseph@codesourcery.com>
18655
18656 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
18657 * config.make.in (config-cflags-sse2avx): Define.
18658 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18659 Fix typo.
18660
607998af
CM
186612012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18662
18663 * scripts/config.guess: Update from upstream config git repository.
18664 * scripts/config.sub: Likewise.
18665
3601428f
CM
186662012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18667
3ac8b282
CM
18668 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18669 (EM_NUM): Update.
18670 (R_TILEPRO_*, R_TILEGX_*): New macros.
18671
e034841e
CM
18672 * scripts/firstversions.awk: Fix bug in version range handling.
18673
540d7568
CM
18674 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18675
3601428f
CM
18676 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18677
463de862
CM
18678 * include/sys/epoll.h: New file.
18679 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18680 libc_hidden_def.
18681
73139a76
UD
186822012-01-28 Ulrich Drepper <drepper@gmail.com>
18683
96bc5b45
UD
18684 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18685 Avoid unnecessary __WORDSIZE == 64 test.
18686 (fmaxf): Use VEX format if possible.
18687 (fmax): Likewise.
18688 (fminf): Likewise.
18689 (fmin): Likewise.
18690
56f6f6a2
UD
18691 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18692 * math/math_private.h: Remove libc_fegetround* and
18693 libc_fesetround*.
18694 * sysdeps/i386/configure.in: Check for -msse2avx.
18695 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18696 also if SSE2AVX is defined.
18697 Remove libc_fegetround* and libc_fesetround*.
18698 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18699 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18700 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18701 of HAS_YMM_USABLE.
18702 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18703 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18704 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18705 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18706 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18707
73139a76
UD
18708 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18709
d73f93a4
AZ
187102012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18711
18712 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18713 size is not set.
18714 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18715
6ee65ed6
UD
187162012-01-27 Ulrich Drepper <drepper@gmail.com>
18717
18718 [BZ #13618]
18719 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18720 relocation.
18721 * Makeconfig (libm): Define.
18722 * elf/Makefile: Add rules to build and run tst-relsort1.
18723 * elf/tst-relsort1.c: New file.
18724 * elf/tst-relsort1mod1.c: New file.
18725 * elf/tst-relsort1mod2.c: New file.
18726
8db21882
JM
187272012-01-27 Joseph Myers <joseph@codesourcery.com>
18728
18729 * math/s_ldexp.c: Remove __STDC__ conditionals.
18730 * math/s_ldexpf.c: Likewise.
18731 * math/s_ldexpl.c: Likewise.
18732 * math/s_nextafter.c: Likewise.
18733 * math/s_nexttowardf.c: Likewise.
18734 * math/s_significand.c: Likewise.
18735 * math/s_significandf.c: Likewise.
18736 * math/s_significandl.c: Likewise.
18737 * math/w_jnl.c: Likewise.
18738 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18739 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18740 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18741 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18742 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18743 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18744 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18745 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18746 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18747 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18748 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18749 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18750 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18751 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18752 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18753 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18754 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18755 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18756 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18757 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18758 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18759 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18760 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18761 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18762 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18763 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18764 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18765 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18766 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18767 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18768 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18769 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18770 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18771 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18772 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18773 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18774 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18775 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18776 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18777 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18778 * sysdeps/ieee754/k_standard.c: Likewise.
18779 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18780 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18781 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18782 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18783 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18784 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18786 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18787 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18788 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18789 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18791 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18796 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18797 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18798 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18799 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18800 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18801 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18802 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18803 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18804 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18805 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18806 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18807 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18808 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18809 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18810 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18811 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18812 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18813 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18814 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18815 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18816 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18818 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18819 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18820 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18822 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18823 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18824 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18825 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18827 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18828 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18829 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18830 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18831 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18832 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18833 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18834 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18835 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18836 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18837 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18838 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18839 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18840 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18841 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18842 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18843 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18844 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18845 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18846 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18847 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18848 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18849 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18850 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18851 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18852 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18853 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18854 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18855 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18856 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18857 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18858 * sysdeps/ieee754/s_matherr.c: Likewise.
18859 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18860 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18861 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18862 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18863
965a54a4
JM
188642012-01-26 Joseph Myers <joseph@codesourcery.com>
18865
18866 * crypt/md5.h: Remove __STDC__ conditionals.
18867 * libio/libioP.h: Likewise.
18868 * locale/programs/config.h: Likewise.
18869 * sysdeps/generic/sysdep.h: Likewise.
18870 * sysdeps/i386/asm-syntax.h: Likewise.
18871 * sysdeps/s390/asm-syntax.h: Likewise.
18872 * sysdeps/unix/sysdep.h: Likewise.
18873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18875
7071ad79
JM
188762012-01-26 Joseph Myers <joseph@codesourcery.com>
18877
18878 * libio/libio.h: Remove __STDC__ conditionals.
18879 * malloc/obstack.h: Likewise.
18880 * math/complex.h: Likewise.
18881 * math/math.h: Likewise.
18882 * sysdeps/generic/_G_config.h: Likewise.
18883 * sysdeps/gnu/_G_config.h: Likewise.
18884 * sysdeps/mach/hurd/_G_config.h: Likewise.
18885 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18886 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18887 * sysdeps/sparc/bits/mathdef.h: Likewise.
18888
afc5ed09
UD
188892012-01-26 Ulrich Drepper <drepper@gmail.com>
18890
18891 [BZ #13583]
18892 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 18893 Clean up HAS_* macros.
afc5ed09 18894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
18895 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18896 possible.
18897 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18898 HAS_AVX.
18899 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18900 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18901 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18902 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18903 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 18904
bdb6de1d
JM
189052012-01-25 Joseph Myers <joseph@codesourcery.com>
18906
18907 * elf/tst-unique3.cc (gets): Remove declaration.
18908 * elf/tst-unique3lib.cc (gets): Likewise.
18909 * elf/tst-unique3lib2.cc (gets): Likewise.
18910 * elf/tst-unique4.cc (gets): Likewise.
18911
b15549e6
UD
189122012-01-24 Ulrich Drepper <drepper@gmail.com>
18913
18914 * include/stdio.h: Add C++ protection. Add gets declarations and
18915 definitions.
18916 * debug/tst-chk1.c: Don't declare gets here.
18917 * stdio-common/tst-gets.c: Likewise.
18918
a037381f
JM
189192012-01-24 Joseph Myers <joseph@codesourcery.com>
18920
18921 * posix/glob: Remove directory.
18922
f1d4aa75
JM
189232012-01-24 Joseph Myers <joseph@codesourcery.com>
18924
18925 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18926
81c0c964
PT
189272012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18928
18929 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18930 of the non-standard EPFNOSUPPORT.
18931
0ea698ae
ST
189322011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18933
18934 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18935 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18936 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18937
d220b117
UD
189382012-01-21 Ulrich Drepper <drepper@gmail.com>
18939
18940 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18941
3e1aa84e
UD
189422012-01-20 Ulrich Drepper <drepper@gmail.com>
18943
18944 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18945 transient errors.
18946 * nscd/grpcache.c (cache_addgr): Likewise.
18947 * nscd/hstcache.c (cache_addhst): Likewise.
18948 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18949 * nscd/pwdcache.c (cache_addpw): Likewise.
18950 * nscd/servicescache.c (cache_addserv): Likewise.
18951
400aa020
UD
189522012-01-16 Ulrich Drepper <drepper@gmail.com>
18953
d77e7869
UD
18954 * malloc/malloc.c: Various cleanups.
18955 * malloc/hooks.c: Likewise.
18956
400aa020
UD
18957 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18958 * stdlib/bug-fmtmsg1.c: New file.
18959
18960 * stdlib/fmtmsg.c (init): Add missing unlock.
18961 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18962
e0a309cf
MP
189632012-01-12 Marek Polacek <polacek@redhat.com>
18964
18965 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18966 and _GNU_SOURCE.
18967
929d11c7
WS
189682012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18969
18970 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18971 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18972 macro to ensure uniqueness of label name.
18973 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18974 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18975
41d0e869
UD
189762012-01-11 Ulrich Drepper <drepper@gmail.com>
18977
0cc5ed3b
UD
18978 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18979
41d0e869
UD
18980 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18981 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18982 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18983 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18984
a47a831a
UD
189852012-01-10 Ulrich Drepper <drepper@gmail.com>
18986
daa891c0
UD
18987 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18988
18989 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18990 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18991 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18992
e58ef0f2
UD
18993 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18994
a47a831a 18995 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
18996 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18997 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 18998 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
18999
19000 * math/bits/math-finite.h: Add ldexp support.
19001
a0bfc9c7
MP
190022012-01-10 Marek Polacek <polacek@redhat.com>
19003
19004 * locale/programs/localedef.h (show_archive_content): Add noreturn
19005 attribute.
19006
d6e97a1d
UD
190072012-01-09 Ulrich Drepper <drepper@gmail.com>
19008
19009 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19010
d5835c26
UD
190112012-01-08 Ulrich Drepper <drepper@gmail.com>
19012
e5f484c6
UD
19013 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19014
d5835c26
UD
19015 * io/Makefile (headers): Add bits/poll2.h.
19016
d1f741e9
WS
190172011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19018
19019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19020 typo #include statement.
19021
ec09c1c4
UD
190222012-01-08 Ulrich Drepper <drepper@gmail.com>
19023
19024 * include/sys/cdefs.h: Define __attribute_alloc_size.
19025 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19026 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19027 * elf/pldd.c: Likewise.
19028 * iconv/iconv_charmap.c: Likewise.
19029 * iconv/iconvconfig.c: Likewise.
19030 * iconv/strtab.c: Likewise.
19031 * locale/programs/locale.c: Likewise.
19032 * locale/programs/localedef.h: Likewise.
19033 * locale/programs/simple-hash.c: Likewise.
19034 * nscd/nscd.h: Likewise.
19035 * nss/makedb.c: Likewise.
19036 * sysdeps/generic/ldconfig.h: Likewise.
19037 * locale/programs/localedef.c: Remove xmalloc prototype.
19038 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19039
20b38e03
PP
190402012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19041
19042 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19043 appropriate.
19044
a0da5fe1
UD
190452012-01-08 Ulrich Drepper <drepper@gmail.com>
19046
1d5a644a 19047 * math/Makefile (tests): Add tst-CMPLX.
669704fd 19048 * math/tst-CMPLX.c: New file.
1d5a644a 19049
8784a6db
UD
19050 * math/complex.h (CMPLXL): Fix typo.
19051
d9a216c0
UD
19052 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19053 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19054 GLIBC_2.16.
19055 * debug/tst-chk1.c: Add poll and ppoll tests.
19056 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19057 * include/sys/poll.h: Add hidden proto for ppoll.
19058 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19059 * sysdeps/mach/hurd/ppoll.c: Likewise.
19060 * io/ppoll.c: Likewise.
19061 * debug/poll_chk.c: New file.
19062 * debug/ppoll_chk.c: New file.
19063 * include/bits/poll2.h: New file.
19064 * io/bits/poll2.h: New file.
19065
ac097f5c
UD
19066 [BZ #1350]
19067 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19068
2119dcfa
UD
19069 * configure.in: static is always set to yes. Remove.
19070 * config.make.in: Don't set build-static.
19071 * Makeconfig: Remove use of build-static.
19072 * dlfcn/Makefile: Likewise.
19073 * elf/Makefile: Likewise.
19074 * math/Makefile: Likewise.
19075 * misc/Makefile: Likewise.
19076 * nptl/Makefile: Likewise.
19077 * sysdeps/mach/hurd/Makefile: Likewise.
19078
121766a9
UD
19079 * configure.in: PWD_P is not used anymore.
19080 * config.make.in: Remove PWD_P entry.
19081
51a1d39c 19082 * configure.in: Remove last remnants of RANLIB.
8720d066 19083 No need to check for signed size_t anymore.
215f4bdc
UD
19084 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19085 and IA-64.
3857022a 19086 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
19087 * aclocal.m4: Likewise.
19088
d3ed7225
UD
19089 * wcsmbs/mbrtoc16.c: Implement using towc function.
19090 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19091 * wcsmbs/wcsmbsload.c: Likewise.
19092 * iconv/gconv_simple.c: Likewise.
19093 * iconv/gconv_int.h: Likewise.
19094 * iconv/gconv_builtin.h: Likewise.
19095 * iconv/iconv_prog.c: Remove CHAR16 handling.
19096
19097 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19098
19099 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19100
a0da5fe1
UD
19101 * configure.in: Remove --with-elf and --enable-bounded options.
19102 Dont set base_machine for ia64. More non-ELF conditions removed.
19103 Remove testing and setting of leading underscore information.
19104 * config.make.in (build-bounded): Set to no.
19105 * config.h.in: Remove NO_UNDERSCORES entry.
19106 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19107 them.
19108 * csu/start.c: Remove !NO_UNDERSCORE code.
19109 * locale/localeinfo.h: Likewise.
19110 * sysdeps/generic/machine-gmon.h: Likewise.
19111 * sysdeps/generic/sysdep.h: Likewise.
19112 * sysdeps/i386/sysdep.h: Likewise.
19113 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19114 * sysdeps/mach/sysdep.h: Likewise.
19115 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19116 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19117 * sysdeps/sh/sysdep.h: Likewise.
19118 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19119 * sysdeps/unix/i386/sysdep.S: Likewise.
19120 * sysdeps/unix/sparc/start.c: Likewise.
19121 * sysdeps/unix/sparc/sysdep.S: Likewise.
19122 * sysdeps/unix/sparc/sysdep.h: Likewise.
19123 * sysdeps/unix/start.c: Likewise.
19124 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19125 * sysdeps/x86_64/sysdep.h: Likewise.
19126
df78418a
UD
191272012-01-07 Ulrich Drepper <drepper@gmail.com>
19128
a784e502
UD
19129 [BZ #13553]
19130 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19131 for non-gcc.
19132 * argp/argp-fmtstream.h: Use const instead __const.
19133 * argp/argp.h: Likewise.
19134 * assert/assert.h: Likewise.
19135 * bits/fenv.h: Likewise.
19136 * bits/sched.h: Likewise.
19137 * bits/sigset.h: Likewise.
19138 * bits/sigthread.h: Likewise.
19139 * catgets/nl_types.h: Likewise.
19140 * conform/data/pthread.h-data: Likewise.
19141 * crypt/crypt-private.h: Likewise.
19142 * crypt/crypt.h: Likewise.
19143 * crypt/crypt_util.c: Likewise.
19144 * ctype/ctype.h: Likewise.
19145 * debug/execinfo.h: Likewise.
19146 * debug/mbsnrtowcs_chk.c: Likewise.
19147 * debug/mbsrtowcs_chk.c: Likewise.
19148 * debug/wcsnrtombs_chk.c: Likewise.
19149 * debug/wcsrtombs_chk.c: Likewise.
19150 * debug/wcstombs_chk.c: Likewise.
19151 * dirent/dirent.h: Likewise.
19152 * dlfcn/dlfcn.h: Likewise.
19153 * elf/neededtest4.c: Likewise.
19154 * grp/grp.h: Likewise.
19155 * gshadow/gshadow.h: Likewise.
19156 * iconv/gconv.h: Likewise.
19157 * iconv/gconv_int.h: Likewise.
19158 * iconv/gconv_simple.c: Likewise.
19159 * iconv/iconv.h: Likewise.
19160 * iconv/loop.c: Likewise.
19161 * iconv/skeleton.c: Likewise.
19162 * include/aio.h: Likewise.
19163 * include/aliases.h: Likewise.
19164 * include/argz.h: Likewise.
19165 * include/arpa/inet.h: Likewise.
19166 * include/assert.h: Likewise.
19167 * include/dirent.h: Likewise.
19168 * include/dlfcn.h: Likewise.
19169 * include/execinfo.h: Likewise.
19170 * include/fcntl.h: Likewise.
19171 * include/fenv.h: Likewise.
19172 * include/glob.h: Likewise.
19173 * include/grp.h: Likewise.
19174 * include/libintl.h: Likewise.
19175 * include/mntent.h: Likewise.
19176 * include/netdb.h: Likewise.
19177 * include/pwd.h: Likewise.
19178 * include/rpc/netdb.h: Likewise.
19179 * include/sched.h: Likewise.
19180 * include/search.h: Likewise.
19181 * include/shadow.h: Likewise.
19182 * include/signal.h: Likewise.
19183 * include/stdio.h: Likewise.
19184 * include/stdlib.h: Likewise.
19185 * include/string.h: Likewise.
19186 * include/sys/socket.h: Likewise.
19187 * include/sys/stat.h: Likewise.
19188 * include/sys/statfs.h: Likewise.
19189 * include/sys/statvfs.h: Likewise.
19190 * include/sys/syslog.h: Likewise.
19191 * include/sys/time.h: Likewise.
19192 * include/sys/uio.h: Likewise.
19193 * include/time.h: Likewise.
19194 * include/unistd.h: Likewise.
19195 * include/utmp.h: Likewise.
19196 * include/wchar.h: Likewise.
19197 * include/wctype.h: Likewise.
19198 * inet/aliases.h: Likewise.
19199 * inet/arpa/inet.h: Likewise.
19200 * inet/netinet/ether.h: Likewise.
19201 * inet/netinet/in.h: Likewise.
19202 * intl/libintl.h: Likewise.
19203 * io/bits/fcntl2.h: Likewise.
19204 * io/fcntl.h: Likewise.
19205 * io/ftw.h: Likewise.
19206 * io/sys/poll.h: Likewise.
19207 * io/sys/stat.h: Likewise.
19208 * io/sys/statfs.h: Likewise.
19209 * io/sys/statvfs.h: Likewise.
19210 * io/utime.h: Likewise.
19211 * libio/bits/stdio.h: Likewise.
19212 * libio/bits/stdio2.h: Likewise.
19213 * libio/libio.h: Likewise.
19214 * libio/libioP.h: Likewise.
19215 * libio/stdio.h: Likewise.
19216 * locale/lc-ctype.c: Likewise.
19217 * locale/locale.h: Likewise.
19218 * login/utmp.h: Likewise.
19219 * malloc/arena.c: Likewise.
19220 * malloc/malloc.c: Likewise.
19221 * malloc/malloc.h: Likewise.
19222 * malloc/mcheck.c: Likewise.
19223 * malloc/mtrace.c: Likewise.
19224 * math/bits/mathcalls.h: Likewise.
19225 * math/fenv.h: Likewise.
19226 * math/math_private.h: Likewise.
19227 * misc/bits/error.h: Likewise.
19228 * misc/bits/syslog.h: Likewise.
19229 * misc/err.h: Likewise.
19230 * misc/error.h: Likewise.
19231 * misc/fstab.h: Likewise.
19232 * misc/mntent.h: Likewise.
19233 * misc/regexp.h: Likewise.
19234 * misc/search.h: Likewise.
19235 * misc/sgtty.h: Likewise.
19236 * misc/sys/mman.h: Likewise.
19237 * misc/sys/syslog.h: Likewise.
19238 * misc/sys/uio.h: Likewise.
19239 * misc/sys/xattr.h: Likewise.
19240 * misc/ttyent.h: Likewise.
19241 * nis/rpcsvc/ypclnt.h: Likewise.
19242 * nss/nss.h: Likewise.
19243 * posix/bits/unistd.h: Likewise.
19244 * posix/fnmatch.h: Likewise.
19245 * posix/glob.h: Likewise.
19246 * posix/sched.h: Likewise.
19247 * posix/spawn.h: Likewise.
19248 * posix/sys/wait.h: Likewise.
19249 * posix/unistd.h: Likewise.
19250 * posix/wordexp.h: Likewise.
19251 * pwd/pwd.h: Likewise.
19252 * resolv/netdb.h: Likewise.
19253 * resource/sys/resource.h: Likewise.
19254 * rt/aio.h: Likewise.
19255 * rt/bits/mqueue2.h: Likewise.
19256 * rt/mqueue.h: Likewise.
19257 * shadow/shadow.h: Likewise.
19258 * signal/signal.h: Likewise.
19259 * socket/send.c: Likewise.
19260 * socket/sendto.c: Likewise.
19261 * socket/sys/socket.h: Likewise.
19262 * stdio-common/printf.h: Likewise.
19263 * stdlib/bits/stdlib.h: Likewise.
19264 * stdlib/fmtmsg.h: Likewise.
19265 * stdlib/monetary.h: Likewise.
19266 * stdlib/stdlib.h: Likewise.
19267 * stdlib/ucontext.h: Likewise.
19268 * streams/stropts.h: Likewise.
19269 * string/argz.h: Likewise.
19270 * string/bits/string2.h: Likewise.
19271 * string/string.h: Likewise.
19272 * string/strings.h: Likewise.
19273 * sunrpc/rpc/auth.h: Likewise.
19274 * sunrpc/rpc/auth_des.h: Likewise.
19275 * sunrpc/rpc/clnt.h: Likewise.
19276 * sunrpc/rpc/netdb.h: Likewise.
19277 * sunrpc/rpc/pmap_clnt.h: Likewise.
19278 * sunrpc/rpc/xdr.h: Likewise.
19279 * sysdeps/generic/inttypes.h: Likewise.
19280 * sysdeps/generic/net/if.h: Likewise.
19281 * sysdeps/generic/sys/swap.h: Likewise.
19282 * sysdeps/gnu/net/if.h: Likewise.
19283 * sysdeps/gnu/utmpx.h: Likewise.
19284 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19285 * sysdeps/i386/i486/bits/string.h: Likewise.
19286 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19287 * sysdeps/s390/bits/string.h: Likewise.
19288 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19289 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19290 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19291 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19292 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19293 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19294 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19295 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19296 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19297 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19298 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19299 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19300 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19301 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19302 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19303 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19304 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19305 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19306 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19307 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19308 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19309 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19310 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19311 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19312 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19313 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19314 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19315 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19316 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19317 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19318 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19319 * sysvipc/sys/ipc.h: Likewise.
19320 * sysvipc/sys/msg.h: Likewise.
19321 * sysvipc/sys/sem.h: Likewise.
19322 * sysvipc/sys/shm.h: Likewise.
19323 * termios/termios.h: Likewise.
19324 * time/sys/time.h: Likewise.
19325 * time/time.h: Likewise.
19326 * wcsmbs/bits/wchar2.h: Likewise.
19327 * wcsmbs/uchar.h: Likewise.
19328 * wcsmbs/wchar.h: Likewise.
19329 * wctype/wctype.h: Likewise.
19330
0269750c
UD
19331 [BZ #13551]
19332 * Makeconfig: Remove all but ELF support including AIX support.
19333 * Makerules: Likewise.
19334 * config.h.in: Likewise.
19335 * config.make.in: Likewise.
19336 * configure: Likewise.
19337 * configure.in: Likewise.
19338 * csu/Makefile: Likewise.
19339 * csu/version.c: Likewise.
19340 * debug/Makefile: Likewise.
19341 * dlfcn/Makefile: Likewise.
19342 * elf/Makefile: Likewise.
19343 * extra-lib.mk: Likewise.
19344 * iconv/Makefile: Likewise.
19345 * include/libc-symbols.h: Likewise.
19346 * include/shlib-compat.h: Likewise.
19347 * resolv/Makefile: Likewise.
19348 * resolv/res_libc.c: Likewise.
19349 * rt/Makefile: Likewise.
19350 * sysdeps/i386/asm-syntax.h: Likewise.
19351 * sysdeps/i386/sysdep.h: Likewise.
19352 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19353 * sysdeps/mach/sysdep.h: Likewise.
19354 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19355 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19356 * sysdeps/s390/asm-syntax.h: Likewise.
19357 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19358 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19359 * sysdeps/sh/sysdep.h: Likewise.
19360 * sysdeps/unix/sparc/sysdep.h: Likewise.
19361 * sysdeps/wordsize-32/divdi3.c: Likewise.
19362 * sysdeps/x86_64/sysdep.h: Likewise.
19363
00bbd29b
UD
19364 * argp/Versions: Remove _argp_unlock_xxx.
19365
19366 [BZ #13559]
19367 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19368 * abilist/libBrokenLocale.abilist: Likewise.
19369 * abilist/libanl.abilist: Likewise.
19370 * abilist/libc.abilist: Likewise.
19371 * abilist/libcrypt.abilist: Likewise.
19372 * abilist/libdl.abilist: Likewise.
19373 * abilist/libm.abilist: Likewise.
19374 * abilist/libnsl.abilist: Likewise.
19375 * abilist/libpthread.abilist: Likewise.
19376 * abilist/libresolv.abilist: Likewise.
19377 * abilist/librt.abilist: Likewise.
19378 * abilist/libthread_db.abilist: Likewise.
19379 * abilist/libutil.abilist: Likewise.
19380 * abilist/libnss_db.abilist: New file.
19381
19382 * scripts/abilist.awk: Add support for indirect functions.
19383
a2693a0e
UD
19384 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19385
3f05895f
UD
19386 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19387
ecb6fb48
UD
19388 * shlib-versions: Remove entries for ports architectures.
19389
664f8cb9
UD
19390 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19391 files in ports.
19392 * elf/stackguard-macros.h: Remove support for IA-64.
19393 * elf/tst-auditmod1.c: Likewise.
19394 * sysdeps/generic/ldsodefs.h: Likewise.
19395
7ae81d88
UD
19396 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19397 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19398 configure files.
19399
bdeba135
UD
19400 [BZ #13552]
19401 * configure.in: Remove --enable-omitfp support.
19402 * FAQ.in: Adjust.
19403 * config.make.in: Likewise.
19404 * Makeconfig: Likewise.
19405 * manual/install.texi: Likewise.
19406
d75a0a62
UD
19407 In case anyone cares, the IA-64 architecture could move to ports.
19408 * sysdeps/ia64/*: Removed.
19409 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 19410 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 19411
dcc9756b
UD
19412 [BZ #13555]
19413 * configure.in: Remove entries for unsupported architectures.
19414
d3761ebc 19415 [BZ #13533]
9954432e
UD
19416 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19417 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19418 routines.
19419 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19420 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19421 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19422 fall back to using wcrtomb.
19423 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19424 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19425 renaming.
19426 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19427 * wcsmbs/tst-c16c32-1.c: New file.
19428
19429 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19430 local variable.
19431
c3a87236
UD
19432 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19433
28926a1b
UD
19434 * elf/tst-unique3.cc: Add explicit declaration of gets.
19435 * elf/tst-unique3lib.cc: Likewise.
19436 * elf/tst-unique3lib2.cc: Likewise.
19437 * elf/tst-unique4.cc: Likewise.
19438
df78418a
UD
19439 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19440
8ecd6b2a
JM
194412012-01-06 Joseph Myers <joseph@codesourcery.com>
19442
19443 [BZ #13566]
19444 * assert/assert.h (static_assert): Don't define for C++.
19445 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19446 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19447
9f115170
UD
194482012-01-03 Ulrich Drepper <drepper@gmail.com>
19449
5e0d0300
UD
19450 * iconv/loop.c (single loop): Fix assertion in storing of
19451 remaining bytes.
19452
9f115170
UD
19453 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19454
81fb02b0
UD
194552012-01-01 Ulrich Drepper <drepper@gmail.com>
19456
19457 * posix/getconf.c: Update copyright year.
19458 * nss/getent.c: Likewise.
a316c1f6 19459 * nss/makedb.c: Likewise.
81fb02b0
UD
19460 * iconv/iconvconfig.c: Likewise.
19461 * iconv/iconv_prog.c: Likewise.
19462 * elf/ldconfig.c: Likewise.
a316c1f6
UD
19463 * elf/pldd.c: Likewise.
19464 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
19465 * catgets/gencat.c: Likewise.
19466 * csu/version.c: Likewise.
19467 * elf/ldd.bash.in: Likewise.
19468 * elf/sprof.c (print_version): Likewise.
19469 * locale/programs/locale.c: Likewise.
19470 * locale/programs/localedef.c: Likewise.
a316c1f6 19471 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
19472 * nscd/nscd.c (print_version): Likewise.
19473 * debug/xtrace.sh: Likewise.
19474 * malloc/memusage.sh: Likewise.
19475 * malloc/mtrace.pl: Likewise.
19476 * debug/catchsegv.sh: Likewise.
19477
2ba92745
JJ
194782011-12-30 Jakub Jelinek <jakub@redhat.com>
19479
19480 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19481 pure attribute.
19482
dadebdae
UD
194832011-12-24 Ulrich Drepper <drepper@gmail.com>
19484
d3761ebc 19485 [BZ #13533]
db6af3eb
UD
19486 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19487 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19488 transformations.
19489 * iconv/gconv_int.h: Likewise.
19490 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19491 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19492 from libc for GLIBC_2.16.
19493 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19494 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19495 * wcsmbs/uchar.h: Really define mbstate_t.
19496 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19497 * wcsmbs/c16rtomb.c: New file.
19498 * wcsmbs/mbrtoc16.c: New file.
19499 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19500 for C/POSIX locale.
19501 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19502 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19503
dadebdae
UD
19504 * wcsmbs/wchar.h: Add missing __restrict.
19505
67371b56
UD
195062011-12-23 Ulrich Drepper <drepper@gmail.com>
19507
74033a25
UD
19508 [BZ #13532]
19509 * time/Makefile (routines): Add timespec_get.
19510 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19511 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19512 timespec for ISO C11.
19513 * time/timespec_get.c: New file.
19514 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19515 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19516
380d7e87
UD
19517 [BZ #13531]
19518 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19519 * stdlib/stdlib.h: Declare aligned_alloc.
19520 * Versions.def: Add GLIBC_2.16 for libc.
19521 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19522
4e9e7a35
UD
19523 [BZ 13527]
19524 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19525 ISO C11.
19526
380d7e87 19527 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
19528 code.
19529
03a71829
UD
19530 [BZ #13528]
19531 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19532
839e283e
UD
19533 [BZ #13529]
19534 * assert/assert.h (static_assert): Define.
19535
ce5294e2 19536 * version.h: Update for 2.16 development version.
90fa7312 19537
8d44e150 19538 [BZ #13526]
d7809905
UD
19539 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19540 _ISOC11_SOURCE.
19541
c0da14cd
UD
19542 * version.h (RELEASE): Bump for 2.15 release.
19543 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19544
530a3249
MP
19545 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19546 Patch by Marek Polacek <mpolacek@redhat.com>.
19547
67371b56
UD
19548 * bits/byteswap.h: Protect long long constants with __extension__.
19549 * sysdeps/i386/bits/byteswap.h: Likewise.
19550 * sysdeps/ia64/bits/byteswap.h: Likewise.
19551 * sysdeps/s390/bits/byteswap.h: Likewise.
19552 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19553
15db4de1
LD
195542011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19555
19556 [BZ #13540]
bbe315ea
LD
19557 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19558 destination buffer.
15db4de1
LD
19559 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19560
2b2596b1
MP
195612011-12-23 Marek Polacek <polacek@redhat.com>
19562
19563 * elf/dl-addr.c (determine_info): Add inline keyword.
19564 * elf/tst-auditmod4b.c (check_avx): Likewise.
19565 * elf/tst-auditmod6b.c (check_avx): Likewise.
19566 * elf/tst-auditmod6c.c (check_avx): Likewise.
19567 * elf/tst-auditmod7b.c (check_avx): Likewise.
19568
70c6c246
UD
195692011-12-23 Ulrich Drepper <drepper@gmail.com>
19570
19571 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19572 !__SSE_MATH__.
19573
c044cf14
LD
195742011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19575
15db4de1 19576 [BZ #13540]
c044cf14
LD
19577 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19578 processing for last bytes.
19579
6b13d9d9
BH
195802011-08-06 Bruno Haible <bruno@clisp.org>
19581
d455f537
BH
19582 [BZ #13061]
19583 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19584 U+0385, not to U+1FEE.
19585
6b13d9d9
BH
19586 [BZ #13062]
19587 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19588 entry for U+00A5 U+0301.
19589
db910efd
UD
195902011-12-22 Ulrich Drepper <drepper@gmail.com>
19591
27deeafc
UD
19592 [BZ #13166]
19593 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19594 buffer for the output is too small.
19595
aed9d171
UD
19596 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19597 optimization.
19598
db910efd
UD
19599 [BZ #13185]
19600 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19601 SSE flags if possible.
19602
2bd779ae
LD
196032011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19604
e7f9dac3 19605 [BZ #13540]
2bd779ae
LD
19606 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19607 processing for last bytes.
19608
154bfc16
JM
196092011-12-22 Joseph Myers <joseph@codesourcery.com>
19610
19611 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19612 (syscall-list-default-options, syscall-list-default-condition)
19613 (syscall-list-includes): Define.
19614 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19615 list of ABIs and options and #if conditions for each ABI. Do not
19616 handle common syscalls between ABIs specially.
19617 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19618 Remove.
19619 (syscall-list-variants, syscall-list-32bit-options)
19620 (syscall-list-32bit-condition, syscall-list-64bit-options)
19621 (syscall-list-64bit-condition): Define.
19622 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19623 (syscall-list-variants, syscall-list-32bit-options)
19624 (syscall-list-32bit-condition, syscall-list-64bit-options)
19625 (syscall-list-64bit-condition): Define.
19626 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19627 Remove.
19628 (syscall-list-variants, syscall-list-32bit-options)
19629 (syscall-list-32bit-condition, syscall-list-64bit-options)
19630 (syscall-list-64bit-condition): Define.
19631 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19632 Remove.
19633 (syscall-list-variants, syscall-list-32bit-options)
19634 (syscall-list-32bit-condition, syscall-list-64bit-options)
19635 (syscall-list-64bit-condition): Define.
19636
21eaf3a5
UD
196372011-12-22 Ulrich Drepper <drepper@gmail.com>
19638
16c6f992
UD
19639 * locale/iso-639.def: Add brx entry.
19640
41043168
UD
19641 [BZ #13328]
19642 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19643 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19644
21eaf3a5
UD
19645 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19646 __feraiseexcept_renamed.
19647
e3a851a2
UD
196482011-12-21 Ulrich Drepper <drepper@gmail.com>
19649
4920765e
UD
19650 [BZ #13538]
19651 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19652 EPOLLET with unsigned values.
19653 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19654 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19655
e3a851a2
UD
19656 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19657 to large cancellation.
19658 * math/s_cacoshf.c: Likewise.
19659 * math/s_cacoshl.c: Likewise.
19660
b27e24b8
RK
196612011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19662
19663 [BZ #13305]
aebefeee 19664 [BZ #12786]
b27e24b8
RK
19665 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19666 * math/s_cacoshf.c: Likewise.
19667 * math/s_cacoshl.c: Likewise.
19668
ee190f67
UD
196692011-12-21 Ulrich Drepper <drepper@gmail.com>
19670
19671 [BZ #13439]
19672 * iconv/gconv.h: Define __GCONV_SWAP.
19673 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19674 * iconvdata/utf-16.c: Likewise.
19675 * iconvdata/utf-32.c: Likewise.
19676
707f25df
AS
196772011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19678
19679 [BZ #13524]
19680 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19681 numerator after shifting it by one limb.
19682
d2daaa1e
RÁE
196832011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19684
19685 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19686 under [__USE_EXTERN_INLINES].
19687
a4647e72
UD
196882011-12-17 Ulrich Drepper <drepper@gmail.com>
19689
19690 [BZ #13446]
19691 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19692
f0b264f1
AZ
196932011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19694
19695 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19696 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19697 optimized code.
19698 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19699 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19700 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19701 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19702 for strncasecmp/strncasecmp_l compilation.
19703 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19704 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19705
8ef4f244
MP
197062011-12-08 Marek Polacek <mpolacek@redhat.com>
19707
19708 [BZ #13484]
19709 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19710 of __asm__.
19711
97ac2654
UD
197122011-12-17 Ulrich Drepper <drepper@gmail.com>
19713
19714 [BZ #13506]
19715 * time/tzfile.c (__tzfile_read): Check values from file header.
19716
91d2a845
WS
197172011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19718
19719 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19720 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19721 * powerpc/powerpc32/dl-start.S: Likewise.
19722 * powerpc/powerpc32/elf/start.S: Likewise.
19723 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19724 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19725 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19726 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19727 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19728 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19729 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19730 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19731 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19732 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19733 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19734 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19735 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19736 * powerpc/powerpc32/memset.S: Likewise.
19737 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19738 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19739 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19740 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19741 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19742 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19743 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19744 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19745 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19746 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19747 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19748 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19749 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19750
a1267ba1
AZ
197512011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19752
19753 * math/libm-test.inc: Added more nearbyint tests.
19754 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19755 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19756 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19757 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19758
ad8ac1bd
RL
197592011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19760
19761 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19762 FD_CLOEXEC.
19763
1d3e4b61
UD
197642011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19765
19766 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19767 Add wcscpy-ssse3 wcscpy-c.
19768 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19769 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19770 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19771 * sysdeps/x86_64/wcschr.S: New file.
19772 * sysdeps/x86_64/wcsrchr.S: New file.
19773 * string/test-strcmp.c: Remove checking of wcscmp function for
19774 wrong alignments.
19775 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19776 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19777 wcsrchr-sse2 wcsrchr-c.
19778 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19779 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19780 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19781 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19782 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19783 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19784 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19785 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19786 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19787 * wcsmbc/wcschr.c (WCSCHR): New macro.
19788
5b330a2d
UD
197892011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19790
19791 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19792 * wcsmbs/test-wcsrchr.c: New file.
19793 * string/test-strrchr.c: Add wcsrchr support.
19794 (WIDE): New macro.
19795 * wcsmbs/test-wcscpy.c: New file.
19796 * string/test-strcpy.c: Add wcscpy support.
19797 (WIDE): New macro.
26428b7c 19798
f039c043
UD
197992011-12-10 Ulrich Drepper <drepper@gmail.com>
19800
19801 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19802 the inner loop.
19803
850fb039
AS
198042011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19805
19806 [BZ #13472]
19807 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19808
4efbd5cb
UD
198092011-12-04 Ulrich Drepper <drepper@gmail.com>
19810
52ff5dd0 19811 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 19812 Minor optimizations.
52ff5dd0 19813
4efbd5cb
UD
19814 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19815 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19816 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19817
8a426e12
UD
198182011-12-03 Ulrich Drepper <drepper@gmail.com>
19819
aff2453d
UD
19820 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19821 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19822 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19823 for gcc to avoid warnings.
19824 * inet/Makefile (tests): Add tst-checks.
19825 * inet/tst-checks.c: New file.
19826
19827 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19828 warning.
19829
19830 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19831 __wmemcmp_sse2.
19832
19833 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19834 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19835
8a426e12
UD
19836 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19837
9bea3473
UD
198382011-12-02 Ulrich Drepper <drepper@gmail.com>
19839
3a965496
UD
19840 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19841 problem.
19842
9bea3473
UD
19843 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19844
f101631b
UD
198452011-11-29 Joseph Myers <joseph@codesourcery.com>
19846
19847 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19848 conditional on GCC version.
19849 (__arch_compare_and_exchange_val_8_acq)
19850 (__arch_compare_and_exchange_val_16_acq)
19851 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19852 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19853 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19854
a98275aa
UD
198552011-12-02 Joseph Myers <joseph@codesourcery.com>
19856
19857 * sysdeps/sh/backtrace.c: New file.
19858
d4cc29a2
AS
198592011-12-02 Andreas Schwab <schwab@redhat.com>
19860
19861 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19862 parenthesis.
19863
6257af2d
AS
198642011-12-01 Andreas Schwab <schwab@redhat.com>
19865
19866 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19867 falling back to utime.
19868
b5f44c1a
AS
198692011-11-30 Andreas Schwab <schwab@redhat.com>
19870
19871 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19872 expectations for float.
19873
f3a6cc0a
AS
198742011-11-29 Andreas Schwab <schwab@redhat.com>
19875
19876 * locale/weight.h (findidx): Add parameter len.
19877 * locale/weightwc.h (findidx): Likewise.
19878 * posix/fnmatch_loop.c (FCT): Adjust caller.
19879 * posix/regcomp.c (build_equiv_class): Likewise.
19880 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19881 * posix/regexec.c (check_node_accept_bytes): Likewise.
19882 * string/strcoll_l.c (STRCOLL): Likewise.
19883 * string/strxfrm_l.c (STRXFRM): Likewise.
19884
9d65ea3a
UD
198852011-11-17 Ulrich Drepper <drepper@gmail.com>
19886
19887 * Makefile.in: Remove CVSOPT handling.
19888 * configure.in: Remove use of AC_REVISION.
19889 * iconvdata/Makefile (distribute): No need to filter out CVS.
19890 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19891 handling.
19892
5583a086
AS
198932011-11-16 Andreas Schwab <schwab@redhat.com>
19894
19895 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19896 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19897 [USE_AS_STRNCASECMP_L]: Likewise.
19898 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19899 NO_TLS_DIRECT_SEG_REFS.
19900 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19901 Fix argument offsets for non-PIC.
19902 [USE_AS_STRNCASECMP_L]: Likewise.
19903 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19904 NO_TLS_DIRECT_SEG_REFS.
19905
d62a8200
UD
199062011-11-15 Ulrich Drepper <drepper@gmail.com>
19907
9d65ea3a 19908 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
19909 O_CLOEXEC.
19910 * locale/loadlocale.c (_nl_load_locale): Likewise.
19911
09f93bd3
AS
199122011-11-15 Andreas Schwab <schwab@redhat.com>
19913
446514f9
AS
19914 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19915 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19916 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19917 (SYSCALL_GETTIME): Set errno on error.
19918
09f93bd3
AS
19919 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19920 count references to noai6ai_cached.
19921
312be3f9
UD
199222011-11-15 Ulrich Drepper <drepper@gmail.com>
19923
19924 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19925
19926 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19927 FD_CLOEXEC for /proc/self/maps.
19928
19929 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19930 FD_CLOEXEC for /proc/meminfo.
19931
19932 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19933 gai.conf.
19934
19935 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19936 FD_CLOEXEC for given file.
19937
19938 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19939
19940 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19941 FD_CLOEXEC for /etc/hosts.
19942 (_gethtent): Likewise.
19943
19944 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19945
19946 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19947 cancellation and set FD_CLOEXEC for /etc/netgroup.
19948
19949 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19950 reading /etc/publickey.
19951
19952 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19953 allow cancellation when reading /etc/group.
19954
19955 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19956 cancellation.
19957 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19958
19959 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19960 when using data file.
19961
19962 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19963
19964 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19965 (write_nis_obj): Use "c" and "e" in fopen.
19966
19967 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19968
19969 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19970
19971 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19972
19973 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19974
19975 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19976 locale.alias.
19977
19978 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19979
19980 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19981
19982 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19983
19984 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19985 file parsing and set FD_CLOEXEC.
19986
82af0fa8
UD
199872011-11-14 Ulrich Drepper <drepper@gmail.com>
19988
19989 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19990
a5fb313c
AS
199912011-11-14 Andreas Schwab <schwab@redhat.com>
19992
19993 * malloc/arena.c (arena_get2): Don't call reused_arena when
19994 _int_new_arena failed.
19995
6abf3465
UD
199962011-11-14 Ulrich Drepper <drepper@gmail.com>
19997
19998 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19999 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20000 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20001 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20002 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20003 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20004 to compile strcasecmp and strncasecmp.
20005 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20006 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20007
20008 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20009
76e3966e
UD
200102011-11-13 Ulrich Drepper <drepper@gmail.com>
20011
20012 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20013 locale-defines.sym to gen-as-const-headers.
20014 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20015 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20016 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20017 to compile strcasecmp and strncasecmp.
20018 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20019 strcasecmp_l and strncasecmp_l.
20020 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20021 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20022 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20023 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20024 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20025 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20026 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20027 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20028 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20029 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20030 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20031
ab26144e
UD
200322011-11-12 Ulrich Drepper <drepper@gmail.com>
20033
7edb22ef
UD
20034 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20035 result of SYSDEP_GETTIME_CPU to retval.
20036 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20037 parameter list to macro. Remove trailing semicolon. Adjust users.
20038
9694fc44
UD
20039 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20040 variable.
20041
8ad89ef8
UD
20042 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20043 mantissa words.
20044 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20045
0c822ef9
UD
20046 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20047 from unused variable.
20048
874e0564
UD
20049 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20050 DWARF definitions.
20051 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20052 for assembling.
20053
3a2edc79
UD
20054 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20055 over namespaces.
20056
f3c2577f
UD
20057 * sunrpc/rpc_prot.c (rejected): Fix case value.
20058
294ce126
UD
20059 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20060 unsigned long long int to avoid warnings in shift.
20061
5e2b63c6
UD
20062 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20063 of use of trans.
20064 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20065 variable tmp.
20066
e7f4b08e
UD
20067 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20068 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20069 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20070
ab26144e
UD
20071 * nis/nis_table.c (nis_list): Use variable of correct type for
20072 result of __follow_path call.
20073
8a6d5255
AZ
200742011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20075
20076 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20077 of math functions ceil, trunc, floor, round, and sqrt, when
20078 avaliable on the platform.
20079 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20080 name clash.
20081 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20082 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20083 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20084
aaddc98c
MP
200852011-10-30 Marek Polacek <mpolacek@redhat.com>
20086
20087 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20088 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20089
95b7042b
RM
200902011-11-11 Roland McGrath <roland@hack.frob.com>
20091
20092 * include/unistd.h: Fix __readlink return type.
20093 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20094
57769839
UD
200952011-11-11 Ulrich Drepper <drepper@gmail.com>
20096
20097 * stdlib/ucontext.h: Undo last change for makecontext.
20098
edc5984d
AS
200992011-11-11 Andreas Schwab <schwab@redhat.com>
20100
98591e58
AS
20101 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20102
edc5984d
AS
20103 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20104 * setjmp/setjmp.h: Mark functions as non-leaf.
20105 * setjmp/bits/setjmp2.h: Likewise.
20106 * stdlib/ucontext.h: Likewise.
20107
77cdc054
AS
201082011-11-10 Andreas Schwab <schwab@redhat.com>
20109
20110 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20111 (reused_arena): Don't check arena limit.
20112 (arena_get2): Atomically check arena limit.
20113
fe72eebd
UD
201142011-11-08 Ulrich Drepper <drepper@gmail.com>
20115
5f078c32
UD
20116 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20117 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20118
fe72eebd
UD
20119 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20120 instructions.
20121
ae1bc2fa
AS
201222011-11-07 Andreas Schwab <schwab@redhat.com>
20123
7583a88d
AS
20124 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20125 handler when locking.
20126
ae1bc2fa
AS
20127 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20128 Fix size of allocated buffer.
20129
10fb0bfa
AS
201302011-11-04 Andreas Schwab <schwab@redhat.com>
20131
998832a4
AS
20132 [BZ #10103]
20133 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20134 declarations for long double functions.
20135 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20136
10fb0bfa
AS
20137 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20138
3d7ba52b
AS
201392011-11-03 Andreas Schwab <schwab@redhat.com>
20140
a9ae54a1
AS
20141 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20142 installed.
20143
3d7ba52b
AS
20144 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20145 is disabled.
20146
bc8db248
ST
201472011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20148
20149 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20150
45b96dd6
AS
201512011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20152
647776f6
AS
20153 * include/alloca.h (stackinfo_alloca_round): Define.
20154 (extend_alloca): Use it.
20155 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20156 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20157 here.
20158
d91a8b93
AS
20159 * scripts/check-local-headers.sh: Ignore libaudit.h.
20160
45b96dd6
AS
20161 * nscd/Makefile (extra-objs): Make recursively expanded.
20162
432d41ce
UD
201632011-11-01 Ulrich Drepper <drepper@gmail.com>
20164
34372fc6
UD
20165 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20166 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20167
fadb59f8
UD
20168 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20169 * posix/tst-rfc3484-2.c: Likewise.
20170 * posix/tst-rfc3484-3.c: Likewise.
20171
78239589
UD
20172 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20173 process_vm_writev.
20174 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20175 process_vm_writev.
20176 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20177 process_vm_writev from libc using GLIBC_2.15 version.
20178
432d41ce
UD
20179 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20180
02f9c6cf
PP
201812011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20182
20183 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20184 stack usage.
20185
3a2c0242
UD
201862011-10-31 Ulrich Drepper <drepper@gmail.com>
20187
f4ec4833
UD
20188 [BZ #13367]
20189 * nss/getent.c (initgroups_keys): Show error message in case no group
20190 names are given.
20191
3a2c0242
UD
20192 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20193 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20194 __bump_nl_timestamp.
20195 * nscd/connections (nscd_init): When host database is served open
20196 netlink socket and request notification about configuration changes.
20197 (main_loop_poll): Track netlink file descriptor and bump timestamp
20198 in case data becomes available.
20199 (main_loop_epoll): Likewise.
20200 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20201 (database_pers_head): Add extra_data fileds.
20202 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20203 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20204 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20205 Adjust caller.
20206 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20207 in6ai data, call __free_in6ai.
20208 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20209 Add -DHAVE_NETLINK.
20210 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20211 interface information. Reuse previous data if netlink timestamp
20212 is not changed.
20213 (__bump_nl_timestamp): New function.
20214 (__free_in6ai): New function.
20215
636064eb
UD
202162011-10-30 Ulrich Drepper <drepper@gmail.com>
20217
20218 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20219 close_not_cancel_no_status here.
20220 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20221
9beb2334
UD
202222011-10-29 Ulrich Drepper <drepper@gmail.com>
20223
6ef76f3b
UD
20224 [BZ #13276]
20225 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20226 return value.
20227
0ffc4f3e 20228 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
20229 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20230 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20231
cb95113e
UD
202322011-07-03 Andreas Jaeger <aj@suse.de>
20233
20234 [BZ #10709]
20235 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20236 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20237 * math/libm-test.inc (sin_test): Add test case.
20238
a1b560ff
UD
202392011-10-29 Ulrich Drepper <drepper@gmail.com>
20240
c9aaface
UD
20241 [BZ #13337]
20242 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20243 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20244
d272e7f1
UD
20245 * elf/chroot_canon.c (chroot_canon): Cleanups.
20246
1bc33071
UD
20247 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20248
1760874d
TJ
20249 [BZ #13335]
20250 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20251 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20252
51d91b18
UD
20253 * string/test-strchr.c: Make usable for strchrnul testing.
20254 * string/test-strchrnul.c: New file.
20255 * string/Makefile (strop-tests): Add strchrnul.
20256
a1b560ff 20257 * po/it.po: Update from translation team.
b611fb81 20258 * po/es.po: Likewise.
a1b560ff 20259
a5b81e1f
UD
202602011-10-28 Ulrich Drepper <drepper@gmail.com>
20261
fd52bc6d
UD
20262 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20263 the three constants needed as parameters. Drop the others.
20264 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20265 __m128i_strloadu_tolower.
52e4b9eb
UD
20266 Create and initialize variable zero and use it in all the places
20267 where _mm_setzero_si128 was used.
fd52bc6d 20268
a5b81e1f
UD
20269 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20270 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20271 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20272 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20273 anymore.
20274 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20275 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20276 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20277 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20278 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20279 __mpranred, __mptan.
20280 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20281 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20282 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20283 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20284 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20285 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20286 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20287 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20288 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20289
b4343346
AS
202902011-10-28 Andreas Schwab <schwab@redhat.com>
20291
0c92d8a8
AS
20292 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20293 redefine if SHARED.
20294 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20295
b4343346
AS
20296 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20297 wide char related routines to wcsmbs subdir.
20298
3871f58f
AS
202992011-10-27 Andreas Schwab <schwab@redhat.com>
20300
20301 [BZ #13344]
20302 * misc/sys/cdefs.h (__THROWNL): Define.
20303 * posix/unistd.h: Use __THREADNL instead of __THREAD
20304 for memory synchronization functions.
20305
94d44d9f
RM
203062011-10-26 Roland McGrath <roland@hack.frob.com>
20307
21b64b15 20308 [BZ #13349]
94d44d9f
RM
20309 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20310 doesn't exist.
20311 * manual/stdio.texi (Obstack Streams): Node removed.
20312
f6ce9294
AS
203132011-10-26 Andreas Schwab <schwab@redhat.com>
20314
80479147
AS
20315 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20316 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20317 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20318
f6ce9294
AS
20319 * math/math_private.h (math_force_eval): Allow non-addressable
20320 arguments.
20321 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20322
618280a1
UD
203232011-10-25 Ulrich Drepper <drepper@gmail.com>
20324
e0016b11
UD
20325 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20326 file is not needed.
20327
20328 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20329 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20330 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20331 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20332 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20333 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20334 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20335 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20336 Add AVX variants.
20337 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20338 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20339 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20340 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20341 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20342 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20343 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20344 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20345 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20346 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20347 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20348 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20349 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20350 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20351 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20352 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20353 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20354 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20355 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20356
20357 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20358 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20359
618280a1
UD
20360 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20361 place. Use VEX encoding when compiling for AVX.
20362
37822576
AS
203632011-10-25 Andreas Schwab <schwab@redhat.com>
20364
1f1e1947
AS
20365 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20366 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20367
37822576
AS
20368 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20369
31ea014d
UD
203702011-10-25 Ulrich Drepper <drepper@gmail.com>
20371
d7826aa1 20372 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 20373 useless if() expression.
d7826aa1
UD
20374 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20375 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20376 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20377 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20378 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20379 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20380 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20381 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20382 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20383 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20384 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20385 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20386 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20387 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20388 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20389 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20390 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20391 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20392 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20393
31ea014d
UD
20394 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20395
16437fec
AS
203962011-10-25 Andreas Schwab <schwab@redhat.com>
20397
20398 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20399 condition.
20400 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20401
31d3cc00
UD
204022011-10-25 Ulrich Drepper <drepper@gmail.com>
20403
20404 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20405 .text section. Avoid duplicate constants.
20406 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20407 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20408 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20410 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20411 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20412 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20413 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20414 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20415 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20416 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20417 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20418 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20419 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20420 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20421 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20422 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20423 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20424 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20425 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20426 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20427 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20428 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20429 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20430 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20431 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20432 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20433 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20434 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20435 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20436 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20437 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20438 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20439 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20440 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20441 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20442 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20443 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20444 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20445 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20446 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20447 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20448 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20449 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20450 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20451
58985aa9
UD
204522011-10-24 Ulrich Drepper <drepper@gmail.com>
20453
202c9deb
UD
20454 * sysdeps/x86_64/dla.h: Move to ...
20455 * sysdeps/x86_64/fpu/dla.h: ...here.
20456 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20457 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 20458
af968f62
UD
20459 * config.make.in: Add have-mfma4 entry.
20460 * configure.in: Substitute libc_cv_cc_fma4.
20461 * math/Makefile (dbl-only-routines): Add sincostab.
20462 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20463 Use __sincostab not sincos.
20464 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20465 name is a macro.
20466 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20467 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20468 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20469 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20470 using __copysign.
20471 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20472 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20473 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20474 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20475 and __inv.
20476 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20477 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20478 __copysign.
20479 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20480 define aliases when function name is a macro.
20481 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20482 sysdeps/ieee754/dbl-64/sincos.tbl.
20483 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20484 fma4-enabled routines.
20485 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20486 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20487 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20488 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20489 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20490 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20491 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20492 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20493 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20494 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20495 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20496 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20497 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20498 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20499 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20500 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20501 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20502 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20503 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20504 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20505 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20506 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20507 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20508 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20509 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20510 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20511 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20512 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20513 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20514 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20515
58985aa9
UD
20516 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20517 rename.
20518 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20519 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20520 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20521 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20522 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20523 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20524 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20525 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20526
a201fbcf
AS
205272011-10-24 Andreas Schwab <schwab@redhat.com>
20528
20529 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20530
fc2ee42a
LD
205312011-10-23 Ulrich Drepper <drepper@gmail.com>
20532
bb3129bd
UD
20533 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20534
0275fff8
UD
20535 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20536 prediction.
20537 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20538
2fa2ae85
UD
20539 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20540 Remove unused variable magic_bits.
20541 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20542
fc2ee42a
LD
20543 * string/strnlen.c: Define and use STRNLEN macro.
20544 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20545 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20546 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20547 * wcsmbs/wcslen.c: Define and use WCSLEN.
20548 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20549 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20550 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20551 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20552 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20553 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20554 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20555
ce7dd29f
LD
205562011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20557
20558 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20559 strnlen-sse2-no-bsf.
20560 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20561 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20562 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20563 Add strnlen support.
20564 (USE_AS_STRNLEN): New macro.
20565 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20566 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20567 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20568 * sysdeps/x86_64/wcslen.S: New file.
20569
979c70a3
MZ
205702011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20571
20572 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20573 XMM-moves are used for copying on small sizes.
20574
2d09f82f
LD
205752011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20576
20577 * wcsmbs/Makefile (strop-tests): Add wcschr.
20578 * wcsmbs/test-wcschr.c: New file.
20579 * string/test-strchr.c: Update.
20580 Add wcschr support.
20581 (WIDE): New macro.
20582
619fccca
LD
205832011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20584
2d09f82f 20585 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
20586 * wcsmbs/test-wcslen.c: New file.
20587 * string/test-strlen.c: Update.
20588 Add wcslen support.
20589 (WIDE): New macro.
20590
09f699ea
UD
205912011-10-23 Ulrich Drepper <drepper@gmail.com>
20592
20593 * po/it.po: Update from translation team.
20594
95584d3b
LD
205952011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20596
20597 * sysdeps/x86_64/wcscmp.S: Update.
20598 Fix wrong comparison semantics.
20599 wcscmp shall use signed comparison not unsigned.
20600 Don't use substraction to avoid overflow bug.
20601 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20602 * wcsmbc/wcscmp.c: Likewise.
20603 * string/test-strcmp.c: Likewise.
20604 Add new tests to check cases with negative values.
20605
c8b3296b
UD
206062011-10-23 Ulrich Drepper <drepper@gmail.com>
20607
20608 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20609 * sysdeps/x86_64/dla.h: ...here. New file.
20610 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20611 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20612 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20613 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20614 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20615 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20616 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20617 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20618 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20619
246ad57a
AS
206202011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20621
20622 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20623 __ynl_finite aliases.
20624
a1a87169
UD
206252011-10-22 Ulrich Drepper <drepper@gmail.com>
20626
0d355eb7
UD
20627 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20628
a1a87169
UD
20629 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20630 define DLA_FMA.
20631 [DLA_FMA] (EMULV): Use DLA_FMA.
20632 [DLA_FMA] (MUL12): Use EMULV.
20633 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20634 that are not needed.
20635 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20636 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20637 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20638 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20639 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20640 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20641 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20642
ee2aafe0
AS
206432011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20644
20645 * math/s_nan.c: Undef __nan.
20646 * math/s_nanf.c: Undef __nanf.
20647 * math/s_nanl.c: Undef __nanl.
20648 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20649 "math_private.h".
20650
bc62c2fb
UD
206512011-10-22 Ulrich Drepper <drepper@gmail.com>
20652
77425c63
UD
20653 * math/s_catan.c: Add branch predictions.
20654 * math/s_catanf.c: Likewise.
20655 * math/s_catanh.c: Likewise.
20656 * math/s_catanhf.c: Likewise.
20657 * math/s_catanhl.c: Likewise.
20658 * math/s_catanl.c: Likewise.
20659 * math/s_cexp.c: Likewise.
20660 * math/s_cexpf.c: Likewise.
20661 * math/s_cexpl.c: Likewise.
20662 * math/s_clog.c: Likewise.
20663 * math/s_clog10.c: Likewise.
20664 * math/s_clog10f.c: Likewise.
20665 * math/s_clog10l.c: Likewise.
20666 * math/s_clogf.c: Likewise.
20667 * math/s_clogl.c: Likewise.
20668 * math/s_csqrt.c: Likewise.
20669 * math/s_csqrtf.c: Likewise.
20670 * math/s_csqrtl.c: Likewise.
20671 * math/s_ctanf.c: Likewise.
20672 * math/s_ctanh.c: Likewise.
20673 * math/s_ctanhf.c: Likewise.
20674 * math/s_ctanhl.c: Likewise.
20675 * math/s_ctanl.c: Likewise.
20676
bc62c2fb
UD
20677 * math/math_private.h: Define __nan, __nanf, __nanl.
20678 * math/s_cacosh.c: Include <math_private.h>.
20679 * math/s_cacoshl.c: Likewise.
20680 * math/s_casinh.c: Likewise.
20681 * math/s_casinhf.c: Likewise.
20682 * math/s_casinhl.c: Likewise.
20683 * math/s_ccos.c: Rely entire on ccosh.
20684 * math/s_ccosf.c: Rely entire on ccoshf.
20685 * math/s_ccosl.c: Rely entirely on ccoshl.
20686 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20687 Remove tests for FE_INVALID.
20688 * math/s_ccoshf.c: Likewise.
20689 * math/s_ccoshl.c: Likewise.
20690 * math/s_csin.c: Likewise.
20691 * math/s_csinf.c: Likewise.
20692 * math/s_csinh.c Likewise.
20693 * math/s_csinhf.c: Likewise.
20694 * math/s_csinhl.c: Likewise.
20695 * math/s_csinl.c: Likewise.
20696 * math/s_ctan.c: Likewise.
20697 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20698 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20699 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20700
8ec250a4
UD
207012011-10-21 Ulrich Drepper <drepper@gmail.com>
20702
c196fed8
UD
20703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20704 compilation problems.
20705
8ec250a4
UD
20706 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20707 __builtin_expect.
20708
8d4f46c6
UD
207092011-10-20 Ulrich Drepper <drepper@gmail.com>
20710
ed72b654
UD
20711 * sysdeps/i386/configure.in: Test for -mfma4 option.
20712 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20713 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20714 COMMON_CPUID_INDEX_80000001.
20715 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20716 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20717 use it if FMA3 is not supported.
20718 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20719
8d4f46c6
UD
20720 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20721 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20722
d45c60c2
AS
207232011-10-20 Andreas Schwab <schwab@redhat.com>
20724
20725 [BZ #12892]
20726 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20727 it would create a cycle with a link time dependency.
20728
d9a4d2ab
UD
207292011-10-19 Ulrich Drepper <drepper@gmail.com>
20730
855d1560
UD
20731 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20732 instruction.
20733 * string/Makefile (strop-tests): Add rawmemchr.
20734 * string/test-rawmemchr.c: New file.
20735
d9a4d2ab
UD
20736 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20737 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20738 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20739 when compiling str{,n}casecmp and when AVX is available. Hook up
20740 new optimized code in initializers.
20741
8f3b1ffe
AS
207422011-10-19 Andreas Schwab <schwab@redhat.com>
20743
20744 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20745 __feraiseexcept instead of feraiseexcept.
20746
d38f1dba
UD
207472011-10-18 Ulrich Drepper <drepper@gmail.com>
20748
d9a8d0ab
UD
20749 * math/math_private.h: Define defaults for libc_fetestexcept and
20750 libc_feupdateenv.
20751 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20752 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20753 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20754 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20755 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20756 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20757 libc_fetestexcept and libc_feupdateenv.
20758
4855e3dd
UD
20759 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20760 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20761 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20762 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20763 libc_feholdexcept_setround.
20764
581d30e3
UD
20765 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20766 Add s_nearbyint-c and s_nearbyintf-c.
20767 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20768 nearbyintf inlines.
20769 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20770 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20771 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20772 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20773
d38f1dba
UD
20774 * math/math_private.h: Define defaults for libc_fegetround,
20775 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20776 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20777 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20778 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20779 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20780 standard functions.
20781 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20782 Remove comments and hacks for old compiler versions.
20783 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20784 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20785 libc_feholdexceptl.
20786
caa6c9d8
AS
207872011-10-18 Andreas Schwab <schwab@redhat.com>
20788
20789 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
20790 (__feraiseexcept_renamed): Add __NTH.
20791 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
20792 namespace violations.
20793
97c066e6
UD
207942011-10-17 Ulrich Drepper <drepper@gmail.com>
20795
99ce7b04
UD
20796 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20797
1004d182
UD
20798 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20799
228a984d
UD
20800 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20801 recently added interfaces.
20802 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20803
c8553a6a
UD
20804 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20805 about macro parameter expansion.
20806
ed22dcf6
UD
20807 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20808 __NO_MATH_INLINES is defined. Cleanups.
20809
20810 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20811 and __floorf is target has SSE4.1.
20812 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20813 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20814 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20815 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20816
b171c137
UD
20817 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20818 name.
20819 (floorf): Likewise.
20820
97c066e6
UD
20821 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20822
629f62ef
AS
208232011-10-17 Andreas Schwab <schwab@redhat.com>
20824
49a43d80
AS
20825 * misc/sys/cdefs.h: Fix last change.
20826
629f62ef
AS
20827 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20828 database lookup.
20829
e453f6cd
UD
208302011-10-16 Ulrich Drepper <drepper@gmail.com>
20831
aa78043a
UD
20832 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20833
ad0f5cad
UD
20834 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20835 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20836 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20837 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20838 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20839 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20840 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20841 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20842 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20843 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20844 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20845 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20846 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20847 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20848 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20849 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20850 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20851 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20852 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20853 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20854 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20855 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20856
20857 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20858 ceil, ceilf, floor, floorf.
20859
20860 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20861 Perform IRELATIVE relocations last.
20862
e453f6cd
UD
20863 * elf/do-rel.h: Add another parameter nrelative, replacing the
20864 local variable with the same name. Change name of the function
20865 to end in Rel or Rela (uppercase).
20866 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20867 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20868 elf_dynamic_do_##reloc function.
20869
fd5bdc09
UD
208702011-10-15 Ulrich Drepper <drepper@gmail.com>
20871
79b195b5
UD
20872 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20873 is sufficient, at least on modern CPUs.
20874
d4a28569
UD
20875 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20876
b61099b5
UD
20877 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20878 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20879
bcf01e6d
UD
20880 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20881 __expl_finite.
20882 * math/bits/math-finite.h: Add entries for exp.
20883 * math/e_expl.c: Add __*_finite alias.
20884 * sysdeps/i386/fpu/e_exp.S: Likewise.
20885 * sysdeps/i386/fpu/e_expf.S: Likewise.
20886 * sysdeps/i386/fpu/e_expl.c: Likewise.
20887 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20888 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20889 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20890 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20891 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20892 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20893 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20894
ba1a0d59
UD
20895 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20896 is sufficient, at least on modern CPUs.
20897
fd5bdc09
UD
20898 * ctype/ctype-info.c (__ctype_init): Define.
20899 * include/ctype.h (__ctype_init): Declare.
20900 (__ctype_b_loc): The variable is always initialized.
20901 (__ctype_toupper_loc): Likewise.
20902 (__ctype_tolower_loc): Likewise.
20903 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20904 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20905
7872cfb0
AS
209062011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20907
b468825a
AS
20908 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20909
7872cfb0
AS
20910 * configure.in: Also look in $cxxmachine/include for C++ system
20911 headers.
20912
be13f7bf
LD
209132011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20914
20915 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20916 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20917 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20918 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20919 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20920 (USE_AS_WMEMCMP): New macro.
20921 Fixing indents.
20922 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20923 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20924 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20925 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20926 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20927 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20928 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20929 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20930 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20931 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20932 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20933 (USE_AS_WMEMCMP): New macro.
20934 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20935 * sysdeps/string/test-memcmp.c: Update.
20936 Fix simple_wmemcmp.
20937 Add new tests.
20938 * wcsmbs/wmemcmp.c: Update.
20939 (WMEMCMP): New macro.
20940 Fix overflow bug.
20941
556a2007
AJ
209422011-10-12 Andreas Jaeger <aj@suse.de>
20943
20944 [BZ #13268]
20945 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20946
538faaa7
UD
209472011-10-15 Ulrich Drepper <drepper@gmail.com>
20948
ab6737ff
UD
20949 * libio/iofwide.c (do_length): Avoid warning.
20950
538faaa7
UD
20951 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20952
396a21b1
UD
209532011-10-14 Ulrich Drepper <drepper@gmail.com>
20954
cdf2901f
UD
20955 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20956
38ad40ce
UD
20957 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20958 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20959 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20960 * sysdeps/i386/i686/fpu/e_log.S: New file.
20961 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20962 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20963
396a21b1
UD
20964 * ctype/ctype.h: Add support for inlined isXXX functions when
20965 compiling C++ code.
20966
6b1f68c9
AS
209672011-10-14 Andreas Schwab <schwab@redhat.com>
20968
349290c0
AS
20969 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20970
6b1f68c9
AS
20971 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20972
f2282d42
RM
209732011-10-13 Roland McGrath <roland@hack.frob.com>
20974
20975 [BZ #13291]
20976 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20977
5298ffa8
AS
209782011-10-13 Andreas Schwab <schwab@redhat.com>
20979
714fad23
AS
20980 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20981 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20982 feraiseexcept.
20983
81dcc7fb
AS
20984 * sysdeps/x86_64/memrchr.S: Check for zero size.
20985
5298ffa8
AS
20986 * string/stratcliff.c: Add memrchr tests.
20987
951fbcec
LD
209882011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20989
20990 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20991 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20992 rawmemchr-sse2 rawmemchr-sse2-bsf.
20993 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20994 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20995 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20996 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20997 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20998 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20999 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21000 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21001 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21002 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21003 * string/memrchr.c (MEMRCHR): New macro.
21004
0ac5ae23
UD
210052011-10-12 Ulrich Drepper <drepper@gmail.com>
21006
21007 Add integration with gcc's -ffinite-math-only and optimize wrapper
21008 functions in libm.
21009 * Versions.def: Define GLIBC_2.15 version for libm.
21010 * math/Makefile (headers): Add bits/math-finite.h.
21011 * math/bits/math-finite.h: New file.
21012 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21013 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21014 * math/e_acoshl.c: Add __*_finite alias.
21015 * math/e_acosl.c: Likewise.
21016 * math/e_asinl.c: Likewise.
21017 * math/e_atan2l.c: Likewise.
21018 * math/e_atanhl.c: Likewise.
21019 * math/e_coshl.c: Likewise.
21020 * math/e_exp10.c: Likewise.
21021 * math/e_exp10f.c: Likewise.
21022 * math/e_exp10l.c: Likewise.
21023 * math/e_exp2l.c: Likewise.
21024 * math/e_fmodl.c: Likewise.
21025 * math/e_gammal_r.c: Likewise.
21026 * math/e_hypotl.c: Likewise.
21027 * math/e_j0l.c: Likewise.
21028 * math/e_j1l.c: Likewise.
21029 * math/e_jnl.c: Likewise.
21030 * math/e_lgammal_r.c: Likewise.
21031 * math/e_log10l.c: Likewise.
21032 * math/e_log2l.c: Likewise.
21033 * math/e_logl.c: Likewise.
21034 * math/e_powl.c: Likewise.
21035 * math/e_sinhl.c: Likewise.
21036 * math/e_sqrtl.c: Likewise.
21037 * math/e_scalb.c: Completely rewritten and optimized.
21038 * math/e_scalbf.c: Likewise.
21039 * math/e_scalbl.c: Likewise.
21040 * math/w_acos.c: Likewise.
21041 * math/w_acosf.c: Likewise.
21042 * math/w_acosl.c: Likewise.
21043 * math/w_acosh.c: Likewise.
21044 * math/w_acoshf.c: Likewise.
21045 * math/w_acoshl.c: Likewise.
21046 * math/w_asin.c: Likewise.
21047 * math/w_asinf.c: Likewise.
21048 * math/w_asinl.c: Likewise.
21049 * math/w_atan2.c: Likewise.
21050 * math/w_atan2f.c: Likewise.
21051 * math/w_atan2l.c: Likewise.
21052 * math/w_atanh.c: Likewise.
21053 * math/w_atanhf.c: Likewise.
21054 * math/w_atanhl.c: Likewise.
21055 * math/w_exp10.c: Likewise.
21056 * math/w_exp10f.c: Likewise.
21057 * math/w_exp10l.c: Likewise.
21058 * math/w_fmod.c: Likewise.
21059 * math/w_fmodf.c: Likewise.
21060 * math/w_fmodl.c: Likewise.
21061 * math/w_j0.c: Likewise.
21062 * math/w_j0f.c: Likewise.
21063 * math/w_j0l.c: Likewise.
21064 * math/w_j1.c: Likewise.
21065 * math/w_j1f.c: Likewise.
21066 * math/w_j1l.c: Likewise.
21067 * math/w_jn.c: Likewise.
21068 * math/w_jnf.c: Likewise.
21069 * math/w_log.c: Likewise.
21070 * math/w_logf.c: Likewise.
21071 * math/w_logl.c: Likewise.
21072 * math/w_log10.c: Likewise.
21073 * math/w_log10f.c: Likewise.
21074 * math/w_log10l.c: Likewise.
21075 * math/w_log2.c: Likewise.
21076 * math/w_log2f.c: Likewise.
21077 * math/w_log2l.c: Likewise.
21078 * math/w_pow.c: Likewise.
21079 * math/w_powf.c: Likewise.
21080 * math/w_powl.c: Likewise.
21081 * math/w_remainder.c: Likewise.
21082 * math/w_remainderf.c: Likewise.
21083 * math/w_remainderl.c: Likewise.
21084 * math/w_scalb.c: Likewise.
21085 * math/w_scalbf.c: Likewise.
21086 * math/w_scalbl.c: Likewise.
21087 * math/w_sqrt.c: Likewise.
21088 * math/w_sqrtf.c: Likewise.
21089 * math/w_sqrtl.c: Likewise.
21090 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21091 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21092 used.
21093 * math/math_private.h: Declare __kernel_standard_f.
21094 * math/w_cosh.c: Remove cruft and optimize a bit.
21095 * math/w_coshf.c: Likewise.
21096 * math/w_coshl.c: Likewise.
21097 * math/w_exp2.c: Likewise.
21098 * math/w_exp2f.c: Likewise.
21099 * math/w_exp2l.c: Likewise.
21100 * math/w_hypot.c: Likewise.
21101 * math/w_hypotf.c: Likewise.
21102 * math/w_hypotl.c: Likewise.
21103 * math/w_lgamma.c: Likewise.
21104 * math/w_lgamma_r.c: Likewise.
21105 * math/w_lgammaf.c: Likewise.
21106 * math/w_lgammaf_r.c: Likewise.
21107 * math/w_lgammal.c: Likewise.
21108 * math/w_lgammal_r.c: Likewise.
21109 * math/w_sinh.c: Likewise.
21110 * math/w_sinhf.c: Likewise.
21111 * math/w_sinhl.c: Likewise.
21112 * math/w_tgamma.c: Likewise.
21113 * math/w_tgammaf.c: Likewise.
21114 * math/w_tgammal.c: Likewise.
21115 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21116 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21117 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21118 Minor optimizations. Pretty printing. Remove cruft.
21119 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21120 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21121 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21122 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21123 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21124 * sysdeps/i386/fpu/e_asin.S: Likewise.
21125 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21126 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21127 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21128 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21129 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21130 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21131 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21132 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21133 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21134 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21135 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21136 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21137 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21138 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21139 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21140 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21141 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21142 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21143 * sysdeps/i386/fpu/e_log.S: Likewise.
21144 * sysdeps/i386/fpu/e_log10.S: Likewise.
21145 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21146 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21147 * sysdeps/i386/fpu/e_log2.S: Likewise.
21148 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21149 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21150 * sysdeps/i386/fpu/e_logf.S: Likewise.
21151 * sysdeps/i386/fpu/e_logl.S: Likewise.
21152 * sysdeps/i386/fpu/e_pow.S: Likewise.
21153 * sysdeps/i386/fpu/e_powf.S: Likewise.
21154 * sysdeps/i386/fpu/e_powl.S: Likewise.
21155 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21156 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21157 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21158 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21159 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21160 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21161 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21162 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21163 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21164 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21165 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21166 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21167 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21168 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21169 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21170 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21171 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21172 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21173 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21174 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21175 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21176 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21177 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21178 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21179 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21180 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21181 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21182 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21183 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21184 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21185 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21186 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21187 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21188 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21189 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21190 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21191 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21192 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21193 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21194 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21195 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21196 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21197 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21198 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21199 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21200 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21201 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21202 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21203 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21204 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21205 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21206 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21207 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21208 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21209 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21210 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21211 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21212 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21213 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21214 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21215 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21216 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21217 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21218 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21219 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21220 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21221 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21222 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21223 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21224 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21225 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21226 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21227 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21228 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21229 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21230 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21231 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21232 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21233 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21234 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21235 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21236 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21237 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21238 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21239 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21240 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21241 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21242 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21243 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21244 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21245 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21246 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21247 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21248 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21249 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21250 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21251 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21252 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21253 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21254 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21255 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21256 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21257 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21258 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21259 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21260 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21261 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21262 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21263 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21264 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21265 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21266 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21267 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21268 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21269 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21270 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21271 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21272 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21273 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21274 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21275 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21276 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21277 (__isnanf): Likewise.
21278 (__isinf_ns): Likewise.
21279 (__isinf_nsf): Likewise.
21280 (__finite): Likewise.
21281 (__finitef): Likewise.
21282 (__ieee754_sqrt): Define as macro.
21283 (__ieee754_sqrtf): Define as macro.
21284 (__ieee754_sqrtl): Define as macro.
21285 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21286 inlined copy.
21287 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21288 __FINITE_MATH_ONLY__ consistent.
21289 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21290
12cc2fcd
AS
212912011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21292
a843a204
AS
21293 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21294 of rawmemchr.
21295
12cc2fcd
AS
21296 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21297
c853acd5
UD
212982011-10-09 Ulrich Drepper <drepper@gmail.com>
21299
21300 * po/ja.po: Update from translation team.
21301
c658d255
RM
213022011-10-08 Roland McGrath <roland@hack.frob.com>
21303
110946e4
RM
21304 * locale/programs/locarchive.c (prepare_address_space): New function.
21305 (create_archive, enlarge_archive, open_archive): Use it.
21306
50604220
RM
21307 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21308 inside [SHARED], where it is used.
21309
c658d255
RM
21310 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21311
21312 * nss/getent.c (netgroup_keys): Remove unused variable.
21313 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21314
6a621eb7
UD
213152011-10-08 Ulrich Drepper <drepper@gmail.com>
21316
7edb55ce
UD
21317 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21318 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21319 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21320 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21321 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21322 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21323 * math/Makefile (libm-calls): Add s_isinf_ns.
21324 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21325 * math/multc3.c: Likewise.
21326 * math/s_casin.c: Likewise.
21327 * math/s_casinf.c: Likewise.
21328 * math/s_casinl.c: Likewise.
21329 * math/s_ccos.c: Likewise.
21330 * math/s_ccosf.c: Likewise.
21331 * math/s_ccosl.c: Likewise.
21332 * math/s_ctan.c: Likewise.
21333 * math/s_ctanf.c: Likewise.
21334 * math/s_ctanh.c: Likewise.
21335 * math/s_ctanhf.c: Likewise.
21336 * math/s_ctanhl.c: Likewise.
21337 * math/s_ctanl.c: Likewise.
21338 * math/w_fmod.c: Likewise.
21339 * math/w_fmodf.c: Likewise.
21340 * math/w_fmodl.c: Likewise.
21341 * math/w_remainder.c: Likewise.
21342 * math/w_remainderf.c: Likewise.
21343 * math/w_remainderl.c: Likewise.
21344 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21345 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21346 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21347 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21348 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21349 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21350 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21351 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21352
187da0ae
UD
21353 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21354 of the number.
21355 * stdio-common/printf_fphex.c: Likewise.
21356 * stdio-common/printf_size.c: Likewise.
21357
9277c064
UD
21358 * math/e_exp10.c: Include math_private.h using <...> not "...".
21359 * math/e_exp10f.c: Likewise.
21360 * math/e_exp10l.c: Likewise.
21361 * math/e_exp2l.c: Likewise.
21362 * math/e_j0l.c: Likewise.
21363 * math/e_j1l.c: Likewise.
21364 * math/e_jnl.c: Likewise.
21365 * math/e_lgammal_r.c: Likewise.
21366 * math/e_rem_pio2l.c: Likewise.
21367 * math/e_scalb.c: Likewise.
21368 * math/e_scalbf.c: Likewise.
21369 * math/e_scalbl.c: Likewise.
21370 * math/k_cosl.c: Likewise.
21371 * math/k_sinl.c: Likewise.
21372 * math/k_tanl.c: Likewise.
21373 * math/s_cacoshf.c: Likewise.
21374 * math/s_catan.c: Likewise.
21375 * math/s_catanf.c: Likewise.
21376 * math/s_catanh.c: Likewise.
21377 * math/s_catanhf.c: Likewise.
21378 * math/s_catanhl.c: Likewise.
21379 * math/s_catanl.c: Likewise.
21380 * math/s_ccosh.c: Likewise.
21381 * math/s_ccoshf.c: Likewise.
21382 * math/s_ccoshl.c: Likewise.
21383 * math/s_cexp.c: Likewise.
21384 * math/s_cexpf.c: Likewise.
21385 * math/s_cexpl.c: Likewise.
21386 * math/s_clog.c: Likewise.
21387 * math/s_clog10.c: Likewise.
21388 * math/s_clog10f.c: Likewise.
21389 * math/s_clog10l.c: Likewise.
21390 * math/s_clogf.c: Likewise.
21391 * math/s_clogl.c: Likewise.
21392 * math/s_csin.c: Likewise.
21393 * math/s_csinf.c: Likewise.
21394 * math/s_csinh.c: Likewise.
21395 * math/s_csinhf.c: Likewise.
21396 * math/s_csinhl.c: Likewise.
21397 * math/s_csinl.c: Likewise.
21398 * math/s_csqrt.c: Likewise.
21399 * math/s_csqrtf.c: Likewise.
21400 * math/s_csqrtl.c: Likewise.
21401 * math/s_ctan.c: Likewise.
21402 * math/s_ctanf.c: Likewise.
21403 * math/s_ctanh.c: Likewise.
21404 * math/s_ctanhf.c: Likewise.
21405 * math/s_ctanhl.c: Likewise.
21406 * math/s_ctanl.c: Likewise.
21407 * math/s_ldexp.c: Likewise.
21408 * math/s_ldexpf.c: Likewise.
21409 * math/s_ldexpl.c: Likewise.
21410 * math/s_significand.c: Likewise.
21411 * math/s_significandf.c: Likewise.
21412 * math/s_significandl.c: Likewise.
21413 * math/w_acos.c: Likewise.
21414 * math/w_acosf.c: Likewise.
21415 * math/w_acosh.c: Likewise.
21416 * math/w_acoshf.c: Likewise.
21417 * math/w_acoshl.c: Likewise.
21418 * math/w_acosl.c: Likewise.
21419 * math/w_asin.c: Likewise.
21420 * math/w_asinf.c: Likewise.
21421 * math/w_asinl.c: Likewise.
21422 * math/w_atan2.c: Likewise.
21423 * math/w_atan2f.c: Likewise.
21424 * math/w_atan2l.c: Likewise.
21425 * math/w_atanh.c: Likewise.
21426 * math/w_atanhf.c: Likewise.
21427 * math/w_atanhl.c: Likewise.
21428 * math/w_cosh.c: Likewise.
21429 * math/w_coshf.c: Likewise.
21430 * math/w_coshl.c: Likewise.
21431 * math/w_dremf.c: Likewise.
21432 * math/w_exp10.c: Likewise.
21433 * math/w_exp10f.c: Likewise.
21434 * math/w_exp10l.c: Likewise.
21435 * math/w_exp2.c: Likewise.
21436 * math/w_exp2f.c: Likewise.
21437 * math/w_fmod.c: Likewise.
21438 * math/w_fmodf.c: Likewise.
21439 * math/w_fmodl.c: Likewise.
21440 * math/w_hypot.c: Likewise.
21441 * math/w_hypotf.c: Likewise.
21442 * math/w_hypotl.c: Likewise.
21443 * math/w_j0.c: Likewise.
21444 * math/w_j0f.c: Likewise.
21445 * math/w_j0l.c: Likewise.
21446 * math/w_j1.c: Likewise.
21447 * math/w_j1f.c: Likewise.
21448 * math/w_j1l.c: Likewise.
21449 * math/w_jn.c: Likewise.
21450 * math/w_jnf.c: Likewise.
21451 * math/w_jnl.c: Likewise.
21452 * math/w_lgamma.c: Likewise.
21453 * math/w_lgamma_r.c: Likewise.
21454 * math/w_lgammaf.c: Likewise.
21455 * math/w_lgammaf_r.c: Likewise.
21456 * math/w_lgammal.c: Likewise.
21457 * math/w_lgammal_r.c: Likewise.
21458 * math/w_log.c: Likewise.
21459 * math/w_log10.c: Likewise.
21460 * math/w_log10f.c: Likewise.
21461 * math/w_log10l.c: Likewise.
21462 * math/w_log2.c: Likewise.
21463 * math/w_log2f.c: Likewise.
21464 * math/w_log2l.c: Likewise.
21465 * math/w_logf.c: Likewise.
21466 * math/w_logl.c: Likewise.
21467 * math/w_pow.c: Likewise.
21468 * math/w_powf.c: Likewise.
21469 * math/w_powl.c: Likewise.
21470 * math/w_remainder.c: Likewise.
21471 * math/w_remainderf.c: Likewise.
21472 * math/w_remainderl.c: Likewise.
21473 * math/w_scalb.c: Likewise.
21474 * math/w_scalbf.c: Likewise.
21475 * math/w_scalbl.c: Likewise.
21476 * math/w_sinh.c: Likewise.
21477 * math/w_sinhf.c: Likewise.
21478 * math/w_sinhl.c: Likewise.
21479 * math/w_sqrt.c: Likewise.
21480 * math/w_sqrtf.c: Likewise.
21481 * math/w_sqrtl.c: Likewise.
21482 * math/w_tgamma.c: Likewise.
21483 * math/w_tgammaf.c: Likewise.
21484 * math/w_tgammal.c: Likewise.
21485
6a621eb7
UD
21486 * po/ja.po: Update from translation team.
21487
bf582445
AJ
214882011-09-29 Andreas Jaeger <aj@suse.de>
21489
f9efbf3a
AJ
21490 [BZ #13179]
21491 * sunrpc/netname.c (netname2host): Fix logic.
21492
bf582445
AJ
21493 [BZ #6779]
21494 [BZ #6783]
21495 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21496 correctly.
21497 * math/w_remainder.c (__remainder): Likewise.
21498 * math/w_remainderf.c (__remainderf): Likewise.
21499 * math/libm-test.inc (remainder_test): Add test cases.
21500
48693bea
AK
215012011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21502
21503 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21504 sdiv_qrnnd.
21505
42622229
LD
215062011-10-07 Ulrich Drepper <drepper@gmail.com>
21507
21508 * string/test-memcmp.c: Avoid unncessary #defines.
21509 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21510
093ecf92
LD
215112011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21512
21513 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21514 Use new sse2 version for core i3 - i7 as it's faster
21515 than sse42 version.
21516 (bit_Prefer_PMINUB_for_stringop): New.
21517 * sysdeps/x86_64/rawmemchr.S: Update.
21518 Replace with faster SSE2 version.
21519 * sysdeps/x86_64/memrchr.S: New file.
21520 * sysdeps/x86_64/memchr.S: Update.
21521 Replace with faster SSE2 version.
21522
fde56e5c
MP
215232011-09-12 Marek Polacek <mpolacek@redhat.com>
21524
21525 * elf/dl-load.c (lose): Add cast to avoid warning.
21526
21fd49a9
UD
215272011-10-07 Ulrich Drepper <drepper@gmail.com>
21528
5a06e643
UD
21529 * po/ca.po: Update from translation team.
21530
684ae515
UD
21531 * inet/getnetgrent_r.c: Hook up nscd.
21532 * nscd/Makefile (routines): Add nscd_netgroup.
21533 (nscd-modules): Add netgroupcache.
21534 (CFLAGS-netgroupcache.c): Define.
21535 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21536 (cache_search): Add const to second parameter.
21537 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21538 INNETGR.
21539 (dbs): Add netgrdb entry.
21540 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21541 (verify_persistent_db): Handle netgrdb.
21542 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21543 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21544 GETFDNETGR.
21545 (netgroup_response_header): Define.
21546 (innetgroup_response_header): Define.
21547 (datahead): Add netgroup_response_header and innetgroup_response_header
21548 elements.
21549 * nscd/nscd.conf: Add entries for netgroup cache.
21550 * nscd/nscd.h (dbtype): Add netgrdb.
21551 (_PATH_NSCD_NETGROUP_DB): Define.
21552 (netgroup_iov_disabled): Declare.
21553 (xmalloc, xcalloc, xrealloc): Move declarations here.
21554 (cache_search): Adjust prototype.
21555 Add netgroup-related prototypes.
21556 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21557 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21558 (__nscd_innetgr): Declare.
21559 * nscd/selinux.c (perms): Use access_vector_t as element type and
21560 add netgroup-related initializers.
21561 * nscd/netgroupcache.c: New file.
21562 * nscd/nscd_netgroup.c: New file.
21563 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21564 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21565 For four parameters use innetgr.
21566 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21567 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21568 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21569 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21570
21fd49a9
UD
21571 * nscd/connections.c (register_traced_file): Don't register file
21572 for disabled databases.
21573
054c0457
UD
215742011-10-06 Ulrich Drepper <drepper@gmail.com>
21575
32b63198
UD
21576 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21577
054c0457
UD
21578 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21579 from tree and freeing node.
21580
64031225
JO
215812011-09-25 Jiri Olsa <jolsa@redhat.com>
21582
21583 * nss/nsswitch.c (__nss_database_lookup): Handle
21584 nss_parse_service_list out of memory case.
21585
0490345c
JO
215862011-09-15 Jiri Olsa <jolsa@redhat.com>
21587
21588 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21589 out of memory case.
21590
3a62d00d
AS
215912011-10-04 Andreas Schwab <schwab@redhat.com>
21592
21593 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21594 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21595 pass it down.
21596 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21597 elf_machine_rela, elf_machine_lazy_rel.
21598 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21599 (ELF_DYNAMIC_DO_REL): Likewise.
21600 (ELF_DYNAMIC_DO_RELA): Likewise.
21601 (ELF_DYNAMIC_RELOCATE): Likewise.
21602 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21603 to ELF_DYNAMIC_DO_REL.
21604 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21605 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21606 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21607 elf_machine_rela.
21608 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21609 skip_ifunc, don't call ifunc function if non-zero.
21610 (elf_machine_rela): Likewise.
21611 (elf_machine_lazy_rel): Likewise.
21612 (elf_machine_lazy_rela): Likewise.
21613 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21614 (elf_machine_lazy_rel): Likewise.
21615 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21616 Likewise.
21617 (elf_machine_lazy_rel): Likewise.
21618 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21619 Likewise.
21620 (elf_machine_lazy_rel): Likewise.
21621 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21622 (elf_machine_lazy_rel): Likewise.
21623 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21624 (elf_machine_lazy_rel): Likewise.
21625 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21626 (elf_machine_lazy_rel): Likewise.
21627 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21628 (elf_machine_lazy_rel): Likewise.
21629 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21630 (elf_machine_lazy_rel): Likewise.
21631 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21632 (elf_machine_lazy_rel): Likewise.
21633
68577918
UD
216342011-09-28 Ulrich Drepper <drepper@gmail.com>
21635
21636 * nss/nss_files/files-init.c (_nss_files_init): Use static
21637 initialization for all the *_traced_file variables.
21638
68822d74
AS
216392011-09-28 Andreas Schwab <schwab@redhat.com>
21640
21641 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21642
2056100b
RM
216432011-09-27 Roland McGrath <roland@hack.frob.com>
21644
21645 [BZ #13226]
21646 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21647
32c76b63
AS
216482011-09-27 Andreas Schwab <schwab@redhat.com>
21649
21650 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21651 Reread the line before reparsing it.
21652
bf972c9d
AS
216532011-09-26 Andreas Schwab <schwab@redhat.com>
21654
21655 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21656
e057a1b5
JM
216572011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21658 Maxim Kuvyrkov <maxim@codesourcery.com>
21659 Joseph Myers <joseph@codesourcery.com>
21660
21661 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21662 if needed for __stack_chk_guard.
21663
bc7e1c36
RM
216642011-09-19 Roland McGrath <roland@hack.frob.com>
21665
ecb1482f
RM
21666 * sysdeps/posix/spawni.c (script_execute): Always define it.
21667 It will be optimized away if unused.
21668 (maybe_script_execute): New function.
21669 (__spawni): Call it.
21670
bc7e1c36
RM
21671 * Makerules: Don't include tls.make.
21672 (config-tls): Always set to thread.
21673 * tls.make.c: File removed.
21674
1c3b002b
MF
216752011-09-19 Mike Frysinger <vapier@gentoo.org>
21676
21677 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21678 * config.make.in (CPPFLAGS-config): New substituted variable.
21679
2840865d
UD
216802011-09-15 Ulrich Drepper <drepper@gmail.com>
21681
88738eb6
UD
21682 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21683
cbf645a6 21684 [BZ #13192]
2840865d
UD
21685 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21686 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21687
b402e91a
RM
216882011-09-15 Roland McGrath <roland@hack.frob.com>
21689
21690 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21691 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21692 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21693 (CALL_FAIL): Likewise.
21694 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21695 (CALL_FAIL): Macro removed.
21696 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21697
4c1a1f71
UD
216982011-09-15 Ulrich Drepper <drepper@gmail.com>
21699
21700 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21701 for __FINITE_MATH_ONLY__ == 1.
21702
edc121be
AS
217032011-09-15 Andreas Schwab <schwab@redhat.com>
21704
21705 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21706 __ieee754_sqrt instead of sqrt.
21707 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21708 __ieee754_sqrtf instead of sqrtf.
21709 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21710 __floorf instead of floorf.
21711 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21712 __floorf, __truncf instead of floorf, truncf.
21713
cd205654
UD
217142011-09-14 Ulrich Drepper <drepper@gmail.com>
21715
ee4d0315
UD
21716 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21717
cd205654
UD
21718 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21719 __extern_always_inline.
21720 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21721 32-bit.
21722
48b67d71
AS
217232011-09-14 Andreas Schwab <schwab@redhat.com>
21724
21725 * elf/rtld.c (dl_main): Also relocate in dependency order when
21726 doing symbol dependency testing.
21727
1ae12c75
AS
217282011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21729
21730 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21731 Always define `refsym'.
21732
995a80df
AS
217332011-09-13 Andreas Schwab <schwab@redhat.com>
21734
e529793b
AS
21735 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21736 (__FD_ELT): Renamed from __FDELT.
21737 * misc/bits/select2.h (__FD_ELT): Likewise.
21738 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21739 __FD_MASK instead of __FDELT, __FDMASK.
21740 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21741 Likewise.
21742 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21743 Likewise.
21744
52d4fef8
AS
21745 * elf/Makefile (gen-ldd): Fix pattern.
21746
995a80df
AS
21747 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21748 (init_tls): Likewise.
21749
8682f8b0
UD
217502011-09-12 Ulrich Drepper <drepper@gmail.com>
21751
21752 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21753
de82006d
AS
217542011-09-12 Andreas Schwab <schwab@redhat.com>
21755
a7c8e6a1
AS
21756 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21757 `struct cmsghdr *' instead of `void *'.
21758 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21759 Likewise.
21760
0f31fe77
AS
217612011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21762
21763 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21764 if non-absolute.
21765 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21766 ldd_rewrite_script.
0f31fe77 21767
32b4c839
UD
217682011-09-11 Ulrich Drepper <drepper@gmail.com>
21769
83cd1420
UD
21770 * configure.in: Remove --with-tls option.
21771 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21772 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21773 out in case it is missing.
21774 * sysdeps/ia64/elf/configure.in: Likewise.
21775 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21776 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21777 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21778 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21779 * sysdeps/sh/elf/configure.in: Likewise.
21780 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21781 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21782 * sysdeps/x86_64/elf/configure.in: Likewise.
21783 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21784 * sysdeps/mach/hurd/tls.h: Likewise.
21785
633f745d
UD
21786 [BZ #13067]
21787 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21788
f318beb8
UD
21789 [BZ #13090]
21790 * configure.in: Fix use of AC_INIT.
21791
32b4c839
UD
21792 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21793
3ce1f295
UD
217942011-09-10 Ulrich Drepper <drepper@gmail.com>
21795
bb016596
UD
21796 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21797 __set_errno.
8e58439c
UD
21798 * malloc/hooks.c: Likewise.
21799
aebae053 21800 [BZ #11929]
02d46fc4
UD
21801 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21802 variables statically.
21803 (narenas): Initialize.
21804 (list_lock): Initialize.
bb016596
UD
21805 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21806 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
21807 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21808 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21809 Add initializers to main_arena and mp_.
21810 (malloc_state): Remove pagesize member. Change all users to use
21811 GLRO(dl_pagesize).
21812
21813 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21814 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21815 is always initialized.
21816
22a89187
UD
21817 * malloc/malloc.c: Removed unused configurations and dead code.
21818 * malloc/arena.c: Likewise.
21819 * malloc/hooks.c: Likewise.
02d46fc4 21820 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 21821
d063d164
UD
21822 * include/tls.h: Removed. USE___THREAD must always be defined.
21823 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21824 * elf/dl-libc.c: Likewise.
21825 * elf/dl-tsd.c: Likewise.
21826 * include/errno.h: Likewise.
21827 * include/netdb.h: Likewise.
21828 * include/resolv.h: Likewise.
21829 * inet/herrno-loc.c: Likewise.
21830 * inet/herrno.c: Likewise.
21831 * malloc/arena.c: Likewise.
21832 * malloc/hooks.c: Likewise.
21833 * malloc/malloc.c: Likewise.
21834 * resolv/res-state.c: Likewise.
21835 * resolv/res_libc.c: Likewise.
21836 * sysdeps/i386/dl-machine.h: Likewise.
21837 * sysdeps/ia64/dl-machine.h: Likewise.
21838 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21839 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21840 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21841 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21842 * sysdeps/sh/dl-machine.h: Likewise.
21843 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21844 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21845 * sysdeps/unix/i386/sysdep.S: Likewise.
21846 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21847 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21848 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21849 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21850 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21851 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21852 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21853 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21854 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21855 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21856 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21857 * sysdeps/x86_64/dl-machine.h: Likewise.
21858 * tls.make.c: Likewise.
21859
3ce1f295
UD
21860 * configure.in: Remove --with-__thread option. Make tests for
21861 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21862 tls_model attribute fail if no support is available. Remove
21863 USE_IN_LIBIO.
21864 * Makeconfig: Adjust for dropped configure option. All features are
21865 now mandatory.
21866 * Makerules: Likewise.
21867 * Versions.def: Likewise.
21868 * argp/argp-fmtstream.c: Likewise.
21869 * argp/argp-fmtstream.h: Likewise.
21870 * argp/argp-help.c: Likewise.
21871 * assert/assert.c: Likewise.
21872 * config.h.in: Likewise.
21873 * config.make.in: Likewise.
21874 * configure: Likewise.
21875 * configure.in: Likewise.
21876 * csu/Versions: Likewise.
21877 * csu/init.c: Likewise.
21878 * elf/tst-audit2.c: Likewise.
21879 * elf/tst-tls10.c: Likewise.
21880 * elf/tst-tls10.h: Likewise.
21881 * elf/tst-tls11.c: Likewise.
21882 * elf/tst-tls12.c: Likewise.
21883 * elf/tst-tls14.c: Likewise.
21884 * elf/tst-tlsmod11.c: Likewise.
21885 * elf/tst-tlsmod12.c: Likewise.
21886 * elf/tst-tlsmod13.c: Likewise.
21887 * elf/tst-tlsmod13a.c: Likewise.
21888 * elf/tst-tlsmod14a.c: Likewise.
21889 * elf/tst-tlsmod15b.c: Likewise.
21890 * elf/tst-tlsmod16a.c: Likewise.
21891 * elf/tst-tlsmod16b.c: Likewise.
21892 * elf/tst-tlsmod7.c: Likewise.
21893 * elf/tst-tlsmod8.c: Likewise.
21894 * elf/tst-tlsmod9.c: Likewise.
21895 * gmon/gmon.c: Likewise.
21896 * grp/fgetgrent_r.c: Likewise.
21897 * grp/putgrent.c: Likewise.
21898 * hurd/fopenport.c: Likewise.
21899 * include/libc-symbols.h: Likewise.
21900 * include/tls.h: Likewise.
21901 * intl/gettextP.h: Likewise.
21902 * intl/loadinfo.h: Likewise.
21903 * locale/global-locale.c: Likewise.
21904 * locale/localeinfo.h: Likewise.
21905 * mach/devstream.c: Likewise.
21906 * malloc/arena.c: Likewise.
21907 * malloc/set-freeres.c: Likewise.
21908 * misc/err.c: Likewise.
21909 * misc/getttyent.c: Likewise.
21910 * misc/mntent_r.c: Likewise.
21911 * posix/getopt.c: Likewise.
21912 * posix/wordexp.c: Likewise.
21913 * pwd/fgetpwent_r.c: Likewise.
21914 * resolv/Versions: Likewise.
21915 * resolv/res_hconf.c: Likewise.
21916 * shadow/fgetspent_r.c: Likewise.
21917 * shadow/putspent.c: Likewise.
21918 * stdio-common/printf_fphex.c: Likewise.
21919 * stdio-common/tmpfile.c: Likewise.
21920 * stdlib/abort.c: Likewise.
21921 * stdlib/fmtmsg.c: Likewise.
21922 * sunrpc/auth_unix.c: Likewise.
21923 * sunrpc/clnt_perr.c: Likewise.
21924 * sunrpc/clnt_tcp.c: Likewise.
21925 * sunrpc/clnt_udp.c: Likewise.
21926 * sunrpc/clnt_unix.c: Likewise.
21927 * sunrpc/openchild.c: Likewise.
21928 * sunrpc/svc_simple.c: Likewise.
21929 * sunrpc/svc_tcp.c: Likewise.
21930 * sunrpc/svc_udp.c: Likewise.
21931 * sunrpc/svc_unix.c: Likewise.
21932 * sunrpc/xdr.c: Likewise.
21933 * sunrpc/xdr_array.c: Likewise.
21934 * sunrpc/xdr_rec.c: Likewise.
21935 * sunrpc/xdr_ref.c: Likewise.
21936 * sunrpc/xdr_stdio.c: Likewise.
21937
1248c1c4
PB
219382011-09-09 Ulrich Drepper <drepper@gmail.com>
21939
21940 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21941
219422011-07-03 Andreas Jaeger <aj@suse.de>
21943
21944 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21945 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21946 regenerate with gen-libm-tests.pl.
21947
219482010-05-12 Petr Baudis <pasky@suse.cz>
21949
21950 [BZ #11589]
21951 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21952 around j0() zero points by switching to j1().
21953 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21954 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21955 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21956 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21957
f22e1074
UD
219582011-09-09 Ulrich Drepper <drepper@gmail.com>
21959
f19009c1
UD
21960 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21961 instead of 0.
21962 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 21963 instead of 0.
f19009c1
UD
21964 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21965 Patch in part by Pavel Roskin <proski@gnu.org>.
21966
3f8cc204
UD
21967 [BZ #13138]
21968 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21969 realloc.
21970 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21971 Free memory block if necessary.
21972
f22e1074
UD
21973 [BZ #12847]
21974 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21975 be NULL. Don't lock in this case.
21976
0a2349f9
RM
219772011-09-09 Roland McGrath <roland@hack.frob.com>
21978
21979 * elf/elf.h (ELFOSABI_GNU): New macro.
21980 (ELFOSABI_LINUX): Define to that.
21981
f3cdd467
DZ
219822011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21983
21984 * string/strncat.c (strncat): Undef the symbol in case it has been
21985 defined in bits/string.h.
21986
74718d13
UD
219872011-09-09 Ulrich Drepper <drepper@gmail.com>
21988
633e9e0f
UD
21989 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21990
0a2349f9 21991 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
21992 link map.
21993
f9924780
AJ
219942011-08-17 Andreas Jaeger <aj@suse.de>
21995
21996 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21997
7f5517aa
PP
219982011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21999 Ian Lance Taylor <iant@google.com>
22000
22001 * math/libm-test.inc (lround_test): New testcase.
22002 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22003
762011fe
UD
220042011-09-08 Ulrich Drepper <drepper@gmail.com>
22005
92963737
UD
22006 * Makefile: Remove support for automatic cvs check-ins.
22007 * Makerules: Likewise.
22008 * config.make.in: Likewise.
22009 * configure.in: Likewise.
22010 * intl/Makefile: Likewise.
22011 * locale/Makefile: Likewise.
22012 * po/Makefile: Likewise.
22013 * posix/Makefile: Likewise.
22014 * sysdeps/gnu/Makefile: Likewise.
22015 * sysdeps/mach/hurd/Makefile: Likewise.
22016 * sysdeps/sparc/sparc32/Makefile: Likewise.
22017
b0727fd8
JS
22018 [BZ #13118]
22019 * posix/Makefile (bug-regex32-ENV): Define.
22020 Patch by John Stanley <jpsinthemix@verizon.net>.
22021
a0f33f99
UD
22022 * misc/Makefile (headers): Add bits/select2.h.
22023 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22024 * misc/bits/select2.h: New file.
22025 * include/bits/select2.h: New file.
22026 * debug/Makefile (routines): Add fdelt_chk.
22027 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22028 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22029 FD_ISSET.
22030 * debug/fdelt_chk.c: New file.
22031
762011fe
UD
22032 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22033 * wcsmbs/test-wmemcmp.c: Likewise.
22034 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 22035 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
22036
220372011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22038
22039 * string/Makefile (strop-tests): Add memcmp.
22040 * string/test-wmemcmp.c: New file.
22041 * string/test-memcmp.c: Add wmemcmp support.
22042
7f513ec8
RM
220432011-09-08 Roland McGrath <roland@hack.frob.com>
22044
0442afb4
RM
22045 [BZ #13153]
22046 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22047 2011-07-19 change.
22048
7f513ec8
RM
22049 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22050 garbage value in a __mach_port_mod_refs call in the cases of the
22051 task-self and thread-self ports.
22052
a12b2239
ST
220532011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22054
22055 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22056
610f9ab4
AS
220572011-09-08 Andreas Schwab <schwab@redhat.com>
22058
7f513ec8 22059 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 22060
48882a1a
LD
220612011-09-07 Ulrich Drepper <drepper@gmail.com>
22062
b49865be
UD
22063 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22064
fdc86bc9
UD
22065 * elf/dl-libc.c (dlerror_run): Pass back error code from
22066 dl_catch_error.
22067
c966526a
UD
22068 [BZ #13123]
22069 * elf/dl-load.c (lose): Free l_origin if it is valid.
22070
48882a1a
LD
22071 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22072 names.
22073 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22074 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22075 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22076 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22077 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22078 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22079
77a2a8b4
AZ
220802011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22081
22082 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22083 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22084 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22085 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22086 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22087 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22088 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22089 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22090 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22091 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22092
24f579d8
AM
220932011-08-15 Alan Modra <amodra@gmail.com>
22094
22095 [BZ #13092]
22096 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22097 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22098 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22099 ppc_mcount to static-only-routines.
22100 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22101 __mcount_internal.
22102 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22103 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22104
3d4837df
UD
221052011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22106
22107 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22108 for finite and infinity parameters.
22109
22700377
WS
221102011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22111
22112 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22113 and add nop instructions for throughput optimization.
22114 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22115
5025581e
WS
221162011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22117
22118 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22119 aligned copy for power7 with vector-scalar instructions.
22120 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22121
08a300c9
L
221222011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22123
22124 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22125 AVX check.
22126
59178ef9
AS
221272011-09-07 Andreas Schwab <schwab@redhat.com>
22128
22129 [BZ #13144]
22130 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22131 last change.
22132
e38ba7ab
UD
221332011-09-07 Ulrich Drepper <drepper@gmail.com>
22134
22135 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22136 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22137 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22138 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22139 clock_gettime.
22140
d53a73ac
UD
221412011-09-06 Ulrich Drepper <drepper@gmail.com>
22142
fc8bffcc
UD
22143 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22144 Forgot to demangle the pointer.
22145
ceaa0c5d
UD
22146 * sysdeps/i386/sysdep.h: Define atom_text_section.
22147 * sysdeps/x86_64/sysdep.h: Likewise.
22148 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22149 section with atom_text_section.
22150 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22151 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22152 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22153 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22154 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22155
a77d3c17
UD
22156 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22157 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22158 already be defined. Change to take two parameters and don't assign
22159 result to variable. Adjust all users.
22160 Define INTERNAL_GETTIME if not already defined.
22161 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22162 call.
22163 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22164 HAVE_CLOCK_GETTIME_VSYSCALL.
22165 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22166
d53a73ac
UD
22167 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22168 gettimeofday vsyscall, just use time.
22169
a8f84144
AS
221702011-09-06 Andreas Schwab <schwab@redhat.com>
22171
22172 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22173 <errno.h>.
22174
ef606249
UD
221752011-09-06 Ulrich Drepper <drepper@gmail.com>
22176
22177 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22178 syscall on x86-64.
22179 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22180 syscall.
22181 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22182 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22183 syscall if possible.
22184
6585cb60
UD
221852011-09-05 Ulrich Drepper <drepper@gmail.com>
22186
22187 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22188 e_ident. Don't pass to find_mapsXX.
22189 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22190
a5f524e4
LD
221912011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22192
22193 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22194 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22195 * sysdeps/x86_64/multiarch/strchr.S: Update.
22196 Check bit_slow_BSF bit.
22197 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22198 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22199 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22200
554881ef
UD
222012011-09-05 Ulrich Drepper <drepper@gmail.com>
22202
d96de963
UD
22203 [BZ #13134]
22204 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22205 before glibc 2.15.
22206 (tryshell): Define.
22207 (__spawni): Change last parameter to be flag. Test
22208 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22209 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22210 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22211 * posix/spawni.c: Likewise.
22212 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22213 * posix/spawnp.c: Likewise. Change normal version to use
22214 SPAWN_XFLAGS_USE_PATH.
22215 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22216 SPAWN_XFLAGS_TRY_SHELL.
22217
d48e5868
UD
22218 [BZ #13150]
22219 * posix/glob.h: Remove gcc 1.x support.
22220
554881ef
UD
22221 [BZ #13068]
22222 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22223
693fb948
LD
222242011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22225
22226 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22227 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22228 strrchr-sse2-bsf
22229 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22230 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22231 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22232 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22233 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22234 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22235
1b48c537
UD
222362011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22237
49d42c37
UD
22238 * sysdeps/x86_64/wcscmp.S: New file.
22239
1b48c537
UD
22240 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22241 wcscmp-c wcscmp-sse2
22242 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22243 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22244 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22245 * wcsmbs/wcscmp.c: Allow renaming.
22246
15c95c5d
DM
222472011-09-05 David S. Miller <davem@davemloft.net>
22248
22249 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22250 stack slot, rather than the struct return pointer slot.
22251 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22252 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22254 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22255
2f0ad8f3
UD
222562011-09-05 Ulrich Drepper <drepper@gmail.com>
22257
d88ae418
UD
22258 * po/ja.po: Update from translation team.
22259
2f0ad8f3
UD
22260 [BZ #13144]
22261 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22262 kernel in 64-bit binaries.
22263
5f4318d1
DM
222642011-09-01 David S. Miller <davem@davemloft.net>
22265
22266 * elf/elf.h (HWCAP_SPARC_*): Move to..
22267 * sysdeps/sparc/sysdep.h: this new file and add new values.
22268 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22269 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22270 _DL_HWCAP_COUNT to 24.
22271 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22272 entries.
22273 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22274 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22275 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22276 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22277 instead of magic constants.
22278 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22279
3ba57516
DM
222802011-08-31 David S. Miller <davem@davemloft.net>
22281
22282 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22283 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22284 Reimplement to do errno handling inline.
22285 (SYSCALL_ERROR_HANDLER): New macro.
22286 (__SYSCALL_STRING): Do not do errno handling in asm.
22287 (__CLONE_SYSCALL_STRING): Delete.
22288 (__INTERNAL_SYSCALL_STRING): Delete.
22289 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22290 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22291 (PSEUDO): Reimplement to do errno handling inline.
22292 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22293 (SYSCALL_ERROR_HANDLER): New macro.
22294 (__SYSCALL_STRING): Do not do errno handling in asm.
22295 (__CLONE_SYSCALL_STRING): Delete.
22296 (__INTERNAL_SYSCALL_STRING): Delete.
22297 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22298 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22299 i386.
22300 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22301 (inline_syscall*): Add 'err' argument.
22302 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22303 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22304 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22305 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22306
22307 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22308 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22309
2bc17433
AS
223102011-08-30 Andreas Schwab <schwab@redhat.com>
22311
22312 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22313
fbeb5f4d
JO
223142011-08-29 Jiri Olsa <jolsa@redhat.com>
22315
22316 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22317 directive.
22318
ad69cc26
DM
223192011-08-24 David S. Miller <davem@davemloft.net>
22320
22321 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22322
39dd69df
AS
223232011-08-24 Andreas Schwab <schwab@redhat.com>
22324
22325 * elf/Makefile: Add rules to build and run unload8 test.
22326 * elf/unload8.c: New file.
22327 * elf/unload8mod1.c: New file.
22328 * elf/unload8mod1x.c: New file.
22329 * elf/unload8mod2.c: New file.
22330 * elf/unload8mod3.c: New file.
22331
22332 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22333 it wasn't used.
22334
2c0b250a
DM
223352011-08-23 David S. Miller <davem@davemloft.net>
22336
22337 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22338 subtract stack bias.
22339 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22340 %sp not %fp in calculations.
22341 (_JMPBUF_UNWINDS_ADJ): Likewise.
22342
22044b48
DM
22343 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22344 (aio_suspend): Call it to force an exception region around the
22345 AIO_MISC_WAIT() invocation.
22346
2cae4995
AS
223472011-08-23 Andreas Schwab <schwab@redhat.com>
22348
22349 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22350 backslash.
22351
873a772e
AJ
223522011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22353
22354 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22355 protection macro.
22356 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22357 and <dl-machine.h>.
22358 (Elf64_FuncDesc): Remove.
22359
25ad0df1
DM
223602011-08-22 David S. Miller <davem@davemloft.net>
22361
22362 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22363 sigaltstack check, add missing cfi directives.
22364 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22365 missing cfi directives, and sigaltstack handling.
22366
e888bcbe
AS
223672011-08-16 Andreas Schwab <schwab@redhat.com>
22368
22369 [BZ #11724]
22370 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22371 object is seen twice.
22372 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22373
22374 * elf/Makefile (distribute): Add tst-initorder2.c.
22375 (tests): Add tst-initorder2.
22376 (modules-names): Add tst-initorder2a tst-initorder2b
22377 tst-initorder2c tst-initorder2d. Add rules to build them.
22378 ($(objpfx)tst-initorder2.out): New rule.
22379 * elf/tst-initorder2.c: New file.
22380 * elf/tst-initorder2.exp: New file.
22381
87162f46
AS
223822011-08-22 Andreas Schwab <schwab@redhat.com>
22383
70538b7f
AS
22384 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22385
f55ffe58
AS
22386 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22387 dependencies back to end of function.
22388
87162f46
AS
22389 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22390 $(elfobjdir)/ld.so.
22391
91b392a4
UD
223922011-08-21 Ulrich Drepper <drepper@gmail.com>
22393
22394 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22395 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22396 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22397 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22398 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22399 of __vdso_gettimeofday.
22400 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22401 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22402 attribute_hidden.
22403 (_libc_vdso_platform_setup): Remove initialization of
22404 __vdso_gettimeofday and __vdso_time.
22405
5c43483f
UD
224062011-08-20 Ulrich Drepper <drepper@gmail.com>
22407
775a77e7
UD
22408 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22409 and fgetc_unlocked.
22410 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22411 getc_unlocked.
89f447ed 22412
49c74ba9
UD
22413 * elf/dl-open.c (add_to_global): Report additions to the global scope
22414 for LD_DEBUG=scopes.
22415 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 22416 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 22417
5c43483f
UD
22418 [BZ #13114]
22419 * stdio-common/Makefile (tests): Add bug24.
22420 * stdio-common/bug24.c: New file.
22421
a101b025
AJ
224222011-08-19 Andreas Jaeger <aj@suse.de>
22423
22424 [BZ #13114]
22425 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22426 non-existant file when using close-on-exec mode.
22427
c88f1766
UD
224282011-08-20 Ulrich Drepper <drepper@gmail.com>
22429
0276a718
UD
22430 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22431 the very first instruction.
22432
c88f1766
UD
22433 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22434 the CFI state in the end.
22435 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22436 inclusion of dl-trampoline.h.
22437 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22438
51ccffa0
AS
224392011-08-19 Andreas Schwab <schwab@redhat.com>
22440
94d7165f
AS
22441 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22442 expectations for long double.
22443
51ccffa0
AS
22444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22445 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22446
fd708658 224472011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
22448
22449 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22450 artificual limit depends upon the system page size.
22451
44f0a71e
UD
224522011-08-17 Ulrich Drepper <drepper@gmail.com>
22453
22454 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22455 * resolv/Makefile: Define CFLAGS-libresolv.
22456
8de79a24
AS
224572011-08-17 Andreas Schwab <schwab@redhat.com>
22458
22459 * nss/makedb.c (compute_tables): Make variables used in nested
22460 function static.
22461
27724598
UD
224622011-08-17 Ulrich Drepper <drepper@gmail.com>
22463
c5305d88
UD
22464 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22465 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22466 if buffer was too small.
22467
27724598
UD
22468 * elf/pldd.c (main): Attach to all threads in the process.
22469 Rewrite /proc handling to use *at functions.
22470
076fe015
UD
224712011-08-16 Ulrich Drepper <drepper@gmail.com>
22472
174baab3
UD
22473 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22474 specifies first scope to show.
22475 (dl_open_worker): Update callers. Move printing scope of new
22476 object to before the relocation.
44f0a71e 22477 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
22478 * sysdeps/generic/ldsodefs.h: Update declaration.
22479
076fe015
UD
22480 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22481 string for the scope number.
22482
a60df2c3
UD
224832011-08-14 Ulrich Drepper <drepper@gmail.com>
22484
22485 * nscd/servicescache.c (cache_addserv): Make sure written is always
22486 initialized.
22487
5e4287d1
RM
224882011-08-14 Roland McGrath <roland@hack.frob.com>
22489
85ae0589
RM
22490 * sysdeps/i386/i486/bits/atomic.h
22491 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22492 statement expression, so as to suppress "set but not used" warning.
22493 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22494
69f63097
RM
22495 * string/strncat.c (STRNCAT): Use prototype definition.
22496
675456ef
RM
22497 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22498 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22499 -Iprograms here.
22500 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22501 (localedef-modules): Add localedef.
22502 (locale-modules): Add locale.
22503
5e4287d1
RM
22504 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22505 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22506 to avoid a warning.
22507
9c96ff23
DM
225082011-08-14 David S. Miller <davem@davemloft.net>
22509
22510 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22511 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22512
f9ddf089
UD
225132011-08-13 Ulrich Drepper <drepper@gmail.com>
22514
44f0a71e 22515 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
22516 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22517 * elf/rtld.c (dl_main): Set l_name of vDSO.
22518 Call _dl_show_scope when DL_DEBUG_SCOPES.
22519 (process_dl_debug): Recognize scopes flag and also set it for all.
22520 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22521 Declare _dl_show_scope.
22522
1dc27704
UD
22523 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22524 (do_dlopen): Pass caller_dlopen to dl_open.
22525 (__libc_dlopen_mode): Initialize caller_dlopen.
22526
f9ddf089
UD
22527 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22528 of libc. Make tolower call locale-independent. Optimize a bit by
22529 using isdigit instead of isalnum.
22530 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22531
9ac533d3
UD
225322011-08-12 Ulrich Drepper <drepper@gmail.com>
22533
22534 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22535 was a dependency or dynamically loaded.
22536
89edf2e9
UD
225372011-08-11 Ulrich Drepper <drepper@gmail.com>
22538
8e999d29
UD
22539 * intl/l10nflist.c: Allow architecture-specific pop function.
22540 * sysdeps/x86_64/l10nflist.c: New file.
22541
89edf2e9
UD
22542 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22543 classification.
22544
14d96785
AS
225452011-08-10 Andreas Schwab <schwab@redhat.com>
22546
22547 * include/dirent.h: Add libc_hidden_proto for scandirat and
22548 scandirat64. Don't declare __scandirat64.
22549 * dirent/scandirat.c: Add libc_hidden_def.
22550 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22551 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22552
6761ac04
DM
225532011-08-10 David S. Miller <davem@davemloft.net>
22554
22555 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22556 enum.
22557 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22558 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22559 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22560
c55fbd1e
UD
225612011-08-09 Ulrich Drepper <drepper@gmail.com>
22562
22563 * Versions.def [libc]: Add GLIBC_2.15.
22564 * dirent/Makefile (routines): Add scandirat and scandirat64.
22565 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22566 GLIBC_2.15.
22567 * dirent/dirent.h: Declare scandirat and scandirat64.
22568 * dirent/scandirat.c: New file.
22569 * dirent/scandirat64.c: New file.
22570 * sysdeps/wordsize-64/scandirat.c: New file.
22571 * sysdeps/wordsize-64/scandirat64.c: New file.
22572 * dirent/opendir.c: Define opendirat.
22573 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22574 using scandirat.
22575 * dirent/scandir64.c: Adjust for scandir.c change.
22576 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22577 __scandirat64, and __scandir_cancel_handler.
22578 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22579 additional parameter and use openat instead of open (outside of ld.so).
22580 Add new __opendir as wrapper around __opendirat.
22581 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22582 here without requiring old scandirat implementation.
22583
879165f2
UD
225842011-08-08 Ulrich Drepper <drepper@gmail.com>
22585
22586 * dirent/scandir.c (cancel_handler): Renamed to
22587 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22588 defined. Adjust users.
22589 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22590 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22591
cb7e923b
UD
225922011-08-04 Ulrich Drepper <drepper@gmail.com>
22593
16292edd
UD
22594 * string/test-string.h (IMPL): Use __STRING to expand name and then
22595 stringify it.
22596
cb7e923b
UD
22597 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22598 of cleanups.
22599
cff82933
LD
226002011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22601
22602 * string/Makefile: Update.
22603 (strop-tests): Append strncat.
22604 * string/test-wcscmp.c: New file.
22605 New comprehensive test for wcscmp.
22606 * string/test-strcmp.c: Update.
22607 (WIDE): New define.
22608
9be9bfcc
AS
226092011-07-22 Andreas Schwab <schwab@redhat.com>
22610
22611 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22612 line.
22613
2e96f1c7
AS
226142011-07-26 Andreas Schwab <schwab@redhat.com>
22615
22616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22617 encoding to ACE if AI_IDN.
22618
85188888
JJ
226192011-08-01 Jakub Jelinek <jakub@redhat.com>
22620
22621 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22622 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22623
5fa16e9b
LD
226242011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22625
22626 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22627 Fix overflow bug in strncat.
22628 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22629
22630 * string/test-strncat.c: Update.
22631 Add new tests for checking overflow bugs.
22632
226332011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22634
22635 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22636 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22637 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22638 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22639 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22640 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22641 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22642 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22643 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22644
22645 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22646 (USE_AS_STRCAT): Define.
22647 Add strcat and strncat support.
22648 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22649
8c1a459f
AS
226502011-07-25 Andreas Schwab <schwab@redhat.com>
22651
22652 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22653 __n bigger than INT_MAX+1.
22654 (__strncmp_g): Likewise.
22655
bba33c28
UD
226562011-07-23 Ulrich Drepper <drepper@gmail.com>
22657
798be72d
UD
22658 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22659 * libio/stido.h: Likewise.
22660
8accd4dc
UD
22661 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22662 (AF_NFC): Define.
22663 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22664 (AF_NFC): Define.
22665
cbff0d96
UD
22666 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22667 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22668 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22669 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22670 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22671
9191c04a
UD
22672 [BZ #13021]
22673 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22674 installed.
22675
bba33c28
UD
22676 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22677 typo.
22678 (_dl_x86_64_save_sse): Likewise.
22679
90f139dd
UD
226802011-07-22 Ulrich Drepper <drepper@gmail.com>
22681
1aae088a
UD
22682 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22683 OSXSAVE.
22684 (_dl_x86_64_save_sse): Likewise.
22685
8e2045f5
UD
22686 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22687
90f139dd
UD
22688 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22689
1d002f25
AS
226902011-07-21 Andreas Schwab <schwab@redhat.com>
22691
22692 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22693 change.
22694 (_dl_x86_64_save_sse): Use correct AVX check.
22695
21137f89
UD
226962011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22697
22698 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22699 bug in strncpy/strncat.
22700 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22701
a65c0b7a
UD
227022011-07-21 Ulrich Drepper <drepper@gmail.com>
22703
22704 * string/tester.c (test_strcat): Add tests for different alignments
22705 of source and destination.
22706 (test_strncat): Likewise.
22707
6986b98a
UD
227082011-07-20 Ulrich Drepper <drepper@gmail.com>
22709
90bb2039
UD
22710 [BZ #12852]
22711 * posix/glob.c (glob): Check passed in values before using them in
22712 expressions to avoid some overflows.
22713 (glob_in_dir): Likewise.
22714
5644ef54
UD
22715 [BZ #13007]
22716 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22717 check for AVX enablement so that we don't crash with old kernels and
22718 new hardware.
22719 * elf/tst-audit4.c: Add same checks here.
22720 * elf/tst-audit6.c: Likewise.
22721
22722 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 22723
bfc9dc9b
AS
227242011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22725
22726 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22727
702e64bb
UD
227282011-07-20 Ulrich Drepper <drepper@gmail.com>
22729
22730 * po/cs.po: Update from translation team.
22731 * po/bg.po: Likewise.
22732
295e904f
MP
227332011-07-12 Marek Polacek <mpolacek@redhat.com>
22734
22735 * misc/sys/cdefs.h: Add support for const attribute.
22736 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22737 to gnu_dev_{major,minor,makedev} functions.
22738
3ff94596
MP
227392011-07-20 Marek Polacek <mpolacek@redhat.com>
22740
22741 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22742
28b59fca
AS
227432011-07-20 Andreas Schwab <schwab@redhat.com>
22744
22745 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22746 strlen results.
22747
19df733e
AK
227482011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22749
22750 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22751 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22752 register in order to avoid conflicts with the soft frame pointer
22753 being held in r11 when necessary.
22754 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22755 (INTERNAL_VSYSCALL_NCS): Likewise.
22756
c8835729
MP
227572011-07-14 Marek Polacek <mpolacek@redhat.com>
22758
22759 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22760 * elf/dl-fini.c (_dl_fini): Adjust caller.
22761 * elf/dl-close.c (_dl_close_worker): Likewise.
22762 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22763
b902330c
MP
227642011-07-15 Marek Polacek <mpolacek@redhat.com>
22765
8991e135
MP
22766 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22767 "aux_cache->nlibs < 0".
22768
b902330c
MP
22769 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22770 in the reload-count case.
22771
99710781
LD
227722011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22773
22774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22775 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22776 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22777 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22778 * sysdeps/x86_64/multiarch/strcat.S: New file.
22779 * sysdeps/x86_64/multiarch/strncat.S: New file.
22780 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22781 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22782 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22783 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22784 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22785 (USE_AS_STRCAT): Define.
22786 Add strcat and strncat support.
22787 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22788 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22789 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22790 * string/strncat.c: Update.
22791 (USE_AS_STRNCAT): Define.
22792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22793 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22794 and i7.
22795 * sysdeps/x86_64/multiarch/init-arch.h
22796 (bit_Prefer_PMINUB_for_stringop): New.
22797 (index_Prefer_PMINUB_for_stringop): Likewise.
22798 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22799 bit_Prefer_PMINUB_for_stringop.
22800
7dc6bd90
UD
228012011-07-19 Ulrich Drepper <drepper@gmail.com>
22802
22803 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22804 buffer64.
22805 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22806 of casting of buffer.
22807 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22808 buffer32 and buffer64.
22809 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22810 writes instead of casting of buffer.
22811 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22812 buffer32.
22813 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22814 casting of buffer.
22815
e0e72284
AS
228162011-07-19 Andreas Schwab <schwab@redhat.com>
22817
22818 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22819
feb1eb0b
UD
228202011-07-19 Ulrich Drepper <drepper@gmail.com>
22821
22822 * nscd/nscd.c (termination_handler): Don't do anything for a database
22823 if it has not yet been initialized.
22824
298711ff
UD
228252011-07-18 Ulrich Drepper <drepper@gmail.com>
22826
22827 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22828
228292011-07-15 Marek Polacek <mpolacek@redhat.com>
22830
22831 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22832
f9d68389
UD
228332011-07-18 Ulrich Drepper <drepper@gmail.com>
22834
22835 * po/nl.po: Update from translation team.
22836 * po/sv.po: Likewise.
22837
db290cf5
RM
228382011-07-16 Roland McGrath <roland@hack.frob.com>
22839
22840 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22841 now disallowed by GCC.
5c550700 22842
fd5e21c7
RM
22843 * configure.in (use-default-link): Default to yes if a test -shared
22844 link meets our qualifications.
22845 * configure: Regenerated.
22846
5c550700
RM
22847 * config.make.in (output-format): New variable.
22848 * configure.in: Check for ld --print-output-format support.
22849 * configure: Regenerated.
22850 * Makerules ($(common-objpfx)format.lds)
22851 [$(output-format) != unknown]: Just use $(output-format),
22852 instead of the linker-script munging.
22853
9fa2c032
RM
228542011-07-14 Roland McGrath <roland@hack.frob.com>
22855
a6928d51
RM
22856 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22857 of $(common-objpfx)shlib.lds.
22858 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22859
661607b3
RM
22860 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22861 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22862
9fa2c032
RM
22863 * configure.in (-z relro check): Adjust test code to add a large
22864 writable data section after it.
22865 * configure: Regenerated.
22866
defe9061
RM
228672011-07-11 Roland McGrath <roland@hack.frob.com>
22868
22869 * configure.in (-z relro check): Fix test code to make the variable
22870 truly const.
22871 * configure: Regenerated.
22872
319b9ad4
UD
228732011-07-11 Ulrich Drepper <drepper@gmail.com>
22874
22875 * nscd/nscd.h (struct traced_file): Define.
22876 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22877 elements. Add traced_files.
22878 (inotify_fd): Declare.
22879 (register_traced_file): Declare.
22880 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22881 (inotify_fd): Export.
22882 (resolv_conf_descr): Remove.
22883 (nscd_init): Move inotify descriptor creation to main.
22884 Don't register files for notification here.
22885 (register_traced_file): New function.
22886 (invalidate_cache): Don't use reset_res to determine whether to call
22887 res_init, go through the list of registered files.
22888 (main_loop_poll): The inotify descriptors are now stored in the
22889 structures for the traced files.
22890 (main_loop_epoll): Likewise
22891 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22892 to __nss_disable_nscd.
22893 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22894 for a database anymore. Check the records for all the registered
22895 files instead.
22896 * nss/Makefile (libnss_files-routines): Add files-init.
22897 (libnss_db-routines): Add db-init.
22898 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22899 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22900 * nss/nss_db/db-init.c: New file.
22901 * nss/nss_files/files-init.c: New file.
22902 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22903 __nss_lookup_function.
22904 (__nss_lookup_function): Call nss_load_library.
22905 (nss_load_all_libraries): New function.
22906 (__nss_disable_nscd): Take parameter with callback function for files
22907 to register. Set is_nscd. Load all the DSOs for the NSS modules
22908 used for the cached services.
22909 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22910 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22911 options for features to all the files in nscd.
22912
22913 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22914
23bee3e8
RM
229152011-07-10 Roland McGrath <roland@hack.frob.com>
22916
22917 * csu/elf-init.c (__libc_csu_init): Comment typo.
22918
46a5b7f0
UD
229192011-07-09 Ulrich Drepper <drepper@gmail.com>
22920
22921 * po/pl.po: Update from translation team.
22922 * po/ja.po: Likewise.
22923 * po/ru.po: Likewise.
22924 * po/ko.po: Likewise.
22925 * po/fr.po: Likewise.
22926
d30cf5bb
RM
229272011-07-09 Roland McGrath <roland@hack.frob.com>
22928
113ddea4
RM
22929 * configure.in (.ctors/.dtors header and trailer check):
22930 Use an empirical test on a built program.
22931 * configure: Regenerated.
22932
574920b4
RM
22933 * configure.in (-z relro check): Use an empirical test on a built DSO.
22934 Detect, but do not require, on ia64.
22935 * configure: Regenerated.
22936
d30cf5bb
RM
22937 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22938 Update tests that use readelf to use $READELF instead.
22939 * configure: Regenerated.
22940
8538fdb3
UD
229412011-07-08 Ulrich Drepper <drepper@gmail.com>
22942
22943 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22944 if the result is not used.
22945
04d08991
AJ
229462011-07-05 Andreas Jaeger <aj@suse.de>
22947
22948 [BZ#9696]
22949 * stdlib/tst-strtod.c: Add testcase.
22950
de283087
AD
229512011-07-07 Ulrich Drepper <drepper@gmail.com>
22952
4e5f31c8 22953 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 22954 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
22955 The latter has a higher limit. Take additional parameter to pass to
22956 the new function.
22957 (__pathconf): Pass file to __statfs_link_max.
22958 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22959 __statfs_link_max.
22960 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22961 __statfs_link_max.
22962
de283087
AD
22963 [BZ #12868]
22964 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22965 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22966 Handle Lustre.
22967 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22968 (__statfs_filesize_max): Likewise.
22969 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22970
c75fa153
AJ
229712011-07-05 Andreas Jaeger <aj@suse.de>
22972
22973 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22974
1a544854
UD
229752011-07-06 Marek Polacek <mpolacek@redhat.com>
22976
22977 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22978 `status' variable.
22979 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22980 Likewise.
22981
6f0eec67
UD
229822011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22983
22984 * Makefile (strop-tests): Add strncat.
22985 * string/test-strncat.c: New file.
22986
aae30307
UD
229872011-06-30 Marek Polacek <mpolacek@redhat.com>
22988
22989 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22990
c0cfb5eb
UD
229912011-06-21 Andreas Jaeger <aj@suse.de>
22992
22993 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22994 Copy rule from iconvdata/Makefile.
22995
01636b21
UD
229962011-07-06 Ulrich Drepper <drepper@gmail.com>
22997
22998 [BZ #12922]
22999 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23000 but no long options are defined, just return 'W'.
23001
9895c8bc
UD
230022011-06-22 Marek Polacek <mpolacek@redhat.com>
23003
23004 [BZ #9696]
23005 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23006
5d4cf042
UD
230072011-07-06 Ulrich Drepper <drepper@gmail.com>
23008
23009 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23010 netgroups to read.
960e5535 23011 (innetgr): Likewise.
5d4cf042 23012
751eb97e
RM
230132011-07-05 Roland McGrath <roland@hack.frob.com>
23014
23015 * config.make.in (install_root): Default to $(DESTDIR).
23016
f15f1e45
UD
230172011-07-05 Ulrich Drepper <drepper@gmail.com>
23018
23019 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23020
4e34ac6a
RM
230212011-07-02 Roland McGrath <roland@hack.frob.com>
23022
5e9b6af4
RM
23023 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23024
84f9ea0f
RM
23025 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23026 containing directory rather than embedding absolute directory names.
23027
ea5ee9f7
RM
23028 * scripts/check-local-headers.sh: Rewritten using awk.
23029 Match by word, not by line. Print error messages for matches.
23030 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23031
1b74661a
RM
23032 * Makerules [shlib-lds-flags empty]:
23033 ($(common-objpfx)libc_pic.opts): New target.
23034 ($(common-objpfx)libc_pic.os.clean): New target.
23035 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23036
23037 * config.make.in (OBJCOPY): New variable.
23038 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23039 * configure: Regenerated.
23040
f781ef40
RM
23041 * config.make.in (use-default-link): New variable.
23042 * configure.in (use_default_link): Grok --with-default-link to set it.
23043 * configure: Regenerated.
23044 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23045 (shlib-lds, shlib-lds-flags): Define to empty.
23046
2d4fa81e
RM
23047 * Makerules (shlib-lds): New variable.
23048 (shlib-lds-flags): New variable.
23049 (build-shlib, build-moduile, build-module-asneeded): Use it.
23050 ($(common-objpfx)libc.so): Use $(shlib-lds).
23051 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23052 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23053
31fffa6b
RM
23054 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23055 DT_FLAGS/DT_FLAGS_1 with zero flags.
23056
4e34ac6a
RM
23057 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23058 linker script munging.
23059
fcfc776b
UD
230602011-07-02 Ulrich Drepper <drepper@gmail.com>
23061
23062 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23063 as 128-bit value.
23064 * crypt/sha512.c (sha512_process_block): Perform total addition using
23065 128-bit if possible.
23066 (__sha512_finish_ctx): Likewise.
23067 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23068 as 64-bit value.
23069 * crypt/sha256.c (SWAP64): Define.
23070 (sha256_process_block): Perform total addition using 64-bit if
23071 possible.
23072 (__sha256_finish_ctx): Likewise.
23073
99231d9a
UD
230742011-07-01 Ulrich Drepper <drepper@gmail.com>
23075
23076 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23077 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23078 * nscd/hstcache.c (cache_addhst): Likewise.
23079 * nscd/grpcache.c (cache_addgr): Likewise.
23080 * nscd/aicache.c (addhstaiX): Likewise
23081 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23082
445b4a53
TK
230832011-07-01 Thorsten Kukuk <kukuk@suse.de>
23084
23085 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23086 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23087 * nscd/hstcache.c (cache_addhst): Likewise.
23088 * nscd/grpcache.c (cache_addgr): Likewise.
23089 * nscd/aicache.c (addhstaiX): Likewise
23090
6d4d8e8e
AS
230912011-07-01 Andreas Schwab <schwab@redhat.com>
23092
23093 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23094 domain only when needed.
23095
89f654c5
AS
230962011-06-30 Andreas Schwab <schwab@redhat.com>
23097
23098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23099 is always restored.
23100
cf3b23ff
UD
231012011-06-29 Ulrich Drepper <drepper@gmail.com>
23102
23103 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23104 are re-adding the entry.
23105 * nscd/servicescache.c (cache_addserv): Likewise.
23106
751626f9
AJ
231072011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23108
23109 * sysdeps/generic/dl-irel.h: fix protection against multiple
23110 inclusions.
23111 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23112
9113ea1f
UD
231132011-06-28 Ulrich Drepper <drepper@gmail.com>
23114
5c0b8d90
UD
23115 [BZ #12935]
23116 * malloc/memusage.sh: Fix quoting in message.
23117 * debug/xtrace.sh: Likewise.
23118
9113ea1f
UD
23119 * configure.in: Remove support for --experimental-malloc option, make
23120 it the default.
23121 * config.make.in: Likewise.
23122 * malloc/Makefile: Likewise.
23123
a4172181
AS
231242011-06-27 Andreas Schwab <schwab@redhat.com>
23125
23126 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23127 two-byte characters.
23128
78a7eee7
RM
231292011-06-27 Roland McGrath <roland@hack.frob.com>
23130
62bede13
RM
23131 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23132 AC_CACHE_CHECK invocation.
23133 * configure: Regenerated.
23134
78a7eee7
RM
23135 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23136
5ce33a62
UD
231372011-06-27 Ulrich Drepper <drepper@gmail.com>
23138
034807a9
UD
23139 [BZ #12350]
23140 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23141 bit from old_res_options.
23142
4902da17
UD
23143 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23144
5ce33a62
UD
23145 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23146 value type for setfct.
23147
c2344f56
L
231482011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23149
23150 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23151 __gettimeofday instead of gettimeofday.
23152
68468076
UD
231532011-06-26 Ulrich Drepper <drepper@gmail.com>
23154
23155 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23156
acb0d739
L
231572011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23158
23159 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23160
23161 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23162 info.
23163
8912479f
L
231642011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23165
23166 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23167 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23168 strcpy-sse2-unaligned strncpy-sse2-unaligned
23169 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23170 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23171 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23172 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23173 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23174 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23175 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23176 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23177 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23178 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23179 (STRCPY): Support SSE2 and SSSE3 versions.
23180
d5495a11
UD
231812011-06-24 Ulrich Drepper <drepper@gmail.com>
23182
23183 [BZ #12874]
23184 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23185 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23186 kernels which artificially limit size of requests.
23187
0b1cbaae
L
231882011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23189
23190 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23191 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23192 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23193 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23194 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23195 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23196 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23197 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23198 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23199 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23200 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23201 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23202 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23203 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23204 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23206 Enable unaligned load optimization for Intel Core i3, i5 and i7
23207 processors.
23208 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23209 Define.
23210 (index_Fast_Unaligned_Load): Define.
23211 (HAS_FAST_UNALIGNED_LOAD): Define.
23212
07f494a0
MP
232132011-06-23 Marek Polacek <mpolacek@redhat.com>
23214
23215 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23216
fa3fc0fe
UD
232172011-06-22 Ulrich Drepper <drepper@gmail.com>
23218
23219 [BZ #12907]
23220 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23221 until it is clear that the information is realy needed.
23222 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23223
e12df166
AS
232242011-06-22 Andreas Schwab <schwab@redhat.com>
23225
23226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23227
852eb34d
UD
232282011-06-22 Ulrich Drepper <drepper@gmail.com>
23229
84e2a551
UD
23230 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23231 /sys/devices/system/cpu/online if it is usable.
23232
852eb34d
UD
23233 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23234 reading the information from the /proc filesystem to once a second.
23235
6e502e19
UD
232362011-06-21 Andreas Jaeger <aj@suse.de>
23237
23238 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23239 NULL after inclusion of kernel headers.
23240
75d39ff2
UD
232412011-06-21 Ulrich Drepper <drepper@gmail.com>
23242
51f9aa6a
UD
23243 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23244 calls to internal_setent.
23245
c0244a9d
UD
23246 [BZ #12885]
23247 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23248 addresses using gethostbyname4_r ignore IPv4 addresses.
23249
c5e3c2ae
UD
23250 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23251 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23252
75d39ff2
UD
23253 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23254
42675c6f
DM
232552011-06-20 David S. Miller <davem@davemloft.net>
23256
23257 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23258 inclusions.
23259 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23260
23261 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23262 (elf_irel): Use it.
23263 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23264 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23265 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23266 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23267 * sysdeps/x86_64/dl-irel.h: Likewise.
23268
23269 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23270 * elf/dl-sym.c: Likewise.
23271
57912a71
UD
232722011-06-15 Ulrich Drepper <drepper@gmail.com>
23273
23274 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23275 need to dereference resplen2.
23276
ee22793d
AS
232772011-06-14 Andreas Schwab <schwab@redhat.com>
23278
23279 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23280
a9e836b0
UD
232812011-06-15 Ulrich Drepper <drepper@gmail.com>
23282
77fb9117
UD
23283 * Makeconfig: Define vardbdir and inst_vardbdir.
23284 * nss/Makefile: Add rules to install db-Makefile.
23285
40c1b22c
UD
23286 * nss/nss_db/db-XXX.c: Cleanup.
23287
9f2da732
UD
23288 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23289 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23290 GLIBC_PRIVATE.
23291 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23292 * nss/makedb.c: Implement -g option to specify that value strings
23293 are generated and should not be added to table iterated over for
23294 get*ent calls.
23295 * nss/nss_db/db-initgroups.c: New file.
23296
82e9a1f7
UD
23297 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23298 interface.
23299
c41af17e
UD
23300 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23301 (internal_getgrouplist): Adjust to name change.
23302 Update use_initgroups_entry if this is not the first call.
23303 * nss/databases.def: Add initgroups entry.
23304
a9e836b0
UD
23305 * nss/makedb.c (compute_tables): Check result of multiple hash table
23306 sizes to minimize maximum chain length.
23307
2666d441
UD
233082011-06-14 Ulrich Drepper <drepper@gmail.com>
23309
23310 * Versions.def: Add entry for libnss_db.
23311 * shlib-versions: Likewise.
23312 * nss/Makefile: Add rules to build libnss_db.
23313 * nss/Versions: Add libnss_db information. Organize libnss_files
23314 entries better.
23315 * nss/db-Makefile: Add gshadow support. Change rules for the new
23316 makedb progra. Some minor improvements to generate smaller files.
23317 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23318 here from...
23319 * nss/makedb.c: ...here.
23320 Improve database format to be smaller and require less memory at
23321 runtime.
23322 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23323 db anymore.
23324 * nss/nss_db/db-netgrp.c: Likewise.
23325 * nss/nss_db/db-open.c: Likewise.
23326 * nss/nss_files/flies-XXX.x: Adjust comments.
23327 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23328 * nss/nss_files/files-grp.c: Likewise.
23329 * nss/nss_files/files-hosts.c: Likewise.
23330 * nss/nss_files/files-network.c: Likewise.
23331 * nss/nss_files/files-proto.c: Likewise.
23332 * nss/nss_files/files-pwd.c: Likewise.
23333 * nss/nss_files/files-rpc.c: Likewise.
23334 * nss/nss_files/files-service.c: Likewise.
23335 * nss/nss_files/files-sgrp.c: Likewise.
23336 * nss/nss_files/files-spwd.c: Likewise.
23337 * nss/nss_db/db-alias.c: Removed.
23338 * nss/nss_db/dummy-db.h: Removed.
23339
9ee76b5a
UD
233402011-06-02 Ulrich Drepper <drepper@gmail.com>
23341
23342 * nss/makedb.c: Rewritten to not use database library.
23343 * nss/Makefile: Update to build new makedb program.
23344
c71ca1f8
AJ
233452011-06-14 Andreas Jaeger <aj@suse.de>
23346
23347 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23348 memset declaration.
23349
3154bfb8
UD
233502011-06-10 Andreas Schwab <schwab@redhat.com>
23351
23352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23353 tmpbuf.
23354
b350afab
RM
233552011-06-10 Roland McGrath <roland@hack.frob.com>
23356
decd4e50
RM
23357 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23358 * elf/Makefile ($(objpfx)ld.so): Likewise.
23359
5615eaf2
RM
23360 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23361 Don't list ld.so twice in dependencies.
23362
23363 * posix/bug-regex31.c: Include <stdlib.h>.
23364
23365 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23366
23367 * nis/nss_compat/compat-spwd.c
23368 (getspent_next_nss_netgr): Remove unused variable.
23369 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23370
23371 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23372 nonmembers" output to use the right array.
23373
23374 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23375
23376 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23377
23378 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23379 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23380 * catgets/gencat.c (read_input_file): Likewise.
23381 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23382
23383 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23384 variable definition inside #if's controlling its use.
23385
23386 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23387
23388 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23389
23390 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23391
23392 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23393 unreachable code.
23394
23395 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23396
b68e08db
RM
23397 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23398 * configure: Regenerated.
23399
b350afab
RM
23400 * Makerules: Revert last change.
23401 * elf/Makefile: Likewise.
23402
28368601
RM
234032011-06-09 Roland McGrath <roland@hack.frob.com>
23404
23405 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23406 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23407 (reloc-link): Likewise.
23408
11988f8f
UD
234092011-06-09 Ulrich Drepper <drepper@gmail.com>
23410
23411 * elf/Makefile: Add rules to build pldd.
23412 * elf/pldd.c: New file.
23413 * elf/pldd-xx.c: New file.
23414
e80fab37
UD
234152011-06-07 Ulrich Drepper <drepper@gmail.com>
23416
23417 * version.h: Update for 2.15 development version.
23418
9b849836
DM
234192011-06-07 David S. Miller <davem@davemloft.net>
23420
23421 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23422 ifuncs.
23423 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23424 elf_machine_lazy_rel): Likewise.
23425 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23426 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23427 elf_machine_lazy_rel): Likewise.
23428 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23429 dl_hwcap via passed in argument.
23430 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23431 Likewise.
23432
5a31b283
AK
234332011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23434
23435 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23436
069e52f8
RM
234372011-06-06 Roland McGrath <roland@hack.frob.com>
23438
23439 [BZ #12849]
23440 * manual/fdl-1.1.texi: New file, verbatim from:
23441 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23442 * manual/lgpl-2.1.texi: New file, verbatim from:
23443 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23444 * manual/Makefile (licenses): New variable, list those new file names.
23445 (texis): Use it.
23446 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23447
23448 * manual/fdl.texi: File removed.
23449 * manual/lesser.texi: File removed.
23450 * manual/libc.texinfo (Copying, Documentation License):
23451 Use new @include file names, put @appendix directive before @include.
23452
f16846a5
JJ
234532011-06-04 Jakub Jelinek <jakub@redhat.com>
23454
23455 [BZ #12841]
23456 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23457 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23458 (mq_open): Add __NTH.
23459
3d29045b
L
234602011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23461
23462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23463 Assume Intel Core i3/i5/i7 processor if AVX is available.
23464
8c297311
UD
234652011-05-31 Ulrich Drepper <drepper@gmail.com>
23466
23467 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23468 typo.
23469
c8fc0c91
UD
234702011-05-31 Andreas Schwab <schwab@redhat.com>
23471
23472 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23473 memory. Use alloca_account. Fix memory leak when retrying.
23474
5b27a807
UD
234752011-05-31 Ulrich Drepper <drepper@gmail.com>
23476
356f8bc6
UD
23477 * version.h (RELEASE): Bump for 2.14 release.
23478 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23479
5b27a807
UD
23480 * config.make.in (RANLIB): Remove entry.
23481
01f16ab0
UD
234822011-05-30 Ulrich Drepper <drepper@gmail.com>
23483
41fce8bd
UD
23484 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23485 (libc.pot): Work around missing support for .ksh extension in xgettext.
23486
4769ae77
UD
23487 [BZ #12684]
23488 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23489 if both request failed.
23490 (send_dg): In case of server errors clear resplen or *resplen2.
23491
6b1e7d19
UD
23492 [BZ #12454]
23493 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23494 when there are multiple maps.
23495 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23496 (_dl_fini): Remove test here.
23497
01f16ab0
UD
23498 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23499
b1ebd700
UD
235002011-05-29 Ulrich Drepper <drepper@gmail.com>
23501
7ae22829
UD
23502 [BZ #12350]
23503 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23504 bit from old_res_options.
23505 (gaih_inet): Likewise.
23506
553149f6 23507 [BZ #11099]
18a84741 23508 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
23509 as signed.
23510
652ffab1
UD
23511 * resolv/res_init.c (res_setoptions): Make the code more compact.
23512
16985fd0
UD
23513 [BZ #11558]
23514 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23515 set RES_USEVC.
23516
0464f746
UD
23517 [BZ #11634]
23518 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23519
7d17596c
UD
23520 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23521
cf6bbbd7
UD
23522 [BZ #11781]
23523 * malloc/malloc.h: Declare malloc hook variables as volatile.
23524
13f1ab36
UD
23525 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23526 in last patch.
23527
b1ebd700
UD
23528 [BZ #11799]
23529 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 23530 raise in the comment.
80e2212d
UD
23531 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23532 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23533 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 23534
ce67228d
UD
235352011-05-28 Ulrich Drepper <drepper@gmail.com>
23536
8887a920
UD
23537 [BZ #12811]
23538 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23539 grow the buffers more if it already has to be sufficient.
23540 (build_wcs_upper_buffer): Likewise.
23541 * posix/regexec.c (check_matching): Likewise.
23542 (clean_state_log_if_needed): Likewise.
23543 (extend_buffers): Don't enlarge buffers beyond size of the input
23544 buffer.
23545 Patches mostly by Emil Wojak <emil@wojak.eu>.
23546 * posix/bug-regex32.c: New file.
23547 * posix/Makefile (tests): Add bug-regex32.
23548
4f031072
UD
23549 * locale/findlocale.c (_nl_find_locale): Return right away if
23550 _nl_explode_name failed.
23551 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23552
d0478f0c
UD
23553 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23554
de81b246
UD
23555 * debug/xtrace.sh: Unify messages.
23556 * malloc/memusage.sh: Likewise.
23557
c738465a
UD
23558 [BZ #12813]
23559 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23560 time symbol from vDSO. Substitute with vsyscall if not available.
23561 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23562 __vdso_time.
23563
f1f929d7
UD
23564 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23565 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23566 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23567 Add sendmmsg and internal_sendmmsg.
23568 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23569 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23570 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23571
ce67228d
UD
23572 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23573 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23574 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23575
e57420c6
UD
235762011-05-27 Ulrich Drepper <drepper@gmail.com>
23577
a8509ca5
UD
23578 [BZ #12813]
23579 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23580 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23581 available.
23582 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23583 __vdso_getcpu.
23584
e57420c6
UD
23585 [BZ #12814]
23586 * iconvdata/Makefile (tests): Add bug-iconv9.
23587 * iconvdata/bug-iconv9.c: New file.
23588
4d07db15
AS
235892011-05-27 Andreas Schwab <schwab@redhat.com>
23590
23591 [BZ #12814]
23592 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23593
ea486f69
JJ
235942011-05-25 Jakub Jelinek <jakub@redhat.com>
23595
23596 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23597 (struct user_regs_struct): Change intcs field back to cs.
23598
6f038433
UD
235992011-05-25 Ulrich Drepper <drepper@gmail.com>
23600
23601 * po/ja.po: Update from translation team.
23602
67f86a25
UD
236032011-05-23 Ulrich Drepper <drepper@gmail.com>
23604
23605 [BZ #12795]
23606 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23607 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23608
def7fbd6
AS
236092011-05-20 Andreas Schwab <schwab@redhat.com>
23610
23611 * stdlib/longlong.h: Update from GCC.
23612
f50ef8f1
AS
236132011-05-23 Andreas Schwab <schwab@redhat.com>
23614
23615 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23616 parameter name.
23617 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23618 Add parameter name.
23619 (__sysconf): Pass it down.
23620
de7ce8f1
UD
236212011-05-22 Ulrich Drepper <drepper@gmail.com>
23622
f2962a71
UD
23623 [BZ #12671]
23624 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23625 some situations.
23626 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23627 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23628 add in in __libc_use_alloca calls. Adjust callers.
23629 (glob): Use malloc in some situations.
23630
de7ce8f1
UD
23631 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23632 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23633 pltexit.
23634
aec84f53
UD
236352011-05-21 Ulrich Drepper <drepper@gmail.com>
23636
05bb4a68
UD
23637 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23638 and CLOCK_BOOTTIME_ALARM.
23639
7ea72f99
UD
23640 [BZ #12782]
23641 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23642 is returned.
23643
7e4afad5
UD
23644 * string/_strerror.c (__strerror_r): Print negative errors as signed
23645 numbers.
23646
8e211fec
UD
23647 [BZ #12777]
23648 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23649 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23650 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23651
f7d82dc9
UD
23652 * configure.in: Fix typo in redirection and correct removal of test
23653 files in two cases.
23654
cc9e536d
UD
23655 [BZ #12788]
23656 * locale/setlocale.c (new_composite_name): Fix test to check for
23657 identical name of all categories.
23658
aec84f53
UD
23659 [BZ #12792]
23660 * libio/filedoalloc.c (local_isatty): New function.
23661 (_IO_file_doallocate): Use local_isatty.
23662 * stdio-common/perror.c (perror): In case a new stream is used
23663 forward the stream error.
23664 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23665 error flag.
23666
78e64fdc
RT
236672011-05-20 Ulrich Drepper <drepper@gmail.com>
23668
34a9094f
UD
23669 [BZ #11869]
23670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23671 alloca.
23672 * include/alloca.h (extend_alloca_account): Define.
23673
78e64fdc
RT
23674 [BZ #11857]
23675 * posix/regex.h: Fix comments with documentation of user-accessible
23676 fields after compilation and describe correct free'ing of pattern
23677 after re_compile_pattern.
23678 Patch by Reuben Thomas <rrt@sc3d.org>.
23679
457bddfc
RA
236802011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23681
23682 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23683 and -mno-altivec to prevent the compiler from using Altivec and/or
23684 VSX instructions when the corresponding registers are not available.
23685
a4527b51
AS
236862011-05-19 Andreas Schwab <schwab@redhat.com>
23687
23688 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23689
ed690b2f
UD
236902011-05-19 Ulrich Drepper <drepper@gmail.com>
23691
23692 * libio/freopen.c (freopen): Use __dup2, not dup2.
23693 * libio/freopen64.c (freopen64): Likewise.
23694
8db73634
L
236952011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23696
23697 [BZ #12775]
23698 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23699 * math/Makefile (tests): Add test-powl.
23700 (CFLAGS-test-powl.c): Define.
23701 * math/test-powl.c: New file.
23702
0a197a9d
L
237032011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23704
23705 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23706
ee30c380
UD
237072011-05-17 Ulrich Drepper <drepper@gmail.com>
23708
23709 [BZ #11837]
23710 * iconvdata/gb18030.c: Update to GB18020-2005.
23711
6ce75379
UD
237122011-05-16 Ulrich Drepper <drepper@gmail.com>
23713
a4b89fd8
AR
23714 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23715 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23716 Patch by Aharon Robbins <arnold@skeeve.com>.
23717
ea389b12
UD
23718 [BZ #11892]
23719 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23720 on the stack.
23721
68a3f91f
UD
23722 [BZ #11895]
23723 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23724 through underflows.
23725
15cc7dd1
UD
23726 [BZ #12766]
23727 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23728 point to strings before performing equality test for error_one_per_line
23729 mode.
23730
f3799213
UD
23731 [BZ #11697]
23732 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23733
d79a9c94
UD
23734 [BZ #11820]
23735 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23736 (struct user_fpregs_struct): Avoid __uint*_t types.
23737
56e5eb46
UD
23738 [BZ #6420]
23739 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23740 symbol info. Use it instead of calling _dl_addr locally.
23741 (lock_and_info): New function.
23742 (tr_freehook): Call lock_and_info and pass symbol info as additional
23743 parameter to tr_where.
23744 (tr_mallochook): Likewise.
23745 (tr_reallochook): Likewise.
23746 (tr_memalignhook): Likewise.
23747
6ce75379
UD
23748 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23749 used and couldn't be at all thread-safe.
23750
f8a3b5bf
UD
237512011-05-15 Ulrich Drepper <drepper@gmail.com>
23752
94b7cc37
UD
23753 * libio/freopen.c (freopen): Don't close old file descriptor
23754 before the new one is opened. Instead dup the new file descriptor
23755 to the old one after the new stream is created.
23756 * libio/freopen64.c (freopen64): Likewise.
23757 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23758 * libio/fileops.c (_IO_new_file_close_it): Handle new
23759 _IO_FLAGS2_NOCLOSE flag.
23760 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23761 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23762 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23763 _IO_FLAGS2_NOCLOSE flag.
23764 * include/unistd.h: Add hidden_proto for dup3.
23765 Define __have_dup3.
23766 * io/dup3.c: Define hidden symbol.
23767 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23768
bd25564e
UD
23769 [BZ #7101]
23770 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23771 when an incomplete long option is used.
23772 * posix/tst-getopt_long1.c: New file.
23773 * posix/Makefile (tests): Add tst-getopt_long1.
23774
c84cfef4
UD
23775 [BZ #10138]
23776 * scripts/config.guess: Update from autoconf-2.68.
23777 * scripts/config.sub: Likewise.
23778
3b85df27
UD
23779 [BZ #10157]
23780 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23781 tests into ...
23782 (has_cpuclock): ...this. New function.
23783 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23784 macro here based on has_cpuclock code.
23785
15a856b1
UD
23786 [BZ #10149]
23787 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23788 First byte (not low byte) is now always NUL.
23789 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23790
05f399e6
UD
23791 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23792 Use non-cancelable interfaces.
23793
10a52685 23794 [BZ #9809]
94ecc67d
UD
23795 * locale/iso-639.def: Add entry for Sorani.
23796
f8a3b5bf
UD
23797 [BZ #11901]
23798 * include/stdlib.h: Move include protection to the right place.
23799 Define abort_msg_s. Declare __abort_msg with it.
23800 * stdlib/abort.c (__abort_msg): Adjust type.
23801 * assert/assert.c (__assert_fail_base): New function. Majority
23802 of code from __assert_fail. Allocate memory for __abort_msg with
23803 mmap.
23804 (__assert_fail): Now call __assert_fail_base.
23805 * assert/assert-perr.c: Remove bulk of implementation. Use
23806 __assert_fail_base.
23807 * include/assert.hL Declare __assert_fail_base.
23808 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23809 mmap.
23810 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23811
1af4e298
UD
238122011-05-14 Ulrich Drepper <drepper@gmail.com>
23813
f8a3b5bf 23814 [BZ #11952]
d26dfc60
MG
23815 [BZ #12453]
23816 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23817 until all modules are registered in the DTV.
23818 * elf/Makefile: Add rules to build and run tst-tls19.
23819 * elf/tst-tls19.c: New file.
23820 * elf/tst-tls19mod1.c: New file.
23821 * elf/tst-tls19mod2.c: New file.
23822 * elf/tst-tls19mod3.c: New file.
23823 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23824
2fc54d6f
UD
23825 [BZ #12083]
23826 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23827 correctly.
23828
98d76b46
UD
23829 [BZ #12601]
23830 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23831 two-byte sequence errors.
23832 * iconvdata/Makefile (tests): Add bug-iconv8.
23833 * iconvdata/bug-iconv8.c: New file.
23834
da3c19ef
UD
23835 [BZ #12626]
23836 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23837 buf2 definition.
23838
ca408c15
UD
23839 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23840
d6f67f7d
UD
23841 [BZ #12432]
23842 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23843 (dummy_getcfa): New function.
23844 (init): Get _Unwind_GetCFA address, use dummy if not found.
23845 (backtrace_helper): In recursion check, also check whether CFA changes.
23846 (__backtrace): Completely initialize arg.
23847
1af4e298 23848 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
23849 storing incomplete byte sequence in state object. Avoid testing for
23850 guaranteed too small input if we know there is enough data available.
1af4e298 23851
da62f81b
AS
238522011-05-11 Andreas Schwab <schwab@redhat.com>
23853
23854 * Makeconfig (+link-pie): Indent.
23855 * Rules (binaries-pie): Define if $(have-fpie) and
23856 $(build-shared).
23857 (binaries-shared): Also filter out $(binaries-pie).
23858 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23859 * nscd/Makefile (others-pie): Add nscd.
23860 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23861 ($(objpfx)nscd): Remove command override.
23862 * login/Makefile (others-pie): Add pt_chown.
23863 ($(objpfx)pt_chown): Remove command override.
23864 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23865 remove command overrides.
23866
fcabc0f8
UD
238672011-05-13 Ulrich Drepper <drepper@gmail.com>
23868
20030ae6
UD
23869 * libio/tst_putwc.c: Fix error messages.
23870
fcabc0f8
UD
23871 [BZ #12724]
23872 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23873 currently writing and seek to current position when not.
23874 * libio/Makefile (tests): Add bug-fclose1.
23875 * libio/bug-fclose1.c: New file.
23876
320a5dc0
PB
238772011-05-12 Ulrich Drepper <drepper@gmail.com>
23878
23879 [BZ #12511]
23880 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23881 don't set DF_1_NODELETE here.
23882 (do_lookup_x): When entering new entry test for copy relocation
23883 and if necessary set DF_1_NODELETE flag.
23884 * elf/tst-unique4.cc: New file.
23885 * elf/tst-unique4.h: New file.
23886 * elf/tst-unique4lib.cc: New file.
23887 * elf/Makefile: Add rules to build and run tst-unique4.
23888 Patch by Piotr Bury <pbury@goahead.com>.
23889
22836f52
UD
238902011-05-11 Ulrich Drepper <drepper@gmail.com>
23891
f574184a
UD
23892 [BZ #12052]
23893 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23894
e1fb097f
UD
23895 [BZ #12625]
23896 * misc/mntent_r.c (addmntent): Flush the stream after the output
23897
22836f52
UD
23898 [BZ #12393]
23899 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23900 (is_trusted_path_normalize): Skip initial colon. Append slash
23901 to empty buffer. Duplicate is_trusted_path code but allow
23902 constructed patch to be prefix.
23903 (is_dst): Allow $ORIGIN followed by /.
23904 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23905 Correct testing of result of is_trusted_path_normalize
23906 (decompose_rpath): Fix warning.
23907
7b3b0b2a
UD
239082011-05-10 Ulrich Drepper <drepper@gmail.com>
23909
23910 [BZ #11257]
23911 * grp/initgroups.c (internal_getgrouplist): When we found the service
23912 list through the initgroups entry in nsswitch.conf do not always
23913 continue on a successful lookup. Don't always use the
eac80ce2 23914 __nss_group_database value if it is set.
7b3b0b2a
UD
23915 * nss/nsswitch.conf (initgroups): Change action for successful db
23916 lookup to continue for compatibility.
23917
2a81eaa5
UD
239182011-05-09 Ulrich Drepper <drepper@gmail.com>
23919
be97a69e
UD
23920 [BZ #11532]
23921 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23922 and CP774 modules.
23923 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23924 and CP774 modules.
23925 * iconvdata/tst-tables.sh: Likewise.
23926 * iconvdata/cp770.c: New file.
23927 * iconvdata/cp771.c: New file.
23928 * iconvdata/cp772.c: New file.
23929 * iconvdata/cp773.c: New file.
23930 * iconvdata/cp774.c: New file.
23931 * iconvdata/testdata/CP770: New file.
23932 * iconvdata/testdata/CP770..UTF8: New file.
23933 * iconvdata/testdata/CP771: New file.
23934 * iconvdata/testdata/CP771..UTF8: New file.
23935 * iconvdata/testdata/CP772: New file.
23936 * iconvdata/testdata/CP772..UTF8: New file.
23937 * iconvdata/testdata/CP773: New file.
23938 * iconvdata/testdata/CP773..UTF8: New file.
23939 * iconvdata/testdata/CP774: New file.
23940 * iconvdata/testdata/CP774..UTF8: New file.
23941
23942 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23943 END CHARMAP line.
23944 * iconvdata/gen-8bit-gap.sh: Likewise.
23945 * iconvdata/gen-8bit.sh: Likewise.
23946
c1e9e399
UD
23947 * locale/iso-639.def: Add ary entry.
23948
24c55fb3 23949 [BZ #11258]
96b4b1b0
UD
23950 * locale/C-translit.h.in: Add U20A1 transliteration.
23951
bdc2f971
KB
23952 [BZ #12178]
23953 * locale/iso-639.def: Add wae entry.
23954 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23955
2952b117
UD
23956 [BZ #12545]
23957 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23958 for n.
23959
2a81eaa5
UD
23960 [BZ #12711]
23961 * locale/C-translit.h.in: Add entry for U20B9.
23962 Patch by pravin.d.s@gmail.com.
23963
28377d1b
UD
239642011-05-08 Ulrich Drepper <drepper@gmail.com>
23965
7fb90fb8
UD
23966 [BZ #12713]
23967 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23968 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
23969 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23970 in rtld. Use *stat64.
7fb90fb8 23971 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 23972 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 23973 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
23974 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23975 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23976 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23977 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23978 __fstatat64 macros.
7fb90fb8
UD
23979 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23980 * dirent/rewinddir.c: Add libc_hidden_def.
23981 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 23982 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 23983
28377d1b
UD
23984 * include/dirent.h (__alloc_dir): Add flags parameter.
23985 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23986 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23987 __alloc_dir.
23988 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23989 from fdopendir if O_CLOEXEC is already set.
23990
66bdbaa4
AM
239912011-03-15 Alan Modra <amodra@gmail.com>
23992
23993 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23994 l_tls_firstbyte_offset non-zero. Save padding offset in
23995 l_tls_firstbyte_offset for later use.
23996 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23997 freeing static tls block.
23998
95721191
JN
239992011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24000
24001 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24002 where #ifdef was intended. The intent is to prevent ARG_MAX from
24003 being defined by the kernel headers.
24004
f87dfb1f
UD
240052011-05-07 Ulrich Drepper <drepper@gmail.com>
24006
24007 [BZ #12734]
24008 * resolv/resolv.h: Define RES_NOTLDQUERY.
24009 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24010 no-tld-query and set RES_NOTLDQUERY.
24011 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24012 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24013 modern BIND to search name as TLD unless forbidden.
24014
47c3cd7a
UD
240152011-05-07 Petr Baudis <pasky@suse.cz>
24016 Ulrich Drepper <drepper@gmail.com>
24017
24018 [BZ #12393]
24019 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24020 (is_trusted_path): ...to here.
c1e9ea35 24021 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 24022 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 24023 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 24024
8a35c912
PP
240252011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24026
24027 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24028 __BEGIN/__END_DECLS.
24029
acd41f47
UD
240302011-05-06 Ulrich Drepper <drepper@gmail.com>
24031
24032 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24033 NSS_STATUS_NOTFOUND if no record was found.
24034
597df647
AS
240352011-05-05 Andreas Schwab <schwab@redhat.com>
24036
24037 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24038 (headers-not-in-tirpc): Remove rpc/netdb.h
24039 * resolv/netdb.h: Revert last change.
24040
b9af1301
PP
240412011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24042
24043 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24044 circular dependency between libgcc.a and libc.a.
24045
4e34d5f5
AS
240462011-05-05 Andreas Schwab <schwab@redhat.com>
24047
24048 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24049 * nis/Makefile: Don't install rpcsvc/*.
24050 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24051 instead of <rpc/types.h>.
24052 (MAXHOSTNAMELEN): Define.
24053
00ee369c
AS
240542011-05-03 Andreas Schwab <schwab@redhat.com>
24055
24056 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24057
0b592a30
MB
240582011-04-28 Maciej Babinski <mbabinski@google.com>
24059
24060 [BZ #12714]
24061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24062 gethostbyname4_r when IPv6 results are possible.
24063
6e04cbbe
UD
240642011-05-02 Ulrich Drepper <drepper@gmail.com>
24065
24066 [BZ #12723]
24067 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24068 _PC_PIPE_BUF handling.
24069
e4ecafe0
BH
240702011-04-30 Bruno Haible <bruno@clisp.org>
24071
24072 [BZ #12717]
24073 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24074 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24075 to 'int'.
24076 * inet/getnameinfo.c (getnameinfo): Likewise.
24077
125ee683
UD
240782011-04-29 Ulrich Drepper <drepper@gmail.com>
24079
24080 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24081 to groups setting in database lookup.
24082 * nss/nsswitch.conf: Add initgroups entry.
24083
b722481a
EB
240842011-04-22 Ulrich Drepper <drepper@gmail.com>
24085
24086 [BZ #12685]
24087 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24088 mode string.
24089 Patch by Eric Blake <eblake@redhat.com>.
24090
4df46dbd
L
240912011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24092
24093 * sunrpc/Makefile (need-export-routines): Add svc_run.
24094 (routines): Remove svc_run.
24095 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24096 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24097 * sunrpc/svc_run.c (svc_run): Likewise.
24098 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24099
e84142d2
UD
241002011-04-21 Ulrich Drepper <drepper@gmail.com>
24101
24102 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24103 problem in reallocation in last patch.
24104
877175d8
UD
241052011-04-20 Ulrich Drepper <drepper@gmail.com>
24106
24107 * sunrpc/Makefile: Move inclusion of Rules.
24108
ab8eed78
UD
241092011-04-19 Ulrich Drepper <drepper@gmail.com>
24110
24111 * nss/nss_files/files-initgroups.c: New file.
24112 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24113 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24114 _nss_files_initgroups_dyn.
24115
e3d8f584
RS
241162011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24117
24118 * elf/elf.h (R_ARM_IRELATIVE): Define.
24119
af190f45
UD
241202011-04-19 Ulrich Drepper <drepper@gmail.com>
24121
24122 * po/ru.po: Update from translation team.
24123
53cf59ef
UD
241242011-04-17 Ulrich Drepper <drepper@gmail.com>
24125
24126 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24127 dependencies.
24128
4c559bcd
MF
241292011-02-06 Mike Frysinger <vapier@gentoo.org>
24130
24131 [BZ #12653]
24132 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24133 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24134 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24135 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24136 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24137
4420675c
AS
241382011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24139
24140 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24141 differing bytes.
24142 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24143 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24144 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24145
75ea32ab
UD
241462011-04-17 Ulrich Drepper <drepper@gmail.com>
24147
24148 [BZ #12420]
24149 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24150 storing it.
24151 * stdlib/bug-getcontext.c: New file.
24152 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24153
27390476
AK
241542011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24155
24156 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24157 instructions into .machine "z9-109".
24158 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24159 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24160
10442705
AK
241612011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24162
24163 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24164 between environment variables and auxiliary vector.
24165
7b57bfe5
UD
241662011-04-16 Ulrich Drepper <drepper@gmail.com>
24167
24168 * Makefile: Add rules to build linkobj/libc.so.
24169 * include/libc-symbols.h: Define libc_hidden_nolink.
24170 * include/rpc/auth.h: Mark functions which are to be hidden.
24171 * include/rpc/auth_des.h: Likewise.
24172 * include/rpc/auth_unix.h: Likewise.
24173 * include/rpc/clnt.h: Likewise.
24174 * include/rpc/des_crypt.h: Likewise.
24175 * include/rpc/key_prot.h: Likewise.
24176 * include/rpc/pmap_clnt.h: Likewise.
24177 * include/rpc/pmap_prot.h: Likewise.
24178 * include/rpc/pmap_rmt.h: Likewise.
24179 * include/rpc/rpc_msg.h: Likewise.
24180 * include/rpc/svc.h: Likewise.
24181 * include/rpc/svc_auth.h: Likewise.
24182 * include/rpc/xdr.h: Likewise.
24183 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24184 * nss/Makefile: Likewise.
24185 * sunrpc/Makefile: Don't install headers. Build library with normal
24186 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24187 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24188 for the compat linking library. Remove use of INTDEF/INTUSE.
24189 * sunrpc/auth_none.c: Likewise.
24190 * sunrpc/auth_unix.c: Likewise.
24191 * sunrpc/authdes_prot.c: Likewise.
24192 * sunrpc/authuxprot.c: Likewise.
24193 * sunrpc/clnt_gen.c: Likewise.
24194 * sunrpc/clnt_perr.c: Likewise.
24195 * sunrpc/clnt_raw.c: Likewise.
24196 * sunrpc/clnt_simp.c: Likewise.
24197 * sunrpc/clnt_tcp.c: Likewise.
24198 * sunrpc/clnt_udp.c: Likewise.
24199 * sunrpc/clnt_unix.c: Likewise.
24200 * sunrpc/des_crypt.c: Likewise.
24201 * sunrpc/des_soft.c: Likewise.
24202 * sunrpc/get_myaddr.c: Likewise.
24203 * sunrpc/key_call.c: Likewise.
24204 * sunrpc/key_prot.c: Likewise.
24205 * sunrpc/netname.c: Likewise.
24206 * sunrpc/pm_getmaps.c: Likewise.
24207 * sunrpc/pm_getport.c: Likewise.
24208 * sunrpc/pmap_clnt.c: Likewise.
24209 * sunrpc/pmap_prot.c: Likewise.
24210 * sunrpc/pmap_prot2.c: Likewise.
24211 * sunrpc/pmap_rmt.c: Likewise.
24212 * sunrpc/publickey.c: Likewise.
24213 * sunrpc/rpc_cmsg.c: Likewise.
24214 * sunrpc/rpc_common.c: Likewise.
24215 * sunrpc/rpc_dtable.c: Likewise.
24216 * sunrpc/rpc_prot.c: Likewise.
24217 * sunrpc/rpc_thread.c: Likewise.
24218 * sunrpc/rtime.c: Likewise.
24219 * sunrpc/svc.c: Likewise.
24220 * sunrpc/svc_auth.c: Likewise.
24221 * sunrpc/svc_authux.c: Likewise.
24222 * sunrpc/svc_raw.c: Likewise.
24223 * sunrpc/svc_run.c: Likewise.
24224 * sunrpc/svc_simple.c: Likewise.
24225 * sunrpc/svc_tcp.c: Likewise.
24226 * sunrpc/svc_udp.c: Likewise.
24227 * sunrpc/svc_unix.c: Likewise.
24228 * sunrpc/svcauth_des.c: Likewise.
24229 * sunrpc/xcrypt.c: Likewise.
24230 * sunrpc/xdr.c: Likewise.
24231 * sunrpc/xdr_array.c: Likewise.
24232 * sunrpc/xdr_float.c: Likewise.
24233 * sunrpc/xdr_intXX_t.c: Likewise.
24234 * sunrpc/xdr_mem.c: Likewise.
24235 * sunrpc/xdr_rec.c: Likewise.
24236 * sunrpc/xdr_ref.c: Likewise.
24237 * sunrpc/xdr_sizeof.c: Likewise.
24238 * sunrpc/xdr_stdio.c: Likewise.
24239
e6c61494
UD
242402011-04-10 Ulrich Drepper <drepper@gmail.com>
24241
24242 [BZ #12650]
24243 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24244 * sysdeps/ia64/dl-tls.h: Likewise.
24245 * sysdeps/powerpc/dl-tls.h: Likewise.
24246 * sysdeps/s390/dl-tls.h: Likewise.
24247 * sysdeps/sh/dl-tls.h: Likewise.
24248 * sysdeps/sparc/dl-tls.h: Likewise.
24249 * sysdeps/x86_64/dl-tls.h: Likewise.
24250 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24251
34fe483e
AS
242522011-03-14 Andreas Schwab <schwab@redhat.com>
24253
24254 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24255 rpath element also skip the following colon.
24256 (expand_dynamic_string_token): Add is_path parameter and pass
24257 down to DL_DST_REQUIRED and _dl_dst_substitute.
24258 (decompose_rpath): Call expand_dynamic_string_token with
24259 non-zero is_path. Ignore empty rpaths.
24260 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24261 with zero is_path.
24262
f12a32e6
AS
242632011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24264
24265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24266 Make cancelable.
24267
38a7d692
UD
242682011-04-09 Ulrich Drepper <drepper@gmail.com>
24269
24270 [BZ #12655]
24271 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24272 Patch by Filipe David Manana <fdmanana@apache.org>.
24273
e451d22b
AS
242742011-04-07 Andreas Schwab <schwab@redhat.com>
24275
24276 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24277 Maintain aligned stack.
24278 (CHECK_RSP): Remove unused macro.
24279
dedc7c7b
UD
242802011-04-03 Ulrich Drepper <drepper@gmail.com>
24281
24282 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24283 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24284
94521213
UD
242852011-04-02 Ulrich Drepper <drepper@gmail.com>
24286
24287 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24288
8cb700c0 24289 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 24290
0354e355
L
242912011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24292
24293 [BZ #12518]
24294 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24295 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24296 * sysdeps/x86_64/memmove.c: New file.
24297 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24298 (memcpy): Renamed to ...
24299 (__new_memcpy): This.
24300 (memcpy): Provide GLIBC_2_14 memcpy.
24301 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24302 (memcpy): Provide GLIBC_2_2_5 memcpy.
24303
8593482f
UD
243042011-04-01 Ulrich Drepper <drepper@gmail.com>
24305
24306 [BZ #12631]
24307 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24308
81a5726b
AS
243092011-03-30 Andreas Schwab <schwab@redhat.com>
24310
24311 * misc/syncfs.c: New file.
24312 * misc/Makefile (routines): Add syncfs.
24313 * posix/unistd.h: Declare syncfs.
24314 * sysdeps/unix/syscalls.list: Add syncfs.
24315
00e5419f
AS
243162011-04-01 Andreas Schwab <schwab@redhat.com>
24317
24318 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24319 open_by_handle_at.
24320 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24321 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24322 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24323 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24324 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24325 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24326 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24327
748876bf
UD
243282011-04-01 Ulrich Drepper <drepper@gmail.com>
24329
658e451d
UD
24330 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24331 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24332 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24333 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24334 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24335 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24336 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24337
748876bf
UD
24338 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24339 sync_file_range.c with -fexceptions.
24340 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24341 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24342 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24343 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24344 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24345 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24346 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
24347 sync_file_range as cancellation point
24348 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24349 now a wrapper around __call_sync_file_range with cancellation handling.
24350 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24351 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24352 function name to __call_sync_file_range.
24353 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24354 Add call_sync_file_range.
748876bf 24355
6e63d5e1
AS
243562011-04-01 Andreas Schwab <schwab@redhat.com>
24357
24358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 24359 bits/timex.h.
6e63d5e1 24360
46998f74
UD
243612011-04-01 Ulrich Drepper <drepper@gmail.com>
24362
4c1423ed
UD
24363 * iconv/iconv.h: Fix typo in comment.
24364 * io/fcntl.h: Likewise.
24365 * libio/stdio.h: Likewise.
24366 * posix/spawn.h: Likewise.
24367 * posix/unistd.h: Likewise.
24368 * stdlib/stdlib.h: Likewise.
24369 * time/time.h: Likewise.
24370 * wcsmbs/wchar.h: Likewise.
24371
158648c0
UD
24372 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24373 open_by_handle): Add.
24374 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24375 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24376 Augment a few comments.
24377 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24378 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24379 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24380 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24381 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24382 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24383 open_by_handle.
24384
46998f74
UD
24385 * io/fcntl.h (AT_EMPTY_PATH): Define.
24386
83fe108b
UD
243872011-03-30 Ulrich Drepper <drepper@gmail.com>
24388
24389 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24390 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24391 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24392 to...
24393 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
24394 * Versions.def: Add GLIBC_2.14.
24395 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24396 Export.
83fe108b 24397
bb242059
UD
243982011-03-22 Ulrich Drepper <drepper@gmail.com>
24399
24400 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24401 round counter.
24402 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24403
c97a1282
L
244042011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24405
24406 [BZ #12597]
24407 * string/test-strncmp.c (do_page_test): New function.
24408 (check2): Likewise.
24409 (test_main): Call check2.
24410 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24411
2a115601
UD
244122011-03-20 Ulrich Drepper <drepper@gmail.com>
24413
24414 [BZ #12587]
24415 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24416 Handle cache information in CPU leaf 4.
24417 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24418
8126d904
UD
244192011-03-18 Ulrich Drepper <drepper@gmail.com>
24420
042c49c6 24421 [BZ #12583]
8126d904
UD
24422 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24423 character representation.
24424 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24425
ccfe366e
RA
244262011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24427
24428 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24429 END(__isnan) to END(__isnanf) to match function entry point/label
24430 EALIGN(__isnanf,...).
24431
c6e13027
JJ
244322011-03-10 Jakub Jelinek <jakub@redhat.com>
24433
24434 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24435
33f85a3f
UD
244362011-03-10 Ulrich Drepper <drepper@gmail.com>
24437
028478fa
UD
24438 [BZ #12510]
24439 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24440 copy from the symbol referenced in the relocation to initialize the
24441 used variable.
24442 Patch by Piotr Bury <pbury@goahead.com>.
24443 * elf/Makefile: Add rules to build and tst-unique3.
24444 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24445 * elf/tst-unique3.cc: New file.
24446 * elf/tst-unique3.h: New file.
24447 * elf/tst-unique3lib.cc: New file.
24448 * elf/tst-unique3lib2.cc: New file.
24449
33f85a3f
UD
24450 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24451
03592fc7
MF
244522011-03-10 Mike Frysinger <vapier@gentoo.org>
24453
24454 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24455 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24456 to _start.
03592fc7 24457
6a5ee102
UD
244582011-03-06 Ulrich Drepper <drepper@gmail.com>
24459
24460 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24461 to-be-loaded object along a path to loader is ld.so.
24462
7e4ba49c
HJ
244632011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24464 Ulrich Drepper <drepper@gmail.com>
24465
24466 * sysdeps/x86_64/memset.S: After aligning destination, code
24467 branches to different locations depending on the value of
24468 misalignment, when multiarch is enabled. Fix this.
24469
244702011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24471
24472 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24473 Set _x86_64_preferred_memory_instruction for AMD processsors.
24474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24475 Set bit_Prefer_SSE_for_memop for AMD processors.
24476
13a804de
UD
244772011-03-04 Ulrich Drepper <drepper@gmail.com>
24478
24479 * libio/fmemopen.c (fmemopen): Optimize a bit.
24480
9d25c392
AS
244812011-03-03 Andreas Schwab <schwab@redhat.com>
24482
24483 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24484
a5543c6a
RM
244852011-03-03 Roland McGrath <roland@redhat.com>
24486
24487 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24488
012d35f7
DM
244892011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24490
7e4ba49c 24491 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
24492 __bzero_ultra1 instead of __memset_ultra1.
24493
4bff6e01
AS
244942011-02-23 Andreas Schwab <schwab@redhat.com>
24495 Ulrich Drepper <drepper@gmail.com>
24496
24497 [BZ #12509]
24498 * include/link.h (struct link_map): Add l_orig_initfini.
24499 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24500 returning unsuccessfully.
24501 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24502 close of a file loaded at startup, restore the original l_initfini
24503 list.
24504 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24505 list, store the pointer.
24506 * elf/Makefile ($(objpfx)noload-mem): New rule.
24507 (noload-ENV): Define.
24508 (tests): Add $(objpfx)noload-mem.
24509 * elf/noload.c: Include <memcheck.h>.
24510 (main): Call mtrace. Close all opened handles.
24511
f2092faf
AS
245122011-02-17 Andreas Schwab <schwab@redhat.com>
24513
24514 [BZ #12454]
24515 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24516 dependencies are missing.
24517
6c8a2e88
ST
245182011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24519
f2092faf 24520 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
24521 Hurd needs munmap.
24522 * sysdeps/mach/hurd/ifreq.h: New file.
24523
84a42118
PB
245242011-01-27 Petr Baudis <pasky@suse.cz>
24525 Ulrich Drepper <drepper@gmail.com>
24526
071f805e 24527 [BZ 12445]#
84a42118
PB
24528 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24529 to extend_alloca().
24530 * stdio-common/bug23.c: New file.
24531 * stdio-common/Makefile (tests): Add bug23.
24532
e23fe25b
AS
245332010-09-28 Andreas Schwab <schwab@redhat.com>
24534 Ulrich Drepper <drepper@gmail.com>
24535
24536 [BZ #12489]
24537 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24538 before performing relro protection. At old place add assertion
24539 to make sure nothing changed.
24540
d3f02e10
NS
245412011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24542 Glauber de Oliveira Costa <glommer@gmail.com>
24543
24544 * elf/elf.h: Add new ARM TLS relocs.
24545
d55fd7a5
RA
245462011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24547
24548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24549 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24550 cast from r3.
24551 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24552 'tests' variable.
24553 * sysdeps/wordsize-64/tst-writev.c: New file.
24554
2206397e
RA
245552011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24556
24557 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24558 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24559 insns in _dl_start to prevent a TOC reference before relocs are
24560 resolved.
24561
e9433893
UD
245622011-02-15 Ulrich Drepper <drepper@gmail.com>
24563
24564 [BZ #12469]
24565 * Makeconfig: Remove RANLIB definition.
24566 * Makerules: Don't use RANLIB.
24567 * aclocal.m4: Remove ranlib test.
24568 * configure.in: No need to check for ranlib.
24569 * elf/rtld-Rules: Don't use RANLIB.
24570
f75286c6
ST
245712011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24572
8e31c82d
ST
24573 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24574 protection macro.
24575 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24576 inclusion protection macro.
24577
f75286c6
ST
24578 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24579 SIGRTMIN and SIGRTMAX and print information in that case only when
24580 SIGRTMIN is defined.
24581
c1d0e639
JJ
245822011-02-11 Jakub Jelinek <jakub@redhat.com>
24583
24584 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24585 arginfo fn returning -1.
24586
24587 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24588 and thousands string is zero terminated.
24589
edf9294e
AS
245902011-02-03 Andreas Schwab <schwab@redhat.com>
24591
24592 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24593 sysdeps/unix/sysv/linux/bits/socket.h.
24594
2b7e92df
ST
245952011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24596
edf9294e
AS
24597 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24598 (__CPU_COUNT): Remove old macros.
24599 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24600 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24601 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
24602 (__sched_cpualloc, __sched_cpufree): Add declarations.
24603
a4c7ea7b
UD
246042011-02-05 Ulrich Drepper <drepper@gmail.com>
24605
24606 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24607 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24608 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24609 (readdhstai): Return value of addhstaiX call.
24610 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24611 (addgrbyX): Return value returned by cache_addgr.
24612 (readdgrbyname): Return value returned by addgrbyX.
24613 (readdgrbygid): Likewise.
24614 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24615 (addpwbyX): Return value returned by cache_addpw.
24616 (readdpwbyname): Return value returned by addhstbyX.
24617 (readdpwbyuid): Likewise.
24618 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24619 (addservbyX): Return value returned by cache_addserv.
24620 (readdservbyname): Return value returned by addservbyX:
24621 (readdservbyport): Likewise.
24622 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24623 (addhstbyX): Return value returned by cache_addhst.
24624 (readdhstbyname): Return value returned by addhstbyX.
24625 (readdhstbyaddr): Likewise.
24626 (readdhstbynamev6): Likewise.
24627 (readdhstbyaddrv6): Likewise.
24628 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24629 (readdinitgroups): Return value returned by addinitgroupsX.
24630 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24631 (prune_cache): Keep track of timeout value of re-added entries.
24632 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24633 * nscd/nscd.h: Adjust prototypes of readd* functions.
24634
a0bf67cc
RM
246352011-02-04 Roland McGrath <roland@redhat.com>
24636
24637 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24638 (nis_stats): Likewise.
24639 * nis/nis_modify.c (nis_modify): Likewise.
24640 * nis/nis_remove.c (nis_remove): Likewise.
24641 * nis/nis_add.c (nis_add): Likewise.
24642
24643 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24644
24645 * posix/fnmatch_loop.c: Add some consts.
24646
24647 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24648
435b95eb
L
246492011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24650
24651 [BZ #12460]
24652 * config.make.in (config-cflags-novzeroupper): Define.
24653 * configure.in: Substitute libc_cv_cc_novzeroupper.
24654 * elf/Makefile (AVX-CFLAGS): Define.
24655 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24656 (CFLAGS-tst-auditmod4a.c): Likewise.
24657 (CFLAGS-tst-auditmod4b.c): Likewise.
24658 (CFLAGS-tst-auditmod6b.c): Likewise.
24659 (CFLAGS-tst-auditmod6c.c): Likewise.
24660 (CFLAGS-tst-auditmod7b.c): Likewise.
24661 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24662
8517b15e
UD
246632011-02-02 Ulrich Drepper <drepper@gmail.com>
24664
24665 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24666 function to the callback.
24667 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24668
10a656fe
AS
246692011-02-02 Andreas Schwab <schwab@redhat.com>
24670
24671 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24672 of errno.
24673
968dad0a
UD
246742011-01-19 Ulrich Drepper <drepper@gmail.com>
24675
9f94d2ea 24676 [BZ #11724]
968dad0a
UD
24677 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24678 of constructors.
24679 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24680 of destructors.
24681 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24682
24683 [BZ #11724]
24684 * elf/Makefile: Add rules to build and run new test.
24685 * elf/tst-initorder.c: New file.
24686 * elf/tst-initorder.exp: New file.
24687 * elf/tst-initordera1.c: New file.
24688 * elf/tst-initordera2.c: New file.
24689 * elf/tst-initordera3.c: New file.
24690 * elf/tst-initordera4.c: New file.
24691 * elf/tst-initorderb1.c: New file.
24692 * elf/tst-initorderb2.c: New file.
24693 * elf/tst-order-a1.c: New file.
24694 * elf/tst-order-a2.c: New file.
24695 * elf/tst-order-a3.c: New file.
24696 * elf/tst-order-a4.c: New file.
24697 * elf/tst-order-b1.c: New file.
24698 * elf/tst-order-b2.c: New file.
24699 * elf/tst-order-main.c: New file.
24700 New test case by George Gensure <werkt0@gmail.com>.
24701
86e92359
UD
247022010-10-01 Andreas Schwab <schwab@redhat.com>
24703
24704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24705 decoding ACE if AI_CANONIDN.
24706
5d5732b0
UD
247072011-01-18 Ulrich Drepper <drepper@gmail.com>
24708
24709 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24710
a77e8cbc
UD
247112011-01-17 Ulrich Drepper <drepper@gmail.com>
24712
6392473f
UD
24713 * version.h (RELEASE): Bump for 2.13 release.
24714 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24715
620a0529
UD
24716 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24717
18ba70a5
UD
24718 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24719 MADV_NOHUGEPAGE.
32465c3e
UD
24720 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24721 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24722 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24723 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24724 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24725 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24726
c0dafcf1
UD
24727 * posix/getconf.c: Update copyright year.
24728 * catgets/gencat.c: Likewise.
24729 * csu/version.c: Likewise.
24730 * debug/catchsegv.sh: Likewise.
24731 * debug/xtrace.sh: Likewise.
24732 * elf/ldconfig.c: Likewise.
24733 * elf/ldd.bash.in: Likewise.
24734 * elf/sprof.c (print_version): Likewise.
24735 * iconv/iconv_prog.c: Likewise.
24736 * iconv/iconvconfig.c: Likewise.
24737 * locale/programs/locale.c: Likewise.
24738 * locale/programs/localedef.c: Likewise.
24739 * malloc/memusage.sh: Likewise.
24740 * malloc/mtrace.pl: Likewise.
24741 * nscd/nscd.c (print_version): Likewise.
24742 * nss/getent.c: Likewise.
24743
a77e8cbc
UD
24744 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24745 PF_CAIF, and PF_ALG.
24746 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24747
77e8bddf
AS
247482011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24749
1f20b93a
AS
24750 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24751 (modules-names): Use them.
24752 (ifunc-test-modules, ifunc-pie-tests): Define.
24753 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24754 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24755 (test-extras): Likewise.
24756 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24757 $(compile-command.c).
24758 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24759 (all-built-dso): Define.
24760 (check-textrel.out, check-execstack.out): Depend on it.
24761
77e8bddf
AS
24762 * configure.in: Don't override --enable-multi-arch.
24763
bc425b33
UD
247642011-01-15 Ulrich Drepper <drepper@gmail.com>
24765
24766 [BZ #6812]
24767 * nscd/hstcache.c (tryagain): Define.
24768 (cache_addhst): Return tryagain not notfound for temporary errors.
24769 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24770 failed.
24771
794c3ad3
UD
247722011-01-14 Ulrich Drepper <drepper@gmail.com>
24773
70181fdd
UD
24774 [BZ #10563]
24775 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24776 to make the syscall.
24777 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24778
794c3ad3
UD
24779 [BZ #12378]
24780 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24781 and fall back to matching as normal character if the string ends before
24782 the matching ']' is found. This is what POSIX requires.
24783 * posix/testfnm.c: Adjust test result.
24784 * posix/globtest.sh: Adjust test result. Add new test.
24785 * posix/tst-fnmatch.input: Likewise.
24786 * posix/tst-fnmatch2.c: Add new test.
24787
68dc9497
AS
247882010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24789
24790 * elf/Makefile (check-execstack): Revert last change. Depend on
24791 check-execstack.h.
24792 (check-execstack.h): New target.
24793 (generated): Add check-execstack.h.
24794 * elf/check-execstack.c: Include "check-execstack.h".
24795 (main): Revert last change.
24796 (handle_file): Return zero if GNU_STACK is absent and
24797 DEFAULT_STACK_PERMS doesn't include PF_X.
24798
451f001b
UD
247992011-01-13 Ulrich Drepper <drepper@gmail.com>
24800
cfa28e56
UD
24801 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24802 in child fails because the descriptor is already closed.
8cf8ce17
UD
24803 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24804 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24805 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 24806
1086d70d
UD
24807 [BZ #12397]
24808 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24809 syscall.
24810
451f001b
UD
24811 [BZ #10484]
24812 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24813 temporary buffer used to handle multi lookups locally.
a85b5cb4 24814 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 24815
08769175
UD
248162011-01-12 Ulrich Drepper <drepper@gmail.com>
24817
24818 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24819 loader is ld.so.
24820
5e49c52e
UD
248212011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24822
24823 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24824 alignment for SSE2.
24825
60522a5f
UD
248262011-01-12 Ulrich Drepper <drepper@gmail.com>
24827
24828 [BZ #12394]
24829 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24830 characters. When rounding increased number of integer digits recompute
24831 number of groups.
24832 * stdio-common/tst-grouping.c: New file.
24833 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24834
f257bbd7
UD
248352011-01-09 Ulrich Drepper <drepper@gmail.com>
24836
24837 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24838 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24839
24840 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24841 void.
24842 * bits/select.h: Likewise.
24843
fa9c15cb
UD
248442011-01-08 Ulrich Drepper <drepper@gmail.com>
24845
24846 * po/ja.po: Update from translation team.
24847
16c2895f
DM
248482011-01-04 David S. Miller <davem@sunset.davemloft.net>
24849
24850 [BZ #11155]
24851 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24852 implementation just like for lxstat, fxstatat, et al.
24853
2543fef2
JM
248542010-12-27 Jim Meyering <meyering@redhat.com>
24855
24856 [BZ #12348]
24857 * posix/regexec.c (build_trtable): Return failure indication upon
24858 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24859
98727dbe
UD
248602010-12-25 Ulrich Drepper <drepper@gmail.com>
24861
5bd6dc5c
UD
24862 [BZ #12201]
24863 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24864 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24865 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24866 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24867
97983464
UD
24868 [BZ #12207]
24869 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24870
98727dbe
UD
24871 [BZ #12204]
24872 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24873 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24874
4a531bb0
L
248752010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24876
24877 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24878 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24879 script has SORT_BY_INIT_PRIORITY.
24880 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24881 NO_CTORS_DTORS_SECTIONS is defined.
24882 * elf/soinit.c: Likewise.
24883 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24884 NO_CTORS_DTORS_SECTIONS is defined.
24885 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24886 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24887 * sysdeps/sh/init-first.c: Likewise.
24888 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24889
07eb4b71
UD
248902010-12-24 Ulrich Drepper <drepper@gmail.com>
24891
24892 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24893 always use the slow path.
24894
30950a5f
RA
248952010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24896
24897 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24898 similar rule which adds the sysdep directories to the header search in
24899 order to pick up the correct platform stackinfo.h.
24900 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24901 perform test if it is, otherwise return successfully without testing.
24902 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24903 DEFAULT_STACK_PERMS define in stackinfo.h.
24904 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24905 defined in stackinfo.h.
24906 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24907 DEFAULT_STACK_PERMS defined in stackinfo.h.
24908 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24909 * sysdeps/ia64/stackinfo.h: Likewise.
24910 * sysdeps/s390/stackinfo.h: Likewise.
24911 * sysdeps/sh/stackinfo.h: Likewise.
24912 * sysdeps/sparc/stackinfo.h: Likewise.
24913 * sysdeps/x86_64/stackinfo.h: Likewise.
24914 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24915 PF_X for powerpc64. Retain PF_X for powerpc32.
24916
db753e2c
UD
249172010-12-19 Ulrich Drepper <drepper@gmail.com>
24918
14b697f7
UD
24919 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24920 accurately.
db753e2c
UD
24921 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24922 GETDENTS_64BIT_ALIGNED.
24923
28300719
UD
249242010-12-14 Ulrich Drepper <dreper@gmail.com>
24925
14b697f7 24926 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 24927
4f197237
AS
249282010-12-10 Andreas Schwab <schwab@redhat.com>
24929
dbb0472f
AS
24930 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24931 _GNU_SOURCE.
24932
4f197237
AS
24933 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24934 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24935 Remove __restrict.
24936 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24937 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24938
fb88ac72
UD
249392010-12-09 Ulrich Drepper <drepper@gmail.com>
24940
24941 [BZ #11655]
24942 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24943 are initialized.
24944
42acbb92
JJ
249452010-12-09 Jakub Jelinek <jakub@redhat.com>
24946
24947 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24948
c038d98d
UD
249492010-12-03 Ulrich Drepper <drepper@gmail.com>
24950
24951 * po/it.po: Update from translation team.
24952
3a4a2499
L
249532010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24954
24955 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24956 unused codes.
24957
1e24cf6e
UD
249582010-11-30 Ulrich Drepper <drepper@gmail.com>
24959
24960 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24961
a7690819
AS
249622010-11-24 Andreas Schwab <schwab@redhat.com>
24963
24964 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24965 specially.
24966 (gaih_getanswer_slice): Likewise.
24967
3bf8d1b1
JJ
249682010-10-20 Jakub Jelinek <jakub@redhat.com>
24969
24970 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24971
6db52fbb
PB
249722010-05-31 Petr Baudis <pasky@suse.cz>
24973
24974 [BZ #11149]
24975 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24976 silently even in the chroot mode.
24977
eaca7569
UD
249782010-11-22 Ulrich Drepper <drepper@gmail.com>
24979
24980 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24981 last patch a bit. Pretty printing
24982
3056dcdb
UD
249832010-05-31 Petr Baudis <pasky@suse.cz>
24984
24985 [BZ #10085]
24986 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24987 initialization of skip_initgroups_dyn.
24988
cf7c9078
UD
249892010-11-19 Ulrich Drepper <drepper@gmail.com>
24990
24991 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24992 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24993
a1fb5e3e
UD
249942010-11-16 Ulrich Drepper <drepper@gmail.com>
24995
24996 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24997
3540d66b
AS
249982010-11-11 Andreas Schwab <schwab@redhat.com>
24999
25000 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25001 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25002 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25003 ($(objpfx)tst-fnmatch-mem): New rule.
25004 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25005 * posix/tst-fnmatch.c (main): Call mtrace.
25006
13b69574
L
250072010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25008
25009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25010 Support Intel processor model 6 and model 0x2c.
25011
da93d214
LM
250122010-11-10 Luis Machado <luisgpm@br.ibm.com>
25013
25014 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25015 signed comparison.
25016
8ca52c6e
L
250172010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25018
25019 [BZ #12205]
25020 * string/test-strncasecmp.c (check_result): New function.
25021 (do_one_test): Use it.
25022 (check1): New function.
25023 (test_main): Use it.
25024 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25025 Support strcasecmp and strncasecmp.
25026
69da074d
UD
250272010-11-08 Ulrich Drepper <drepper@gmail.com>
25028
25029 [BZ #12194]
25030 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25031 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25032
ff02d528
L
250332010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25034
25035 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25036 IFUNC support.
25037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25038 memset-x86-64.
25039 * sysdeps/x86_64/multiarch/bzero.S: New file.
25040 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25041 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25042 * sysdeps/x86_64/multiarch/memset.S: New file.
25043 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25045 Set bit_Prefer_SSE_for_memop for Intel processors.
25046 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25047 Define.
25048 (index_Prefer_SSE_for_memop): Define.
25049 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25050
344d0b54
LM
250512010-11-04 Luis Machado <luisgpm@br.ibm.com>
25052
25053 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25054 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25055
c0dde15b
UD
250562010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25057
25058 [BZ #12191]
25059 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25060 (__x86_64_raw_data_cache_size_half): Likewise.
25061 (__x86_64_raw_shared_cache_size): Likewise.
25062 (__x86_64_raw_shared_cache_size_half): Likewise.
25063
25064 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25065 (__x86_64_raw_data_cache_size_half): Likewise.
25066 (__x86_64_raw_shared_cache_size): Likewise.
25067 (__x86_64_raw_shared_cache_size_half): Likewise.
25068 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25069 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25070 and __x86_64_raw_shared_cache_size_half. Round
25071 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25072 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25073 to multiple of 256 bytes.
25074
0e516e0e
MS
250752010-11-03 Ulrich Drepper <drepper@gmail.com>
25076
25077 [BZ #12167]
25078 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25079 of inacessible symlinks. Verify result of symlink before returning it.
25080 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25081 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25082
0e012e87
ER
250832010-10-28 Erich Ritz <erichritz@gmail.com>
25084
25085 * math/math.h (isinf): Fix typo in comment.
25086
de0ff7bc
UD
250872010-11-01 Ulrich Drepper <drepper@gmail.com>
25088
25089 * po/da.po: Update from translation team.
25090
fa41c84d
UD
250912010-10-26 Ulrich Drepper <drepper@gmail.com>
25092
25093 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25094 is added to the list.
25095
f0967738
AK
250962010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25097 Ulrich Drepper <drepper@gmail.com>
25098
25099 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25100 the global list here. Move code to...
25101 (_dl_add_to_namespace_list): ...here. New function.
25102 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25103 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25104 * elf/dl-load.c (lose): Don't remove the element from the list.
25105 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25106 (_dl_map_object): Likewise.
25107
251082010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
25109
25110 [BZ #12159]
25111 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25112 into all bytes of SSE register.
25113 Patch by Richard Li <richardpku@gmail.com>.
25114
f0967738 251152010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
25116
25117 [BZ #12140]
25118 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25119 perturbing.
25120
d0b9e94f
MB
251212010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25122
25123 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25124 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25125 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25126 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25128 submachine.
25129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25130
8e9f92e9
AS
251312010-10-22 Andreas Schwab <schwab@redhat.com>
25132
25133 * include/dlfcn.h (__RTLD_SECURE): Define.
25134 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25135 mode & __RTLD_SECURE instead.
25136 (open_path): Rename preloaded parameter to secure.
25137 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25138 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25139 * elf/dl-deps.c (openaux): Likewise.
25140 * elf/rtld.c (struct map_args): Remove is_preloaded.
25141 (map_doit): Don't use it.
25142 (dl_main): Likewise.
25143 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25144 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25145
bc96fbda
AS
251462010-09-09 Andreas Schwab <schwab@redhat.com>
25147
25148 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25149 (sysd-rules-targets): Remove duplicates.
25150 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25151 rtld-%.$o dependency.
25152
22cd1c9b
AS
251532010-10-18 Andreas Schwab <schwab@redhat.com>
25154
25155 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25156 _dl_map_object do it.
25157
18edac48
UD
251582010-10-19 Ulrich Drepper <drepper@gmail.com>
25159
25160 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25161 fast fma builtins, define the macros in the C99 standard.
25162 (FP_FAST_FMAF): Likewise.
25163 (FP_FAST_FMAL): Likewise.
25164 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25165
25166 * bits/mathdef.h: Update copyright year.
25167 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25168
d2050124
MM
251692010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25170
25171 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25172 builtins, define the macros in the C99 standard.
25173 (FP_FAST_FMAF): Likewise.
25174 (FP_FAST_FMAL): Likewise.
25175 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25176 multiply/add.
25177 (FP_FAST_FMAF): Likewise.
25178
475facd1
JJ
251792010-10-15 Jakub Jelinek <jakub@redhat.com>
25180
25181 [BZ #3268]
25182 * math/libm-test.inc (fma_test): Some new testcases.
25183 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25184 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25185 y and infinite z. Do multiplication by C already in long double.
25186 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25187 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25188 y and infinite z. Do bitwise or of inexact bit into u.d.
25189 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25190 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25191 * sysdeps/i386/fpu/s_fma.S: Removed.
25192 * sysdeps/i386/fpu/s_fmal.S: Removed.
25193
7c08a05c
JJ
251942010-10-16 Jakub Jelinek <jakub@redhat.com>
25195
25196 [BZ #3268]
25197 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25198 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25199 computation is not scheduled after fetestexcept. Fix value
25200 of minimum denormal long double.
25201
f3f7372d
JJ
252022010-10-14 Jakub Jelinek <jakub@redhat.com>
25203
25204 [BZ #3268]
25205 * math/libm-test.inc (fma_test): Add some more tests.
25206 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25207 correctly.
25208
14d43591
AS
252092010-10-15 Andreas Schwab <schwab@redhat.com>
25210
25211 * scripts/data/localplt-s390-linux-gnu.data: New file.
25212 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25213
5e908464
JJ
252142010-10-13 Jakub Jelinek <jakub@redhat.com>
25215
25216 [BZ #3268]
25217 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25218 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25219 instead of dbl-64.
25220 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25221 inlines.
25222 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25223 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25224 if one of x and y is very large and the other is subnormal.
25225 * sysdeps/s390/fpu/s_fmaf.c: New file.
25226 * sysdeps/s390/fpu/s_fma.c: New file.
25227 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25228 * sysdeps/powerpc/fpu/s_fma.S: New file.
25229 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25230 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25231 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25232
252332010-10-12 Jakub Jelinek <jakub@redhat.com>
25234
25235 [BZ #3268]
25236 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25237 fma tests.
25238 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25239 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25240 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25241 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25242 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25243 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25244 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25245
b833d51f
UD
252462010-10-12 Ulrich Drepper <drepper@redhat.com>
25247
25248 [BZ #12078]
25249 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25250 * posix/bug-regex31.input: Add test case.
25251
1751705d
UD
252522010-10-11 Ulrich Drepper <drepper@gmail.com>
25253
e9b9cbf5
UD
25254 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25255 * posix/bug-regex31.input: New file.
25256
25257 [BZ #12078]
25258 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25259 (parse_sub_exp): Fix last change, use postorder.
25260
ef06edbe
UD
25261 * posix/bug-regex31.c: New file.
25262 * posix/Makefile: Add rules to build and run bug-regex31.
25263
a129c80d
UD
25264 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25265
25266 [BZ #12078]
25267 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25268
b76b818e
UD
25269 [BZ #12108]
25270 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25271 to have entries in sys_siglist.
25272
1751705d
UD
25273 [BZ #12093]
25274 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25275 be NULL.
25276
9ff8d36f
JJ
252772010-10-07 Jakub Jelinek <jakub@redhat.com>
25278
25279 [BZ #3268]
25280 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25281 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25282 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25283 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25284 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25285 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25286 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25287 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25288 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25289 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25290 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25291 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25292 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25293 * math/ftestexcept.c (fetestexcept): Likewise.
25294 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25295 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25296 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25297 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25298 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25299 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25300 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25301
af325969
UD
253022010-10-11 Ulrich Drepper <drepper@gmail.com>
25303
c579b202 25304 [BZ #12107]
af325969
UD
25305 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25306 newline.
25307
67a67b95
UD
253082010-10-06 Ulrich Drepper <drepper@gmail.com>
25309
25310 * string/bug-strstr1.c: New file.
25311 * string/Makefile: Add rules to build and run bug-strstr1.
25312
5fb308bc
EB
253132010-10-05 Eric Blake <eblake@redhat.com>
25314
25315 [BZ #12092]
25316 * string/str-two-way.h (two_way_long_needle): Always clear memory
25317 when skipping input due to the shift table.
25318
45db99c7
UD
253192010-10-03 Ulrich Drepper <drepper@gmail.com>
25320
3b111893
UD
25321 [BZ #12005]
25322 * malloc/mcheck.c: Handle large requests.
25323
45db99c7
UD
25324 [BZ #12077]
25325 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25326 for strncmp and strncasecmp.
25327 * string/stratcliff.c: Add tests for strcmp and strncmp.
25328 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25329
cf7a1eb8
NI
253302010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25331
25332 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25333 __set_fpscr.
25334
6484ba5e
AJ
253352010-09-30 Andreas Jaeger <aj@suse.de>
25336
25337 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25338 (CGROUP_SUPER_MAGIC): Define.
25339 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25340 Handle btrfs and cgroup file systems.
25341 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25342 Likewise.
25343
91c42559
LM
253442010-09-27 Luis Machado <luisgpm@br.ibm.com>
25345
25346 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25347 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25348
87a97932
AK
253492010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25350
25351 [BZ #12067]
25352 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25353 trying to locate the ELF header.
25354
c21cc9bc
AS
253552010-09-27 Andreas Schwab <schwab@redhat.com>
25356
25357 [BZ #11611]
25358 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25359 Mask out sign-bit copies when constructing f_fsid.
25360
315970f6
PB
253612010-09-24 Petr Baudis <pasky@suse.cz>
25362
25363 * debug/stack_chk_fail_local.c: Add missing licence exception.
25364 * debug/warning-nop.c: Likewise.
25365
1ac7a2c7
JM
253662010-09-15 Joseph Myers <joseph@codesourcery.com>
25367
25368 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25369 implementing getdents64 using getdents syscall, set d_type if
25370 __ASSUME_GETDENTS32_D_TYPE.
25371
56801c50
AS
253722010-09-16 Andreas Schwab <schwab@redhat.com>
25373
25374 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25375 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25376
dda51327
UD
253772010-09-21 Ulrich Drepper <drepper@redhat.com>
25378
25379 [BZ #12037]
25380 * posix/unistd.h: Undo change of feature selection for ftruncate from
25381 2010-01-11.
25382
8ffcee4a
UD
253832010-09-20 Ulrich Drepper <drepper@redhat.com>
25384
a545ecd9 25385 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
25386 detection.
25387
e24f0a8b
AS
253882010-09-20 Andreas Schwab <schwab@redhat.com>
25389
25390 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25391 fanotify_mark.
25392 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25393
7291c56f
AS
253942010-09-14 Andreas Schwab <schwab@redhat.com>
25395
25396 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25397 variables after CHECK_SP call.
25398 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25399
bc5fb037
AS
254002010-09-13 Andreas Schwab <schwab@redhat.com>
25401 Ulrich Drepper <drepper@redhat.com>
25402
25403 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25404 re-relocationg ld.so.
25405 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25406 _dl_init_paths call.
25407 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25408 here anymore.
25409
e66e7419
UD
254102010-09-14 Ulrich Drepper <drepper@redhat.com>
25411
25412 * resolv/res_init.c (__res_vinit): Count the default server we added.
25413
c044aa75
CLT
254142010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25415 Ulrich Drepper <drepper@redhat.com>
25416
25417 [BZ #11968]
25418 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25419 (____longjmp_chk): Use %ebx for saving value across system call.
25420 Add unwind info.
25421
32cf4069
AS
254222010-09-06 Andreas Schwab <schwab@redhat.com>
25423
25424 * manual/Makefile: Don't mix pattern rules with normal rules.
25425
817328ee
AS
254262010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25427
25428 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25429 operation.
25430 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25431 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25432 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25433 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25434 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25435 Likewise.
25436
29fddf61
UD
254372010-09-04 Ulrich Drepper <drepper@redhat.com>
25438
25439 [BZ #11979]
25440 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25441 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25442
0959ffc9
UD
254432010-09-02 Ulrich Drepper <drepper@redhat.com>
25444
25445 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25446 * sysdeps/x86_64/addmul_1.S: Likewise.
25447 * sysdeps/x86_64/lshift.S: Likewise.
25448 * sysdeps/x86_64/mul_1.S: Likewise.
25449 * sysdeps/x86_64/rshift.S: Likewise.
25450 * sysdeps/x86_64/sub_n.S: Likewise.
25451 * sysdeps/x86_64/submul_1.S: Likewise.
25452
ece29840
ST
254532010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25454
0959ffc9
UD
25455 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25456 Define __sched_param instead of SCHED_* and sched_param when
ece29840 25457 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 25458 * bits/sched.h [__need_schedparam]
ece29840 25459 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
25460 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25461 (__defined_schedparam): Define to 1.
ece29840
ST
25462 (__sched_param): New structure, identical to sched_param.
25463 (__need_schedparam): Undefine.
25464
e53a31fe
MF
254652010-08-31 Mike Frysinger <vapier@gentoo.org>
25466
fdc0c10d
MF
25467 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25468 (epoll_create1): Declare.
25469
e53a31fe
MF
25470 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25471
a726d796
AS
254722010-08-31 Andreas Schwab <schwab@redhat.com>
25473
25474 [BZ #7066]
25475 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25476 shifting retval into place.
25477
2f3e3dc7
UD
254782010-09-01 Ulrich Drepper <drepper@redhat.com>
25479
f2933da9
UD
25480 * nis/rpcsvc/nis.h: Update copyright notice.
25481 * nis/rpcsvc/nis.x: Likewise.
25482 * nis/rpcsvc/nis_callback.h: Likewise.
25483 * nis/rpcsvc/nis_callback.x: Likewise.
25484 * nis/rpcsvc/nis_object.x: Likewise.
25485 * nis/rpcsvc/nis_tags.h: Likewise.
25486 * nis/rpcsvc/yp.h: Likewise.
25487 * nis/rpcsvc/yp.x: Likewise.
25488 * nis/rpcsvc/ypupd.h: Likewise.
25489 * nis/yp_xdr.c: Likewise.
25490 * nis/ypupdate_xdr.c: Likewise.
25491
2f3e3dc7
UD
25492 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25493 mainly the body of pmap_getport. Add parameters to specify timeouts.
25494 (pmap_getport): Use __libc_rpc_getport.
25495 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25496 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25497 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25498
f3dcc2f9
AS
254992010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25500
25501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25502 fanotify_mark.
25503
6d34eb5b
RM
255042010-08-27 Roland McGrath <roland@redhat.com>
25505
25506 * sysdeps/i386/i686/multiarch/Makefile
25507 (CFLAGS-varshift.c): New variable.
25508
9ea3de11
UD
255092010-08-27 Ulrich Drepper <drepper@redhat.com>
25510
c96d23fc
UD
25511 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25512 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25513
9ea3de11
UD
25514 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25515
25516 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25517
623aac7f
L
255182010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25519
25520 * sysdeps/x86_64/strlen.S: Unroll the loop.
25521 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25522 strlen-sse2 strlen-sse2-bsf.
25523 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25524 __strlen_no_bsf if bit_Slow_BSF is set.
25525 (__strlen_sse42): Removed.
25526 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25527 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25528
8b2b7715
RM
255292010-08-25 Roland McGrath <roland@redhat.com>
25530
25531 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25532 * sysdeps/x86_64/multiarch/varshift.c: New file.
25533 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25534 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25535 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25536 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25537
e73015f2
L
255382010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25539
25540 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25541 strlen-sse2 strlen-sse2-bsf.
25542 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25543 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25544 (__strlen_sse2): Removed.
25545 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25546 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25548 bit_Slow_BSF for Atom.
25549 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25550 (index_Slow_BSF): Define.
25551 (HAS_SLOW_BSF): Define.
25552
df24a73e
UD
255532010-08-25 Ulrich Drepper <drepper@redhat.com>
25554
25555 [BZ #10851]
25556 * resolv/res_init.c (__res_vinit): When no server address at all
25557 is given default to loopback.
25558
f2ac4868
RM
255592010-08-24 Roland McGrath <roland@redhat.com>
25560
09055553
RM
25561 * configure.in: Remove config-name.h generation.
25562 * configure: Regenerated.
25563 * config-name.in: File removed.
25564 * scripts/config-uname.sh: New file.
25565 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25566 ($(objdir)config-name.h): New target.
25567
f2ac4868
RM
25568 * sunrpc/rpc_parse.h: Avoid nested comment.
25569
73f27d5e
RH
255702010-08-24 Richard Henderson <rth@redhat.com>
25571 Ulrich Drepper <drepper@redhat.com>
25572 H.J. Lu <hongjiu.lu@intel.com>
25573
25574 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25575 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25576 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25577 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25578 _mm_alignr_epi8 with _mm_loadu_si128.
25579 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25580 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25581 (__m128i_shift_right): Removed.
25582 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25583 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25584 * sysdeps/x86_64/multiarch/varshift.h: New file.
25585 * sysdeps/x86_64/multiarch/varshift.S: New file.
25586
84b9230c
MF
255872010-08-21 Mike Frysinger <vapier@gentoo.org>
25588
25589 * configure.in: Move assembler checks to before sysdep dir checking.
25590
9bbd0ddc
PB
255912010-08-20 Petr Baudis <pasky@suse.cz>
25592
25593 * LICENSES: Sync the sunrpc license.
25594
9da4bb31
UD
255952010-08-19 Ulrich Drepper <drepper@redhat.com>
25596
a7ab6ec8
UD
25597 * sunrpc/auth_des.c: Update copyright notice once again.
25598 * sunrpc/auth_none.c: Likewise.
25599 * sunrpc/auth_unix.c: Likewise.
25600 * sunrpc/authdes_prot.c: Likewise.
25601 * sunrpc/authuxprot.c: Likewise.
25602 * sunrpc/bindrsvprt.c: Likewise.
25603 * sunrpc/clnt_gen.c: Likewise.
25604 * sunrpc/clnt_perr.c: Likewise.
25605 * sunrpc/clnt_raw.c: Likewise.
25606 * sunrpc/clnt_simp.c: Likewise.
25607 * sunrpc/clnt_tcp.c: Likewise.
25608 * sunrpc/clnt_udp.c: Likewise.
25609 * sunrpc/clnt_unix.c: Likewise.
25610 * sunrpc/des_crypt.c: Likewise.
25611 * sunrpc/des_soft.c: Likewise.
25612 * sunrpc/get_myaddr.c: Likewise.
25613 * sunrpc/getrpcport.c: Likewise.
25614 * sunrpc/key_call.c: Likewise.
25615 * sunrpc/key_prot.c: Likewise.
25616 * sunrpc/openchild.c: Likewise.
25617 * sunrpc/pm_getmaps.c: Likewise.
25618 * sunrpc/pm_getport.c: Likewise.
25619 * sunrpc/pmap_clnt.c: Likewise.
25620 * sunrpc/pmap_prot.c: Likewise.
25621 * sunrpc/pmap_prot2.c: Likewise.
25622 * sunrpc/pmap_rmt.c: Likewise.
25623 * sunrpc/rpc/auth.h: Likewise.
25624 * sunrpc/rpc/auth_unix.h: Likewise.
25625 * sunrpc/rpc/clnt.h: Likewise.
25626 * sunrpc/rpc/des_crypt.h: Likewise.
25627 * sunrpc/rpc/key_prot.h: Likewise.
25628 * sunrpc/rpc/netdb.h: Likewise.
25629 * sunrpc/rpc/pmap_clnt.h: Likewise.
25630 * sunrpc/rpc/pmap_prot.h: Likewise.
25631 * sunrpc/rpc/pmap_rmt.h: Likewise.
25632 * sunrpc/rpc/rpc.h: Likewise.
25633 * sunrpc/rpc/rpc_des.h: Likewise.
25634 * sunrpc/rpc/rpc_msg.h: Likewise.
25635 * sunrpc/rpc/svc.h: Likewise.
25636 * sunrpc/rpc/svc_auth.h: Likewise.
25637 * sunrpc/rpc/types.h: Likewise.
25638 * sunrpc/rpc/xdr.h: Likewise.
25639 * sunrpc/rpc_clntout.c: Likewise.
25640 * sunrpc/rpc_cmsg.c: Likewise.
25641 * sunrpc/rpc_common.c: Likewise.
25642 * sunrpc/rpc_cout.c: Likewise.
25643 * sunrpc/rpc_dtable.c: Likewise.
25644 * sunrpc/rpc_hout.c: Likewise.
25645 * sunrpc/rpc_main.c: Likewise.
25646 * sunrpc/rpc_parse.c: Likewise.
25647 * sunrpc/rpc_parse.h: Likewise.
25648 * sunrpc/rpc_prot.c: Likewise.
25649 * sunrpc/rpc_sample.c: Likewise.
25650 * sunrpc/rpc_scan.c: Likewise.
25651 * sunrpc/rpc_scan.h: Likewise.
25652 * sunrpc/rpc_svcout.c: Likewise.
25653 * sunrpc/rpc_tblout.c: Likewise.
25654 * sunrpc/rpc_util.c: Likewise.
25655 * sunrpc/rpc_util.h: Likewise.
25656 * sunrpc/rpcinfo.c: Likewise.
25657 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25658 * sunrpc/rpcsvc/key_prot.x: Likewise.
25659 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25660 * sunrpc/rpcsvc/mount.x: Likewise.
25661 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25662 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25663 * sunrpc/rpcsvc/rex.x: Likewise.
25664 * sunrpc/rpcsvc/rstat.x: Likewise.
25665 * sunrpc/rpcsvc/rusers.x: Likewise.
25666 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25667 * sunrpc/rpcsvc/spray.x: Likewise.
25668 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25669 * sunrpc/rtime.c: Likewise.
25670 * sunrpc/svc.c: Likewise.
25671 * sunrpc/svc_auth.c: Likewise.
25672 * sunrpc/svc_authux.c: Likewise.
25673 * sunrpc/svc_raw.c: Likewise.
25674 * sunrpc/svc_run.c: Likewise.
25675 * sunrpc/svc_simple.c: Likewise.
25676 * sunrpc/svc_tcp.c: Likewise.
25677 * sunrpc/svc_udp.c: Likewise.
25678 * sunrpc/svc_unix.c: Likewise.
25679 * sunrpc/svcauth_des.c: Likewise.
25680 * sunrpc/xcrypt.c: Likewise.
25681 * sunrpc/xdr.c: Likewise.
25682 * sunrpc/xdr_array.c: Likewise.
25683 * sunrpc/xdr_float.c: Likewise.
25684 * sunrpc/xdr_mem.c: Likewise.
25685 * sunrpc/xdr_rec.c: Likewise.
25686 * sunrpc/xdr_ref.c: Likewise.
25687 * sunrpc/xdr_sizeof.c: Likewise.
25688 * sunrpc/xdr_stdio.c: Likewise.
25689
9da4bb31
UD
25690 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25691 handling.
25692
bdaa77bc
AS
256932010-08-19 Andreas Schwab <schwab@redhat.com>
25694
25695 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25696
fe2f79db
LM
256972010-08-19 Luis Machado <luisgpm@br.ibm.com>
25698
25699 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25700 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25701 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25702 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25703 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25704 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25705 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25706 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25707 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25708 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25709 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25710 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25711 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25712 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25713
b9b42ee0
AB
257142010-07-26 Anton Blanchard <anton@samba.org>
25715
25716 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25717 * malloc/arena.c (heap_trim): Likewise.
25718
1c06ba31
UD
257192010-08-16 Ulrich Drepper <drepper@redhat.com>
25720
25721 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25722 here. Not...
25723 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25724 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25725
f8392f40
L
257262010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25727
25728 * sysdeps/i386/elf/Makefile: New file.
25729
3162f12e
AS
257302010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25731
25732 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25733 from fanotify_init.
25734 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25735 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25736
28c90b2c
UD
257372010-08-15 Ulrich Drepper <drepper@redhat.com>
25738
25739 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25740 of strncasecmp_l.
1feccb6c 25741 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 25742
ca6bb004
UD
257432010-08-14 Ulrich Drepper <drepper@redhat.com>
25744
e9f82e0d
UD
25745 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25746 strncase_l-nonascii.
25747 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25748 Add strncase_l-ssse3.
25749 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25750 * sysdeps/x86_64/strcmp.S: Likewise.
25751 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25752 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25753 * sysdeps/x86_64/strncase.S: New file.
25754 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25755 * sysdeps/x86_64/strncase_l.S: New file.
25756 * string/Makefile (strop-tests): Add strncasecmp.
25757 * string/test-strncasecmp.c: New file.
25758
25759 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25760 warning.
25761
ca6bb004
UD
25762 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25763 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25764
052fa7b3
AS
257652010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25766
25767 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25768
962dba78
UD
257692010-08-12 Ulrich Drepper <drepper@redhat.com>
25770
25771 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25772 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25773 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25774
bebff237
AM
257752010-05-01 Alan Modra <amodra@gmail.com>
25776
25777 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25778 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25779 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25780 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25781 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25782 tidying. Don't tail-call __sigjmp_save for static lib.
25783 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25784 save location.
25785 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25786 (CALL_MCOUNT): Add eh info, and nop after bl.
25787 (TAIL_CALL_SYSCALL_ERROR): New macro.
25788 (PSEUDO_RET): Use it.
25789 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25790 Correct save location of integer regs and cr.
25791 (_dl_profile_resolve): Correct cr save location. Delete nops
25792 after bl when SHARED. Reduce cfi size a little by better
25793 placement of cfi directives.
25794 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25795 make a stack frame. Instead use parm save area as a temp.
25796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25797 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25799 Don't make a stack frame for parent, use parm save area.
25800 Increase child stack frame to 112 bytes. Don't save unused reg,
25801 and adjust reg usage. Set up cfi on error recovery and
25802 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25804 (__makecontext): Add dummy nop after jump to exit.
25805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25806 Use correct parm save area and cr save, reduce stack frame.
25807 Correct cfi for possible PSEUDO_RET frame setup.
25808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25809 Branch to local label emitted by PSEUDO_RET rather than
25810 __syscall_error.
25811
02637374
AS
258122010-08-12 Andreas Schwab <schwab@redhat.com>
25813
25814 [BZ #11904]
25815 * locale/programs/locale.c (print_assignment): New function.
25816 (show_locale_vars): Use it.
25817
c3e2f19b
UD
258182010-08-11 Ulrich Drepper <drepper@redhat.com>
25819
3cdaa6ad
UD
25820 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25821 field.
25822 (struct statfs64): Likewise.
25823 (_STATFS_F_FLAGS): Define.
25824 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25825 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25826 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25827 (ST_VALID): Define locally.
25828 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25829 __statvfs_getflags, use the provided value.
25830 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25831 __ASSUME_STATFS_F_FLAGS.
25832
754f7da3
UD
25833 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25834
10b3bedc
UD
25835 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25836 Add sys/fanotify.h.
25837 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25838 fanotify_mask for GLIBC_2.13.
25839 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25840 fanotify_init and fanotify_mark.
25841 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25842 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25843
c08fb0d7
UD
25844 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25845 Add prlimit.
25846 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25847 prlimit64 for GLIBC_2.13.
25848 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25849 prlimit64.
25850 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25851 syscall.
25852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25853 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25854 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25855 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25856 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25857 add prlimit alias.
25858 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25859
15bac72b
UD
25860 [BZ #11903]
25861 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25862 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25863
c3e2f19b
UD
25864 * nss/Makefile: Add rules to build and run tst-nss-test1.
25865 * shlib-versions: Add entry for libnss_test1.
25866 * nss/nss_test1.c: New file.
25867 * nss/tst-nss-test1.c: New file.
25868
25869 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25870 (__nss_configure_lookup): Set appropriate entry in
25871 __nss_configure_lookup to true.
25872 * nss/nsswitch.h: Define enum with indeces of databases in
25873 databases and __nss_database_custom arrays. Declare
25874 __nss_database_custom.
25875 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25876 to avoid using nscd when custom rules are installed.
25877 * nss/getXXbyYY_r.c: Likewise.
25878 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25879
25880 * nss/nss_files/files-parse.c: Whitespace fixes.
25881
f15ce4d8
UD
258822010-08-09 Ulrich Drepper <drepper@redhat.com>
25883
25884 [BZ #11883]
25885 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25886 * posix/fnmatch_loop.c: Likewise.
25887
d22e4cc9
AK
258882010-07-17 Andi Kleen <ak@linux.intel.com>
25889
25890 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25891 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25892 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25893 * Versions.def [GLIBC_2.13]: Add.
25894
805bc17d
UD
258952010-08-06 Ulrich Drepper <drepper@redhat.com>
25896
25897 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25898 Also fail if tpwd after pwuid call is NULL.
25899
5a42321d
ST
259002010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25901
25902 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25903 when converting to ms.
25904
fd3ebeda
ST
259052010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25906
25907 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25908 EOPNOTSUPP errors with ENOTTY.
25909 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25910 EOPNOTSUPP errors with ENOTTY.
25911
73507d3a
UD
259122010-07-31 Ulrich Drepper <drepper@redhat.com>
25913
25914 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25915 Add strcasecmp_l-ssse3.
25916 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25917 strcasecmp.
25918 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25919 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25920 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25921
fe36dd02
UD
259222010-07-30 Ulrich Drepper <drepper@redhat.com>
25923
66f6765a
UD
25924 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25925
42e08a54
UD
25926 * string/Makefile (strop-tests): Add strcasecmp.
25927 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25928 strcasecmp_l-nonascii.
25929 (gen-as-const-headers): Add locale-defines.sym.
25930 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25931 * sysdeps/x86_64/strcasecmp.S: New file.
25932 * sysdeps/x86_64/strcasecmp_l.S: New file.
25933 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25934 * sysdeps/x86_64/locale-defines.sym: New file.
25935 * string/test-strcasecmp.c: New file.
25936
fe36dd02
UD
25937 * string/test-strcasestr.c: Test both ends of the range of characters.
25938 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25939
48cbc0d6
RM
259402010-07-29 Roland McGrath <roland@redhat.com>
25941
76e6d6bc 25942 [BZ #11856]
48cbc0d6
RM
25943 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25944
880113d9
UD
259452010-07-27 Ulrich Drepper <drepper@redhat.com>
25946
25947 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25948 for ld.so.
25949
deb9cabb
AS
259502010-07-27 Andreas Schwab <schwab@redhat.com>
25951
25952 * manual/memory.texi (Malloc Tunable Parameters): Document
25953 M_PERTURB.
25954
1c7570ff
RM
259552010-07-26 Roland McGrath <roland@redhat.com>
25956
25957 [BZ #11840]
25958 * configure.in (-fgnu89-inline check): Set and substitute
25959 gnu89_inline, not libc_cv_gnu89_inline.
25960 * configure: Regenerated.
25961 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25962
24fb0f88
UD
259632010-07-26 Ulrich Drepper <drepper@redhat.com>
25964
25965 * string/test-strnlen.c: New file.
25966 * string/Makefile (strop-tests): Add strnlen.
25967 * string/tester.c (test_strnlen): Add a few more test cases.
25968 * string/tst-strlen.c: Better error reporting.
25969
25970 * sysdeps/x86_64/strnlen.S: New file.
25971
8e96b93a
UD
259722010-07-24 Ulrich Drepper <drepper@redhat.com>
25973
25974 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25975 lower-latency instructions.
25976
dbc676d4
UD
259772010-07-23 Ulrich Drepper <drepper@redhat.com>
25978
25979 * string/test-strcasestr.c: New file.
25980 * string/test-strstr.c: New file.
25981 * string/Makefile (strop-tests): Add strstr and strcasestr.
25982 * string/str-two-way.h: Don't undefine MAX.
25983 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25984
f6a31e0e
AS
259852010-07-21 Andreas Schwab <schwab@redhat.com>
25986
25987 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25988 strcasestr-nonascii.
25989 (CFLAGS-strcasestr-nonascii.c): Define.
25990 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25991 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25992 Remove unused attribute.
25993
5dbc3b6c
RM
259942010-07-20 Roland McGrath <roland@redhat.com>
25995
25996 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25997 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25998 ld.so.cache was broken. With it, there is no way to disable dsocaps
25999 like LD_HWCAP_MASK can disable hwcaps.
26000
23d101d8
EPM
260012010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26002
26003 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26004
cc9f2e47
UD
260052010-07-16 Ulrich Drepper <drepper@redhat.com>
26006
26007 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26008 call in strcasestr.
26009 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26010 __strcasestr_sse42_nonascii.
26011 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26012 strcasestr-nonascii.c.
26013 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26014
77c1b069
LM
260152010-06-15 Luis Machado <luisgpm@br.ibm.com>
26016
26017 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26018 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26019 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26020 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26021
440566c3
UD
260222010-07-09 Ulrich Drepper <drepper@redhat.com>
26023
26024 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26025 fcntl.
26026
5be9d05d
AS
260272010-07-06 Andreas Schwab <schwab@redhat.com>
26028
c30b7ee2 26029 [BZ #11577]
5be9d05d
AS
26030 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26031 dl_signal_cerror.
26032
8a492a67
UD
260332010-07-06 Ulrich Drepper <drepper@redhat.com>
26034
26035 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26036 _PC_PIPE_BUF using F_GETPIPE_SZ.
26037
713df3d5
RM
260382010-07-05 Roland McGrath <roland@redhat.com>
26039
26040 * manual/arith.texi (Rounding Functions): Fix rint description
26041 implicit in round description.
26042
702e8f14
UD
260432010-07-02 Ulrich Drepper <drepper@redhat.com>
26044
26045 * elf/Makefile: Fix linking for a few tests to make recent linker
26046 happy.
26047
52ed8be9
AS
260482010-06-30 Andreas Schwab <schwab@redhat.com>
26049
26050 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26051 $(common-objpfx)libc_nonshared.a.
26052
f47c9a11
LM
260532010-06-21 Luis Machado <luisgpm@br.ibm.com>
26054
26055 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26056 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26057 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26058 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26059 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26060 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26061 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26062 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26077 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26078 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26079 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26080 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26081 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26082 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26083 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26084 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26085 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26086 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26087 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26088 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26103
6fb8cbcb
L
261042010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26105
26106 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26107 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26108 * string/memmove.c (memmove): Renamed to ...
26109 (MEMMOVE): ...this. Default to memmove.
26110 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26111 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26112 (END_CHK): Define.
26113 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26114 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26115 mempcpy-ssse3-back memmove-ssse3-back.
26116 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26117 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26118 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26119 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26120 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26121 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26122 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26123 * sysdeps/x86_64/multiarch/memmove.c: New file.
26124 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26125 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26126 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26127 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26128 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26129 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26130 Define.
26131 (index_Fast_Copy_Backward): Define.
26132 (HAS_ARCH_FEATURE): Define.
26133 (HAS_FAST_REP_STRING): Define.
26134 (HAS_FAST_COPY_BACKWARD): Define.
26135
4e733bac 261362010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
26137
26138 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26139 Restore proper fallback handling.
26140
63c4ed22
UD
261412010-06-19 Ulrich Drepper <drepper@redhat.com>
26142
ac2b484c
UD
26143 [BZ #11701]
26144 * posix/group_member.c (__group_member): Correct checking loop.
26145
63c4ed22
UD
26146 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26147 OOM in getpwuid_r correctly. Return error number when the caller
26148 should return, otherwise -1.
26149 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26150 call returning > 0 value.
26151 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26152
765ade4b
AS
261532010-06-07 Andreas Schwab <schwab@redhat.com>
26154
26155 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26156 libc_nonshared.a from targets in modules-names.
26157
80da2e09
KS
261582010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26159
26160 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26161 requires it.
26162
158db122
LM
261632010-06-10 Luis Machado <luisgpm@br.ibm.com>
26164
26165 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26166 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26167 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26168 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26169
caa78cf8
AS
261702010-06-02 Andreas Schwab <schwab@redhat.com>
26171
26172 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26173
b2ef2c01
UD
261742010-06-14 Ulrich Drepper <drepper@redhat.com>
26175
26176 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26177 and F_GETPIPE_SZ.
26178 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26179 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26180 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26181 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26182 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26183 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26184
fbd643b6
RM
261852010-06-14 Roland McGrath <roland@redhat.com>
26186
26187 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26188
f32f2869
JJ
261892010-06-07 Jakub Jelinek <jakub@redhat.com>
26190
26191 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26192 __REDIRECT followed by __THROW.
26193 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26194 * posix/getopt.h (getopt): Likewise.
26195
2a50c078
EPM
261962010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26197
26198 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26199 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26200 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26201 in AT_FLAGS.
26202 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26203 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26204
eb5ad2eb
LM
262052010-05-28 Luis Machado <luisgpm@br.ibm.com>
26206
26207 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26208
3c88fe1e
L
262092010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26210
26211 [BZ #11640]
26212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26213 Properly check family and model.
26214
d2f73151
TY
262152010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26216
26217 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26218
ebd2e13d
LM
262192010-05-24 Luis Machado <luisgpm@br.ibm.com>
26220
26221 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26222
b32b8b45
UD
262232010-05-21 Ulrich Drepper <drepper@redhat.com>
26224
26225 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26226 symbol reference.
26227
9acbe24d
AS
262282010-05-19 Andreas Schwab <schwab@redhat.com>
26229
26230 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26231 symbol reference.
26232
f0ccf6ea
AS
262332010-05-21 Andreas Schwab <schwab@redhat.com>
26234
3d04ff3a
AS
26235 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26236 and internal_recvmmsg.
26237 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26238 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26239 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26240 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26241
f0ccf6ea
AS
26242 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26243 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26244 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26245
5b08ac57
AS
262462010-05-20 Andreas Schwab <schwab@redhat.com>
26247
26248 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26249
4828935d
LM
262502010-05-17 Luis Machado <luisgpm@br.ibm.com>
26251
26252 POWER7 optimizations.
26253 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26254 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26255
373d545e
UD
262562010-05-19 Ulrich Drepper <drepper@redhat.com>
26257
26258 * version.h: Update for 2.13 development version.
26259
21a2b1ae
AS
262602010-05-12 Andrew Stubbs <ams@codesourcery.com>
26261
26262 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26263 exceptions. Return 0.
26264
3f7dcb2b
RM
262652010-05-07 Roland McGrath <roland@redhat.com>
26266
26267 * elf/ldconfig.c (main): Add a const.
26268
5f24d53a 262692010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 26270
a160f8d8
UD
26271 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26272 (args_options): Add no-idn option.
26273 (ahosts_keys_int): Add idn_flags to ai_flags.
26274 (parse_option): Handle 'i' option to clear idn_flags.
26275
5f24d53a
UD
26276 * malloc/malloc.c (_int_free): Possible race in the most recently
26277 added check. Only act on the data if no current modification
26278 happened.
265bb1ce
UD
26279
26280See ChangeLog.17 for earlier changes.